/frameworks/av/media/libmedia/ |
D | AudioSystem.cpp | 112 if (af == 0) return PERMISSION_DENIED; in muteMicrophone() 119 if (af == 0) return PERMISSION_DENIED; in isMicrophoneMuted() 127 if (af == 0) return PERMISSION_DENIED; in setMasterVolume() 135 if (af == 0) return PERMISSION_DENIED; in setMasterMute() 143 if (af == 0) return PERMISSION_DENIED; in getMasterVolume() 151 if (af == 0) return PERMISSION_DENIED; in getMasterMute() 161 if (af == 0) return PERMISSION_DENIED; in setStreamVolume() 170 if (af == 0) return PERMISSION_DENIED; in setStreamMute() 180 if (af == 0) return PERMISSION_DENIED; in getStreamVolume() 189 if (af == 0) return PERMISSION_DENIED; in getStreamMute() [all …]
|
D | AudioEffect.cpp | 416 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects() 423 if (af == 0) return PERMISSION_DENIED; in queryEffect() 431 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor() 441 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 59 public static final int PERMISSION_DENIED = PackageManager.PERMISSION_DENIED; field in PermissionChecker 62 public static final int PERMISSION_DENIED_APP_OP = PackageManager.PERMISSION_DENIED - 1; 65 PERMISSION_DENIED, 89 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) { in checkPermission() 90 return PERMISSION_DENIED; in checkPermission() 101 return PERMISSION_DENIED; in checkPermission() 143 return PackageManager.PERMISSION_DENIED; in checkCallingPermission()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 50 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()
|
D | AudioPolicyInterfaceImpl.cpp | 38 return PERMISSION_DENIED; in setDeviceConnectionState() 71 return PERMISSION_DENIED; in setPhoneState() 105 return PERMISSION_DENIED; in setForceUse() 323 status = PERMISSION_DENIED; in getInputForAttr() 329 status = PERMISSION_DENIED; in getInputForAttr() 340 if (status == PERMISSION_DENIED) { in getInputForAttr() 408 return PERMISSION_DENIED; in initStreamVolume() 426 return PERMISSION_DENIED; in setStreamVolumeIndex() 613 return PERMISSION_DENIED; in createAudioPatch() 626 return PERMISSION_DENIED; in releaseAudioPatch() [all …]
|
D | AudioPolicyClientImplLegacy.cpp | 148 return PERMISSION_DENIED; in aps_close_output() 159 return PERMISSION_DENIED; in aps_suspend_output() 170 return PERMISSION_DENIED; in aps_restore_output() 240 return PERMISSION_DENIED; in aps_close_input() 250 return PERMISSION_DENIED; in aps_invalidate_stream() 262 return PERMISSION_DENIED; in aps_move_effects()
|
D | AudioPolicyInterfaceImplLegacy.cpp | 43 return PERMISSION_DENIED; in setDeviceConnectionState() 76 return PERMISSION_DENIED; in setPhoneState() 106 return PERMISSION_DENIED; in setForceUse() 339 return PERMISSION_DENIED; in initStreamVolume() 357 return PERMISSION_DENIED; in setStreamVolumeIndex()
|
/frameworks/support/compat/tests/java/android/support/v4/content/ |
D | ContextCompatTest.java | 147 assertEquals("Access network state permission denied", PackageManager.PERMISSION_DENIED, in testCheckSelfPermission() 150 assertEquals("Bluetooth permission denied", PackageManager.PERMISSION_DENIED, in testCheckSelfPermission() 153 assertEquals("Call phone permission denied", PackageManager.PERMISSION_DENIED, in testCheckSelfPermission() 156 assertEquals("Delete packages permission denied", PackageManager.PERMISSION_DENIED, in testCheckSelfPermission()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 51 return PackageManager.PERMISSION_DENIED; in requestPriority() 61 return PackageManager.PERMISSION_DENIED; in requestPriority()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyExceptionUtils.java | 32 public static final int PERMISSION_DENIED = -EPERM; field in LegacyExceptionUtils 93 } else if (errorFlag == PERMISSION_DENIED) { in throwOnServiceError()
|
/frameworks/base/core/jni/ |
D | android_media_AudioErrors.h | 46 case PERMISSION_DENIED: in nativeToJavaStatus()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 170 : PackageManager.PERMISSION_DENIED); in setHasAppOpsPermission() 176 : PackageManager.PERMISSION_DENIED); in setHasReadHistoryPermission()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 382 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
|
D | IntentSenderTest.java | 44 registerMyReceiver(new IntentFilter(BROADCAST_REGISTERED), PERMISSION_DENIED); in testRegisteredReceivePermissionDenied()
|
D | ActivityTestsBase.java | 29 public static final String PERMISSION_DENIED = field in ActivityTestsBase
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 111 return PERMISSION_DENIED; in listModules() 132 return PERMISSION_DENIED; in attach() 535 return PERMISSION_DENIED; in loadSoundModel() 595 return PERMISSION_DENIED; in unloadSoundModel() 623 return PERMISSION_DENIED; in startRecognition() 676 return PERMISSION_DENIED; in stopRecognition()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 107 return PERMISSION_DENIED; in setVideoSource() 121 return PERMISSION_DENIED; in setAudioSource()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 800 return PERMISSION_DENIED; in setMasterVolume() 841 return PERMISSION_DENIED; in setMode() 875 return PERMISSION_DENIED; in setMicMute() 922 return PERMISSION_DENIED; in setMasterMute() 985 return PERMISSION_DENIED; in checkStreamType() 996 return PERMISSION_DENIED; in setStreamVolume() 1031 return PERMISSION_DENIED; in setStreamMute() 1101 return PERMISSION_DENIED; in setParameters() 1285 return PERMISSION_DENIED; in setVoiceVolume() 1508 lStatus = PERMISSION_DENIED; in openRecord() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ADebug.h | 38 case PERMISSION_DENIED: return "PERMISSION_DENIED";
|
/frameworks/native/include/binder/ |
D | IInterface.h | 108 if (!data.checkInterface(this)) { return PERMISSION_DENIED; } \
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 131 == PackageManager.PERMISSION_DENIED in enforceOemUnlockReadPermission() 133 == PackageManager.PERMISSION_DENIED) { in enforceOemUnlockReadPermission()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentCompat.java | 69 Arrays.fill(grantResults, PackageManager.PERMISSION_DENIED); in requestPermissions()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 99 return PERMISSION_DENIED; in onTransact()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 97 return PERMISSION_DENIED; in setNativeWindowSizeFormatAndUsage()
|
/frameworks/base/docs/html/training/permissions/ |
D | requesting.jd | 141 android.content.pm.PackageManager#PERMISSION_DENIED PERMISSION_DENIED}, and 355 android.content.pm.PackageManager#PERMISSION_DENIED PERMISSION_DENIED}, the
|