Home
last modified time | relevance | path

Searched refs:EX_SECURITY (Results 1 – 22 of 22) 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.cpp251 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
255 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
303 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
332 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
368 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterForNotifications()
390 return Status::fromExceptionCode(Status::EX_SECURITY); in isDeclared()
418 return Status::fromExceptionCode(Status::EX_SECURITY); in getDeclaredInstances()
429 return Status::fromExceptionCode(Status::EX_SECURITY); in updatableViaApex()
501 return Status::fromExceptionCode(Status::EX_SECURITY); in registerClientCallback()
636 return Status::fromExceptionCode(Status::EX_SECURITY); in tryUnregisterService()
[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.cpp139 case Status::EX_SECURITY: in PruneException()
140 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/include/binder/
DStatus.h59 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/libs/binder/ndk/include_ndk/android/
Dbinder_status.h81 EX_SECURITY = -1, enumerator
/frameworks/av/media/libaudioclient/include/media/
DAidlConversionUtil.h241 case Status::EX_SECURITY: // Java SecurityException, rethrows locally in Java
301 return Status::fromExceptionCode(Status::EX_SECURITY, emptyIfNull);
/frameworks/native/services/inputflinger/
DInputManager.cpp47 return binder::Status::EX_SECURITY; in exceptionCodeFromStatusT()
/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/core/java/android/os/
DParcel.java286 private static final int EX_SECURITY = -1; field in Parcel
2247 code = EX_SECURITY; in getExceptionCode()
2424 case EX_SECURITY: in createExceptionOrNull()
/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.cpp154 return exception(binder::Status::EX_SECURITY, in checkPermission()
164 return exception(binder::Status::EX_SECURITY, in checkUid()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt41171 Landroid/os/Parcel;->EX_SECURITY:I