/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingSessionController_tests.cpp | 297 mUidPolicy.reset(new TestUidPolicy()); in SetUp() 314 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in SetUp() 315 mUidPolicy->setCallback(mController); in SetUp() 412 std::shared_ptr<TestUidPolicy> mUidPolicy; member in android::TranscodingSessionControllerTest 428 mUidPolicy->setTop(UID(1)); in TEST_F() 461 mUidPolicy->setTop(UID(0)); in TEST_F() 529 mUidPolicy->setTop(UID(1)); in TEST_F() 615 mUidPolicy->setTop(UID(1)); in TEST_F() 667 mUidPolicy->setTop(UID(1)); in TEST_F() 711 mUidPolicy->setTop(UID(1)); in TEST_F() [all …]
|
/frameworks/av/services/mediatranscoding/ |
D | MediaTranscodingService.cpp | 49 : mUidPolicy(new TranscodingUidPolicy()), in MediaTranscodingService() 67 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in MediaTranscodingService() 87 mUidPolicy, mResourcePolicy, mThermalPolicy, &config)); in MediaTranscodingService() 90 mUidPolicy->setCallback(mSessionController); in MediaTranscodingService()
|
D | MediaTranscodingService.h | 63 std::shared_ptr<UidPolicyInterface> mUidPolicy; variable
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 261 mUidPolicy = uidPolicy; in onFirstRef() 309 mUidPolicy->unregisterSelf(); in ~AudioPolicyService() 312 mUidPolicy.clear(); in ~AudioPolicyService() 787 mUidPolicy->dumpInternals(fd); in dumpInternals() 849 bool isA11yOnTop = mUidPolicy->isA11yOnTop(); in updateUidStates_l() 856 && mUidPolicy->isRttEnabled(); in updateUidStates_l() 874 app_state_t appState = apmStatFromAmState(mUidPolicy->getUidState(currentUid)); in updateUidStates_l() 881 bool isAccessibility = mUidPolicy->isA11yUid(currentUid); in updateUidStates_l() 885 bool isAssistant = mUidPolicy->isAssistantUid(currentUid); in updateUidStates_l() 886 bool isActiveAssistant = mUidPolicy->isActiveAssistantUid(currentUid); in updateUidStates_l() [all …]
|
D | AudioPolicyInterfaceImpl.cpp | 1991 mUidPolicy->setAssistantUids(uids); in setAssistantServicesUids() 2001 mUidPolicy->setActiveAssistantUids(activeUids); in setActiveAssistantServicesUids() 2011 mUidPolicy->setA11yUids(uids); in setA11yServicesUids() 2019 mUidPolicy->setCurrentImeUid(uid); in setCurrentImeUid() 2116 mUidPolicy->setRttEnabled(enabled); in setRttEnabled()
|
D | AudioPolicyService.h | 1051 sp<UidPolicy> mUidPolicy GUARDED_BY(mLock);
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscodingSessionController.cpp | 335 mUidPolicy(uidPolicy), in TranscodingSessionController() 579 mUidPolicy->registerMonitorUid(clientUid); in addUidToSession_l() 580 if (mUidPolicy->isUidOnTop(clientUid)) { in addUidToSession_l() 588 if (mUidPolicy->isUidOnTop(clientUid)) { in addUidToSession_l() 635 mUidPolicy->unregisterMonitorUid(uid); in removeSession_l() 642 std::unordered_set<uid_t> topUids = mUidPolicy->getTopUids(); in removeSession_l()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 245 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps() 269 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid); in finishCameraOps()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 536 @GuardedBy("mUidRulesFirstLock") final SparseIntArray mUidPolicy = new SparseIntArray(); field in NetworkPolicyManagerService 2500 mUidPolicy.clear(); 2663 final int policy = mUidPolicy.get(uid, POLICY_NONE); 2813 for (int i = 0; i < mUidPolicy.size(); i++) { 2814 final int uid = mUidPolicy.keyAt(i); 2815 final int policy = mUidPolicy.valueAt(i); 2862 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 2882 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 2900 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 2944 mUidPolicy.delete(uid); [all …]
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | TranscodingSessionController.h | 170 std::shared_ptr<UidPolicyInterface> mUidPolicy; variable
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 135 mUidPolicy = new UidPolicy(this); in SensorService() 369 mUidPolicy->registerSelf(); in onFirstRef() 444 mUidPolicy->unregisterSelf(); in ~SensorService() 875 mUidPolicy->addOverrideUid(uid, active); in handleSetUidState() 896 mUidPolicy->removeOverrideUid(uid); in handleResetUidState() 917 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState() 2233 return mUidPolicy->isUidActive(uid); in isUidActive()
|
D | SensorService.h | 509 sp<UidPolicy> mUidPolicy; variable
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 184 mUidPolicy = new UidPolicy(this); in onFirstRef() 185 mUidPolicy->registerSelf(); in onFirstRef() 285 mUidPolicy->unregisterSelf(); in ~CameraService() 1297 if (!mUidPolicy->isUidActive(callingUid, String16(clientName8))) { in validateClientPermissionsLocked() 1298 int32_t procState = mUidPolicy->getProcState(callingUid); in validateClientPermissionsLocked() 2458 mUidPolicy->registerSelf(); in notifySystemEvent() 2701 mUidPolicy->registerMonitorUid(clientUid); in addListenerHelper() 2769 mUidPolicy->unregisterMonitorUid((*it)->getListenerUid()); in removeListener() 3504 bool isUidActive = sCameraService->mUidPolicy->isUidActive(mClientUid, in handleAppOpMode() 3546 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps() [all …]
|
D | CameraService.h | 788 sp<UidPolicy> mUidPolicy; variable
|