/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDeviceAdminServiceTest.java | 58 removeAdmin(OWNER_COMPONENT, getUserId()); in tearDown() 59 removeAdmin(OWNER_COMPONENT_B, getUserId()); in tearDown() 66 protected abstract int getUserId(); in getUserId() method in BaseDeviceAdminServiceTest 71 runDeviceTestsAsUser(OWNER_PKG, className, testName, getUserId()); in executeDeviceTestMethod() 109 installAppAsUser(OWNER_APK_1, getUserId()); in testAll() 118 removeAdmin(OWNER_COMPONENT, getUserId()); in testAll() 123 installAppAsUser(OWNER_APK_1, getUserId()); in testAll() 130 installAppAsUser(OWNER_APK_2, getUserId()); in testAll() 135 installAppAsUser(OWNER_APK_3, getUserId()); in testAll() 140 installAppAsUser(OWNER_APK_2, getUserId()); in testAll() [all …]
|
D | DeviceAdminServiceDeviceOwnerTest.java | 20 protected int getUserId() { in getUserId() method in DeviceAdminServiceDeviceOwnerTest 31 setDeviceOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
|
D | DeviceAdminServiceProfileOwnerTest.java | 23 protected int getUserId() { in getUserId() method in DeviceAdminServiceProfileOwnerTest 47 setProfileOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 56 pm.getInstalledPackagesAsUser(0, mContext.getUserId()); in testPackageVisibility_currentUser() 65 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserGrant() 76 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserNoGrant() 107 pm.getInstalledApplicationsAsUser(0, mContext.getUserId()); in testApplicationVisibility_currentUser() 116 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testApplicationVisibility_anyUserCrossUserGrant() 127 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testApplicationVisibility_anyUserCrossUserNoGrant() 180 return mContext.getUserId(); in getTestUser()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerNegativeTest.java | 112 "package", getTestContext().getUserId()); in testDirectAidlCalls() 114 checkAidlCall("getBackupPayload", "Caller must be", getTestContext().getUserId()); in testDirectAidlCalls() 116 checkAidlCall("applyRestore", "Caller must be", null, getTestContext().getUserId()); in testDirectAidlCalls()
|
D | ShortcutManagerCtsTestsBase.java | 123 mUserId = getTestContext().getUserId(); in setUp()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 362 + " " + mContext.getUserId(); in toggleNotificationPolicyAccess() 376 + " --user " + mContext.getUserId() in suspendPackage() 388 + " " + mContext.getUserId(); in toggleListenerAccess()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ContentCaptureRestrictionsTest.java | 43 mUserId = getInstrumentation().getContext().getUserId(); in setUp()
|
D | ContentSuggestionsRestrictionsTest.java | 41 mUserId = getInstrumentation().getContext().getUserId(); in setUp()
|
D | AutofillRestrictionsTest.java | 44 mUserId = getInstrumentation().getContext().getUserId(); in setUp()
|
/cts/hostsidetests/backup/ProfileKeyValueApp/src/android.cts.backup.profilekeyvalueapp/ |
D | ProfileKeyValueBackupRestoreTest.java | 47 mUserId = context.getUserId(); in setUp()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | FingerprintIncidentTest.java | 47 assertTrue(0 <= userStats.getUserId()); in verifyFingerprintServiceDumpProto()
|
D | PrintProtoTest.java | 60 assertEquals(0, userState.getUserId()); in verifyPrintServiceDumpProto()
|
D | SettingsIncidentTest.java | 63 assertEquals(0, userSettings.getUserId()); in verifySettingsServiceDumpProto()
|
D | NotificationIncidentTest.java | 206 assertTrue(sp.getUserId() >= 0); in verifyManagedServicesProto()
|
D | JobSchedulerIncidentTest.java | 282 assertTrue(0 <= o.getUserId()); in testStateControllerProto()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | RequestPinAppWidgetTest.java | 152 + getInstrumentation().getContext().getUserId() + " " + component); in setLauncher()
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarNotificationTest.java | 52 assertEquals(0, mSbn.getUserId()); in testGetUserId()
|
D | DownloadManagerTestBase.java | 162 final int userId = getUserId(); in getMediaStoreColumnValue() 199 private static int getUserId() { in getUserId() method in DownloadManagerTestBase
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | SessionCommitBroadcastTest.java | 158 + getInstrumentation().getContext().getUserId() + " " + component); in setLauncher()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Video_MediaTest.java | 277 + " --user " + InstrumentationRegistry.getTargetContext().getUserId() in testLocationRedaction() 344 + " --user " + InstrumentationRegistry.getTargetContext().getUserId() in testCanonicalize()
|
D | MediaStore_Images_MediaTest.java | 366 + " --user " + InstrumentationRegistry.getTargetContext().getUserId() 430 + " --user " + InstrumentationRegistry.getTargetContext().getUserId()
|
D | MediaStore_Audio_MediaTest.java | 172 + " --user " + InstrumentationRegistry.getTargetContext().getUserId() in testCanonicalize()
|
D | ProviderTestUtils.java | 353 + " --user " + InstrumentationRegistry.getTargetContext().getUserId() in getRawFile()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 86 mUserId = mContext.getUserId(); in setUp()
|