Searched refs:mForegroundUid (Results 1 – 3 of 3) sorted by relevance
47 int mForegroundUid = -1; // The UID of the fg app, or -1 if fg app didn't request field in EnabledNfcFServices102 mForegroundUid = -1; in onServicesUpdated()132 mForegroundUid = callingUid; in registerEnabledForegroundService()148 if (mForegroundUid == uid) { in unregisterForegroundService()150 mForegroundUid = -1; in unregisterForegroundService()205 mForegroundUid = -1; in onNfcDisabled()215 mForegroundUid = -1; in onUserSwitched()240 proto.write(EnabledNfcFServicesProto.FOREGROUND_UID, mForegroundUid); in dumpDebug()
83 int mForegroundUid; // The UID of the fg app, or -1 if fg app didn't request field in PreferredServices213 mForegroundUid = -1; in onServicesUpdated()283 mForegroundUid = callingUid; in registerPreferredForegroundService()302 if (mForegroundUid == uid) { in unregisterForegroundService()304 mForegroundUid = -1; in unregisterForegroundService()383 pw.println(" Default for foreground app (UID: " + mForegroundUid + in dump()410 proto.write(PreferredServicesProto.FOREGROUND_UID, mForegroundUid); in dumpDebug()
34 private int mForegroundUid = DEFAULT_FOREGROUND_ID; field in FakeSystemActivityMonitoringService43 && (mForegroundUid == DEFAULT_FOREGROUND_ID || mForegroundUid == uid); in isInForeground()51 mForegroundUid = uid; in setForegroundUid()59 mForegroundUid = DEFAULT_FOREGROUND_ID; in resetForegroundUid()