353058 Commits

Author SHA1 Message Date
Maurice Lam
22e6c7b95c Revert "Fixed RTL alignment issue in suggested language list"
This reverts commit a2c1917e37170ca7576049c2f14792b742a304bf.

Reason for revert: b/71341685

Change-Id: I453d9e38143645f9b9d62d874eb8a84e3133b555
2018-01-03 20:25:24 +00:00
Malcolm Chen
2ca03a5fa8 Merge "Move Ims related settings from global setting to subscription db." am: f2ebbd1356 am: 5bf5c028f7
am: 2bac68a635  -s ours

Change-Id: I947e030dc0759a79a8d487fdba385b18486d0e7d
2018-01-03 20:19:12 +00:00
Chien-Yu Chen
a1d1d5b1fa camera: Add device info version
Bug: 64847201
Change-Id: I1114473d277d3e87bd7cb731f6ec93652579b4e0
2018-01-03 12:14:53 -08:00
Tomasz Wasilczyk
f58305d137 Implement opening session for HAL 2.0.
Test: bit BroadcastRadioTests:android.hardware.radio.tests.functional.
      RadioTunerTest\#testOpenTuner
Bug: 69958777

Change-Id: Ie371b395986d28dae5f687eeae16f11e4c204490
2018-01-03 20:14:29 +00:00
Jeff Sharkey
85d7de3ee8 Merge "Avoid NPE when missing underlyingCaps." am: 6522970c1e am: e35adbc4d2
am: 552ab5f4b0

Change-Id: Ifc8edb9643ee601e285557cb3c320e541a5d0f78
2018-01-03 20:14:03 +00:00
Malcolm Chen
2bac68a635 Merge "Move Ims related settings from global setting to subscription db." am: f2ebbd1356
am: 5bf5c028f7

Change-Id: Iab3a7a47da5961471bce7a8e29960ab75e68719b
2018-01-03 20:04:37 +00:00
Jeff Sharkey
552ab5f4b0 Merge "Avoid NPE when missing underlyingCaps." am: 6522970c1e
am: e35adbc4d2

Change-Id: Iacd2f15ad31ec7d5c83b21674e1e1f106a5fbd96
2018-01-03 19:56:28 +00:00
Malcolm Chen
5bf5c028f7 Merge "Move Ims related settings from global setting to subscription db."
am: f2ebbd1356

Change-Id: Ifc49cccd9f9ce47585367a3f0802ced5df94140b
2018-01-03 19:52:36 +00:00
Kweku Adams
ae9dcb90c2 incidentd: Updating BatteryStats process states.
States were changed in ag/3380099 but the proto wasn't updated.
Bug: 65750808
Test: flash device and check incident.proto output

Change-Id: Ie90e389f0b541ba2bc05766fbd5f18c97ec832b6
2018-01-03 11:47:57 -08:00
Jeff Sharkey
e35adbc4d2 Merge "Avoid NPE when missing underlyingCaps."
am: 6522970c1e

Change-Id: Ibbd645fa42b8e6d4f4ae05260839ac87a2430519
2018-01-03 19:47:22 +00:00
TreeHugger Robot
c77bb380ae Merge "Send backup success notification to background apps as well" 2018-01-03 19:46:02 +00:00
Winson Chung
95bccdc6ea Fix regression in PiP app-ops listener.
Bug: 71526100
Test: Launch settings for PiP app, ensure that disabling app-ops setting
      also dismisses PiP app.

Change-Id: I7cb9d131ad38ce8ead06889f52f1ee82d98f5d1d
2018-01-03 11:45:47 -08:00
Treehugger Robot
f2ebbd1356 Merge "Move Ims related settings from global setting to subscription db." 2018-01-03 19:42:24 +00:00
Jeff Sharkey
6522970c1e Merge "Avoid NPE when missing underlyingCaps." 2018-01-03 19:33:00 +00:00
TreeHugger Robot
eee29f6457 Merge "Remove settings suggestion v2 feature flag." 2018-01-03 19:31:34 +00:00
TreeHugger Robot
dce50021ec Merge "Add USB config constants to metrics proto" 2018-01-03 19:17:24 +00:00
Sudheer Shanka
bfea298303 Merge "Dump per-process state cpu times to batterystats proto." 2018-01-03 19:06:51 +00:00
TreeHugger Robot
1dfbfc98f4 Merge "Proper calculation for overall WiFi MC statistics" 2018-01-03 18:55:52 +00:00
Alex Klyubin
abf226b732 Merge "Log warning when can't read from HW RNG" 2018-01-03 18:08:52 +00:00
Arthur Ishiguro
f2b6f014a7 Expose new ContextHubService APIs
Also deprecates old APIs.

