Home
last modified time | relevance | path

Searched refs:onForegroundStateChanged (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DFgsManagerControllerTest.java133 mIForegroundServiceObserver.onForegroundStateChanged(b1, "pkg1", 0, true); in testNumPackages()
135 mIForegroundServiceObserver.onForegroundStateChanged(b2, "pkg2", 0, true); in testNumPackages()
137 mIForegroundServiceObserver.onForegroundStateChanged(b1, "pkg1", 0, false); in testNumPackages()
139 mIForegroundServiceObserver.onForegroundStateChanged(b2, "pkg2", 0, false); in testNumPackages()
180 mIForegroundServiceObserver.onForegroundStateChanged(b1, "pkg1", 0, true); in testNumPackages_FgsAndJobs()
182 mIForegroundServiceObserver.onForegroundStateChanged(b2, "pkg2", 0, true); in testNumPackages_FgsAndJobs()
188 mIForegroundServiceObserver.onForegroundStateChanged(b2, "pkg2", 0, false); in testNumPackages_FgsAndJobs()
206 mIForegroundServiceObserver.onForegroundStateChanged(b1, "pkg1", 0, true); in testNumPackagesDoesNotChangeWhenSecondFgsIsStarted()
208 mIForegroundServiceObserver.onForegroundStateChanged(b2, "pkg1", 0, true); in testNumPackagesDoesNotChangeWhenSecondFgsIsStarted()
230 mIForegroundServiceObserver.onForegroundStateChanged(b1, "pkg1", 0, true); in testNumPackagesListener()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DIForegroundServiceObserver.aidl30 …void onForegroundStateChanged(in IBinder serviceToken, in String packageName, int userId, boolean … in onForegroundStateChanged() method
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DLowPowerStandbyControllerTest.java748 fgsObserver.onForegroundStateChanged(null, TEST_PKG1, USER_ID_1, true); in testAllowReason_ongoingPhoneCallService()
754 fgsObserver.onForegroundStateChanged(null, TEST_PKG2, USER_ID_1, true); in testAllowReason_ongoingPhoneCallService()
761 fgsObserver.onForegroundStateChanged(null, TEST_PKG1, USER_ID_1, false); in testAllowReason_ongoingPhoneCallService()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFgsManagerController.kt626 override fun onForegroundStateChanged(
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DLowPowerStandbyController.java1448 public void onForegroundStateChanged(IBinder serviceToken, String packageName, in onForegroundStateChanged() method in LowPowerStandbyController.PhoneCallServiceTracker
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java6356 mFgsObservers.getBroadcastItem(i).onForegroundStateChanged(r, in signalForegroundServiceObserversLocked()
6381 callback.onForegroundStateChanged(sr, sr.appInfo.packageName, in registerForegroundServiceObserverLocked()