OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add secure settings to the test apps"
Treehugger Robot [Thu, 26 Sep 2019 11:57:33 +0000 (11:57 +0000)]
Merge "Add secure settings to the test apps"

5 years agoAdd secure settings to the test apps
Nataniel Borges [Thu, 26 Sep 2019 10:01:24 +0000 (12:01 +0200)]
Add secure settings to the test apps

When running the flicker tests on postsubmit the apps require the following permission: "android.permission.WRITE_SECURE_SETTINGS"

Test: atest FlickerTests
Change-Id: I6a2647fb6d2351617297b3f89ae3f3edc1aad981

5 years agoMerge "DynamicSystemService: Use IGsid which reference-counts the gsid service."
Howard Chen [Thu, 26 Sep 2019 06:48:07 +0000 (06:48 +0000)]
Merge "DynamicSystemService: Use IGsid which reference-counts the gsid service."

5 years agoMerge "use @SystemAPI for creating UserHandle"
Chen Xu [Thu, 26 Sep 2019 03:43:44 +0000 (03:43 +0000)]
Merge "use @SystemAPI for creating UserHandle"

5 years agoMerge "use @SystemAPI in AppOpsManager"
Chen Xu [Thu, 26 Sep 2019 03:43:44 +0000 (03:43 +0000)]
Merge "use @SystemAPI in AppOpsManager"

5 years agoMerge "use packageManager @SystemAPI"
Chen Xu [Thu, 26 Sep 2019 03:43:44 +0000 (03:43 +0000)]
Merge "use packageManager @SystemAPI"

5 years agouse @SystemAPI for creating UserHandle
Chen Xu [Mon, 5 Aug 2019 18:39:13 +0000 (11:39 -0700)]
use @SystemAPI for creating UserHandle

Bug: 137202333
Test: Build & Unit test
Merged-In: Id2a696bed6a80c92291c8f968f3aaa8db6bb83df
Change-Id: Id2a696bed6a80c92291c8f968f3aaa8db6bb83df
(cherry picked from commit 59d76e97bb3302353ede5f433ce8e8f4b4a31776)

5 years agouse @SystemAPI in AppOpsManager
Chen Xu [Mon, 29 Jul 2019 23:09:24 +0000 (16:09 -0700)]
use @SystemAPI in AppOpsManager

Bug: 137202333
Test: Build & unit test
Merged-In: Ief8d20b62df5fcd99980182d9bb896bd82ac70e9
Change-Id: Ief8d20b62df5fcd99980182d9bb896bd82ac70e9
(cherry picked from commit 324606e459b9789cd90ff471a1bcecb12fd7e309)

5 years agouse packageManager @SystemAPI
Chen Xu [Tue, 30 Jul 2019 22:02:00 +0000 (15:02 -0700)]
use packageManager @SystemAPI

Bug: 137202333
Test: Build
Merged-In: I1c0cb7840cb7d68fd720723eec96aa51aefc1df8
Change-Id: I1c0cb7840cb7d68fd720723eec96aa51aefc1df8
(cherry picked from commit 4b5f423c5c1b0df63ad5b232351682ab79389580)

5 years agoMerge "Add support for scudo native allocator."
Christopher Ferris [Wed, 25 Sep 2019 22:34:37 +0000 (22:34 +0000)]
Merge "Add support for scudo native allocator."

5 years agoMerge "Set min_sdk_version for SystemUISharedLib"
Treehugger Robot [Wed, 25 Sep 2019 21:51:21 +0000 (21:51 +0000)]
Merge "Set min_sdk_version for SystemUISharedLib"

5 years agoAdd support for scudo native allocator.
Christopher Ferris [Wed, 18 Sep 2019 17:42:23 +0000 (10:42 -0700)]
Add support for scudo native allocator.

Bug: 137795072

Test: dumpsys meminfo <PID> and verified non-zero return for Native Heap
Test: using jemalloc and using scudo.
Change-Id: I418c89eaf2eb21d64f008435fa588d22523ffdbd

5 years agoMerge "Add package name based APIs to PlatformCompat."
Anna Trostanetski [Wed, 25 Sep 2019 18:31:49 +0000 (18:31 +0000)]
Merge "Add package name based APIs to PlatformCompat."

5 years agoMerge "Do not return synthetic launcher activity for completely headless apps"
Treehugger Robot [Wed, 25 Sep 2019 17:52:37 +0000 (17:52 +0000)]
Merge "Do not return synthetic launcher activity for completely headless apps"

