aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Snap for 6542686 from 8b93ba74714532887548d8baf2c9a00dd1efa758 to ↵android11-gsiandroid-build-team Robot2020-05-302-0/+48
|\ | | | | | | | | | | rvc-release am: e453b0c8ab Change-Id: Idd50f57175d629d6f5749ded878d7879f50ecde7
| * Snap for 6542686 from 8b93ba74714532887548d8baf2c9a00dd1efa758 to rvc-releaseandroid-vts-11.0_r1android-cts-11.0_r1android-11.0.0_r3android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-releaseandroid-build-team Robot2020-05-302-0/+48
|/| | | | | | | Change-Id: Ib5591b2f39d0c6b9146c3694b45974dec96ffc76
| * Add shadow for PersistentDataBlockManagerandroid11-devRubin Xu2020-05-282-0/+48
| | | | | | | | | | | | | | Bug: 157451551 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.password Change-Id: I269889309fd11adfa65195e3a6608f164af2abb2
* | Snap for 6420265 from 05ca36346eac5a5cc25ae909e1c6a3a51a58965a to rvc-releaseandroid-build-team Robot2020-04-231-0/+21
|\| | | | | | | Change-Id: Ifbe2e70e55b5b34ec480a29b50378a1879f8b325
| * Update Robolectric to reflect hidden API changes.Jeff Sharkey2020-04-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | As part of an optimization in Android R, there are two new String variants to support both UTF-8 and UTF-16 strings. This change adds those hidden API overloads to keep tests happy. Bug: 154727109 Test: make RunSettingsRoboTests Change-Id: I657fd9a814a35ae89b10aa1b8f572c45d841bed9
* | Snap for 6353066 from 36213bd738a9f63dd79f8ae5f65eef69ccc72b29 to rvc-releaseandroid-build-team Robot2020-04-013-10/+70
|\| | | | | | | Change-Id: If14058d40b70648ebbc1c2f395383a111ace1e7c
| * Add shadows needed for cross profile settings pagekholoud mohamed2020-03-313-10/+70
| | | | | | | | | | | | | | | | | | | | | | Note that isManagedProfile is copied over from the internal repo while canUserAttemptToConfigureInteractAcrossProfiles is newly added in this CL. Test: Robolectric unit tests are broken in gerrit. Bug: 149742043 Change-Id: If5b85fe63306994505044d64b21bdffac2587feb
* | Snap for 6338078 from 53aefd975cc0d94ef708fb1d263060ed46f7aec4 to rvc-releaseandroid-build-team Robot2020-03-275-1/+95
|\| | | | | | | Change-Id: Ic21a49d036c090e3a8534562eee527777b8b55b8
| * Merge "Add shadow methods for clearing cross-profile app-ops" into rvc-devAlex Kershaw2020-03-265-1/+95
| |\
| | * Add shadow methods for clearing cross-profile app-opsAlex Kershaw2020-03-235-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ShadowCrossProfileAppsTest#clearInteractAcrossProfilesAppOps and unit tests. Also add other missing shadow methods. Tests were not added for shadow changes in ShadowUserManager since it's so out of sync with the Robolectric source of truth currently that the tests would use different fields. Unit tests in Robolectric in the Android source tree are not currently working. Fixes: 151145623 Test: atest com.android.managedprovisioning.task.CreateManagedProfileTaskRoboTest Test: robolectric unit tests in Android source are broken but the new unit tests were tested on the robolectric source of truth Change-Id: I0e2b00586688a4dcd0d7e20a1cd1e39f6236794c
* | | Snap for 6333744 from fce599eb7193ad8b0b9bf4eb74e0b308d7bd950f to rvc-releaseandroid-build-team Robot2020-03-261-11/+72
|\| | | | | | | | | | | Change-Id: I4375848330ef3dd49b558a137da0a981b19616da
| * | Merge "Update ShadowArscApkAssets9 interfaces with platform" into rvc-devTreeHugger Robot2020-03-251-11/+72
| |\ \
| | * | Update ShadowArscApkAssets9 interfaces with platformMill Chen2020-03-251-11/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to ag/10703185, synchronize ShadowArscApkAssets9 interfaces with ApkAssets of frameworks. Bug: 152065338 Test: make RunSettingsRoboTests RunSettingsLibRoboTests Change-Id: Icf740b7e02b1fe4e14617f6ce745c5fda09d49b1
* | | | Snap for 6329815 from 65cdab3267c984ae09bd8c03bdcbb2d8428c91be to rvc-releaseandroid-build-team Robot2020-03-251-0/+18
|\| | | | | | | | | | | | | | | Change-Id: Ie61ac2348e5edef7ebdf6e5dc7b4e39a9bf8fcdd
| * | | Merge "Add a shadow for unsafeCheckOpRawNoThrow" into rvc-devTreeHugger Robot2020-03-241-0/+18
| |\ \ \ | | |/ / | |/| |
| | * | Add a shadow for unsafeCheckOpRawNoThrowkholoud mohamed2020-03-241-0/+18
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | This is copied over from ShadowAppOpsManager in google3. Bug: 151572330 Test: robolectric tests are currently broken Change-Id: I888576fd07cfaa6cf3cc984e81b2b8727af1c416
* | | Snap for 6325693 from 2e55a5615cda5d300d6c161ec842a850797506ce to rvc-releaseandroid-build-team Robot2020-03-241-0/+5
|\| | | | | | | | | | | Change-Id: I3398ffdec96c1dabb024d6f44ec448dab5ea5d73
| * | Adjust to androidx.test ActivityInvoker API change.Brett Chabot2020-03-231-0/+5
| |/ | | | | | | | | | | | | | | | | Test: m Robolectric_all cherry pick from aosp/1240652 Bug: 152240886 Merged-In: I758d12639c924c9263e543103b39438e044c7cd5 Change-Id: Ie7a3123c93e4488e468b7165233643ec86ff33cf
* | Snap for 6301911 from f4bf93d649353bedee4c448913e6fd8a7afae7a7 to rvc-releaseandroid-build-team Robot2020-03-171-0/+44
|\| | | | | | | Change-Id: Ia85fc5f11e0a5f9e1e0d69ba268a5226a35a0048
| * Add shadow impl for new MotionEvent initializerSean Pont2020-03-131-0/+44
| | | | | | | | | | | | | | | | Classification added to MotionEvent.initialize to address b/62940136 Test: atest QuickAccessWalletRoboTests Bug: 62940136 Change-Id: Ibf2cf6e734211e97bba39bbd8e524de9208110ac
* | Snap for 6294963 from fff7842626cfa42a7c5afb2b0bbf2716aee9a8e7 to rvc-releaseandroid-build-team Robot2020-03-141-3/+3
|\| | | | | | | Change-Id: Ib1333e2791f689430118a9d66af4abce840a4f4b
| * Merge "Rename featureId -> attributionTag" into rvc-devPhilip P. Moltmann2020-03-131-3/+3
| |\
| | * Rename featureId -> attributionTagPhilip P. Moltmann2020-03-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 148792795 Test: TH Change-Id: Ia752161ddc473406f67a54b4cb234ea7c58b912e Merged-In: Ia752161ddc473406f67a54b4cb234ea7c58b912e Exempt-From-Owner-Approval: API rename
* | | Snap for 6282804 from 276c0bf1407d7db7fe63c7373307cb6b4440c95b to rvc-releaseandroid-build-team Robot2020-03-111-0/+3
|\| | | | | | | | | | | Change-Id: I787e8591e8e1e492bdaaab514ecc0e23a5e61b5a
| * | Create the context.getSystemService(Context.POWER_SERVICE)Sunny Shao2020-03-091-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | failed in the Roboletric test case root cause : ServiceManager.getServiceOrThrow(Context.THERMAL_SERVICE) created failed when creates power service. solution: Add the thermal service in the ShadowServiceManager. Fixes: 151047301 Bug: 150907639 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.DisplaySettingsTest Change-Id: I611b7b2eceedcf5785c015ba71c5f9b02615d7e3
* | Snap for 6269144 from 91ec756306014ea0aeccc850a1796c3b796f6b24 to rvc-releaseandroid-build-team Robot2020-03-061-0/+3
|\| | | | | | | Change-Id: I4a7aa05821507e925e8131ebfae4d0963dcc2b94
| * Disable new WM feature for robolectricLee Chou2020-03-051-0/+3
| | | | | | | | | | | | | | | | | | | | A new window manager feature (b/118118435) caused robolectric tests to freeze. This sets the System Property persist.debug.new_insets=0 to turn off the feature for robolectric tests. Bug: 150011638 Test: m RunStorageManagerRoboTests Change-Id: I0e906b5c9ee86dac195b9d5ba5815bd0c2b01db3
* | Snap for 6245507 from da28d7d0585aa9f25a02b24671e73398f4e4ebd7 to rvc-releaseandroid-build-team Robot2020-02-280-0/+0
|\| | | | | | | Change-Id: Ia460c4bf678674f44154f00d21068295f9341f9e
| * [automerger skipped] DO NOT MERGE Synchronize robolectric interfaces with ↵Automerger Merge Worker2020-02-270-0/+0
| |\ | | | | | | | | | | | | | | | | | | | | | platform. Only am: 53afadd551 -s ours am skip reason: subject contains skip directive Change-Id: I212d76916a32dc5ebb9a45df4044f86871a92028
| | * DO NOT MERGE Synchronize robolectric interfaces with platform. OnlyJianYang Liu2020-02-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | needed for QPR. Bug: 150247766 Test: make -j RunCarSettingsRoboTests Change-Id: Ifb73fab427dbb953da7d6347fc91b3c098951590
* | | Snap for 6224475 from 38a6ce49faa9092c4a6e3a9fe63ce9e77d26e761 to rvc-releaseandroid-build-team Robot2020-02-211-1/+1
|\| | | | | | | | | | | Change-Id: Ic726d1b70b59adad8cb0175e55ca79537e0c1811
| * | Merge "Add the missing param isStrongBiometric"Haining Chen2020-02-201-1/+1
| |\ \
| | * | Add the missing param isStrongBiometricHaining Chen2020-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 141025588 Test: make -j Change-Id: Ib394719ddbe3c5317fd473352359b2b520772d94
* | | | Snap for 6211803 from 812091fde1496cf62a9eb04bb78a06d57e496f11 to rvc-releaseandroid-build-team Robot2020-02-161-1/+1
|\| | | | | | | | | | | | | | | Change-Id: Iee6a9fa17e564cc48a2ffa6d600ac0bd3c2a25a5
| * | | Fixed ShadowRenderNodeAnimator to implementJianYang Liu2020-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | android.graphics.animation.RenderNodeAnimator since the code has been moved into that class as of ag/10316486. Bug: 149586961 Test: Robolectric tests pass Change-Id: Ic43f2e06ddd2e877a97740971d7c652fd3f97838
* | | | Snap for 6210127 from 16a521333e0e8b1377de28a6fe65b92d684946e5 to rvc-releaseandroid-build-team Robot2020-02-152-42/+78
|\| | | | | | | | | | | | | | | Change-Id: Ib870600ee81aff07db72fb61deb5fcae8defeb6f
| * | | Add #resetInteractAcrossProfilesAppOps shadow to ShadowCrossProfileApps.Jonathan Scott2020-02-141-29/+54
| | | | | | | | | | | | | | | | | | | | | | | | Test: atest UpdateInteractAcrossPRofilesAppOpTaskTest Change-Id: I195bfb6124aef7141cca3a6df9bf346f42f07d78
| * | | Merge "Copy getUserSerialNumber from google3."TreeHugger Robot2020-02-141-13/+24
| |\ \ \ | | |/ / | |/| |
| | * | Copy getUserSerialNumber from google3.Jonathan Scott2020-02-131-13/+24
| | | | | | | | | | | | | | | | | | | | Test: All tests are already failing. Tested through atest CrossProfileAppsSnapshotTest Change-Id: I4f5136d158d827fe882f066fb08b7aa2a9e2b362
* | | | Snap for 6206568 from a5988a1ee011a0d373c072eda87940bc0915bf82 to rvc-releaseandroid-build-team Robot2020-02-140-0/+0
|\| | | | | | | | | | | | | | | Change-Id: I934a021bde3f8e1fe0b00a1694527f560293162d
| * | | [automerger skipped] Update robolectric Q stubs to final and add R am: ↵Automerger Merge Worker2020-02-130-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1104043674 am: 0c90a07b19 am: 531c7713f3 -s ours am skip reason: Change-Id I3b9b15be281a102ee982628b6a170a6e37c2c7bb with SHA-1 9f914a4214 is in history Change-Id: If2565ba1367417353b930b9f93c3d1cd4311e098
| | * \ \ Update robolectric Q stubs to final and add R am: 1104043674 am: 0c90a07b19Automerger Merge Worker2020-02-132-2/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | Change-Id: I899b97daf3ad8202056fee5de6e76e636e0acb07
| | | * \ \ Update robolectric Q stubs to final and add R am: 1104043674Automerger Merge Worker2020-02-132-2/+4
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: I1874507de1336b3126af714841fd651af2207111
| | | | * | | Update robolectric Q stubs to final and add RColin Cross2020-02-132-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Q build to use the final stubs and make the in-development version R. This will allow using $(PLATFORM_VERSION_CODENAME) to find the current stubs. Bug: 136679333 Test: m checkbuild Change-Id: I3b9b15be281a102ee982628b6a170a6e37c2c7bb Merged-In: I3b9b15be281a102ee982628b6a170a6e37c2c7bb
* | | | | | | Snap for 6203617 from ab156e4e6b8e5f76232ea8ed13ec305c3eb05860 to rvc-releaseandroid-build-team Robot2020-02-134-5/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6e5dac75a08d842e647baca0087fcce0111fbbc9
| * | | | | | Merge "Update robolectric Q stubs to final"Colin Cross2020-02-132-3/+2
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| | * | | | | Update robolectric Q stubs to finalColin Cross2020-02-112-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Q build to use the final stubs. Bug: 136679333 Test: m checkbuild Change-Id: I3b9b15be281a102ee982628b6a170a6e37c2c7bb
| * | | | | | Merge "Add setDefaultCrossProfilePackages to shadow."TreeHugger Robot2020-02-121-2/+5
| |\ \ \ \ \ \
| | * | | | | | Add setDefaultCrossProfilePackages to shadow.Jonathan Scott2020-02-051-2/+5
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be merged, including tests, into G3 as cl/293336648. Test: All robolectric shadow tests are failing prior to this change. Functionality tested with atest CrossProfileAppsSnapshotTest. Change-Id: I74cc7afbe21ca4e92d11075fbd67f2b7775fc316
| * | | | | | Fix ShadowApplicationPackageManager#getApplicationInfoAsUserAlex Kershaw2020-02-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 136249261 Bug: 140728653 Change-Id: Ib733e2244153c590d26041d0e8f901f428bc401c