Home
last modified time | relevance | path

Searched refs:mUidPolicy (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp87 mUidPolicy = uidPolicy; in onFirstRef()
105 mUidPolicy->unregisterSelf(); in ~AudioPolicyService()
108 mUidPolicy.clear(); in ~AudioPolicyService()
462 bool isA11yOnTop = mUidPolicy->isA11yOnTop(); in updateUidStates_l()
468 && mUidPolicy->isRttEnabled(); in updateUidStates_l()
483 app_state_t appState = apmStatFromAmState(mUidPolicy->getUidState(current->uid)); in updateUidStates_l()
490 bool isAccessibility = mUidPolicy->isA11yUid(current->uid); in updateUidStates_l()
494 bool isAssistant = mUidPolicy->isAssistantUid(current->uid); in updateUidStates_l()
592 } else if (mUidPolicy->isAssistantUid(current->uid)) { in updateUidStates_l()
612 } else if (mUidPolicy->isA11yUid(current->uid)) { in updateUidStates_l()
[all …]
DAudioPolicyInterfaceImpl.cpp1412 mUidPolicy->setAssistantUid(uid); in setAssistantUid()
1419 mUidPolicy->setA11yUids(uids); in setA11yServicesUids()
1426 mUidPolicy->setCurrentImeUid(uid); in setCurrentImeUid()
1482 mUidPolicy->setRttEnabled(enabled); in setRttEnabled()
DAudioPolicyService.h898 sp<UidPolicy> mUidPolicy GUARDED_BY(mLock);
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp213 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps()
237 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid); in finishCameraOps()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java461 @GuardedBy("mUidRulesFirstLock") final SparseIntArray mUidPolicy = new SparseIntArray(); field in NetworkPolicyManagerService
2190 mUidPolicy.clear(); in readPolicyAL()
2362 final int policy = mUidPolicy.get(uid, POLICY_NONE); in readPolicyAL()
2521 for (int i = 0; i < mUidPolicy.size(); i++) { in writePolicyAL()
2522 final int uid = mUidPolicy.keyAt(i); in writePolicyAL()
2523 final int policy = mUidPolicy.valueAt(i); in writePolicyAL()
2570 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy()
2590 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy()
2608 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy()
2652 mUidPolicy.delete(uid); in setUidPolicyUncheckedUL()
[all …]
/frameworks/native/services/sensorservice/
DSensorService.cpp96 mUidPolicy = new UidPolicy(this); in SensorService()
294 mUidPolicy->registerSelf(); in onFirstRef()
365 mUidPolicy->unregisterSelf(); in ~SensorService()
763 mUidPolicy->addOverrideUid(uid, active); in handleSetUidState()
784 mUidPolicy->removeOverrideUid(uid); in handleResetUidState()
805 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState()
2009 return mUidPolicy->isUidActive(uid); in isUidActive()
DSensorService.h421 sp<UidPolicy> mUidPolicy; variable
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp169 mUidPolicy = new UidPolicy(this); in onFirstRef()
170 mUidPolicy->registerSelf(); in onFirstRef()
265 mUidPolicy->unregisterSelf(); in ~CameraService()
1169 if (!mUidPolicy->isUidActive(callingUid, String16(clientName8))) { in validateClientPermissionsLocked()
1170 int32_t procState = mUidPolicy->getProcState(callingUid); in validateClientPermissionsLocked()
2000 mUidPolicy->registerSelf(); in notifySystemEvent()
2197 mUidPolicy->registerMonitorUid(clientUid); in addListenerHelper()
2255 mUidPolicy->unregisterMonitorUid((*it)->getListenerUid()); in removeListener()
2950 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps()
2993 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid); in finishCameraOps()
[all …]
DCameraService.h668 sp<UidPolicy> mUidPolicy; variable