Searched refs:mUidPolicy (Results 1 – 7 of 7) sorted by relevance
452 @GuardedBy("mUidRulesFirstLock") final SparseIntArray mUidPolicy = new SparseIntArray(); field in NetworkPolicyManagerService2164 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 …]
158 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 …]
599 sp<UidPolicy> mUidPolicy; variable
94 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()
347 sp<UidPolicy> mUidPolicy; variable
1261 mUidPolicy->setAssistantUid(uid); in setAssistantUid()1268 mUidPolicy->setA11yUids(uids); in setA11yServicesUids()1324 mUidPolicy->setRttEnabled(enabled); in setRttEnabled()
857 sp<UidPolicy> mUidPolicy; variable