Home
last modified time | relevance | path

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

/frameworks/base/services/incremental/
DIncrementalServiceValidation.cpp53 return Exception(binder::Status::EX_SECURITY, in CheckPermissionForDataDelivery()
61 return Exception(binder::Status::EX_SECURITY, in CheckPermissionForDataDelivery()
76 return Exception(binder::Status::EX_SECURITY, in CheckPermissionForDataDelivery()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp159 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
195 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
217 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
233 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
249 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
270 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
291 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F()
321 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
325 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
329 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
[all …]
DVibratorManagerHalWrapperAidlTest.cpp156 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
192 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
257 Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY)))) in TEST_F()
262 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
263 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
293 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
312 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
348 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp299 return Status::fromExceptionCode(Status::EX_SECURITY, "App UIDs cannot add services"); in addService()
303 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denial"); in addService()
351 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
380 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
416 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterForNotifications()
438 return Status::fromExceptionCode(Status::EX_SECURITY); in isDeclared()
466 return Status::fromExceptionCode(Status::EX_SECURITY); in getDeclaredInstances()
477 return Status::fromExceptionCode(Status::EX_SECURITY); in updatableViaApex()
493 return Status::fromExceptionCode(Status::EX_SECURITY); in getConnectionInfo()
565 return Status::fromExceptionCode(Status::EX_SECURITY); in registerClientCallback()
[all …]
Dtest_sm.cpp337 Status::EX_SECURITY); in TEST()
352 Status::EX_SECURITY); in TEST()
/frameworks/base/native/android/
Dthermal.cpp135 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in addListener()
168 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in removeListener()
181 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in getCurrentThermalStatus()
193 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in getThermalHeadroom()
/frameworks/base/cmds/incidentd/src/
DIncidentService.cpp83 Status::EX_SECURITY, in checkIncidentPermissions()
90 Status::EX_SECURITY, in checkIncidentPermissions()
101 Status::EX_SECURITY, in checkIncidentPermissions()
111 Status::EX_SECURITY, in checkIncidentPermissions()
319 return Status::fromExceptionCode(Status::EX_SECURITY, "Only ROOT or SHELL allowed"); in reportIncidentToDumpstate()
364 return Status::fromExceptionCode(Status::EX_SECURITY); in registerSection()
382 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterSection()
394 return Status::fromExceptionCode(Status::EX_SECURITY, in systemRunning()
/frameworks/native/libs/binder/ndk/
Dstatus.cpp140 case Status::EX_SECURITY: in PruneException()
141 return EX_SECURITY; in PruneException()
/frameworks/native/libs/binder/rust/sys/
DBinderBindings.hpp57 SECURITY = EX_SECURITY,
/frameworks/native/services/memtrackproxy/
DMemtrackProxy.cpp113 EX_SECURITY, in getMemory()
176 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_SECURITY, in getGpuDeviceInfo()
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_status.h96 EX_SECURITY = -1, enumerator
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_status_tests.cpp67 Status::EX_SECURITY, in TEST()
/frameworks/native/libs/binder/include/binder/
DStatus.h59 EX_SECURITY = -1, enumerator
/frameworks/native/include/binder/
DStatus.h59 EX_SECURITY = -1, enumerator
/frameworks/native/services/inputflinger/
DInputManager.cpp50 return binder::Status::EX_SECURITY; in exceptionCodeFromStatusT()
/frameworks/av/media/libaudioclient/include/media/
DAidlConversionUtil.h312 case Status::EX_SECURITY: // Java SecurityException, rethrows locally in Java
372 return Status::fromExceptionCode(Status::EX_SECURITY, emptyIfNull);
/frameworks/base/omapi/aidl/vts/functional/AccessControlApp/
DVtsHalOmapiSeAccessControlTestCases.cpp149 ASSERT_EQ(res.getExceptionCode(), EX_SECURITY); in testUnauthorisedAid()
243 ASSERT_EQ(res.getExceptionCode(), EX_SECURITY); in testUnauthorisedAPDU()
/frameworks/native/libs/binder/
DStatus.cpp70 EXCEPTION_TO_CASE(EX_SECURITY) in exceptionToString()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp168 binder::Status::EX_SECURITY, in cancelBugreport()
/frameworks/base/omapi/aidl/vts/functional/omapi/
DVtsHalOmapiSeServiceV1_TargetTest.cpp497 ASSERT_EQ(res.getExceptionCode(), EX_SECURITY); in TEST_P()
/frameworks/base/core/java/android/os/
DParcel.java340 private static final int EX_SECURITY = -1; field in Parcel
2833 code = EX_SECURITY; in getExceptionCode()
3010 case EX_SECURITY: in createExceptionOrNull()
/frameworks/native/services/sensorservice/
DAidlSensorHalWrapper.cpp50 case EX_SECURITY: { in convertToStatus()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp517 Return(android::incremental::Exception(binder::Status::EX_SECURITY, {}))); in checkPermissionNoCrossUsers()
522 Return(android::incremental::Exception(binder::Status::EX_SECURITY, {}))); in checkPermissionFails()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp164 return exception(binder::Status::EX_SECURITY, in checkPermission()
174 return exception(binder::Status::EX_SECURITY, in checkUid()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37848 Landroid/os/Parcel;->EX_SECURITY:I