Home
last modified time | relevance | path

Searched refs:isAppForeground (Results 1 – 17 of 17) sorted by relevance

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemAppForegroundHelperTest.java104 assertThat(mHelper.isAppForeground(0)).isEqualTo(true); in testIsAppForeground()
107 assertThat(mHelper.isAppForeground(0)).isEqualTo(true); in testIsAppForeground()
110 assertThat(mHelper.isAppForeground(0)).isEqualTo(false); in testIsAppForeground()
H A DFakeAppForegroundHelper.java39 public boolean isAppForeground(int uid) { in isAppForeground() method in FakeAppForegroundHelper
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiLockManagerTest.java681 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOn()
699 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOff()
731 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
751 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLL_enableLegacy()
770 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
804 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockReleaseFailure()
833 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyfail2DisablePowerSave()
859 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockGoScreenOff()
893 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testLatencyLockGoBackground()
1082 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testForceLowLatencyAcqRelLowLatency()
[all …]
H A DWifiServiceImplTest.java2796 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in setupLohsPermissions()
2869 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(false); in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
2943 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenAlreadyTethering()
2956 when(mFrameworkFacade.isAppForeground(any(), anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenTetheringDisallowed()
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DAppForegroundHelper.java78 public abstract boolean isAppForeground(int uid); in isAppForeground() method in AppForegroundHelper
H A DSystemAppForegroundHelper.java63 public boolean isAppForeground(int uid) { in isAppForeground() method in SystemAppForegroundHelper
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java230 public boolean isAppForeground(Context context, int uid) { in isAppForeground() method in FrameworkFacade
H A DWifiLockManager.java446 if (mFrameworkFacade.isAppForeground(mContext, uid)) { in addUidToLlWatchList()
H A DWifiServiceImpl.java2062 if (!mFrameworkFacade.isAppForeground(mContext, uid)) { in startLocalOnlyHotspot()
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssListenerMultiplexer.java102 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onBinderListenerRegister()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityManagerInternal.java456 public abstract boolean isAppForeground(int uid); in isAppForeground() method in ActivityManagerInternal
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java828 boolean isAppForeground) { in updateAutobundledSummaryFlags() argument
849 mHandler.post(new EnqueueNotificationRunnable(userId, summary, isAppForeground)); in updateAutobundledSummaryFlags()
2516 boolean isAppForeground = pkg != null in getGroupHelper()
5594 final boolean isAppForeground =
6242 boolean isAppForeground;
6248 mHandler.post(new EnqueueNotificationRunnable(userId, r, isAppForeground));
6358 if (!isAppForeground) {
6381 boolean isAppForeground = packageName != null
6814 private final boolean isAppForeground;
6819 this.isAppForeground = foreground;
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/
H A DLocationProviderManager.java367 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onRemovableListenerRegister()
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/
H A DUserBackupManagerService.java2529 && mActivityManagerInternal.isAppForeground( in beginFullBackup()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java5250 private boolean isAppForeground(int uid) { in isAppForeground() method in ActivityManagerService
16141 public boolean isAppForeground(int uid) { in isAppForeground() method
16142 return ActivityManagerService.this.isAppForeground(uid); in isAppForeground()
/aosp12/frameworks/base/services/
H A Dart-profile6253 HPLcom/android/server/am/ActivityManagerService$LocalService;->isAppForeground(I)Z
6567 HPLcom/android/server/am/ActivityManagerService;->isAppForeground(I)Z+]Lcom/android/server/am/Activ…
22672 HSPLcom/android/server/location/injector/SystemAppForegroundHelper;->isAppForeground(I)Z+]Landroid/…
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt5990 Landroid/app/IActivityManager;->isAppForeground(I)Z