Home | History | Annotate | Download | only in audioflinger

Lines Matching full:permission

24 /* When performing permission checks we do not use permission cache for
27 * can be cached as they never change. Of course all permission checked
55 static const String16 sRecordAudio("android.permission.RECORD_AUDIO");
59 // IMPORTANT: Don't use PermissionCache - a runtime permission and may change.
62 ALOGE("Request requires android.permission.RECORD_AUDIO");
80 sp<IBinder> binder = sm->getService(String16("permission"));
82 ALOGE("Cannot get permission service");
110 static const String16 sCaptureAudioOutput("android.permission.CAPTURE_AUDIO_OUTPUT");
112 if (!ok) ALOGE("Request requires android.permission.CAPTURE_AUDIO_OUTPUT");
117 static const String16 sCaptureHotwordAllowed("android.permission.CAPTURE_AUDIO_HOTWORD");
118 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
120 if (!ok) ALOGE("android.permission.CAPTURE_AUDIO_HOTWORD");
126 static const String16 sAudioSettings("android.permission.MODIFY_AUDIO_SETTINGS");
127 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
129 if (!ok) ALOGE("Request requires android.permission.MODIFY_AUDIO_SETTINGS");
134 static const String16 sModifyAudioRoutingAllowed("android.permission.MODIFY_AUDIO_ROUTING");
135 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
137 if (!ok) ALOGE("android.permission.MODIFY_AUDIO_ROUTING");
143 static const String16 sDump("android.permission.DUMP");
144 // IMPORTANT: Use PermissionCache - not a runtime permission and may not change.
147 //if (!ok) ALOGE("Request requires android.permission.DUMP");