/frameworks/av/media/module/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() 414 std::shared_ptr<TestUidPolicy> mUidPolicy; member in android::TranscodingSessionControllerTest 430 mUidPolicy->setTop(UID(1)); in TEST_F() 463 mUidPolicy->setTop(UID(0)); in TEST_F() 531 mUidPolicy->setTop(UID(1)); in TEST_F() 617 mUidPolicy->setTop(UID(1)); in TEST_F() 669 mUidPolicy->setTop(UID(1)); in TEST_F() 713 mUidPolicy->setTop(UID(1)); in TEST_F() [all …]
|
/frameworks/av/media/module/service.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 | 292 mUidPolicy = uidPolicy; in onFirstRef() 358 mUidPolicy->unregisterSelf(); in ~AudioPolicyService() 361 mUidPolicy.clear(); in ~AudioPolicyService() 832 mUidPolicy->dumpInternals(fd); in dumpInternals() 896 bool isA11yOnTop = mUidPolicy->isA11yOnTop(); in updateUidStates_l() 903 && mUidPolicy->isRttEnabled(); in updateUidStates_l() 921 app_state_t appState = apmStatFromAmState(mUidPolicy->getUidState(currentUid)); in updateUidStates_l() 928 bool isAccessibility = mUidPolicy->isA11yUid(currentUid); in updateUidStates_l() 932 bool isAssistant = mUidPolicy->isAssistantUid(currentUid); in updateUidStates_l() 933 bool isActiveAssistant = mUidPolicy->isActiveAssistantUid(currentUid); in updateUidStates_l() [all …]
|
D | AudioPolicyInterfaceImpl.cpp | 2108 mUidPolicy->setAssistantUids(uids); in setAssistantServicesUids() 2118 mUidPolicy->setActiveAssistantUids(activeUids); in setActiveAssistantServicesUids() 2128 mUidPolicy->setA11yUids(uids); in setA11yServicesUids() 2136 mUidPolicy->setCurrentImeUid(uid); in setCurrentImeUid() 2246 mUidPolicy->setRttEnabled(enabled); in setRttEnabled()
|
D | AudioPolicyService.h | 1048 sp<UidPolicy> mUidPolicy GUARDED_BY(mMutex);
|
/frameworks/av/media/module/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 | 267 sCameraService->mUidPolicy->registerMonitorUid(mClientUid, /*openCamera*/true); in startCameraOps() 291 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid, /*closeCamera*/true); in finishCameraOps()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 621 @GuardedBy("mUidRulesFirstLock") final SparseIntArray mUidPolicy = new SparseIntArray(); field in NetworkPolicyManagerService 2721 mUidPolicy.clear(); 2884 final int policy = mUidPolicy.get(uid, POLICY_NONE); 3034 for (int i = 0; i < mUidPolicy.size(); i++) { 3035 final int uid = mUidPolicy.keyAt(i); 3036 final int policy = mUidPolicy.valueAt(i); 3084 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3105 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3124 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); 3168 mUidPolicy.delete(uid); [all …]
|
/frameworks/av/media/module/libmediatranscoding/include/media/ |
D | TranscodingSessionController.h | 170 std::shared_ptr<UidPolicyInterface> mUidPolicy; variable
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 166 mUidPolicy = new UidPolicy(this); in SensorService() 497 mUidPolicy->registerSelf(); in onFirstRef() 574 mUidPolicy->unregisterSelf(); in ~SensorService() 984 mUidPolicy->addOverrideUid(uid, active); in handleSetUidState() 1005 mUidPolicy->removeOverrideUid(uid); in handleResetUidState() 1026 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState() 2629 return mUidPolicy->isUidActive(uid); in isUidActive()
|
D | SensorService.h | 588 sp<UidPolicy> mUidPolicy; variable
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 228 mUidPolicy = new UidPolicy(this); in onFirstRef() 229 mUidPolicy->registerSelf(); in onFirstRef() 350 mUidPolicy->unregisterSelf(); in ~CameraService() 1793 if (!mUidPolicy->isUidActive(callingUid, clientName)) { in validateClientPermissionsLocked() 1794 int32_t procState = mUidPolicy->getProcState(callingUid); in validateClientPermissionsLocked() 3135 mUidPolicy->registerSelf(); in notifySystemEvent() 3418 mUidPolicy->registerMonitorUid(clientUid, /*openCamera*/false); in addListenerHelper() 3510 mUidPolicy->unregisterMonitorUid((*it)->getListenerUid(), /*closeCamera*/false); in removeListener() 4272 bool isUidActive = sCameraService->mUidPolicy->isUidActive(mClientUid, in handleAppOpMode() 4335 sCameraService->mUidPolicy->registerMonitorUid(mClientUid, /*openCamera*/true); in startCameraOps() [all …]
|
D | CameraService.h | 927 sp<UidPolicy> mUidPolicy; variable
|