Home
last modified time | relevance | path

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

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextWrapperTest.java3 import static android.content.pm.PackageManager.PERMISSION_DENIED;
476 .isEqualTo(PackageManager.PERMISSION_DENIED); in checkSelfPermission()
483 .isEqualTo(PackageManager.PERMISSION_DENIED); in checkSelfPermission()
489 .isEqualTo(PackageManager.PERMISSION_DENIED); in checkPermissionUidPid()
494 .isEqualTo(PackageManager.PERMISSION_DENIED); in checkPermissionUidPid()
507 .isEqualTo(PackageManager.PERMISSION_DENIED); in checkAdditionalSelfPermission()
524 .isEqualTo(PackageManager.PERMISSION_DENIED); in revokeSelfPermission()
536 .isEqualTo(PackageManager.PERMISSION_DENIED); in revokePermissionUidPid()
602 assertThat(contextWrapper.checkCallingPermission("baz")).isEqualTo(PERMISSION_DENIED);
610 assertThat(contextWrapper.checkCallingOrSelfPermission("baz")).isEqualTo(PERMISSION_DENIED);
[all …]
DShadowSliceManagerTest.java54 .isEqualTo(PackageManager.PERMISSION_DENIED); in testGrantSlicePermission_doesNotGrantPermissionToOtherPackage()
61 .isEqualTo(PackageManager.PERMISSION_DENIED); in testGrantSlicePermission_doesNotGrantPermissionToOtherSliceUri()
69 .isEqualTo(PackageManager.PERMISSION_DENIED); in testRevokeSlicePermission_revokesPermissionToPackage()
/external/opencensus-java/contrib/grpc_util/src/main/java/io/opencensus/contrib/grpc/util/
DStatusConverter.java99 case PERMISSION_DENIED: in opencensusStatusFromGrpcCode()
100 return io.opencensus.trace.Status.PERMISSION_DENIED; in opencensusStatusFromGrpcCode()
140 case PERMISSION_DENIED: in grpcStatusFromOpencensusCanonicalCode()
141 return io.grpc.Status.PERMISSION_DENIED; in grpcStatusFromOpencensusCanonicalCode()
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/
DMojoResult.java18 public static final int PERMISSION_DENIED = 7; field in MojoResult
55 case PERMISSION_DENIED: in describe()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DStatus.java115 PERMISSION_DENIED(7), enumConstant
310 public static final Status PERMISSION_DENIED = CanonicalCode.PERMISSION_DENIED.toStatus(); field in Status
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dalts_util.cc67 return grpc::Status(grpc::StatusCode::PERMISSION_DENIED, in AltsClientAuthzCheck()
77 grpc::StatusCode::PERMISSION_DENIED, in AltsClientAuthzCheck()
/external/pigweed/pw_status/
Dstatus_test_c.c36 errors += CHECK_STATUS_FROM_CPP(PERMISSION_DENIED); in TestStatusFromC()
63 errors += CHECK_STATUS_STRING(PERMISSION_DENIED); in TestStatusStringsFromC()
Dstatus.cc30 PW_CASE_RETURN_ENUM_STRING(PERMISSION_DENIED); in pw_StatusString()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/ir/
Dtf_framework_ops.cc98 case ErrorCode::PERMISSION_DENIED: in ConvertAttrToEnumValue()
99 return Code::PERMISSION_DENIED; in ConvertAttrToEnumValue()
/external/tensorflow/tensorflow/python/framework/
Derrors_impl.py190 PERMISSION_DENIED = error_codes_pb2.PERMISSION_DENIED variable
341 PERMISSION_DENIED)
501 PERMISSION_DENIED: PermissionDeniedError,
Derrors_test.py57 (errors.PERMISSION_DENIED, errors_impl.PermissionDeniedError),
129 errors.PERMISSION_DENIED,
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dstatus_code_enum.h62 PERMISSION_DENIED = 7, enumerator
Dstatus.h57 static_assert(StatusCode::PERMISSION_DENIED == in Status()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dstatus_code_enum.h62 PERMISSION_DENIED = 7, enumerator
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dstatus_code_enum.h62 PERMISSION_DENIED = 7, enumerator
Dstatus.h57 static_assert(StatusCode::PERMISSION_DENIED == in Status()
/external/pigweed/pw_status/py/pw_status/
D__init__.py27 PERMISSION_DENIED = 7 variable in Status
/external/icing/icing/absl_ports/
Dcanonical_errors.cc61 libtextclassifier3::StatusCode::PERMISSION_DENIED, in PermissionDeniedError()
140 libtextclassifier3::StatusCode::PERMISSION_DENIED; in IsPermissionDenied()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DStatus.java114 PERMISSION_DENIED(7), enumConstant
264 public static final Status PERMISSION_DENIED = Code.PERMISSION_DENIED.toStatus(); field in Status
/external/libtextclassifier/native/utils/base/
Dstatus.h37 PERMISSION_DENIED = 7, enumerator
/external/icing/icing/text_classifier/lib3/utils/base/
Dstatus.h35 PERMISSION_DENIED = 7, enumerator
/external/protobuf/src/google/protobuf/stubs/
Dstatus.h54 PERMISSION_DENIED = 7, enumerator
Dstatus.cc57 case PERMISSION_DENIED: in CodeEnumToString()
/external/tensorflow/tensorflow/core/protobuf/
Derror_codes.proto63 // operation. PERMISSION_DENIED must not be used for rejections
65 // instead for those errors). PERMISSION_DENIED must not be
68 PERMISSION_DENIED = 7; enumerator
/external/tensorflow/tensorflow/c/
Dtf_status_helper.cc48 case tensorflow::error::PERMISSION_DENIED: in Set_TF_Status_from_Status()

123