5 years agoMerge "Use APEX boot image for profilebootclasspath"
Mathieu Chartier [Wed, 25 Sep 2019 17:43:23 +0000 (17:43 +0000)]
Merge "Use APEX boot image for profilebootclasspath"

5 years agoMerge "Remove MediaPlayer2"
Marco Nelissen [Wed, 25 Sep 2019 17:15:59 +0000 (17:15 +0000)]
Merge "Remove MediaPlayer2"

5 years agoMerge "Refactor DexViewBuilder"
Treehugger Robot [Wed, 25 Sep 2019 16:57:37 +0000 (16:57 +0000)]
Merge "Refactor DexViewBuilder"

5 years agoUse APEX boot image for profilebootclasspath
Mathieu Chartier [Fri, 20 Sep 2019 23:07:51 +0000 (16:07 -0700)]
Use APEX boot image for profilebootclasspath

To get profiling info, we need to avoid having compiled code.

Also pass down the --count-hotness-in-compiled-code for measuring
performance in compiled code.

Bug: 139883463
Test: manual
Change-Id: Ib02b476522b7709172fc06d6517446cad59045d4

5 years agoMerge "Wait for the profile to not be empty in BootImageProfileTest"
Mathieu Chartier [Wed, 25 Sep 2019 15:54:59 +0000 (15:54 +0000)]
Merge "Wait for the profile to not be empty in BootImageProfileTest"

5 years agoAdd package name based APIs to PlatformCompat.
atrost [Wed, 18 Sep 2019 11:48:44 +0000 (12:48 +0100)]
Add package name based APIs to PlatformCompat.

The APIs behave the same as the AppInfo APIs, and returns the change is
enabled if there is no installed package with the provided name.

Test: flashed device, used the test app, and made the API use the new
      per-package API.
Bug: 138275545

Change-Id: Ic925751dddc6c2e0996fe195a208f5c689554839

5 years agoRemove MediaPlayer2
Marco Nelissen [Tue, 24 Sep 2019 16:27:22 +0000 (09:27 -0700)]
Remove MediaPlayer2

Bug: 141546997
Test: build, boot
Change-Id: I1550c14f3a0967910809cc2415d10f62c967bd44
Merged-In: I1550c14f3a0967910809cc2415d10f62c967bd44

5 years agoMerge changes from topic "flicker-move"
Jorim Jaggi [Wed, 25 Sep 2019 13:03:18 +0000 (13:03 +0000)]
Merge changes from topic "flicker-move"

* changes:
  Ignore flicker tests with open bugs
  Don't remove flicker test logs from device for easier debugging
  Reduce delays on Flicker test rotation
  Make OpenAppCold/Warm tests compatible with AOSP
  Make Flicker Tests compatible with current AOSP

5 years agoMerge "Check ANDROID_I18N_ROOT when starting the runtime"
vichang [Wed, 25 Sep 2019 12:01:15 +0000 (12:01 +0000)]
Merge "Check ANDROID_I18N_ROOT when starting the runtime"

5 years agoMerge "Use SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead"
Treehugger Robot [Wed, 25 Sep 2019 09:01:43 +0000 (09:01 +0000)]
Merge "Use SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead"

5 years agoMerge "Fix TestNetworkAgentWrapper flakiness"
Chalard Jean [Wed, 25 Sep 2019 08:58:34 +0000 (08:58 +0000)]
Merge "Fix TestNetworkAgentWrapper flakiness"

5 years agoMerge "Add documentation for *.sysprop"
Treehugger Robot [Wed, 25 Sep 2019 03:01:21 +0000 (03:01 +0000)]
Merge "Add documentation for *.sysprop"

5 years agoMerge "Move NetworkStack AIDLs to NetworkStack folder"
Treehugger Robot [Wed, 25 Sep 2019 02:05:06 +0000 (02:05 +0000)]
Merge "Move NetworkStack AIDLs to NetworkStack folder"

5 years agoUse SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead
Taesu Lee [Sun, 22 Sep 2019 23:06:31 +0000 (08:06 +0900)]
Use SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED instead

Change deprecated TelephonyIntents.ACTION_DEFAULT_SUBSCRIPTION_CHANGED
as SubscriptionManager.ACTION_DEFAULT_SUBSCRIPTION_CHANGED.
And clean up the code to
 - use int type for subscription Id
 - get new default PhoneId corresponding to new default SubId for no
 value

Test: Manual

