Home
last modified time | relevance | path

Searched refs:isUidActive (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java359 assertFalse(instance.isUidActive(UID_1)); in testAll()
360 assertFalse(instance.isUidActive(UID_2)); in testAll()
361 assertTrue(instance.isUidActive(Process.SYSTEM_UID)); in testAll()
368 assertTrue(instance.isUidActive(UID_1)); in testAll()
369 assertFalse(instance.isUidActive(UID_2)); in testAll()
376 assertFalse(instance.isUidActive(UID_1)); in testAll()
377 assertFalse(instance.isUidActive(UID_2)); in testAll()
390 assertFalse(instance.isUidActive(UID_1)); in testAll()
391 assertFalse(instance.isUidActive(UID_2)); in testAll()
502 assertTrue(instance.isUidActive(UID_1)); in testUidStateForeground()
[all …]
/frameworks/native/libs/binder/
DActivityManager.cpp83 bool ActivityManager::isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() function in android::ActivityManager
87 return service->isUidActive(uid, callingPackage); in isUidActive()
DIActivityManager.cpp82 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() function in android::BpActivityManager
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java90 pw.print(mAppStateTracker.isUidActive(uid) ? " active" : " idle"); in dumpControllerStateLocked()
132 mAppStateTracker.isUidActive(sourceUid)); in dumpControllerStateLocked()
200 isActive = mAppStateTracker.isUidActive(uid); in updateSingleJobRestrictionLocked()
/frameworks/native/libs/binder/include/binder/
DIActivityManager.h40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
DActivityManager.h78 bool isUidActive(const uid_t uid, const String16& callingPackage);
/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java66 return ast.isUidActive(uid); in isAppActive()
DContentService.java1339 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1346 if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND || isUidActive) { in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java263 updateJobsForUidPackage(uid, packageName, sender.isUidActive(uid)); in onRunAnyAppOpsChanged()
290 final boolean isActive = sender.isUidActive(uid); in onUidActiveStateChanged()
1099 if (isUidActive(uid)) { in isRestricted()
1133 public boolean isUidActive(int uid) { in isUidActive() method in AppStateTracker
1148 if (isUidActive(uid)) { // Use the cached one first. in isUidActiveSynced()
1153 final boolean ret = mActivityManagerInternal.isUidActive(uid); in isUidActiveSynced()
DPinnerService.java980 active = mAmInternal.isUidActive(uid); in PinnedApp()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java156 public abstract boolean isUidActive(int uid); in isUidActive() method in ActivityManagerInternal
DIActivityManager.aidl98 boolean isUidActive(int uid, String callingPackage); in isUidActive() method
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp828 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState()
888 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive() function in android::AudioPolicyService::UidPolicy
905 bool active = am.isUidActive(uid, String16("audioserver")); in isUidActive()
950 bool active = am.isUidActive(uid, String16("audioserver")); in getUidState()
1004 bool wasActive = isUidActive(uid); in updateUid()
1010 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
DAudioPolicyService.h371 bool isUidActive(uid_t uid);
/frameworks/native/services/sensorservice/
DSensorService.h177 bool isUidActive(uid_t uid);
DSensorService.cpp657 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState()
1111 bool hasSensorAccess = mUidPolicy->isUidActive(uid); in createSensorEventConnection()
1842 bool SensorService::UidPolicy::isUidActive(uid_t uid) { in isUidActive() function in android::SensorService::UidPolicy
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1004 if (!mUidPolicy->isUidActive(callingUid, String16(clientName8))) { in validateClientPermissionsLocked()
2746 bool CameraService::UidPolicy::isUidActive(uid_t uid, String16 callingPackage) { in isUidActive() function in android::CameraService::UidPolicy
2781 if (!active) active = am.isUidActive(uid, callingPackage); in isUidActiveLocked()
3541 if (mUidPolicy->isUidActive(uid, packageName)) { in handleGetUidState()
DCameraService.h554 bool isUidActive(uid_t uid, String16 callingPackage);
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java989 private boolean isUidActive(int uid) { in isUidActive() method in JobSchedulerService
993 private final Predicate<Integer> mIsUidActivePredicate = this::isUidActive;
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8357 public boolean isUidActive(int uid, String callingPackage) { in isUidActive() method in ActivityManagerService
18085 public boolean isUidActive(int uid) { in isUidActive() method in ActivityManagerService.LocalService
/frameworks/base/services/
Dart-profile570 HSPLcom/android/server/AppStateTracker;->isUidActive(I)Z
2691 HSPLcom/android/server/am/ActivityManagerService$LocalService;->isUidActive(I)Z
2928 HSPLcom/android/server/am/ActivityManagerService;->isUidActive(ILjava/lang/String;)Z
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1659 Landroid/app/ActivityManagerInternal;->isUidActive(I)Z
5401 Landroid/app/IActivityManager$Stub$Proxy;->isUidActive(ILjava/lang/String;)Z
6004 Landroid/app/IActivityManager;->isUidActive(ILjava/lang/String;)Z