Searched refs:SECONDARY_USER_ID (Results 1 – 5 of 5) sorted by relevance
73 private static final int SECONDARY_USER_ID = 1001; field in ExperimentalCarKeyguardServiceTest148 KeyguardServiceDelegate delegate = getKeyguardState(SECONDARY_USER_ID).mKeyguardDelegate; in onInit_initializeCurrentPassengerUsers()149 verify(delegate).bindService(any(), eq(UserHandle.of(SECONDARY_USER_ID)), in onInit_initializeCurrentPassengerUsers()185 KeyguardServiceDelegate delegate = getKeyguardState(SECONDARY_USER_ID).mKeyguardDelegate; in onSecondaryUserVisible_initKeyguard()186 verify(delegate).bindService(any(), eq(UserHandle.of(SECONDARY_USER_ID)), in onSecondaryUserVisible_initKeyguard()194 KeyguardServiceDelegate delegate = getKeyguardState(SECONDARY_USER_ID).mKeyguardDelegate; in onUserInvisible_removeKeyguard()197 USER_LIFECYCLE_EVENT_TYPE_INVISIBLE, SECONDARY_USER_ID); in onUserInvisible_removeKeyguard()214 KeyguardServiceDelegate delegate = getKeyguardState(SECONDARY_USER_ID).mKeyguardDelegate; in onDisplayOn_notifiesDelegate()227 KeyguardServiceDelegate delegate = getKeyguardState(SECONDARY_USER_ID).mKeyguardDelegate; in onDisplayOff_notifiesDelegate()239 ExperimentalCarKeyguardService.KeyguardState state = getKeyguardState(SECONDARY_USER_ID); in addLockedStateListener_registerToDelegateOnce()[all …]
58 private static final int SECONDARY_USER_ID = 10; field in StorageAsyncLoaderTest154 info.id = SECONDARY_USER_ID; in testMultipleUsers()163 when(mMockSource.getExternalStorageStats(any(), eq(new UserHandle(SECONDARY_USER_ID)))) in testMultipleUsers()169 assertThat(result.get(SECONDARY_USER_ID).getExternalStats().totalBytes).isEqualTo(10L); in testMultipleUsers()220 info.id = SECONDARY_USER_ID; in testPackageIsNotDoubleCounted()226 eq(new UserHandle(SECONDARY_USER_ID)))) in testPackageIsNotDoubleCounted()241 assertThat(result.get(SECONDARY_USER_ID).getVideoAppsSize()).isEqualTo(10L); in testPackageIsNotDoubleCounted()
67 private static final int SECONDARY_USER_ID = 1001; field in RemoveProfileHandlerTest120 ExtendedMockito.doReturn(SECONDARY_USER_ID).when(UserHandle::myUserId); in viewingForegroundUser_cannotRemoveProfile()195 UserInfo userInfo = mockCurrentUserInfo(SECONDARY_USER_ID, /* isCurrentProcess */ false); in getAvailabilityStatus_notCurrentUser_notAvailableForProcess_available()211 UserInfo userInfo = mockCurrentUserInfo(SECONDARY_USER_ID, /* isCurrentProcess */ false); in getAvailabilityStatus_notCurrentUser_availableForCurrentUser_disable()
62 private static final int SECONDARY_USER_ID = 10; field in StorageAsyncLoaderTest149 info.id = SECONDARY_USER_ID; in testMultipleUsers()153 when(mSource.getExternalStorageStats(anyString(), eq(new UserHandle(SECONDARY_USER_ID)))) in testMultipleUsers()160 assertThat(result.get(SECONDARY_USER_ID).externalStats.totalBytes).isEqualTo(10L); in testMultipleUsers()
176 private static final int SECONDARY_USER_ID = 12; field in CallsManagerTest183 new UserHandle(SECONDARY_USER_ID));