Change-Id: I3084ca5d477c7f3861061ee2b17906fd2e7e5d46
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
5 years agoWait for the profile to not be empty in BootImageProfileTest
Mathieu Chartier [Tue, 24 Sep 2019 20:11:26 +0000 (13:11 -0700)]
Wait for the profile to not be empty in BootImageProfileTest

Keep trying to force profile saves until it's not empty. This handles
the case when the system server isn't started enough to save a profile
yet. This can be affected by boot time fluctuations if we don't wait.

Test: atest BootImageProfileTest
Bug: 139883463

Change-Id: I98b359412f919bd64c2cd2a5b7d6659d1cef113d

5 years agoMerge "Followup to CL 1103896"
Oscar Shu [Tue, 24 Sep 2019 22:06:27 +0000 (22:06 +0000)]
Merge "Followup to CL 1103896"

5 years agoMerge "AppOpsService: Watch op mode changes when an AppOp restriction dies"
Treehugger Robot [Tue, 24 Sep 2019 20:22:30 +0000 (20:22 +0000)]
Merge "AppOpsService: Watch op mode changes when an AppOp restriction dies"

5 years agoAppOpsService: Watch op mode changes when an AppOp restriction dies
Bruno Martins [Sun, 30 Dec 2018 16:02:59 +0000 (16:02 +0000)]
AppOpsService: Watch op mode changes when an AppOp restriction dies

On binder death, ensure that any associated watched ops are not left
dangling in an active state.

Test: manual, ops states are now propagated properly after apps are killed
Change-Id: I060d9fabc555e609ad529c612fcb7712f0cea0a6
Merged-In: Ied66c7f49e1c483870048563d08fb57410f004ef

5 years agoMerge "Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name...
Martin Stjernholm [Tue, 24 Sep 2019 17:40:05 +0000 (17:40 +0000)]
Merge "Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change."

5 years agoCheck ANDROID_I18N_ROOT when starting the runtime
Victor Chang [Tue, 24 Sep 2019 13:55:02 +0000 (14:55 +0100)]
Check ANDROID_I18N_ROOT when starting the runtime

Bug: 137009149
Test: treehugger
Change-Id: I0f34d433c73a44c051724769067bd6ccf5d4a0db

5 years agoAdd documentation for *.sysprop
Jiyong Park [Sat, 21 Sep 2019 05:03:09 +0000 (14:03 +0900)]
Add documentation for *.sysprop

Bug: 141246285
Test: N/A
Change-Id: Ia90dd8fc75a9caa3b90c4e3adfb1252a5b1c19c4

5 years agoMerge "Add an API to dump incident report for dumpstate"
Mike Ma [Tue, 24 Sep 2019 01:07:25 +0000 (01:07 +0000)]
Merge "Add an API to dump incident report for dumpstate"

5 years agoAdd an API to dump incident report for dumpstate
Mike Ma [Wed, 21 Aug 2019 21:52:46 +0000 (14:52 -0700)]
Add an API to dump incident report for dumpstate

Instead of just relying on the regular iteration through the system
services inside dumpstate, add another API to IIncidentManager
dedicated for dumpstate.

- It is only callable by dumpstate() (check the calling uid)
- It has the same behavior as the current call inside dump()

Advantages:
- More explicit function name, right next to takeIncidentReport will
  make it easier to keep them in sync.
- Nobody else can call it, make security easier.
- If dumpstate calls it explicitly, it can skip the 10 second timeout
- The regular dump() call should provide debugging data about
  incidentd itself, for example timestamps for the most recent N
  incident reports taken and the current state of the work directory,
  allowing us to debug incidentd itself.

Bug: 137493082
Test: Manually trigger a bug report, and verify
      /proto/incident_log.proto in the zip file.

Change-Id: I19139c765b53ede63d3beb3ea3ac40ada1aba42d
Merged-In: I19139c765b53ede63d3beb3ea3ac40ada1aba42d

5 years agoMerge changes Iea1d2ae2,I1d3c8e48
Treehugger Robot [Mon, 23 Sep 2019 22:04:11 +0000 (22:04 +0000)]
Merge changes Iea1d2ae2,I1d3c8e48

* changes:
  Build java_sdk_libraries with much less sources
  Add RequiresApi annotations to LocationProvider

5 years agoMerge "TextureVuew rebind GL texture, if AHB content has changed"
John Reck [Mon, 23 Sep 2019 20:00:14 +0000 (20:00 +0000)]
Merge "TextureVuew rebind GL texture, if AHB content has changed"

5 years agoMerge "Add test for boot image profile collection"
Mathieu Chartier [Mon, 23 Sep 2019 16:34:38 +0000 (16:34 +0000)]
Merge "Add test for boot image profile collection"