Bug: 67734082
Test: make update-api && make
Change-Id: I93166347ce2ec63f9c0cffd0b8b0bbaa488e5ea4
2018-01-03 09:34:04 -08:00
Arthur Ishiguro
78493a1c80 Adds ContextHubClient to callback parameters
Bug: 67734082
Test: make
Change-Id: Id09322c5375ee87a7533e77696e4673854bae4be
2018-01-03 09:34:04 -08:00
Felipe Leme
27f4573d13 Refactored Field Classification score logic so it can be moved to ExtServices.
Bug: 70939974
Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest \
            CtsAutoFillServiceTestCases:UserDataTest
Test: atest CtsAutoFillServiceTestCases

Change-Id: If584ab3a55744a62f427065bfd44c8c219df83e9
2018-01-03 09:27:51 -08:00
Ahmed ElArabawy
f88571ffa1 Proper calculation for overall WiFi MC statistics
In current implementations the WiFi MC statistcs are calculating by
aggregating the per uid statistics accross all UIDs. This does not
result in the correct values in case of time overlapping acquisitions of
MC wakelocks by same or different UIDs
This commit creates a separate Timer instance that tracks the actual
time spent with MC Enabled.

Bug: 69854369
Test: Manual Test

Change-Id: I78533f48300bc9faccc374d684698dae647bde5d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-01-03 09:06:42 -08:00
Arthur Ishiguro
f3691da800 Renames RESULT_FAILED_PENDING to RESULT_FAILED_BUSY
Bug: 67734082
Test: None
Change-Id: I878f80f012e8d08bca36b41f921e3d191046e8da
2018-01-03 09:04:59 -08:00
Arthur Ishiguro
b3dce5bd81 Changes transaction Listener to OnCompleteListener
Bug: 67734082
Test: None
Change-Id: I7a7b1b448d3a4eeed57fabd333c35faa18c7443d
2018-01-03 09:04:59 -08:00
Phil Weaver
bb2f28a776 Make accessibility window events more granular
TYPE_WINDOWS_CHANGED events have meant that "something"
changes with the system windows, so a single event would be
fired for a single small window change or a bunch of window
changes. Services were required to cache the windows and
compare the old ones to the new ones to find out what
changed.

Since AccessibilityEvents are intended to communicate
changes to the UI, this CL sends one TYPE_WINDOWS_CHANGED
for each window that has changed, and provides a way to
get the source of the changing window. It also adds a
windowChangeType field, which contains flags to indicate
what exactly has changed for the window.

Bug: 62231686
Test: Run all a11y unit and cts tests
Change-Id: I6c48e74da26be5ea485ac114a37f3c404a74940e
2018-01-03 08:51:18 -08:00
Stan Iliev
ec08381261 Refactor TestUtils::drawUtf8ToCanvas usage in macrobench tests
Set text encoding inside TestUtils::drawUtf8ToCanvas and use
TestUtils::drawUtf8ToCanvas instead Canvas::drawText.
This CL is a follow-up of ag/3287411.

Test: Ran macrobench tests
Change-Id: I1b2f014d17f26ccc8fbdae9cfeea4ac25fd4c51f
2018-01-03 15:30:37 +00:00
Alan Stokes
c80114c855 Merge "Add integration test for DexLogger." 2018-01-03 15:29:08 +00:00
TreeHugger Robot
031d138d2d Merge "Clear calling identity when calling getPackageInfo in AMS.isSystemUid" 2018-01-03 14:59:21 +00:00
Victor Chang
d990345d8b Revert "Switch file size formatters to use ICU's MeasureFormat"
This reverts commit 4e5b71f084f62203adb732cefc2d2f5ecdaac1c1.

Test: cts-tradefed run cts-dev -m CtsTextTestCases
Bug: 70005649
Bug: 36994779
Change-Id: Ie9a2fd786d48e2a6c291e313cbb4072c7306af9f
2018-01-03 14:31:47 +00:00
Victor Chang
3305bce79d Revert "Remove use of MeasureUnit.internalGetInstance"
This reverts commit aa5629e60809e4775ca1f05e6f1f296a04a450dc.

Test: m
Bug: 70005649
Bug: 36994779
Change-Id: I4591870f564567c40fa450866c3050fd5a7a61ae
2018-01-03 14:31:34 +00:00
Søren Gjesse
0fded55c45 Refactor leak tests
Change the code to not rely on debug mode compilation for D8/R8.

