Home
last modified time | relevance | path

Searched refs:mForeground (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssListenerMultiplexer.java80 private boolean mForeground; field in GnssListenerMultiplexer.GnssListenerRegistration
117 return mForeground; in isForeground()
130 mForeground = mAppForegroundHelper.isAppForeground(mIdentity.getUid()); in onRegister()
161 if (mIdentity.getUid() == uid && foreground != mForeground) { in onForegroundChanged()
162 mForeground = foreground; in onForegroundChanged()
175 if (!mForeground) { in toString()
/aosp14/frameworks/base/services/core/java/com/android/server/location/eventlog/
H A DLocationEventLog.java328 private final boolean mForeground; field in LocationEventLog.ProviderClientForegroundEvent
334 mForeground = foreground; in ProviderClientForegroundEvent()
341 + (mForeground ? "foreground" : "background"); in toString()
/aosp14/frameworks/base/services/core/java/com/android/server/location/provider/
H A DLocationProviderManager.java374 private boolean mForeground; field in LocationProviderManager.Registration
421 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onRegister()
425 if (mForeground) { in onRegister()
483 return mForeground; in isForeground()
596 if (getIdentity().getUid() == uid && foreground != mForeground) { in onForegroundChanged()
601 mForeground = foreground; in onForegroundChanged()
603 if (mForeground) { in onForegroundChanged()
683 if (!mForeground) { in calculateProviderLocationRequest()