5 years agoMerge "Host users of libutils trace use libcutils."
Steven Moreland [Mon, 23 Sep 2019 16:23:06 +0000 (16:23 +0000)]
Merge "Host users of libutils trace use libcutils."

5 years agoMerge "AudioService: add TEST_MAPPING for pre-submit tests"
Jean-Michel Trivi [Mon, 23 Sep 2019 15:59:40 +0000 (15:59 +0000)]
Merge "AudioService: add TEST_MAPPING for pre-submit tests"

5 years agoMerge " Create integrity directory and OWNERS"
Ömer Nebil Yaveroğlu [Mon, 23 Sep 2019 11:24:43 +0000 (11:24 +0000)]
Merge " Create integrity directory and OWNERS"

5 years agoDo not return synthetic launcher activity for completely headless apps
Ricky Wai [Mon, 16 Sep 2019 11:16:09 +0000 (12:16 +0100)]
Do not return synthetic launcher activity for completely headless apps

Bug: 140477182
Test: Headless app: no icon is shown on launcher
Test: App with launchable activity but disabled by default: no icon
Test: App with launchable activity, enabled by default but then disabled by command: has an icon on launcher
Change-Id: I58a36ac93d34583b2d4e50464b73cced77ce8edb

5 years agoAudioService: add TEST_MAPPING for pre-submit tests
Jean-Michel Trivi [Wed, 18 Sep 2019 22:58:44 +0000 (15:58 -0700)]
AudioService: add TEST_MAPPING for pre-submit tests

  Run AudioManager and AudioFocus CTS tests whenever a class
in audio service is changed.

Bug: 139315190
Test: verify this change caused those tests to be run during presubmit
Change-Id: I17a49fad6856ae28ef1951d64a43b04f44be4079
Merged-In: I17a49fad6856ae28ef1951d64a43b04f44be4079

5 years agoMerge "Deprecate redundant IMS APIs in TelephonyManager."
Treehugger Robot [Sat, 21 Sep 2019 08:27:35 +0000 (08:27 +0000)]
Merge "Deprecate redundant IMS APIs in TelephonyManager."

5 years agoFollowup to CL 1103896
xshu [Wed, 21 Aug 2019 20:40:18 +0000 (13:40 -0700)]
Followup to CL 1103896

Optimizes the logic that ensures the default randomized MAC is not
returned.

Bug: 137796328
Test: atest MacAddressTest
Change-Id: Ie95d7a020bfac8850b8a67e4d396de77db22e1db

5 years agoAdd test for boot image profile collection
Mathieu Chartier [Thu, 29 Aug 2019 22:26:58 +0000 (15:26 -0700)]
Add test for boot image profile collection

Test that the expected properties are set.

Test that saving the system server profile contains both the boot image
profile and system server profile.

The test requires root to run.

Bug: 139883463
Test: atest BootImageProfileTest

(cherry picked from commit f7849d916ae3d81bf73911fedb5fe38fff33f2af)

Change-Id: Id7fa4ecc507864c2855da276025be076e5768df1
Merged-In: I6bb39337ba07be58b7dc2b314a8ee92154256f17

5 years agoTextureVuew rebind GL texture, if AHB content has changed
Stan Iliev [Thu, 1 Aug 2019 18:41:52 +0000 (14:41 -0400)]
TextureVuew rebind GL texture, if AHB content has changed

Bug: 138674291
Test: Ran apps with TextureView and CTS
Change-Id: Ieecf7daf160761de719356644ddaeda8f9c068e1

5 years agoHost users of libutils trace use libcutils.
Steven Moreland [Wed, 18 Sep 2019 19:58:11 +0000 (12:58 -0700)]
Host users of libutils trace use libcutils.

Reducing device/host differences. This is now required since libutils
Trace.h always calls the libcutils functions, instead of before where
it only called these functions on device.

Bug: 124524556
Test: build & boot
Change-Id: Ic096ed7caf8ca59292b3427a16c4e2545d12dfd9

5 years agoRename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change.
Martin Stjernholm [Fri, 20 Sep 2019 15:14:22 +0000 (16:14 +0100)]
Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change.

Test: Boot
Bug: 135753770
Change-Id: I930027fb0ad18d9d06165bbfbfe54d88bc28530d

5 years agoMerge "aapt2: disable leak detection"
Treehugger Robot [Fri, 20 Sep 2019 09:58:45 +0000 (09:58 +0000)]
Merge "aapt2: disable leak detection"

