/aosp12/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
H A D | VoicemailErrorManager.java | 64 private boolean isForeground; field in VoicemailErrorManager 149 isForeground = true; in onResume() 156 isForeground = false; in onPause() 176 if (!isForeground) { in fetchStatus()
|
/aosp12/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
H A D | ClientProfile.java | 126 public void setForeground(boolean isForeground) { in setForeground() argument 127 mIsForeground = isForeground; in setForeground() 133 public boolean isForeground() { in isForeground() method in ClientProfile
|
H A D | TunerResourceManagerService.java | 512 getClientPriority(profile.useCase, clientProfile.isForeground())); in registerClientProfileInternal() 974 if (requestProfile.isForeground() == currentIsForeground) { in clientPriorityUpdateOnRequest() 1074 protected int getClientPriority(int useCase, boolean isForeground) { in getClientPriority() argument 1077 + ", isForeground=" + isForeground + ")"); in getClientPriority() 1080 if (isForeground) { in getClientPriority()
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/ |
H A D | SystemAppForegroundHelper.java | 58 boolean foreground = isForeground(importance); in onAppForegroundChanged() 68 return isForeground(mActivityManager.getUidImportance(uid)); in isAppForeground()
|
H A D | AppForegroundHelper.java | 45 protected static boolean isForeground(@Importance int importance) { in isForeground() method in AppForegroundHelper
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssStatusProvider.java | 91 null, registration.isForeground()); in onRegistrationAdded() 106 registration.isForeground()); in onRegistrationRemoved()
|
H A D | GnssMeasurementsProvider.java | 193 null, registration.isForeground()); in onRegistrationAdded() 207 null, registration.isForeground()); in onRegistrationRemoved()
|
H A D | GnssListenerMultiplexer.java | 90 public boolean isForeground() { in isForeground() method in GnssListenerMultiplexer.GnssListenerRegistration 285 && (registration.isForeground() || isBackgroundRestrictionExempt(identity)) in isActive()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/ |
H A D | NotificationGroup.java | 227 boolean isForeground = in isDismissible() 230 if (isForeground || notification.getStatusBarNotification().isOngoing()) { in isDismissible()
|
H A D | PreprocessingManager.java | 243 boolean isForeground = in isLessImportantForegroundNotification() 247 if (!isForeground) { in isLessImportantForegroundNotification()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
H A D | ProfileGridRecyclerView.java | 151 boolean isForeground = fgUserId == userInfo.id; in createProfileRecords() 153 if (!isForeground && userInfo.isGuest()) { in createProfileRecords() 158 ProfileRecord record = new ProfileRecord(userInfo, isForeground in createProfileRecords()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 113 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord 342 if (isForeground || foregroundId != 0) { in dumpDebug() 467 if (isForeground || foregroundId != 0) { in dump() 468 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump() 931 if (isForeground && foregroundNoti != null && app != null) { in postNotification()
|
H A D | ActiveServices.java | 352 if (r.isForeground) { in stopAllForegroundServicesLocked() 1855 if (!r.isForeground) { in setServiceForegroundInnerLocked() 1947 if (r.isForeground) { in setServiceForegroundInnerLocked() 1974 r.isForeground = false; in setServiceForegroundInnerLocked() 2045 if (!sr.isForeground in applyForegroundServiceNotificationLocked() 2313 if (sr.isForeground in onForegroundServiceNotificationUpdateLocked() 4047 if (!r.isForeground) { in sendServiceArgsLocked() 4262 if (r.isForeground) { in bringDownServiceLocked() 4282 r.isForeground = false; in bringDownServiceLocked() 4367 if (sr.isForeground in dropFgsNotificationStateLocked() [all …]
|
H A D | ProcessServiceRecord.java | 392 && (sr.isForeground || procIsBoundForeground)) { in incServiceCrashCountLocked()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/ |
H A D | BluetoothInCallService.java | 604 boolean isForeground = mCallInfo.getForegroundCall() == call; in sendClccForCall() 605 int state = getBtCallState(call, isForeground); in sendClccForCall() 974 private int getBtCallState(BluetoothCall call, boolean isForeground) { in getBtCallState() argument 1004 } else if (isForeground) { in getBtCallState()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | ScanRequestProxy.java | 364 private boolean isPackageNameInExceptionList(String packageName, boolean isForeground) { in isPackageNameInExceptionList() argument 368 String[] exceptionList = mContext.getResources().getStringArray(isForeground in isPackageNameInExceptionList()
|
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
H A D | UserGridRecyclerView.java | 158 boolean isForeground = fgUserId == userInfo.id; in createUserRecords() 160 isForeground ? UserRecord.FOREGROUND_USER : UserRecord.BACKGROUND_USER); in createUserRecords()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | Service.java | 680 public final void setForeground(boolean isForeground) { in setForeground() argument
|
H A D | IActivityManager.aidl | 263 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/ |
H A D | LocationProviderManager.java | 469 public final boolean isForeground() { in isForeground() method in LocationProviderManager.Registration 707 if (!isForeground()) { in toString() 1959 null, registration.isForeground()); 1988 null, registration.isForeground()); 2109 if (!registration.isForeground()) {
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationEntryManager.java | 586 boolean isForeground = (entry.getSbn().getNotification().flags in handleGroupSummaryRemoved() 591 if (isForeground || keepForReply) { in handleGroupSummaryRemoved()
|
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | Utils.java | 494 public static boolean isForeground(int callingUid, int callingPid) { in isForeground() method in Utils
|
H A D | AuthService.java | 236 if (!Utils.isForeground(callingUid, callingPid)) { in authenticate()
|
/aosp12/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 4666 final boolean isForeground = isUidForegroundOnRestrictBackgroundUL(uid); 4683 } else if (isForeground) { 4704 newAllowedReasons |= (isForeground ? ALLOWED_METERED_REASON_FOREGROUND : 0); 4709 + ": isForeground=" +isForeground 4775 + ": foreground=" + isForeground 4864 final boolean isForeground = isUidForegroundOnRestrictPowerUL(uid); 4881 if (isForeground) { 4897 newAllowedReasons |= (isForeground ? ALLOWED_REASON_FOREGROUND : 0); 4910 + ", isForeground=" + isForeground 4928 + ": foreground=" + isForeground
|
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
H A D | PreprocessingManagerTest.java | 982 private Notification generateNotification(boolean isForeground, boolean isNavigation, in generateNotification() argument 991 if (isForeground) { in generateNotification()
|