| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Bug: 157451551
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.password
Change-Id: I269889309fd11adfa65195e3a6608f164af2abb2
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to ag/10703185, synchronize ShadowArscApkAssets9 interfaces
with ApkAssets of frameworks.
Bug: 152065338
Test: make RunSettingsRoboTests RunSettingsLibRoboTests
Change-Id: Icf740b7e02b1fe4e14617f6ce745c5fda09d49b1
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This is copied over from ShadowAppOpsManager
in google3.
Bug: 151572330
Test: robolectric tests are currently broken
Change-Id: I888576fd07cfaa6cf3cc984e81b2b8727af1c416
|
|/
|
|
|
|
|
|
|
| |
Test: m Robolectric_all
cherry pick from aosp/1240652
Bug: 152240886
Merged-In: I758d12639c924c9263e543103b39438e044c7cd5
Change-Id: Ie7a3123c93e4488e468b7165233643ec86ff33cf
|
|
|
|
|
|
|
|
| |
Classification added to MotionEvent.initialize to address b/62940136
Test: atest QuickAccessWalletRoboTests
Bug: 62940136
Change-Id: Ibf2cf6e734211e97bba39bbd8e524de9208110ac
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 148792795
Test: TH
Change-Id: Ia752161ddc473406f67a54b4cb234ea7c58b912e
Merged-In: Ia752161ddc473406f67a54b4cb234ea7c58b912e
Exempt-From-Owner-Approval: API rename
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| |
| | |
platform. Only am: 53afadd551 -s ours
am skip reason: subject contains skip directive
Change-Id: I212d76916a32dc5ebb9a45df4044f86871a92028
|
| |
| |
| |
| |
| |
| |
| |
| | |
needed for QPR.
Bug: 150247766
Test: make -j RunCarSettingsRoboTests
Change-Id: Ifb73fab427dbb953da7d6347fc91b3c098951590
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 141025588
Test: make -j
Change-Id: Ib394719ddbe3c5317fd473352359b2b520772d94
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Test: atest UpdateInteractAcrossPRofilesAppOpTaskTest
Change-Id: I195bfb6124aef7141cca3a6df9bf346f42f07d78
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Test: All tests are already failing. Tested through atest CrossProfileAppsSnapshotTest
Change-Id: I4f5136d158d827fe882f066fb08b7aa2a9e2b362
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1104043674 am: 0c90a07b19 am: 531c7713f3 -s ours
am skip reason: Change-Id I3b9b15be281a102ee982628b6a170a6e37c2c7bb with SHA-1 9f914a4214 is in history
Change-Id: If2565ba1367417353b930b9f93c3d1cd4311e098
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Change-Id: I899b97daf3ad8202056fee5de6e76e636e0acb07
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I1874507de1336b3126af714841fd651af2207111
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Update the Q build to use the final stubs.
Bug: 136679333
Test: m checkbuild
Change-Id: I3b9b15be281a102ee982628b6a170a6e37c2c7bb
|
|\ \ \ \ \ \ |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 136249261
Bug: 140728653
Change-Id: Ib733e2244153c590d26041d0e8f901f428bc401c
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
1) Move ShadowCrossProfileApps and ShadowCrossProfileAppsTest and add to
ShadowServiceManager. Note that none of this is new except for
setInteractAcrossProfilesAppOp and getInteractAcrossProfilesAppOp.
2) Fix
ShadowApplicationPackageManager#getApplicationIcon(ApplicationInfo).
Again, nothing is new here - just copied across.
Bug: 136249261
Bug: 140728653
Bug: 148769796
Change-Id: I9767942278e061ad05fd44816e3df856a1df24d9
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
BUG: 136249261
BUG: 140728653
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesDetailsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=InteractAcrossProfilesSettingsTest
Change-Id: If6539e556291dd4a69887a2a4ce9d359935a4ec1
|
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since HardwareRenderer#nCreateProxy changed the interface in ag/10253599,
We need to leverage the interface in robolectric framework as well.
Test: Run all Settings app test cases.
Change-Id: I99c9ce23dcc4d081a04b9300a73038cf45220d96
Fix: 149059655
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add ShadowDevicePolicyManager#getDefaultCrossProfilePackages and
Bug: 136249261
Bug: 140728653
Bug: 148769796
Change-Id: I539a1263b237d291efead682d945d680e0eb9772
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | / / / /
| | |/ / / /
| |/| | | |
| | | | | | |
am: 7a5789c8e8 am: 6d7a7e852c
Change-Id: I7d7b0e9121f3921628034e6f26b677379d7f31b7
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | | |
am: 7a5789c8e8
Change-Id: I30ca8c7b59eacb9b4819111f1ed6eeae71ec622c
|
| | |\ \ \ \
| | | | |/ /
| | | |/| |
| | | | | | |
Change-Id: I9799de463ff0fde3fd47dc331b3108697882eeab
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Starting small, this moves just one suite to the new runner while
leaving the legacy flow enabled. There will be more to follow.
Edit #1: Moved a bunch more things over.
To run the tests under atest, try:
`atest --host Robolectric_processor_tests`
`atest --host Robolectric_sandbox_tests`
and so on.
Test: results match existing flow
Change-Id: I4bfaabfc04123ad4f923959f565f74667324abcc
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
And add javadoc for hasBadge()
Test: atest DefaultAppInfoTest.initInfoWithActivityInfo_shouldLoadInfo ; m RunSettingsRoboTests
Bug: 148119724
Change-Id: I0dc58fbd5a1009735b07cd8d16ecf47691f1db5c
|
|\ \ \ \ \ \ |
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The calling order for UserManager.isProfile(int userId) and UserManager.isProfile()
was switched. The methods are called by IconDrawableFactory.getBadgedIcon,
which is used by DefaultAppInfoTest.initInfoWithActivityInfo_shouldLoadInfo and tests for
packages/apps/Settings. ShadowUserManager needs to be patched.
Bug: 148119724
Test: DefaultAppInfoTest.initInfoWithActivityInfo_shouldLoadInfo ; atest RunSettingsRoboTests
Change-Id: I92fcaa628b6933b99fb91c71ee75ded8762960bd
|
|\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
Change-Id: Ie95c5c97f398b7891a78a21297e24113693578fd
|
| |\| | |
| | | | |
| | | | |
| | | | | |
Change-Id: I22eb6b04053576440c84e536c099c95fc4220a20
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 481836ec30
Change-Id: I44525ffe40e90eb270e33f947ada499d45b0455e
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This removes 35 $(shell) uses from AOSP, and there were only 101 total.
It also saves about 40% of the time we spent re-running shell commands
on every build (0.47s -> 0.28s).
Test: m nothing; m nothing; check out/verbose.log.gz for top shell cmds
Test: ROBOTEST_FILTER=CodeInspectionTest m nothing; check log
Change-Id: If33a74a2362787a30b38fb20f1d79ca420e38a52
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
32f5dcf871 am: 106740c16e am: 0fcab43718
Change-Id: I51d1417231caac51d01803839d5cf938276cfc28
|