5 years agoFix TestNetworkAgentWrapper flakiness
Chalard Jean [Fri, 20 Sep 2019 08:19:31 +0000 (17:19 +0900)]
Fix TestNetworkAgentWrapper flakiness

The underlying issue here is that before aosp/986824 the call to
waitForIdle is the local ConnectivityServiceTest function, but
after that patch TestNetworkAgentWrapper has an identically
named member that only wait for its own handler.

Bug: 141341704
Test: ConnectivityServiceTest --generate-new-metrics 100
Change-Id: I38709cc69ec7a261c1c6e008abe03d2882e2083d

5 years agoMerge "Document that SystemProperties.set() can throw RuntimeException"
Treehugger Robot [Fri, 20 Sep 2019 05:53:03 +0000 (05:53 +0000)]
Merge "Document that SystemProperties.set() can throw RuntimeException"

5 years agoMerge "WiredAccessoryManager: fix connected state logic for Extcon"
Treehugger Robot [Fri, 20 Sep 2019 01:07:07 +0000 (01:07 +0000)]
Merge "WiredAccessoryManager: fix connected state logic for Extcon"

5 years agoMerge "Allow ImsService to return network error codes"
Brad Ebinger [Thu, 19 Sep 2019 23:31:07 +0000 (23:31 +0000)]
Merge "Allow ImsService to return network error codes"

5 years agoAllow ImsService to return network error codes
Brad Ebinger [Tue, 27 Aug 2019 23:49:26 +0000 (16:49 -0700)]
Allow ImsService to return network error codes

Adds new API for SMS over IMS that allows the ImsService
to pass 3GPP TS 24.011 error codes from the network for
better debugging/metrics collection.

Test: manual
Bug: 138239529
Merged-In: I5d1f41b90595238011eb0d1dc0ae0415157bb469
Change-Id: I5d1f41b90595238011eb0d1dc0ae0415157bb469

5 years agoMerge "Add jji@google.com to am/OWNERS file."
Treehugger Robot [Thu, 19 Sep 2019 20:22:35 +0000 (20:22 +0000)]
Merge "Add jji@google.com to am/OWNERS file."

5 years agoaapt2: disable leak detection
Steven Moreland [Thu, 19 Sep 2019 18:08:47 +0000 (11:08 -0700)]
aapt2: disable leak detection

When building with SANATIZE_HOST=address and ASAN_OPTIONS="" in order to
test that leaks are removed from AIDL, was hitting leaks here.
Explicitly setting ASAN_OPTIONS here so that we can detect leaks in
other host tools.

Bug: 141312058
Test: AIDL's runtests_asan.sh
Change-Id: Ibc599ab75bbf63eab1c7747d17952390a7967e87

5 years agoDocument that SystemProperties.set() can throw RuntimeException
Tom Cherry [Thu, 19 Sep 2019 15:28:27 +0000 (08:28 -0700)]
Document that SystemProperties.set() can throw RuntimeException

Bug: 140148206
Test: n/a
Change-Id: I32df2ed4979edcc0d9abc46830ebd3defc431c57

5 years agoMerge "Exposing flickerlib classes and layer tracing to sysui"
Treehugger Robot [Thu, 19 Sep 2019 13:42:49 +0000 (13:42 +0000)]
Merge "Exposing flickerlib classes and layer tracing to sysui"

5 years agoMerge "Use filter_packages to unbunden metalava"
Treehugger Robot [Thu, 19 Sep 2019 13:24:46 +0000 (13:24 +0000)]
Merge "Use filter_packages to unbunden metalava"

5 years agoMerge "Mirror fs-verity ownership UID to Java"
Treehugger Robot [Thu, 19 Sep 2019 00:26:31 +0000 (00:26 +0000)]
Merge "Mirror fs-verity ownership UID to Java"

5 years agoRefactor DexViewBuilder
Eric Holk [Tue, 17 Sep 2019 20:28:34 +0000 (13:28 -0700)]
Refactor DexViewBuilder

The code was previously pretty messy and hard to follow. This reworks some
things to make it more manageable. Among the changes:

* Pull out fragments of code into their own method, so the high level steps are
  more apparent in methods like DexViewBuilder::Start.
* Pull frequently used types into global constants in dex_layout_compiler.cc.
* Rework register handling to track liveness so a strict stack discipline is no
  longer needed.

Change-Id: Idb4b41f88c96a1ac4efb2c7b9bed05c2de0da999

