Home
last modified time | relevance | path

Searched refs:currentUserId (Results 1 – 7 of 7) sorted by relevance

/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java102 final int currentUserId = getCurrentUserId(); in testShouldHideFromSuggestions() local
106 UserHandle.of(currentUserId))); in testShouldHideFromSuggestions()
111 UserHandle.of(currentUserId))); in testShouldHideFromSuggestions()
DSuspendPackagesTest.java192 final int currentUserId = getCurrentUserId(); in testLauncherCallback() local
211 if (user.getIdentifier() != currentUserId) { in testLauncherCallback()
213 + ", current user: " + currentUserId + ". "); in testLauncherCallback()
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java78 int currentUserId = mDevice.getCurrentUser(); in setUp() local
79 mInitialUser = Optional.of(currentUserId); in setUp()
83 if (currentUserId != primaryUserId) { in setUp()
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java165 int currentUserId = Process.myUserHandle().getIdentifier(); in verifyDefaultValues() local
181 assertEquals("/data/user/" + currentUserId + "/" + SYNC_ACCOUNT_ACCESS_STUB_PACKAGE_NAME, in verifyDefaultValues()
183 assertEquals("/data/user_de/" + currentUserId + "/" + SYNC_ACCOUNT_ACCESS_STUB_PACKAGE_NAME, in verifyDefaultValues()
185 assertEquals("/data/user/" + currentUserId + "/" + SYNC_ACCOUNT_ACCESS_STUB_PACKAGE_NAME, in verifyDefaultValues()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java148 int currentUserId = device.getCurrentUser(); in prepareMultipleUsers() local
152 } else if (userIds[i] != currentUserId) { in prepareMultipleUsers()
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java489 int currentUserId = android.os.Process.myUserHandle().getIdentifier(); in resetPermissionController() local
496 if (job.dump.sourceUserId == currentUserId) { in resetPermissionController()
523 if (job.dump.sourceUserId == currentUserId in resetPermissionController()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java638 int currentUserId = Process.myUserHandle().getIdentifier(); in testRecordNoDataForIdleUids() local
644 makeMyUidStateActive(packageName, currentUserId); in testRecordNoDataForIdleUids()
678 makeMyUidStateIdle(packageName, currentUserId); in testRecordNoDataForIdleUids()
687 makeMyUidStateActive(packageName, currentUserId); in testRecordNoDataForIdleUids()
697 resetMyUidState(packageName, currentUserId); in testRecordNoDataForIdleUids()