Searched refs:FOREGROUND_UID (Results 1 – 3 of 3) sorted by relevance
111 private static final int FOREGROUND_UID = 7; field in PreferredServicesTest156 when(mUserHandle.getIdentifier()).thenReturn(FOREGROUND_UID); in setUp()278 services.mForegroundUid = FOREGROUND_UID; in testSetDefaultForNextTapWithNonNullService_NotifyChange()286 assertThat(services.mForegroundCurrentUid).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNonNullService_NotifyChange()296 services.mForegroundUid = FOREGROUND_UID; in testSetDefaultForNextTapWithNullService_NoChange()315 boolean result = services.setDefaultForNextTap(FOREGROUND_UID, TEST_COMPONENT); in testSetDefaultForNextTapWithNonNullService_NoChange()319 assertThat(services.mNextTapDefaultUserId).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNonNullService_NoChange()328 services.mForegroundUid = FOREGROUND_UID; in testSetDefaultForNextTapWithNullService_NotifyChange()338 assertThat(services.mForegroundCurrentUid).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNullService_NotifyChange()341 assertThat(userIdCaptor.getValue()).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNullService_NotifyChange()[all …]
254 proto.write(EnabledNfcFServicesProto.FOREGROUND_UID, mForegroundUid); in dumpDebug()
579 proto.write(PreferredServicesProto.FOREGROUND_UID, mForegroundUid); in dumpDebug()