5 years agoAdd jji@google.com to am/OWNERS file.
Hui Yu [Wed, 18 Sep 2019 21:57:59 +0000 (14:57 -0700)]
Add jji@google.com to am/OWNERS file.

Bug: NA
Test: NA
Change-Id: I5c5f0d1e75a66e772c95304a3dbd936a471e9a17

5 years agoMirror fs-verity ownership UID to Java
Victor Hsieh [Wed, 18 Sep 2019 21:33:54 +0000 (14:33 -0700)]
Mirror fs-verity ownership UID to Java

This has been done in system/core, so mirroring for later use.
https://android-review.googlesource.com/c/platform/system/core/+/1115493

Test: compile
Bug: 112038744
Change-Id: I2d7f5d38caae0b6ada1f208b3d71d937d527716e

5 years agoMerge "Bugreport progress notification should use the bug icon."
Treehugger Robot [Wed, 18 Sep 2019 18:37:38 +0000 (18:37 +0000)]
Merge "Bugreport progress notification should use the bug icon."

5 years agoMerge "Expose ConnectionService Handler to remove flaky tests"
Brad Ebinger [Wed, 18 Sep 2019 17:56:29 +0000 (17:56 +0000)]
Merge "Expose ConnectionService Handler to remove flaky tests"

5 years agoMerge "Use UnlockMethodCache#canSkipBouncer in user switcher"
Treehugger Robot [Wed, 18 Sep 2019 17:11:28 +0000 (17:11 +0000)]
Merge "Use UnlockMethodCache#canSkipBouncer in user switcher"

5 years ago Create integrity directory and OWNERS
Song Pan [Wed, 18 Sep 2019 09:38:48 +0000 (10:38 +0100)]
 Create integrity directory and OWNERS

Integrity component will live in System Server, which can be called by
PackageManagerService to check the integrity of an install. This commit
sets up the directory and OWNERS access.

Test: N/A
Change-Id: I5610ea575c455c3301ace4d816033d88eb349b12

5 years agoIgnore flicker tests with open bugs
Nataniel Borges [Wed, 18 Sep 2019 14:10:03 +0000 (16:10 +0200)]
Ignore flicker tests with open bugs

Some flicker tests are failing because of open bugs. Mark them as
ignored until the bugs are fixed to prevent test failures.

Test: atest FlickerTests
Change-Id: If9216bccc32d64cd32ff87fae785df200eae8b79

5 years agoDon't remove flicker test logs from device for easier debugging
Nataniel Borges [Tue, 3 Sep 2019 11:57:51 +0000 (13:57 +0200)]
Don't remove flicker test logs from device for easier debugging

Test: atest FlickerTests
Change-Id: Id8a7869967df2ccd2e905c61cc1a348ae06d4430

5 years agoReduce delays on Flicker test rotation
Nataniel Borges [Mon, 2 Sep 2019 14:37:01 +0000 (16:37 +0200)]
Reduce delays on Flicker test rotation

Flicker tests currently wait 3 seconds until the screen rotation have
been complete. This long delay may hide some issues. Reduce delay to 1
second.

Test: atest FlickerTests
Change-Id: I1646086018fac52c0751ff70fff1f5082fee4685

5 years agoMake OpenAppCold/Warm tests compatible with AOSP
Nataniel Borges [Mon, 2 Sep 2019 14:34:47 +0000 (16:34 +0200)]
Make OpenAppCold/Warm tests compatible with AOSP

Test: atest FlickerTests
Change-Id: Ib1071b125597e73a5c72e22e9107ae4d29f5cb7f

5 years agoMerge "Implement stats logging for Compatibility API."
Anna Trostanetski [Wed, 18 Sep 2019 12:25:47 +0000 (12:25 +0000)]
Merge "Implement stats logging for Compatibility API."

5 years agoMake Flicker Tests compatible with current AOSP
Nataniel Borges [Mon, 9 Sep 2019 15:29:23 +0000 (17:29 +0200)]
Make Flicker Tests compatible with current AOSP

Current status:
atest FlickerTests: Passed: 132, Failed: 11, Ignored: 0

Test: atest FlickerTests
Change-Id: I581005fd293631630a3939eeaae485c1fd41ebb9

5 years agoMerge "Add isApplicationOnUicc API"
Treehugger Robot [Wed, 18 Sep 2019 02:00:54 +0000 (02:00 +0000)]
Merge "Add isApplicationOnUicc API"

5 years agoSet min_sdk_version for SystemUISharedLib
Colin Cross [Tue, 17 Sep 2019 23:00:21 +0000 (16:00 -0700)]
Set min_sdk_version for SystemUISharedLib

