Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp287 auto uidPolicy = sp<UidPolicy>::make(this); in onFirstRef()
1481 void AudioPolicyService::UidPolicy::registerSelf() { in registerSelf()
1499 void AudioPolicyService::UidPolicy::unregisterSelf() { in unregisterSelf()
1506 void AudioPolicyService::UidPolicy::binderDied(__unused const wp<IBinder> &who) { in binderDied()
1512 void AudioPolicyService::UidPolicy::checkRegistered() { in checkRegistered()
1524 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
1547 int AudioPolicyService::UidPolicy::getUidState(uid_t uid) { in getUidState()
1582 void AudioPolicyService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
1586 void AudioPolicyService::UidPolicy::onUidGone(uid_t uid, __unused bool disabled) { in onUidGone()
1590 void AudioPolicyService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
[all …]
DAudioPolicyService.h484 class UidPolicy : public BnUidObserver, public virtual IBinder::DeathRecipient {
486 explicit UidPolicy(wp<AudioPolicyService> service) in UidPolicy() function
1048 sp<UidPolicy> mUidPolicy GUARDED_BY(mMutex);
/frameworks/native/services/sensorservice/
DSensorService.h291 class UidPolicy : public BnUidObserver {
293 explicit UidPolicy(wp<SensorService> service) in UidPolicy() function
588 sp<UidPolicy> mUidPolicy;
DSensorService.cpp166 mUidPolicy = new UidPolicy(this); in SensorService()
2534 void SensorService::UidPolicy::registerSelf() { in registerSelf()
2543 void SensorService::UidPolicy::unregisterSelf() { in unregisterSelf()
2548 void SensorService::UidPolicy::onUidGone(__unused uid_t uid, __unused bool disabled) { in onUidGone()
2552 void SensorService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
2563 void SensorService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
2579 void SensorService::UidPolicy::addOverrideUid(uid_t uid, bool active) { in addOverrideUid()
2583 void SensorService::UidPolicy::removeOverrideUid(uid_t uid) { in removeOverrideUid()
2587 void SensorService::UidPolicy::updateOverrideUid(uid_t uid, bool active, bool insert) { in updateOverrideUid()
2607 bool SensorService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp228 mUidPolicy = new UidPolicy(this); in onFirstRef()
4573 void CameraService::UidPolicy::registerWithActivityManager() { in registerWithActivityManager()
4593 void CameraService::UidPolicy::onServiceRegistration(const String16& name, const sp<IBinder>&) { in onServiceRegistration()
4601 void CameraService::UidPolicy::registerSelf() { in registerSelf()
4614 void CameraService::UidPolicy::unregisterSelf() { in unregisterSelf()
4624 void CameraService::UidPolicy::onUidGone(uid_t uid, bool disabled) { in onUidGone()
4628 void CameraService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
4633 void CameraService::UidPolicy::onUidIdle(uid_t uid, bool /* disabled */) { in onUidIdle()
4649 void CameraService::UidPolicy::onUidStateChanged(uid_t uid, int32_t procState, in onUidStateChanged()
4677 void CameraService::UidPolicy::onUidProcAdjChanged(uid_t uid, int32_t adj) { in onUidProcAdjChanged()
[all …]
DCameraService.h825 class UidPolicy :
830 explicit UidPolicy(sp<CameraService> service) in UidPolicy() function
927 sp<UidPolicy> mUidPolicy;