/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 359 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/ |
D | ActivityManager.cpp | 83 bool ActivityManager::isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() function in android::ActivityManager 87 return service->isUidActive(uid, callingPackage); in isUidActive()
|
D | IActivityManager.cpp | 82 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/ |
D | BackgroundJobsController.java | 90 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/ |
D | IActivityManager.h | 40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
|
D | ActivityManager.h | 78 bool isUidActive(const uid_t uid, const String16& callingPackage);
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 66 return ast.isUidActive(uid); in isAppActive()
|
D | ContentService.java | 1339 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/ |
D | AppStateTracker.java | 263 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()
|
D | PinnerService.java | 980 active = mAmInternal.isUidActive(uid); in PinnedApp()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 156 public abstract boolean isUidActive(int uid); in isUidActive() method in ActivityManagerInternal
|
D | IActivityManager.aidl | 98 boolean isUidActive(int uid, String callingPackage); in isUidActive() method
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 828 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()
|
D | AudioPolicyService.h | 371 bool isUidActive(uid_t uid);
|
/frameworks/native/services/sensorservice/ |
D | SensorService.h | 177 bool isUidActive(uid_t uid);
|
D | SensorService.cpp | 657 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/ |
D | CameraService.cpp | 1004 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()
|
D | CameraService.h | 554 bool isUidActive(uid_t uid, String16 callingPackage);
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 989 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/ |
D | ActivityManagerService.java | 8357 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/ |
D | art-profile | 570 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/ |
D | hiddenapi-greylist-max-o.txt | 1659 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
|