Set min_sdk_version so that the manifest cant be merged into
Launcher3 when it is converted to Android.bp.

Test: mmma packages/apps/Launcher3
Change-Id: I28543d4be54aa789fbb452be005373239e1e0a6e

5 years agoMerge "Add new onSmsStatusReportReceived() without message reference"
Treehugger Robot [Tue, 17 Sep 2019 22:28:35 +0000 (22:28 +0000)]
Merge "Add new onSmsStatusReportReceived() without message reference"

5 years agoMerge "HwBinder: don't rely on kernel headers."
Steven Moreland [Tue, 17 Sep 2019 21:49:31 +0000 (21:49 +0000)]
Merge "HwBinder: don't rely on kernel headers."

5 years agoWiredAccessoryManager: fix connected state logic for Extcon
Eric Laurent [Fri, 21 Jun 2019 18:39:28 +0000 (11:39 -0700)]
WiredAccessoryManager: fix connected state logic for Extcon

Bug: 134120683
Test: make
Change-Id: I618031968a4131ee153994deca55d192cbc598b3
Merged-In: I618031968a4131ee153994deca55d192cbc598b3

5 years agoExpose ConnectionService Handler to remove flaky tests
Brad Ebinger [Thu, 12 Sep 2019 01:06:51 +0000 (18:06 -0700)]
Expose ConnectionService Handler to remove flaky tests

Test: atest TelecomUnitTests
Change-Id: Ibb80b5739083ad9f85ee06f4d9f0017f4cb605bd

5 years agoMerge "Fix descriptions for default SIM in global preferences"
Amit Mahajan [Tue, 17 Sep 2019 17:18:04 +0000 (17:18 +0000)]
Merge "Fix descriptions for default SIM in global preferences"

5 years agoMerge "Use bionic platform headers."
Christopher Ferris [Tue, 17 Sep 2019 16:33:25 +0000 (16:33 +0000)]
Merge "Use bionic platform headers."

5 years agoBuild java_sdk_libraries with much less sources
Jiyong Park [Tue, 17 Sep 2019 05:51:28 +0000 (14:51 +0900)]
Build java_sdk_libraries with much less sources

This change fixes a regression that java_sdk_libraries under
frameworks/base were built with all framework sources.

Bug: 141149570
Test: m
Change-Id: Iea1d2ae20ca1c5b514a52d8b2a22e8a1d7543efd

5 years agoAdd RequiresApi annotations to LocationProvider
Soonil Nagarkar [Mon, 15 Apr 2019 20:22:52 +0000 (13:22 -0700)]
Add RequiresApi annotations to LocationProvider

Ensures that lint tests can run properly from client code which uses
this library.

Bug: 130188099
Test: manual
Merged-In: I1d3c8e486c38633d73c405f2c6f9b350ef1e6946
(cherry picked from commit 44efeaef4da29e1d0a9add7b89151ff0f12ff148)
Change-Id: I1d3c8e486c38633d73c405f2c6f9b350ef1e6946

5 years agoFix descriptions for default SIM in global preferences
Taesu Lee [Tue, 17 Sep 2019 04:34:46 +0000 (13:34 +0900)]
Fix descriptions for default SIM in global preferences

Test: Not required.

Change-Id: I7f32eb495b53d13aba50b07d86e63f0549e9e6bb
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
5 years agoMerge "VintfObject: Fix getHalNamesAndVersions doc"
Yifan Hong [Mon, 16 Sep 2019 23:58:51 +0000 (23:58 +0000)]
Merge "VintfObject: Fix getHalNamesAndVersions doc"

5 years agoMerge "Ignore physics animation tests that have suddenly become flaky."
Treehugger Robot [Mon, 16 Sep 2019 21:32:43 +0000 (21:32 +0000)]
Merge "Ignore physics animation tests that have suddenly become flaky."

5 years agoMerge "Add carrier config KEY_CALL_FORWARDING_WHEN_UNREACHABLE_SUPPORTED_BOOL"
Jordan Liu [Mon, 16 Sep 2019 21:28:03 +0000 (21:28 +0000)]
Merge "Add carrier config KEY_CALL_FORWARDING_WHEN_UNREACHABLE_SUPPORTED_BOOL"

5 years agoMerge "AudioService: fix missing CEC message on unmute after vol down"
Jean-Michel Trivi [Mon, 16 Sep 2019 21:04:08 +0000 (21:04 +0000)]
Merge "AudioService: fix missing CEC message on unmute after vol down"

