Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java452 @GuardedBy("mUidRulesFirstLock") final SparseIntArray mUidPolicy = new SparseIntArray(); field in NetworkPolicyManagerService
2164 mUidPolicy.clear(); in readPolicyAL()
2336 final int policy = mUidPolicy.get(uid, POLICY_NONE); in readPolicyAL()
2495 for (int i = 0; i < mUidPolicy.size(); i++) { in writePolicyAL()
2496 final int uid = mUidPolicy.keyAt(i); in writePolicyAL()
2497 final int policy = mUidPolicy.valueAt(i); in writePolicyAL()
2544 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in setUidPolicy()
2564 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in addUidPolicy()
2582 final int oldPolicy = mUidPolicy.get(uid, POLICY_NONE); in removeUidPolicy()
2626 mUidPolicy.delete(uid); in setUidPolicyUncheckedUL()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp158 mUidPolicy = new UidPolicy(this); in onFirstRef()
159 mUidPolicy->registerSelf(); in onFirstRef()
248 mUidPolicy->unregisterSelf(); in ~CameraService()
982 if (!mUidPolicy->isUidActive(callingUid, String16(clientName8))) { in validateClientPermissionsLocked()
983 int32_t procState = mUidPolicy->getProcState(callingUid); in validateClientPermissionsLocked()
1683 mUidPolicy->registerSelf(); in notifySystemEvent()
1795 mUidPolicy->registerMonitorUid(clientUid); in addListenerHelper()
1843 mUidPolicy->unregisterMonitorUid(it->second->getListenerUid()); in removeListener()
2483 sCameraService->mUidPolicy->registerMonitorUid(mClientUid); in startCameraOps()
2523 sCameraService->mUidPolicy->unregisterMonitorUid(mClientUid); in finishCameraOps()
[all …]
DCameraService.h599 sp<UidPolicy> mUidPolicy; variable
/frameworks/native/services/sensorservice/
DSensorService.cpp94 mUidPolicy = new UidPolicy(this); in SensorService()
293 mUidPolicy->registerSelf(); in onFirstRef()
348 mUidPolicy->unregisterSelf(); in ~SensorService()
629 mUidPolicy->addOverrideUid(uid, active); in handleSetUidState()
650 mUidPolicy->removeOverrideUid(uid); in handleResetUidState()
671 if (mUidPolicy->isUidActive(uid)) { in handleGetUidState()
1143 bool hasSensorAccess = mUidPolicy->isUidActive(uid); in createSensorEventConnection()
DSensorService.h347 sp<UidPolicy> mUidPolicy; variable
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1261 mUidPolicy->setAssistantUid(uid); in setAssistantUid()
1268 mUidPolicy->setA11yUids(uids); in setA11yServicesUids()
1324 mUidPolicy->setRttEnabled(enabled); in setRttEnabled()
DAudioPolicyService.h857 sp<UidPolicy> mUidPolicy; variable