For R8 -dontoptimize is still required (default for tests) to avoid
inlining that could "revert" this change at compile time.

Test: m -j USE_R8=true SystemUITests
Test: Run tests and see failures from b/70879514 are gone

Bug: 70879514
Change-Id: Ic8bb2bd3a91da0ecb2ec4e40183f47e4daf6323c
2018-01-03 15:24:55 +01:00
Ricky Wai
62bc5f84be Merge "Make Network watchlist use ConfigUpdater to get watchlist" 2018-01-03 14:16:40 +00:00
arangelov
8c586ec481 Add device owner transfer functionality.
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedDeviceOwnerTransferTest
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Bug: 69542799
Change-Id: I2119aebc1554c804c8dd41383fd10e8354e77620
2018-01-03 13:16:58 +00:00
Narayan Kamath
f10a9e7568 Merge "PowerManagerService: Account for WorkChains in wakeLockAffectsUser." 2018-01-03 13:03:18 +00:00
Jorim Jaggi
339a30332b Merge "Hide windows immediately after policy visibility anim" 2018-01-03 12:12:32 +00:00
Jorim Jaggi
4945d4edbf Merge "Fix a11y window positions" 2018-01-03 11:46:40 +00:00
Bartosz Fabianowski
7f97228e29 Address review comments from 02a1c08
This CL addresses a few remaining review comments from 02a1c08,
"Add notification on succesful backups"

Bug: 63885845
Test: make RunFrameworksServicesRoboTests
Change-Id: Id42777a213c37400f24f6ecb11ecacbd55a2e123
2018-01-03 12:43:09 +01:00
Narayan Kamath
c851373c16 Merge "Support chained attribution for alarm related WorkSources." 2018-01-03 11:34:58 +00:00
TreeHugger Robot
5d2465ffbb Merge "Remove @SystemApi from inherited methods of AudioFocusInfo" 2018-01-03 11:31:12 +00:00
Alan Stokes
761d618a13 Add integration test for DexLogger.
Bug: 63927552
Bug: 68703204
Test: atest DexLoggerIntegrationTests
Change-Id: Ib61cf433ef4729c4e4a0539682b5ddbefdb65575
2018-01-03 11:21:45 +00:00
TreeHugger Robot
2647c5f22f Merge "Fix bug where PlatformKeyManager did not save generation ID" 2018-01-03 10:04:37 +00:00
Narayan Kamath
695cf72f26 Support chained attribution for alarm related WorkSources.
.. those passed down via the AlarmManager.set() variant that takes
a WorkSource. This required a minor re-arrangement of code in
the ActivityManager. We now treat WorkSources as opaque in the
AlarmManager and simply push them down to the AM (and eventually
to BatteryStats) where they are picked apart.

Test: BatteryStatsNoteTest, AlarmManagerTest
Bug: 62390666
Change-Id: I118f1a1d16aafa41b4f401f1a6a3ba4d2d5eca8f
2018-01-03 09:16:56 +00:00
Bartosz Fabianowski
9fcc8ffd7b Send backup success notification to background apps as well
When the backup manager is configured to notify one or more apps of
successful backups, the notifications should be sent to apps that are
currently stopped as well.

Bug: 63885845
Test: cts-tradefed run cts-dev --module CtsBackupHostTestCase
Change-Id: I7086aee105229e0f8db4b1ec26639d53a4e0af37
2018-01-03 09:14:47 +01:00
Lucas Dupin
37d870bc09 Merge "Add next alarm back to AoD" 2018-01-03 05:15:59 +00:00
TreeHugger Robot
516ba989a2 Merge "incidentd: parsing ps dump into proto." 2018-01-03 04:14:28 +00:00
TreeHugger Robot
1b128eb205 Merge "APK Signature Scheme v3: require Proof-of-rotation and signing certs to match." 2018-01-03 03:50:33 +00:00
TreeHugger Robot
6ea80ae06c Merge "Fix crash in EditText#getText" 2018-01-03 03:37:55 +00:00
Sudheer Shanka
6d658d7d41 Dump per-process state cpu times to batterystats proto.
Bug: 66953194
Test: Compared dump of 'batterystats --checkin' and 'batterystats --proto' in text.
Change-Id: Ic70fe18fbb88cefa1e4299fde85121d0e80248fa
2018-01-02 19:31:01 -08:00
TreeHugger Robot
c36fbd4f0f Merge "[Wifi][Passpoint] OSU Server status and failure callbacks" 2018-01-03 02:57:27 +00:00