Home
last modified time | relevance | path

Searched refs:UidPolicy (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp82 sp<UidPolicy> uidPolicy = new UidPolicy(this); in onFirstRef()
844 sp<UidPolicy> uidPolicy; in handleSetUidState()
873 sp<UidPolicy> uidPolicy; in handleResetUidState()
902 sp<UidPolicy> uidPolicy; in handleGetUidState()
923 void AudioPolicyService::UidPolicy::registerSelf() { in registerSelf()
941 void AudioPolicyService::UidPolicy::unregisterSelf() { in unregisterSelf()
948 void AudioPolicyService::UidPolicy::binderDied(__unused const wp<IBinder> &who) { in binderDied()
954 void AudioPolicyService::UidPolicy::checkRegistered() { in checkRegistered()
966 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
993 int AudioPolicyService::UidPolicy::getUidState(uid_t uid) { in getUidState()
[all …]
DAudioPolicyService.h377 class UidPolicy : public BnUidObserver, public virtual IBinder::DeathRecipient {
379 explicit UidPolicy(wp<AudioPolicyService> service) in UidPolicy() function
898 sp<UidPolicy> mUidPolicy GUARDED_BY(mLock);
/frameworks/native/services/sensorservice/
DSensorService.h175 class UidPolicy : public BnUidObserver {
177 explicit UidPolicy(wp<SensorService> service) in UidPolicy() function
421 sp<UidPolicy> mUidPolicy;
DSensorService.cpp96 mUidPolicy = new UidPolicy(this); in SensorService()
1914 void SensorService::UidPolicy::registerSelf() { in registerSelf()
1923 void SensorService::UidPolicy::unregisterSelf() { in unregisterSelf()
1928 void SensorService::UidPolicy::onUidGone(__unused uid_t uid, __unused bool disabled) { in onUidGone()
1932 void SensorService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
1943 void SensorService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
1959 void SensorService::UidPolicy::addOverrideUid(uid_t uid, bool active) { in addOverrideUid()
1963 void SensorService::UidPolicy::removeOverrideUid(uid_t uid) { in removeOverrideUid()
1967 void SensorService::UidPolicy::updateOverrideUid(uid_t uid, bool active, bool insert) { in updateOverrideUid()
1987 bool SensorService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp169 mUidPolicy = new UidPolicy(this); in onFirstRef()
3081 void CameraService::UidPolicy::registerSelf() { in registerSelf()
3097 void CameraService::UidPolicy::unregisterSelf() { in unregisterSelf()
3107 void CameraService::UidPolicy::onUidGone(uid_t uid, bool disabled) { in onUidGone()
3111 void CameraService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
3116 void CameraService::UidPolicy::onUidIdle(uid_t uid, bool /* disabled */) { in onUidIdle()
3132 void CameraService::UidPolicy::onUidStateChanged(uid_t uid, int32_t procState, in onUidStateChanged()
3152 void CameraService::UidPolicy::registerMonitorUid(uid_t uid) { in registerMonitorUid()
3164 void CameraService::UidPolicy::unregisterMonitorUid(uid_t uid) { in unregisterMonitorUid()
3177 bool CameraService::UidPolicy::isUidActive(uid_t uid, String16 callingPackage) { in isUidActive()
[all …]
DCameraService.h602 class UidPolicy : public BnUidObserver, public virtual IBinder::DeathRecipient {
604 explicit UidPolicy(sp<CameraService> service) in UidPolicy() function
668 sp<UidPolicy> mUidPolicy;