Home
last modified time | relevance | path

Searched defs:currentUserId (Results 1 – 25 of 29) sorted by relevance

12

/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/
DAppCloningHostTest.java224 int currentUserId = getCurrentUserId(); in testCrossUserMediaAccess() local
262 int currentUserId = getCurrentUserId(); in testGetStorageVolumesIncludingSharedProfiles() local
279 int currentUserId = getCurrentUserId(); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp() local
309 int currentUserId = getCurrentUserId(); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp() local
360 int currentUserId = getCurrentUserId(); in testMediaCreationWithContentOwnerSpecifiedAsCloneUser() local
394 int currentUserId = getCurrentUserId(); in testMediaCreationWithContentOwnerSpecifiedAsParentUser() local
423 int currentUserId = getCurrentUserId(); in testCrashingMediaProviderDoesNotAffectVolumeMounts() local
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DAdditionalSubtypeLifecycleTest.java116 final int currentUserId = currentUser.id(); in testPerUserAdditionalInputMethodSubtype() local
150 final int currentUserId = currentUser.id(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser() local
190 final int currentUserId = currentUser.id(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser() local
231 final int currentUserId = currentUser.id(); in testClearAdditionalInputMethodSubtypeUponClearDataForForegroundUser() local
277 final int currentUserId = currentUser.id(); in testClearAdditionalInputMethodSubtypeUponClearDataForBackgroundUser() local
DInputMethodServiceSwitchingTest.java74 final int currentUserId = currentUser.id(); in testUninstallCurrentIme() local
95 final int currentUserId = currentUser.id(); in testDisableCurrentIme() local
DMultiUserTest.java128 final int currentUserId = currentUser.id(); in testAdditionalUser() local
194 final int currentUserId = currentUser.id(); in testProfileUser() local
370 private void assertIsStylusHandwritingAvailable(int profileUserId, int currentUserId) { in assertIsStylusHandwritingAvailable()
DMultiUserMockImeTest.java91 final int currentUserId = currentUser.id(); in testProfileSwitching() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_21128.java42 int currentUserId = -1; in testPocCVE_2023_21128() local
DCVE_2023_40086.java49 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_40086() local
DCVE_2023_21277.java47 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21277() local
DCVE_2023_21238.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21238() local
DCVE_2023_21279.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21279() local
DCVE_2023_21286.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21286() local
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DScopedStorageCoreHostTest.java181 int currentUserId = getCurrentUserId(); in grantPermissions() local
189 int currentUserId = getCurrentUserId(); in revokePermissions() local
DAppCloningMediaProviderHostTest.java124 int currentUserId = getCurrentUserId(); in testInsertCrossUserFilesInDirectoryViaMediaProvider() local
150 int currentUserId = getCurrentUserId(); in testGetFilesInDirectoryViaMediaProvider() local
DScopedStorageHostTest.java364 int currentUserId = getCurrentUserId(); in grantPermissionsToPackage() local
376 int currentUserId = getCurrentUserId(); in revokePermissions() local
DLegacyStorageHostTest.java58 int currentUserId = getCurrentUserId(); in grantPermissions() local
66 int currentUserId = getCurrentUserId(); in revokePermissions() local
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DUserUtil.java57 int currentUserId = device.getCurrentUser(); in getTestUserId() local
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/storage/
DAppCloningPublicVolumeTest.java75 int currentUserId = getCurrentUserId(); in testCrossUserMediaAccessInPublicSdCard() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java85 int currentUserId = getDevice().getCurrentUser(); in tearDown() local
155 final int currentUserId = getDevice().getCurrentUser(); in assertSwitchToUser() local
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java102 final int currentUserId = getCurrentUserId(); in testShouldHideFromSuggestions() local
DSuspendPackagesTest.java216 final int currentUserId = getCurrentUserId(); in testLauncherCallback() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppCallbacksReceiver.java138 int currentUserId = ActivityManager.getCurrentUser(); in sendBroadcast() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java172 int currentUserId = ActivityManager.getCurrentUser(); in current() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java110 int currentUserId = ActivityManager.getCurrentUser(); in getNotificationManager() local
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java349 int currentUserId = getDevice().getCurrentUser(); in getUserIdForTesting() local
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java77 int currentUserId = mDevice.getCurrentUser(); in setUp() local

12