Home
last modified time | relevance | path

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

12

/hardware/interfaces/camera/provider/default/
DExternalCameraProvider.cpp39 using ::android::hardware::camera::device::implementation::fromStatus;
79 return fromStatus(Status::ILLEGAL_ARGUMENT); in setCallback()
90 return fromStatus(Status::OK); in setCallback()
96 return fromStatus(Status::ILLEGAL_ARGUMENT); in getVendorTags()
100 return fromStatus(Status::OK); in getVendorTags()
105 return fromStatus(Status::ILLEGAL_ARGUMENT); in getCameraIdList()
110 return fromStatus(Status::OK); in getCameraIdList()
116 return fromStatus(Status::ILLEGAL_ARGUMENT); in getCameraDeviceInterface()
124 return fromStatus(Status::ILLEGAL_ARGUMENT); in getCameraDeviceInterface()
130 return fromStatus(Status::ILLEGAL_ARGUMENT); in getCameraDeviceInterface()
[all …]
/hardware/interfaces/camera/provider/aidl/vts/
Dsimple_device_cb.cpp27 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in processCaptureResult()
32 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in requestStreamBuffers()
35 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in returnStreamBuffers()
Dtorch_provider_cb.cpp33 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in cameraDeviceStatusChange()
39 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in physicalCameraDeviceStatusChange()
/hardware/google/pixel/powerstats/dataproviders/
DPixelStateResidencyDataProvider.cpp52 return ndk::ScopedAStatus::fromStatus(STATUS_UNEXPECTED_NULL); in getStateResidenciesTimed()
123 return ndk::ScopedAStatus::fromStatus(STATUS_UNEXPECTED_NULL); in registerCallbackByStates()
132 return ::ndk::ScopedAStatus::fromStatus(STATUS_BAD_VALUE); in registerCallbackByStates()
157 return ndk::ScopedAStatus::fromStatus(STATUS_UNEXPECTED_NULL); in unregisterCallback()
168 return ndk::ScopedAStatus::fromStatus(STATUS_BAD_VALUE); in unregisterCallback()
/hardware/interfaces/camera/device/default/
DExternalCameraDevice.cpp69 return fromStatus(Status::ILLEGAL_ARGUMENT); in getCameraCharacteristics()
73 return fromStatus(Status::INTERNAL_ERROR); in getCameraCharacteristics()
79 return fromStatus(Status::OK); in getCameraCharacteristics()
85 return fromStatus(Status::ILLEGAL_ARGUMENT); in getPhysicalCameraCharacteristics()
90 return fromStatus(Status::ILLEGAL_ARGUMENT); in getResourceCost()
94 return fromStatus(Status::OK); in getResourceCost()
101 return fromStatus(Status::INTERNAL_ERROR); in isStreamCombinationSupported()
106 return fromStatus(Status::OK); in isStreamCombinationSupported()
115 return fromStatus(Status::ILLEGAL_ARGUMENT); in open()
121 return fromStatus(Status::INTERNAL_ERROR); in open()
[all …]
Dconvert.h46 inline ndk::ScopedAStatus fromStatus(Status status) { in fromStatus() function
DExternalCameraOfflineSession.cpp287 return fromStatus(Status::OK); in setCallback()
296 return fromStatus(Status::OK); in setCallback()
328 return fromStatus(Status::OK); in getCaptureResultMetadataQueue()
337 return fromStatus(Status::OK); in close()
360 return fromStatus(Status::OK); in close()
DExternalCameraDeviceSession.cpp263 return fromStatus(status); in constructDefaultRequestSettings()
283 return fromStatus(status); in constructDefaultRequestSettings()
296 return fromStatus(status); in configureStreams()
301 return fromStatus(status); in configureStreams()
309 return fromStatus(Status::INTERNAL_ERROR); in configureStreams()
395 return fromStatus(Status::ILLEGAL_ARGUMENT); in configureStreams()
402 return fromStatus(Status::INTERNAL_ERROR); in configureStreams()
418 return fromStatus(Status::INTERNAL_ERROR); in configureStreams()
426 return fromStatus(status); in configureStreams()
462 return fromStatus(Status::ILLEGAL_ARGUMENT); in configureStreams()
[all …]
/hardware/interfaces/bluetooth/audio/aidl/default/
DA2dpOffloadAudioProvider.cpp126 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in parseA2dpConfiguration()
148 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in getA2dpConfiguration()
DBluetoothAudioProviderFactory.cpp168 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_TRANSACTION); in getProviderInfo()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp113 const auto ret = ndk::ScopedAStatus::fromStatus( in create()
135 const auto ret = ndk::ScopedAStatus::fromStatus( in ~DeathHandler()
DDevice.cpp195 const auto ret = ndk::ScopedAStatus::fromStatus(AIBinder_ping(kDevice->asBinder().get())); in wait()
/hardware/interfaces/weaver/aidl/default/
DWeaver.cpp60 return ::ndk::ScopedAStatus::fromStatus(STATUS_FAILED_TRANSACTION); in write()
/hardware/interfaces/weaver/vts/
DVtsHalWeaverTargetTest.cpp103 return ::ndk::ScopedAStatus::fromStatus(STATUS_FAILED_TRANSACTION); in getConfig()
125 return ::ndk::ScopedAStatus::fromStatus(STATUS_FAILED_TRANSACTION); in read()
157 return ::ndk::ScopedAStatus::fromStatus(STATUS_FAILED_TRANSACTION); in write()
160 return ::ndk::ScopedAStatus::fromStatus(STATUS_FAILED_TRANSACTION); in write()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DBufferTest.cpp53 return ndk::ScopedAStatus::fromStatus(STATUS_NO_MEMORY); in __anon134c93590402()
56 return ndk::ScopedAStatus::fromStatus(STATUS_DEAD_OBJECT); in __anon134c93590502()
DExecutionTest.cpp50 return ndk::ScopedAStatus::fromStatus(STATUS_NO_MEMORY); in __anon0a2c05930402()
53 return ndk::ScopedAStatus::fromStatus(STATUS_DEAD_OBJECT); in __anon0a2c05930502()
DPreparedModelTest.cpp54 return ndk::ScopedAStatus::fromStatus(STATUS_NO_MEMORY); in __anon04312a030402()
57 return ndk::ScopedAStatus::fromStatus(STATUS_DEAD_OBJECT); in __anon04312a030502()
DDeviceTest.cpp155 return ndk::ScopedAStatus::fromStatus(STATUS_NO_MEMORY); in __anon40c1850f0802()
158 return ndk::ScopedAStatus::fromStatus(STATUS_DEAD_OBJECT); in __anon40c1850f0902()
/hardware/google/gchips/gralloc4/src/aidl/
DGrallocAllocator2.cpp82 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_ERROR); in allocate()
149 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_ERROR); in allocate2()
DGrallocAllocator.cpp85 return ndk::ScopedAStatus::fromStatus(STATUS_UNKNOWN_ERROR); in allocate()
/hardware/interfaces/health/aidl/default/
DHealth.cpp136 return ndk::ScopedAStatus::fromStatus(::android::INVALID_OPERATION); in setChargingPolicy()
293 return ndk::ScopedAStatus::fromStatus(-linked_callback_result.error().code()); in registerCallback()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DVtsHalNeuralnetworks.cpp117 ndk::ScopedAStatus::fromStatus(AIBinder_ping(kDevice->asBinder().get())).isOk(); in SetUp()
DGeneratedTestHarness.cpp1043 ndk::ScopedAStatus::fromStatus(AIBinder_ping(kDevice->asBinder().get())).isOk(); in SetUp()
/hardware/interfaces/health/utils/libhealthshim/
Dshim.cpp79 return ScopedAStatus::fromStatus(STATUS_DEAD_OBJECT); in ReturnAndResultToStatus()
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsComposerClient.cpp234 return ScopedAStatus::fromStatus(status); in dumpDebugInfo()

12