/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 437 assertFalse(instance.isUidActive(UID_1)); in testAll() 438 assertFalse(instance.isUidActive(UID_2)); in testAll() 439 assertTrue(instance.isUidActive(Process.SYSTEM_UID)); in testAll() 455 assertTrue(instance.isUidActive(UID_1)); in testAll() 456 assertFalse(instance.isUidActive(UID_2)); in testAll() 472 assertFalse(instance.isUidActive(UID_1)); in testAll() 473 assertFalse(instance.isUidActive(UID_2)); in testAll() 503 assertFalse(instance.isUidActive(UID_1)); in testAll() 504 assertFalse(instance.isUidActive(UID_2)); in testAll() 750 assertTrue(instance.isUidActive(UID_1)); in testUidStateForeground() [all …]
|
/frameworks/native/libs/binder/ |
D | ActivityManager.cpp | 132 bool ActivityManager::isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() function in android::ActivityManager 136 return service->isUidActive(uid, callingPackage); in isUidActive()
|
D | IActivityManager.cpp | 144 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) in isUidActive() function in android::BpActivityManager
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 60 return (ami != null) ? ami.isUidActive(uid) : false; in isAppActive()
|
D | ContentService.java | 1575 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller() 1582 if (procState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND || isUidActive) { in getSyncExemptionAndCleanUpExtrasForCaller() 1584 callingUid, getProcStateForStatsd(procState), isUidActive, in getSyncExemptionAndCleanUpExtrasForCaller()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AppStateTrackerImpl.java | 274 updateJobsForUidPackage(uid, packageName, sender.isUidActive(uid)); in onRunAnyAppOpsChanged() 295 final boolean isActive = sender.isUidActive(uid); in onUidActiveStateChanged() 1122 if (isUidActive(uid)) { in areAlarmsRestricted() 1142 if (isUidActive(uid)) { in areAlarmsRestrictedByBatterySaver() 1166 if (isUidActive(uid)) { in areJobsRestricted() 1201 public boolean isUidActive(int uid) { in isUidActive() method in AppStateTrackerImpl 1216 if (isUidActive(uid)) { // Use the cached one first. in isUidActiveSynced() 1221 final boolean ret = mActivityManagerInternal.isUidActive(uid); in isUidActiveSynced()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 215 pw.print(mAppStateTracker.isUidActive(uid) ? " active" : " idle"); in dumpControllerStateLocked() 256 proto.write(TrackedJob.IS_IN_FOREGROUND, mAppStateTracker.isUidActive(sourceUid)); in dumpControllerStateLocked() 380 isActive = mAppStateTracker.isUidActive(uid); in updateSingleJobRestrictionLocked()
|
/frameworks/native/libs/binder/include_activitymanager/binder/ |
D | IActivityManager.h | 48 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
|
D | ActivityManager.h | 94 bool isUidActive(const uid_t uid, const String16& callingPackage);
|
/frameworks/base/native/android/ |
D | activity_manager.cpp | 223 return gAm.isUidActive(uid, getTag()); in AActivityManager_isUidActive()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.h | 298 bool isUidActive(uid_t uid); 320 bool isUidActive(uid_t uid);
|
D | SensorService.cpp | 535 && isUidActive(uid) && !isOperationRestrictedLocked(opPackageName); in hasSensorAccessLocked() 1026 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState() 2607 bool SensorService::UidPolicy::isUidActive(uid_t uid) { in isUidActive() function in android::SensorService::UidPolicy 2628 bool SensorService::isUidActive(uid_t uid) { in isUidActive() function in android::SensorService 2629 return mUidPolicy->isUidActive(uid); in isUidActive()
|
D | SensorEventConnection.cpp | 444 return mService->isUidActive(mUid) in hasSensorAccess()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 1793 if (!mUidPolicy->isUidActive(callingUid, clientName)) { in validateClientPermissionsLocked() 4272 bool isUidActive = sCameraService->mUidPolicy->isUidActive(mClientUid, in handleAppOpMode() local 4288 if (!isUidActive || !isCameraPrivacyEnabled) { in handleAppOpMode() 4291 mClientPackageName.c_str(), isUidActive ? "true" : "false", in handleAppOpMode() 4477 bool isUidActive = sCameraService->mUidPolicy->isUidActive(mClientUid, mClientPackageName); in opChanged() local 4495 mClientPackageName.c_str(), mUidIsTrusted, isUidActive, isUidVisible, in opChanged() 4508 if (isUidActive && isCameraPrivacyEnabled && supportsCameraMute()) { in opChanged() 4510 } else if (!isUidActive in opChanged() 4760 bool CameraService::UidPolicy::isUidActive(uid_t uid, const std::string &callingPackage) { in isUidActive() function in android::CameraService::UidPolicy 4795 if (!active) active = am.isUidActive(uid, toString16(callingPackage)); in isUidActiveLocked() [all …]
|
D | CameraService.h | 836 bool isUidActive(uid_t uid, const std::string &callingPackage);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | PinnerServiceTest.java | 107 doReturn(true).when(mockActivityManagerInternal).isUidActive(anyInt()); in setUp()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1524 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive() function in android::AudioPolicyService::UidPolicy 1537 bool active = am.isUidActive(uid, String16("audioserver")); in isUidActive() 1568 bool active = am.isUidActive(uid, String16("audioserver")); in getUidState() 1622 bool wasActive = isUidActive(uid); in updateUid() 1628 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
|
D | AudioPolicyService.h | 497 bool isUidActive(uid_t uid);
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 299 public abstract boolean isUidActive(int uid); in isUidActive() method in ActivityManagerInternal
|
D | IActivityManager.aidl | 142 boolean isUidActive(int uid, String callingPackage); in isUidActive() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 1546 active = mAmInternal.isUidActive(uid); in PinnedApp()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 1680 private boolean isUidActive(int uid) { 1684 private final Predicate<Integer> mIsUidActivePredicate = this::isUidActive;
|
/frameworks/base/services/ |
D | art-profile | 61 HSPLcom/android/server/AppStateTrackerImpl;->isUidActive(I)Z+]Landroid/util/SparseBooleanArray;Land… 381 HSPLcom/android/server/am/ActivityManagerService$LocalService;->isUidActive(I)Z+]Lcom/android/serve…
|
D | art-wear-profile | 1862 HPLcom/android/server/AppStateTrackerImpl;->isUidActive(I)Z 4476 HPLcom/android/server/am/ActivityManagerService$LocalService;->isUidActive(I)Z 4708 HPLcom/android/server/am/ActivityManagerService;->isUidActive(ILjava/lang/String;)Z 12860 PLcom/android/server/job/JobSchedulerService;->isUidActive(I)Z
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 1659 Landroid/app/ActivityManagerInternal;->isUidActive(I)Z 5398 Landroid/app/IActivityManager$Stub$Proxy;->isUidActive(ILjava/lang/String;)Z 6001 Landroid/app/IActivityManager;->isUidActive(ILjava/lang/String;)Z
|