Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/gnss/
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()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java379 private final boolean mForeground; field in LocationEventLog.ProviderClientForegroundEvent
385 mForeground = foreground; in ProviderClientForegroundEvent()
392 + (mForeground ? "foreground" : "background"); in toString()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java387 private boolean mForeground; field in LocationProviderManager.Registration
435 mForeground = mAppForegroundHelper.isAppForeground(getIdentity().getUid()); in onRegister()
439 if (mForeground) { in onRegister()
497 return mForeground; in isForeground()
643 if (getIdentity().getUid() == uid && foreground != mForeground) { in onForegroundChanged()
648 mForeground = foreground; in onForegroundChanged()
650 if (mForeground) { in onForegroundChanged()
730 if (!mForeground) { in calculateProviderLocationRequest()