Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp85 mUidPolicy = new UidPolicy(this); in onFirstRef()
845 void AudioPolicyService::UidPolicy::registerSelf() { in registerSelf()
863 void AudioPolicyService::UidPolicy::unregisterSelf() { in unregisterSelf()
870 void AudioPolicyService::UidPolicy::binderDied(__unused const wp<IBinder> &who) { in binderDied()
876 void AudioPolicyService::UidPolicy::checkRegistered() { in checkRegistered()
888 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
915 int AudioPolicyService::UidPolicy::getUidState(uid_t uid) { in getUidState()
964 void AudioPolicyService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
968 void AudioPolicyService::UidPolicy::onUidGone(uid_t uid, __unused bool disabled) { in onUidGone()
972 void AudioPolicyService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
[all …]
DAudioPolicyService.h359 class UidPolicy : public BnUidObserver, public virtual IBinder::DeathRecipient {
361 explicit UidPolicy(wp<AudioPolicyService> service) in UidPolicy() function
871 sp<UidPolicy> mUidPolicy;
/frameworks/native/services/sensorservice/
DSensorService.h170 class UidPolicy : public BnUidObserver {
172 explicit UidPolicy(wp<SensorService> service) in UidPolicy() function
403 sp<UidPolicy> mUidPolicy;
DSensorService.cpp94 mUidPolicy = new UidPolicy(this); in SensorService()
1769 void SensorService::UidPolicy::registerSelf() { in registerSelf()
1778 void SensorService::UidPolicy::unregisterSelf() { in unregisterSelf()
1783 void SensorService::UidPolicy::onUidGone(__unused uid_t uid, __unused bool disabled) { in onUidGone()
1787 void SensorService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
1798 void SensorService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
1814 void SensorService::UidPolicy::addOverrideUid(uid_t uid, bool active) { in addOverrideUid()
1818 void SensorService::UidPolicy::removeOverrideUid(uid_t uid) { in removeOverrideUid()
1822 void SensorService::UidPolicy::updateOverrideUid(uid_t uid, bool active, bool insert) { in updateOverrideUid()
1842 bool SensorService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp158 mUidPolicy = new UidPolicy(this); in onFirstRef()
2650 void CameraService::UidPolicy::registerSelf() { in registerSelf()
2666 void CameraService::UidPolicy::unregisterSelf() { in unregisterSelf()
2676 void CameraService::UidPolicy::onUidGone(uid_t uid, bool disabled) { in onUidGone()
2680 void CameraService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
2685 void CameraService::UidPolicy::onUidIdle(uid_t uid, bool /* disabled */) { in onUidIdle()
2701 void CameraService::UidPolicy::onUidStateChanged(uid_t uid, int32_t procState, in onUidStateChanged()
2721 void CameraService::UidPolicy::registerMonitorUid(uid_t uid) { in registerMonitorUid()
2733 void CameraService::UidPolicy::unregisterMonitorUid(uid_t uid) { in unregisterMonitorUid()
2746 bool CameraService::UidPolicy::isUidActive(uid_t uid, String16 callingPackage) { in isUidActive()
[all …]
DCameraService.h546 class UidPolicy : public BnUidObserver, public virtual IBinder::DeathRecipient {
548 explicit UidPolicy(sp<CameraService> service) in UidPolicy() function
611 sp<UidPolicy> mUidPolicy;