Home
last modified time | relevance | path

Searched refs:PERMISSION_DENIED (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/av/media/libmedia/
DAudioSystem.cpp101 if (af == 0) return PERMISSION_DENIED; in muteMicrophone()
108 if (af == 0) return PERMISSION_DENIED; in isMicrophoneMuted()
116 if (af == 0) return PERMISSION_DENIED; in setMasterVolume()
124 if (af == 0) return PERMISSION_DENIED; in setMasterMute()
132 if (af == 0) return PERMISSION_DENIED; in getMasterVolume()
140 if (af == 0) return PERMISSION_DENIED; in getMasterMute()
150 if (af == 0) return PERMISSION_DENIED; in setStreamVolume()
159 if (af == 0) return PERMISSION_DENIED; in setStreamMute()
169 if (af == 0) return PERMISSION_DENIED; in getStreamVolume()
178 if (af == 0) return PERMISSION_DENIED; in getStreamMute()
[all …]
DAudioEffect.cpp411 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects()
418 if (af == 0) return PERMISSION_DENIED; in queryEffect()
426 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor()
436 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
/frameworks/av/services/audiopolicy/
DAudioPolicyClientImpl.cpp50 return PERMISSION_DENIED; in openOutput()
71 return PERMISSION_DENIED; in closeOutput()
82 return PERMISSION_DENIED; in suspendOutput()
93 return PERMISSION_DENIED; in restoreOutput()
110 return PERMISSION_DENIED; in openInput()
120 return PERMISSION_DENIED; in closeInput()
138 return PERMISSION_DENIED; in invalidateStream()
180 return PERMISSION_DENIED; in moveEffects()
DAudioPolicyInterfaceImpl.cpp37 return PERMISSION_DENIED; in setDeviceConnectionState()
70 return PERMISSION_DENIED; in setPhoneState()
100 return PERMISSION_DENIED; in setForceUse()
286 status = PERMISSION_DENIED; in getInputForAttr()
292 status = PERMISSION_DENIED; in getInputForAttr()
303 if (status == PERMISSION_DENIED) { in getInputForAttr()
371 return PERMISSION_DENIED; in initStreamVolume()
389 return PERMISSION_DENIED; in setStreamVolumeIndex()
549 return PERMISSION_DENIED; in listAudioPorts()
562 return PERMISSION_DENIED; in getAudioPort()
[all …]
DAudioPolicyClientImplLegacy.cpp148 return PERMISSION_DENIED; in aps_close_output()
159 return PERMISSION_DENIED; in aps_suspend_output()
170 return PERMISSION_DENIED; in aps_restore_output()
239 return PERMISSION_DENIED; in aps_close_input()
249 return PERMISSION_DENIED; in aps_invalidate_stream()
261 return PERMISSION_DENIED; in aps_move_effects()
DAudioPolicyInterfaceImplLegacy.cpp42 return PERMISSION_DENIED; in setDeviceConnectionState()
75 return PERMISSION_DENIED; in setPhoneState()
105 return PERMISSION_DENIED; in setForceUse()
336 return PERMISSION_DENIED; in initStreamVolume()
354 return PERMISSION_DENIED; in setStreamVolumeIndex()
DAudioPolicyService.cpp468 command->mStatus = PERMISSION_DENIED; in threadLoop()
478 command->mStatus = PERMISSION_DENIED; in threadLoop()
508 command->mStatus = PERMISSION_DENIED; in threadLoop()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java50 return PackageManager.PERMISSION_DENIED; in requestPriority()
59 return PackageManager.PERMISSION_DENIED; in requestPriority()
/frameworks/av/services/camera/libcameraservice/api_pro/
DProCamera2Client.cpp85 if (!mDevice.get()) return PERMISSION_DENIED; in exclusiveTryLock()
116 if (!mDevice.get()) return PERMISSION_DENIED; in exclusiveLock()
200 return PERMISSION_DENIED; in submitRequest()
206 return PERMISSION_DENIED; in submitRequest()
229 return PERMISSION_DENIED; in cancelRequest()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraBinderDecorator.java40 public static final int PERMISSION_DENIED = -1; field in CameraBinderDecorator
107 case PERMISSION_DENIED: in throwOnError()
/frameworks/base/core/jni/
Dandroid_media_AudioErrors.h45 case PERMISSION_DENIED: in nativeToJavaStatus()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp110 return PERMISSION_DENIED; in listModules()
131 return PERMISSION_DENIED; in attach()
527 return PERMISSION_DENIED; in loadSoundModel()
575 return PERMISSION_DENIED; in unloadSoundModel()
603 return PERMISSION_DENIED; in startRecognition()
650 return PERMISSION_DENIED; in stopRecognition()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java382 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
420 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRegisteredBroadcastPermissionDenied() local
466 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testLocalBroadcastPermissionDenied() local
512 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRemoteBroadcastPermissionDenied() local
DIntentSenderTest.java44 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
DActivityTestsBase.java29 public static final String PERMISSION_DENIED = field in ActivityTestsBase
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp100 return PERMISSION_DENIED; in setVideoSource()
114 return PERMISSION_DENIED; in setAudioSource()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp732 return PERMISSION_DENIED; in setMasterVolume()
769 return PERMISSION_DENIED; in setMode()
803 return PERMISSION_DENIED; in setMicMute()
844 return PERMISSION_DENIED; in setMasterMute()
903 return PERMISSION_DENIED; in checkStreamType()
914 return PERMISSION_DENIED; in setStreamVolume()
949 return PERMISSION_DENIED; in setStreamMute()
1011 return PERMISSION_DENIED; in setParameters()
1168 return PERMISSION_DENIED; in setVoiceVolume()
1401 lStatus = PERMISSION_DENIED; in openRecord()
[all …]
/frameworks/native/include/binder/
DIInterface.h108 if (!data.checkInterface(this)) { return PERMISSION_DENIED; } \
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsBinderDecoratorTest.java77 when(mock.doSomethingPermissionDenied()).thenReturn(PERMISSION_DENIED); in testStereotypes()
/frameworks/native/services/surfaceflinger/
DClient.cpp102 return PERMISSION_DENIED; in onTransact()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java130 PackageManager.PERMISSION_GRANTED : PackageManager.PERMISSION_DENIED); in buildResolveInfo()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp77 return PERMISSION_DENIED; in checkPid()
/frameworks/base/core/java/android/app/
DActivityManager.java2477 return PackageManager.PERMISSION_DENIED; in checkComponentPermission()
2492 return PackageManager.PERMISSION_DENIED; in checkComponentPermission()
2504 return PackageManager.PERMISSION_DENIED; in checkComponentPermission()
2516 return PackageManager.PERMISSION_DENIED; in checkUidPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java442 return PackageManager.PERMISSION_DENIED; in checkPermission()
/frameworks/base/keystore/java/android/security/
DKeyStore.java41 public static final int PERMISSION_DENIED = 6; field in KeyStore

123