Commit Graph

457647 Commits

Author SHA1 Message Date
Hall Liu
aa4398e9ea Copy BasicShellCommandHandler into Telephony
Make a copy at compile time since we need to use it as a mainline module

Bug: 146834818
Test: manual (adb shell cmd phone help)
Change-Id: I4a2f54a0e926aa7040ba91853ca05f4bf38d25ec
2019-12-24 14:13:25 -08:00
TreeHugger Robot
61c760e7cb Merge "Add Remote media slice key" 2019-12-24 16:16:48 +00:00
TreeHugger Robot
63d2491b24 Merge "Create utils class to standardize implementation on hex digest of bytes." 2019-12-24 14:51:38 +00:00
Song Pan
068e09a112 Create utils class to standardize implementation on hex digest of bytes.
Test: atest AppIntegrityManagerServiceImplTest
Test: atest IntegrityUtilsTest
Change-Id: I019ed45fffd6ab2599e49f6e370b4f2a8f175bfb
2019-12-24 13:35:32 +00:00
Betty Chang
c9b6967e7e Merge "[Telephony Mainline] Add new SystemApi method and SystemApi annotation for mainline" 2019-12-24 12:05:02 +00:00
Tiger Huang
dbc4e9c468 Merge "Window Manager Flag Migration (8/n)" 2019-12-24 08:41:13 +00:00
Etan Cohen
67ac97d34e Merge "[wificond] Move to wificond namespace" 2019-12-24 07:16:35 +00:00
Tiger Huang
82520fcb67 Window Manager Flag Migration (8/n)
Dispatch the copied insets states and controls if the client and the
server are in the same process. Otherwise, changing them at the server
side will affect ones at the client side, and vice versa.

Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
            InsetsPolicyTest WindowStateTests CommandQueueTest
            RegisterStatusBarResultTest InsetsFlagsTest
            LightBarControllerTest RegisterStatusBarResultTest
            ViewRootImplTest DisplayPolicyLayoutTests
            DisplayPolicyInsetsTests DisplayPolicyTests
            TaskSnapshotSurfaceTest NavigationBarColorTest
Change-Id: Iabe9fb1f345f576f08b156f32aa9bd3989911149
2019-12-24 14:28:40 +08:00
Automerger Merge Worker
0e672436a5 Merge "Add UpstreamNetworkState for tethering" am: 9b141cc23c am: 5c351eb894 am: ad929e93e2
Change-Id: I530e4c189bf238cf9f4bc6b430c4cee724634840
2019-12-24 06:05:38 +00:00
Automerger Merge Worker
ad929e93e2 Merge "Add UpstreamNetworkState for tethering" am: 9b141cc23c am: 5c351eb894
Change-Id: I7f327288397b91a65945143061598ca5bb5823ab
2019-12-24 05:53:25 +00:00
markchien
5c351eb894 Merge "Add UpstreamNetworkState for tethering"
am: 9b141cc23c

Change-Id: Ia7fa9dae3a9da4eb59b2998824a29b1d1f04a5f4
2019-12-23 21:38:33 -08:00
Treehugger Robot
9b141cc23c Merge "Add UpstreamNetworkState for tethering" 2019-12-24 05:33:15 +00:00
TreeHugger Robot
338bb0d715 Merge "MediaRouter: Add missing info to MediaRoute2Info" 2019-12-24 05:33:11 +00:00
TreeHugger Robot
c169faaadd Merge "Fix opening/closing apps isn't add during device rotating" 2019-12-24 04:07:16 +00:00
Kyunglyul Hyun
3aeabe0e29 MediaRouter: Add missing info to MediaRoute2Info
This CL adds
 - connectionState : whether the route is connected/disconnected
 - mIconUri : uri of the icon of the route
 - deviceType : type of the route (BT, speaker, tv)
into MediaRoute2Info and corresponding tests

Bug: 146605788
Test: atest mediaroutertest

Change-Id: I8b3f33967478fd66d5a380bf5d069579f006b890
2019-12-24 13:01:25 +09:00
Jean Chen
551b7702be Merge "Support caption second UI structure (1/n)" 2019-12-24 03:12:02 +00:00
TreeHugger Robot
c2517eeeba Merge "The reset() should not throw exceptions" 2019-12-24 02:53:35 +00:00
TreeHugger Robot
4c3a915c36 Merge "Add styling related fields to Inline presentation spec." 2019-12-24 01:54:31 +00:00
lumark
3b8bbc8e0f Fix opening/closing apps isn't add during device rotating
When animating during device rotation, there may have a timing that
the display is waiting for the orientation change to complete but
the transiting apps won't be added into the opening/closing list by
the waiting state.

