/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
H A D | SystemAppForegroundHelperTest.java | 104 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 D | FakeAppForegroundHelper.java | 39 public boolean isAppForeground(int uid) { in isAppForeground() method in FakeAppForegroundHelper
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiLockManagerTest.java | 681 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 D | WifiServiceImplTest.java | 2796 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 D | AppForegroundHelper.java | 78 public abstract boolean isAppForeground(int uid); in isAppForeground() method in AppForegroundHelper
|
H A D | SystemAppForegroundHelper.java | 63 public boolean isAppForeground(int uid) { in isAppForeground() method in SystemAppForegroundHelper
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | FrameworkFacade.java | 230 public boolean isAppForeground(Context context, int uid) { in isAppForeground() method in FrameworkFacade
|
H A D | WifiLockManager.java | 446 if (mFrameworkFacade.isAppForeground(mContext, uid)) { in addUidToLlWatchList()
|
H A D | WifiServiceImpl.java | 2062 if (!mFrameworkFacade.isAppForeground(mContext, uid)) { in startLocalOnlyHotspot()
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssListenerMultiplexer.java | 102 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onBinderListenerRegister()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerInternal.java | 456 public abstract boolean isAppForeground(int uid); in isAppForeground() method in ActivityManagerInternal
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 828 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 D | LocationProviderManager.java | 367 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onRemovableListenerRegister()
|
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | UserBackupManagerService.java | 2529 && mActivityManagerInternal.isAppForeground( in beginFullBackup()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 5250 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 D | art-profile | 6253 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 D | hiddenapi-max-target-o.txt | 5990 Landroid/app/IActivityManager;->isAppForeground(I)Z
|