Searched refs:mForegroundCurrentUid (Results 1 – 2 of 2) sorted by relevance
101 int mForegroundCurrentUid; // The UID of the currently computed foreground component field in PreferredServices293 != UserHandle.getUserHandleForUid(mForegroundCurrentUid).getIdentifier())) { in computePreferredForegroundService()295 mForegroundCurrentUid = mForegroundUid; in computePreferredForegroundService()299 mForegroundCurrentUid = mForegroundUid; in computePreferredForegroundService()331 if (!isForegroundAllowedLocked(mForegroundCurrent, mForegroundCurrentUid)) { in onServicesUpdated()335 mForegroundCurrentUid = -1; in onServicesUpdated()510 + " (UID:" + mForegroundCurrentUid + ")"); in dump()
286 assertThat(services.mForegroundCurrentUid).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNonNullService_NotifyChange()306 assertThat(services.mForegroundCurrentUid).isEqualTo(0); in testSetDefaultForNextTapWithNullService_NoChange()321 assertThat(services.mForegroundCurrentUid).isEqualTo(0); in testSetDefaultForNextTapWithNonNullService_NoChange()338 assertThat(services.mForegroundCurrentUid).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNullService_NotifyChange()354 assertThat(services.mForegroundCurrentUid).isEqualTo(0); in testOnServicesUpdatedWithNullForeground_NoChange()366 services.mForegroundCurrentUid = FOREGROUND_UID; in testOnServicesUpdatedWithNonNullForegroundAndPaymentServiceInfo_CommitsChange()374 assertThat(services.mForegroundCurrentUid).isEqualTo(-1); in testOnServicesUpdatedWithNonNullForegroundAndPaymentServiceInfo_CommitsChange()389 services.mForegroundCurrentUid = FOREGROUND_UID; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()398 assertThat(services.mForegroundCurrentUid).isEqualTo(-1); in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()413 services.mForegroundCurrentUid = FOREGROUND_UID; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()[all …]