Searched refs:currentUserId (Results 1 – 7 of 7) sorted by relevance
102 final int currentUserId = getCurrentUserId(); in testShouldHideFromSuggestions() local106 UserHandle.of(currentUserId))); in testShouldHideFromSuggestions()111 UserHandle.of(currentUserId))); in testShouldHideFromSuggestions()
192 final int currentUserId = getCurrentUserId(); in testLauncherCallback() local211 if (user.getIdentifier() != currentUserId) { in testLauncherCallback()213 + ", current user: " + currentUserId + ". "); in testLauncherCallback()
78 int currentUserId = mDevice.getCurrentUser(); in setUp() local79 mInitialUser = Optional.of(currentUserId); in setUp()83 if (currentUserId != primaryUserId) { in setUp()
165 int currentUserId = Process.myUserHandle().getIdentifier(); in verifyDefaultValues() local181 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()
148 int currentUserId = device.getCurrentUser(); in prepareMultipleUsers() local152 } else if (userIds[i] != currentUserId) { in prepareMultipleUsers()
489 int currentUserId = android.os.Process.myUserHandle().getIdentifier(); in resetPermissionController() local496 if (job.dump.sourceUserId == currentUserId) { in resetPermissionController()523 if (job.dump.sourceUserId == currentUserId in resetPermissionController()
638 int currentUserId = Process.myUserHandle().getIdentifier(); in testRecordNoDataForIdleUids() local644 makeMyUidStateActive(packageName, currentUserId); in testRecordNoDataForIdleUids()678 makeMyUidStateIdle(packageName, currentUserId); in testRecordNoDataForIdleUids()687 makeMyUidStateActive(packageName, currentUserId); in testRecordNoDataForIdleUids()697 resetMyUidState(packageName, currentUserId); in testRecordNoDataForIdleUids()