/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsCpuTimesTest.java | 255 final int testUserId = 11; in testReadKernelUidCpuTimesLocked() local 328 final int testUserId = 11; in testReadKernelUidCpuTimesLocked_isolatedUid() local 416 final int testUserId = 11; in testReadKernelUidCpuTimesLocked_invalidUid() local 461 final int testUserId = 11; in testReadKernelUidCpuTimesLocked_withPartialTimers() local 545 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked() local 620 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() local 724 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked_partialTimers() local 828 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked_freqsChanged() local 903 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked_isolatedUid() local 996 final int testUserId = 11; in testReadKernelUidCpuFreqTimesLocked_invalidUid() local [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
H A D | WallpaperManagerServiceTests.java | 273 final int testUserId = USER_SYSTEM; in testSetThenClearComponent() local 274 mService.switchUser(testUserId, null); in testSetThenClearComponent() 275 verifyLastWallpaperData(testUserId, sDefaultWallpaperComponent); in testSetThenClearComponent() 276 verifyCurrentSystemData(testUserId); in testSetThenClearComponent() 280 verifyCurrentSystemData(testUserId); in testSetThenClearComponent() 282 mService.clearWallpaper(null, FLAG_SYSTEM, testUserId); in testSetThenClearComponent() 283 verifyLastWallpaperData(testUserId, sDefaultWallpaperComponent); in testSetThenClearComponent() 284 verifyCurrentSystemData(testUserId); in testSetThenClearComponent() 293 final int testUserId = USER_SYSTEM; in testSetCurrentComponent() local 294 mService.switchUser(testUserId, null); in testSetCurrentComponent() [all …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
H A D | UserHelperTest.java | 137 int testUserId = 30; in testGrantingAdminPermissionsRemovesNonAdminRestrictions() local 139 UserInfo testInfo = newUser(testUserId); in testGrantingAdminPermissionsRemovesNonAdminRestrictions() 149 UserHandle.of(testUserId)); in testGrantingAdminPermissionsRemovesNonAdminRestrictions() 153 UserHandle.of(testUserId)); in testGrantingAdminPermissionsRemovesNonAdminRestrictions()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
H A D | HardwareAuthTokenUtilsTest.java | 51 final long testUserId = 2000L; in testHardwareAuthTokenLoopBack() local 58 hardwareAuthToken.userId = testUserId; in testHardwareAuthTokenLoopBack() 74 assertEquals(testUserId, hardwareAuthToken2.userId); in testHardwareAuthTokenLoopBack()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
H A D | AppRestrictionsHelperTest.java | 129 final int testUserId = mTestUser.getIdentifier(); in testApplyUserAppsStates() local 136 when(mIpm.getApplicationInfo(eq("app2"), anyInt(), eq(testUserId))) in testApplyUserAppsStates() 141 when(mIpm.getApplicationInfo(eq("app3"), anyInt(), eq(testUserId))) in testApplyUserAppsStates() 148 verify(mIpm, times(1)).installExistingPackageAsUser("app1", testUserId, in testApplyUserAppsStates() 151 verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false, testUserId); in testApplyUserAppsStates()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotifyingAppTest.java | 52 public void testUserId() { in testUserId() method in NotifyingAppTest
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
H A D | AppDataUsageTest.java | 330 final int testUserId = 11; in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids() local 331 final AppItem appItem = new AppItem(testUserId); in onCreateLoader_categoryUser_shouldQueryDataUsageUsingAssociatedUids()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 1735 for (int testUserId : userIds) { 1736 final UserInfo parent = mInjector.getUserManager().getProfileParent(testUserId); 1737 if (parent != null && parent.id == userId && testUserId != userId) { 1738 Slogf.d(TAG, "User " + testUserId + " (parent " + parent.id 1740 maybeUnlockUser(testUserId);
|