It caused when app transition set ready to go, but no opening or closing app can
check if the app has been drawn, check if the app is wallpaper target, or
check if can upgrade to wallpaper transition.

SplitScreenTests#testMinimizeAndUnminimizeThenGoingHome is an example that will hit
this potential problem and failed to update transition from TRANSIT_TASK_TO_FRONT
to TRANSIT_WALLPAPER_OPEN.

The fix is:
- Add DC#okToDisplay(ignoreFrozen) / WC#okToAnimate(ignoreFrozen) methods to ignore
  DisplalyFrozen check in ActivityRecord#setAppVisibility to ensure
  that apps in transition are added to opening/closing list and can
  update wallpaper transition.

Change-Id: I226da85aceca903bd431cc3f90dc2d2c962a632a
Fix: 145151475
Test: SplitScreenTests#testMinimizeAndUnminimizeThenGoingHome
2019-12-24 09:33:44 +08:00
ChenJean
2a404dc64b Support caption second UI structure (1/n)
Add constants for captions appearance and more options.

Bug: 143502915
Test: manual
Change-Id: I1cea63a5988277bff71e803d59be0eda3c03baef
2019-12-24 09:30:03 +08:00
TreeHugger Robot
7f7c31f9d5 Merge "Creating base QuotaTracker class." 2019-12-24 01:24:31 +00:00
TreeHugger Robot
119ddcca6b Merge "USB: Add test for UsbManager APIs" 2019-12-24 00:53:50 +00:00
TreeHugger Robot
d4fe2476b1 Merge "AudioService test: spy communication with AudioSystem for A2DP" 2019-12-24 00:27:39 +00:00
Etan Cohen
08921c3574 Merge "[WIFI] Protect broadcasts used by the Wi-Fi framework" 2019-12-24 00:22:49 +00:00
Feng Cao
7a0f002f5a Add styling related fields to Inline presentation spec.
Test: manual
Bug: 146454892

Change-Id: Id8f08ad0ee69e5c9c24fe038a06cbae3a3bc2c57
2019-12-23 15:53:58 -08:00
Automerger Merge Worker
56eb64faef Merge "Subscribe ActivityManagerService to receive lmkd kill notifications" am: 016131513f am: 55de7e2438 am: 8ffb14edfb
Change-Id: I2ebdbc09abe3ac9fbe12062c4cd64d87810cae64
2019-12-23 23:53:02 +00:00
Automerger Merge Worker
8ffb14edfb Merge "Subscribe ActivityManagerService to receive lmkd kill notifications" am: 016131513f am: 55de7e2438
Change-Id: Ia37e99aaa00437b7c350af05a25c47f519bde0b0
2019-12-23 23:39:00 +00:00
TreeHugger Robot
b722457082 Merge "Fix layer metadata key for a11y ID." 2019-12-23 23:38:49 +00:00
Suren Baghdasaryan
55de7e2438 Merge "Subscribe ActivityManagerService to receive lmkd kill notifications"
am: 016131513f

Change-Id: Iaa7fba50ae143562c7e6c432b8e6ad9f5ab44a4f
2019-12-23 15:27:07 -08:00
Suren Baghdasaryan
016131513f Merge "Subscribe ActivityManagerService to receive lmkd kill notifications" 2019-12-23 23:20:38 +00:00
Jean-Michel Trivi
9cbe101dd4 AudioService test: spy communication with AudioSystem for A2DP
Add an adapter class to spy on AudioSystem methods used for
device connection / disconnection.
  Modify A2DP connection tests to verify that after a device
is made available, it doesn't get disconnected later.

Bug: 146544156
Test: atest AudioDeviceBrokerTest

Change-Id: I897dac774d4de2cb40f29ccba9cdbc3493b3ce01
2019-12-23 15:14:27 -08:00
Kweku Adams
e46beb7c1d Creating base QuotaTracker class.
The CountQuotaTracker and DurationQuotaTracker will both extend this
class to implement their respective tracking. Common code and ancillary
options have been put into the base class.

Bug: 135764360
Test: atest CountQuotaTrackerTest
Test: atest DurationQuotaTrackerTest
Change-Id: I4b55219cd4ea76bf05ddddda10e6fb6b3f187226
2019-12-23 15:11:09 -08:00
TreeHugger Robot
a99a969282 Merge changes Ib03aafe9,Ia51a6db6
* changes:
  Abstract content binding into an interface
  Move control logic out of NotificationContentInflater