5 years agoIgnore physics animation tests that have suddenly become flaky.
Joshua Tsuji [Thu, 12 Sep 2019 19:16:40 +0000 (15:16 -0400)]
Ignore physics animation tests that have suddenly become flaky.

Test: atest SystemUITests
Change-Id: Ia15f767fdb251338a7e7b15be7836b6928e48ba5
Merged-In: Ia15f767fdb251338a7e7b15be7836b6928e48ba5
(cherry picked from commit 2b991d91c6d6a2341a06be329962d2f5a8f3ee28)

5 years agoUse bionic platform headers.
Christopher Ferris [Thu, 12 Sep 2019 02:08:52 +0000 (19:08 -0700)]
Use bionic platform headers.

Bug: 130763340

Test: Builds.
Change-Id: Ieed72d4e15c0ce0dfc3a4f3383ea6563905bc236
Merged-In: Ieed72d4e15c0ce0dfc3a4f3383ea6563905bc236
(cherry picked from commit 8269f3a3770d83b139cc3b3571d72eb30f62191f)

5 years agoExposing flickerlib classes and layer tracing to sysui
Winson Chung [Fri, 30 Aug 2019 23:49:13 +0000 (16:49 -0700)]
Exposing flickerlib classes and layer tracing to sysui

- Allow recents component to enable/disable layer tracing
- Expose flickerlib classes for use with sysui/launcher tests
- Allow trace files to be moved to a path that the client can read
- Ensure layers are flattened with depth traversal to encode ordering

Bug: 140244969
Test: atest FlickerTests
Change-Id: I7af5699ff5b8a4bc62c1a8105c67b31bc45a2236
Merged-In: Ia0934ec7c2b9484fa6c85f5aa8d9b2e5e6f7dc0f

5 years agoImplement stats logging for Compatibility API.
atrost [Wed, 28 Aug 2019 14:40:37 +0000 (15:40 +0100)]
Implement stats logging for Compatibility API.

Add a new atom and log from both the app process API and the system server API
Bug: 136794938
Bug: 138378110
Test: statsd_testdrive 228

Change-Id: I80f07d0beb30c779c4bce70bebf2bb4ab22f6bfe
Merged-In: I80f07d0beb30c779c4bce70bebf2bb4ab22f6bfe

5 years agoAdd new onSmsStatusReportReceived() without message reference
Taesu Lee [Fri, 30 Aug 2019 05:44:06 +0000 (14:44 +0900)]
Add new onSmsStatusReportReceived() without message reference

IMS providers must generate unique token and don't need to parse the PDU
to get the message reference for new onSmsStatusReportReceived() API.
The platform will extract the message reference from the PDU and return
it to the IMS providers via acknowledgeSmsReport(). And @Deprecated tag
is added on existing onSmsStatusReportReceived() API.
This CL includes some fixing doc bug and description for APIs also.

Test: atest FrameworksTelephonyTests:ImsSmsDispatcherTest

Change-Id: Ib788e291f2e70c3e062319e17e2c9efe33f31164
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
5 years agoUse filter_packages to unbunden metalava
Jiyong Park [Sun, 15 Sep 2019 11:19:02 +0000 (20:19 +0900)]
Use filter_packages to unbunden metalava

This change fixes a problem that entire framework source files are given
to metalava even when many of the source files are not for public. Using
the new property filter_packages, only source files that belongs to the
public packages are given to metalava.

This CL also changes the name of the filegroup 'framework-srcs' to
'framework-non-updatable-sources' to better describe its contents. In
addition, a build-time only library 'framework-all' is introduced. This
library produces a header jar for all framework sources for both
non-updatable and updatable parts. It is put to the classpath when
invoking metalava to give information on the hidden classes that were
filtered-out.

Bug: 140764681
Test: m
Change-Id: I6e16679109ac07820e35037754d4327442c014f2

5 years agoMerge "SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END"
Andy Hung [Fri, 13 Sep 2019 21:18:56 +0000 (21:18 +0000)]
Merge "SoundPool: Do not sleep on stop for USAGE_GAME or on BUFFER_END"

5 years agoMerge "Listeners of active emergency numbers"
Shuo Qian [Fri, 13 Sep 2019 19:50:16 +0000 (19:50 +0000)]
Merge "Listeners of active emergency numbers"

5 years agoMerge "WindowOrientationListener: Check if proposed rotation is in range"
Treehugger Robot [Fri, 13 Sep 2019 18:57:50 +0000 (18:57 +0000)]
Merge "WindowOrientationListener: Check if proposed rotation is in range"