Home
last modified time | relevance | path

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

12

/frameworks/base/media/libmedia/
DAudioSystem.cpp80 if (af == 0) return PERMISSION_DENIED; in muteMicrophone()
86 if (af == 0) return PERMISSION_DENIED; in isMicrophoneMuted()
94 if (af == 0) return PERMISSION_DENIED; in setMasterVolume()
102 if (af == 0) return PERMISSION_DENIED; in setMasterMute()
110 if (af == 0) return PERMISSION_DENIED; in getMasterVolume()
118 if (af == 0) return PERMISSION_DENIED; in getMasterMute()
127 if (af == 0) return PERMISSION_DENIED; in setStreamVolume()
136 if (af == 0) return PERMISSION_DENIED; in setStreamMute()
145 if (af == 0) return PERMISSION_DENIED; in getStreamVolume()
154 if (af == 0) return PERMISSION_DENIED; in getStreamMute()
[all …]
DAudioEffect.cpp404 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects()
411 if (af == 0) return PERMISSION_DENIED; in queryEffect()
418 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor()
428 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
DIOMX.cpp411 return PERMISSION_DENIED; \
/frameworks/base/cmds/keystore/
Dkeystore.h33 PERMISSION_DENIED = 6, enumerator
Dkeystore.cpp733 return PERMISSION_DENIED; in process()
/frameworks/base/include/utils/
DErrors.h56 PERMISSION_DENIED = -EPERM, enumerator
/frameworks/base/services/audioflinger/
DAudioPolicyService.cpp162 return PERMISSION_DENIED; in setDeviceConnectionState()
195 return PERMISSION_DENIED; in setPhoneState()
217 return PERMISSION_DENIED; in setRingerMode()
231 return PERMISSION_DENIED; in setForceUse()
402 return PERMISSION_DENIED; in initStreamVolume()
417 return PERMISSION_DENIED; in setStreamVolumeIndex()
1382 return PERMISSION_DENIED; in aps_close_output()
1392 return PERMISSION_DENIED; in aps_suspend_output()
1403 return PERMISSION_DENIED; in aps_restore_output()
1430 return PERMISSION_DENIED; in aps_close_input()
[all …]
DAudioFlinger.cpp534 return PERMISSION_DENIED; in setMasterVolume()
564 return PERMISSION_DENIED; in setMode()
597 return PERMISSION_DENIED; in setMicMute()
625 return PERMISSION_DENIED; in setMasterMute()
650 return PERMISSION_DENIED; in setStreamVolume()
683 return PERMISSION_DENIED; in setStreamMute()
737 return PERMISSION_DENIED; in setParameters()
869 return PERMISSION_DENIED; in setVoiceVolume()
4077 lStatus = PERMISSION_DENIED; in openRecord()
5356 lStatus = PERMISSION_DENIED; in createEffect()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java379 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
417 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRegisteredBroadcastPermissionDenied() local
463 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testLocalBroadcastPermissionDenied() local
509 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/base/media/libmediaplayerservice/
DMediaRecorderClient.cpp102 return PERMISSION_DENIED; in setVideoSource()
116 return PERMISSION_DENIED; in setAudioSource()
DMediaPlayerService.cpp675 return PERMISSION_DENIED; in setDataSource()
/frameworks/base/include/binder/
DIInterface.h108 if (!data.checkInterface(this)) { return PERMISSION_DENIED; } \
/frameworks/base/services/surfaceflinger/
DSurfaceFlinger.cpp1710 return PERMISSION_DENIED; in onTransact()
1724 return PERMISSION_DENIED; in onTransact()
1731 if (err == UNKNOWN_TRANSACTION || err == PERMISSION_DENIED) { in onTransact()
1739 return PERMISSION_DENIED; in onTransact()
2063 status_t result = PERMISSION_DENIED; in electronBeamOnAnimationImplLocked()
2240 : flinger(flinger), mode(mode), result(PERMISSION_DENIED) { in turnElectronBeamOff()
2293 : flinger(flinger), mode(mode), result(PERMISSION_DENIED) { in turnElectronBeamOn()
2317 status_t result = PERMISSION_DENIED; in captureScreenImplLocked()
2468 result(PERMISSION_DENIED) in captureScreen()
2576 return PERMISSION_DENIED; in onTransact()
/frameworks/base/keystore/java/android/security/
DKeyStore.java42 public static final int PERMISSION_DENIED = 6; field in KeyStore
/frameworks/base/core/java/android/app/
DContextImpl.java1206 return PackageManager.PERMISSION_DENIED; in checkPermission()
1221 return PackageManager.PERMISSION_DENIED; in checkCallingPermission()
1300 return PackageManager.PERMISSION_DENIED; in checkUriPermission()
1311 return PackageManager.PERMISSION_DENIED; in checkCallingUriPermission()
1343 : PackageManager.PERMISSION_DENIED; in checkUriPermission()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java442 return PackageManager.PERMISSION_DENIED; in checkPermission()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java190 public static final int PERMISSION_DENIED = -1; field in PackageManager
/frameworks/base/services/camera/libcameraservice/
DCameraService.cpp268 return PERMISSION_DENIED; in onTransact()
845 return PERMISSION_DENIED; in enableShutterSound()
/frameworks/base/libs/utils/
DThreads.cpp326 return PERMISSION_DENIED; in androidSetThreadSchedulingGroup()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp158 } else if ( opStatus == (status_t) PERMISSION_DENIED ) { in process_media_player_call()
/frameworks/base/tools/aapt/
DZipFile.cpp51 return PERMISSION_DENIED; in errnoToStatus()
DCommand.cpp50 else if (result == PERMISSION_DENIED) in openReadOnly()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java4743 Binder.getCallingUid())) == PackageManager.PERMISSION_DENIED) { in dataChangedTargets()
4811 Binder.getCallingUid())) == PackageManager.PERMISSION_DENIED) { in clearBackupData()
5610 if ((perm == PackageManager.PERMISSION_DENIED) && in restorePackage()

12