2019-12-23 22:54:55 +00:00
Menghan Li
fe3aa5d652 Merge "Create settings for color inversion (1/n)" 2019-12-23 22:45:36 +00:00
Etan Cohen
3a662d08d0 [WIFI] Protect broadcasts used by the Wi-Fi framework
Make sure the broadcasts used by the Wi-Fi framework are protected:
i.e. can only be transmitted by privileged components (as opposed to
any 3rd party app).

Bug: 146642727
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: I9a0bf4428774b13cc6414a223f378e09341a6a55
2019-12-23 14:39:54 -08:00
TreeHugger Robot
9682046756 Merge "preinstalled-packages-platform for profiles" 2019-12-23 22:38:48 +00:00
TreeHugger Robot
05b7a76959 Merge "Updating QuotaTracker proto for simplified alarms." 2019-12-23 22:25:54 +00:00
Ben Lin
eefcd54641 Merge "Add #onPictureInPictureRequested to Activity and ATM" 2019-12-23 22:08:59 +00:00
Dave Mankoff
11d07a8b86 Merge "Remove Dependency.get(InitController.class)" 2019-12-23 21:46:53 +00:00
Suren Baghdasaryan
b6b8d1d8fa Subscribe ActivityManagerService to receive lmkd kill notifications
With new LMK_SUBSCRIBE lmkd command clients need to subscribe for lmkd
notifications.

Bug: 146597855
Test: run lmkd_unit_test and verify kill notification delivery
Change-Id: Ib54647ce36426a56db3ab6f95f375a0a0ce352ce
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-12-23 13:39:45 -08:00
Michael Groover
8142ee3e61 Merge "Make DPM#checkDeviceIdentifierAccess a SystemApi" 2019-12-23 21:26:09 +00:00
Automerger Merge Worker
8a9e2a5ea6 Merge "ServiceManagerProxy: New method implementations" am: b2d8eb58a2 am: b88261b982 am: 3990bf8ba0
Change-Id: I876a25019dc9245671e1ffe53b7e3627877693ff
2019-12-23 20:43:01 +00:00
Automerger Merge Worker
aa58ee6e7c [automerger skipped] Merge "Remove unused SystemProperties.set" am: 3831174548 am: ec7c91a9c0 am: aeed5d8159 -s ours
am skip reason: Change-Id I47239b57bbbd37695fba5a37cc64b78428189a31 with SHA-1 debb4616ef is in history

Change-Id: I2049138c15f96bcc2407d2565686065cad78d164
2019-12-23 20:42:26 +00:00
TreeHugger Robot
b89dd3a33d Merge "Enable continuous testing for Battery Saver code." 2019-12-23 20:32:39 +00:00
TreeHugger Robot
6848be180f Merge "Add Scan to tuner" 2019-12-23 20:27:34 +00:00
Automerger Merge Worker
3990bf8ba0 Merge "ServiceManagerProxy: New method implementations" am: b2d8eb58a2 am: b88261b982
Change-Id: Ieef272563ab13c9bad7b7f062f2778bb2a7062d1
2019-12-23 20:22:53 +00:00
Automerger Merge Worker
aeed5d8159 Merge "Remove unused SystemProperties.set" am: 3831174548 am: ec7c91a9c0
Change-Id: I67edd305fe8b98ab52b358d9c3c4d63971147bd7
2019-12-23 20:22:19 +00:00
Kweku Adams
68bc2f2918 Updating QuotaTracker proto for simplified alarms.
The base QuotaTracker will use a single alarm for to process in quota
apps, so the dump needs to be changed to reflect the new internal
tracking mechanism.

Bug: 135764360
Test: atest CountQuotaTrackerTest
Test: atest DurationQuotaTrackerTest
Change-Id: Id70f847ba0cb8e76cdf518fe6ac5866397f87e45
2019-12-23 12:20:30 -08:00
TreeHugger Robot
3f7ef32b9f Merge "New API for query trust of a fs-verity certificate" 2019-12-23 20:18:40 +00:00
Jon Spivack
b88261b982 Merge "ServiceManagerProxy: New method implementations"
am: b2d8eb58a2

Change-Id: Ib572a6702fbf4aca5277f2d385a3ce6359d71851
2019-12-23 12:11:22 -08:00