/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | argument_encoder.h | 40 template <typename Return, typename... Args> 41 class ArgumentEncoder<Return(Args...)> { 44 using ReturnType = typename std::decay<Return>::type; 64 template <typename Return, typename... Args> 65 inline ArgumentEncoder<Return(Args...)> MakeArgumentEncoder( in MakeArgumentEncoder() 66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() 67 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder() 72 template <typename Class, typename Return, typename... Args> 73 inline ArgumentEncoder<Return(Args...)> MakeArgumentEncoder( in MakeArgumentEncoder() 74 Return (Class::*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() [all …]
|
D | remote_method.h | 71 template <typename Return, typename Type = void> 73 typename std::enable_if<IsDirectReturn<Return>::value, Type>::type; 75 template <typename Return, typename Type = void> 77 typename std::enable_if<!IsDirectReturn<Return>::value, Type>::type; 84 template <typename Class, typename Return, typename... Args> 85 class UnpackArguments<Class, Return(Args...)> { 88 using MethodType = Return (Class::*)(Message&, Args...); 98 Return Invoke() { 100 return static_cast<Return>(InvokeHelper(MakeIndexSequence<Arity>{})); 110 Return InvokeHelper(IndexSequence<Index...>) { [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 48 using testing::Return; 61 .WillRepeatedly(Return(NO_ERROR)); in RenderSurfaceTest() 90 EXPECT_CALL(*mNativeWindow, connect(NATIVE_WINDOW_API_EGL)).WillOnce(Return(NO_ERROR)); in TEST_F() 92 .WillOnce(Return(NO_ERROR)); in TEST_F() 93 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F() 136 .WillOnce(Return(NO_ERROR)); in TEST_F() 148 .WillOnce(Return(NO_ERROR)); in TEST_F() 156 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F() 165 .WillOnce(Return(NO_ERROR)); in TEST_F() 166 EXPECT_CALL(*mNativeWindow, setUsage(GRALLOC_USAGE_HW_RENDER)).WillOnce(Return(NO_ERROR)); in TEST_F() [all …]
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.h | 42 using ::android::hardware::Return; 53 virtual Return<HStatus> setMaxDequeuedBufferCount( 56 virtual Return<void> requestBuffer( 60 virtual Return<HStatus> setAsyncMode(bool async) override; 62 virtual Return<void> dequeueBuffer( 66 virtual Return<HStatus> detachBuffer(int32_t slot) override; 68 virtual Return<void> detachNextBuffer( 71 virtual Return<void> attachBuffer( 76 virtual Return<void> queueBuffer( 81 virtual Return<HStatus> cancelBuffer( [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmPlugin.h | 59 using ::android::hardware::Return; 74 Return<void> openSession(openSession_cb _hidl_cb) override; 75 Return<void> openSession_1_1(SecurityLevel securityLevel, 78 Return<Status> closeSession(const hidl_vec<uint8_t>& sessionId) override; 80 Return<void> getKeyRequest( 88 Return<void> getKeyRequest_1_1( 96 Return<void> getKeyRequest_1_2( 104 Return<void> provideKeyResponse( 109 Return<Status> removeKeys(const hidl_vec<uint8_t>& sessionId) { in removeKeys() 116 Return<Status> restoreKeys( [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorsWrapper.h | 30 using ::android::hardware::Return; 60 virtual Return<void> getSensorsList(ISensors::getSensorsList_cb _hidl_cb) = 0; 62 virtual Return<Result> setOperationMode(OperationMode mode) = 0; 64 virtual Return<Result> activate(int32_t sensorHandle, bool enabled) = 0; 66 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, 69 virtual Return<Result> flush(int32_t sensorHandle) = 0; 71 virtual Return<Result> injectSensorData(const Event& event) = 0; 73 virtual Return<void> registerDirectChannel(const SharedMemInfo& mem, 76 virtual Return<Result> unregisterDirectChannel(int32_t channelHandle) = 0; 78 virtual Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | client_tests.cpp | 31 using testing::Return; 179 EXPECT_CALL(*mock_channel(), event_fd()).WillOnce(Return(12)); in TEST_F() 185 .WillOnce(Return(Status<void>{})); in TEST_F() 189 .WillOnce(Return(ErrorStatus{EIO})); in TEST_F() 196 .WillOnce(Return(Status<void>{})); in TEST_F() 202 .WillOnce(Return(nullptr)); in TEST_F() 205 .WillOnce(Return(9)); in TEST_F() 213 .WillOnce(Return(kTransactionState)); in TEST_F() 217 .WillOnce(Return(3)); in TEST_F() 227 .WillOnce(Return(kTransactionState)); in TEST_F() [all …]
|
D | service_tests.cpp | 31 using testing::Return; 107 .WillRepeatedly(Return(Status<void>{})); in ServiceTest() 135 EXPECT_CALL(*endpoint(), AllocateMessageState()).WillOnce(Return(kState)); in SetupMessageInfoAndDefaultExpectations() 141 .WillOnce(Return(Status<void>{})); in ExpectDefaultHandleMessage() 176 EXPECT_CALL(*endpoint(), AllocateMessageState()).WillOnce(Return(kState)); in TEST_F() 204 EXPECT_CALL(*endpoint(), AllocateMessageState()).WillOnce(Return(nullptr)); in TEST_F() 227 EXPECT_CALL(*service_, OnChannelOpen(Ref(message))).WillOnce(Return(channel)); in TEST_F() 229 .WillOnce(Return(Status<void>{})); in TEST_F() 231 .WillOnce(Return(Status<void>{})); in TEST_F() 246 .WillOnce(Return(Status<void>{})); in TEST_F() [all …]
|
/frameworks/native/services/stats/include/stats/ |
D | StatsHal.h | 28 using android::hardware::Return; 40 virtual Return<void> reportSpeakerImpedance(const SpeakerImpedance& speakerImpedance) override; 45 virtual Return<void> reportHardwareFailed(const HardwareFailed& hardwareFailed) override; 50 virtual Return<void> reportPhysicalDropDetected( 56 virtual Return<void> reportChargeCycles(const ChargeCycles& chargeCycles) override; 61 virtual Return<void> reportBatteryHealthSnapshot( 67 virtual Return<void> reportSlowIo(const SlowIo& slowIo) override; 72 virtual Return<void> reportBatteryCausedShutdown( 78 virtual Return<void> reportUsbPortOverheatEvent( 84 virtual Return<void> reportSpeechDspStat( [all …]
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 38 using hardware::Return; 109 virtual Return<void> hardwareFailure(); 110 virtual Return<void> configChange(Result result, const BandConfig& config); 111 virtual Return<void> tuneComplete(Result result, const V1_0::ProgramInfo& info); 112 virtual Return<void> afSwitch(const V1_0::ProgramInfo& info); 113 virtual Return<void> antennaStateChange(bool connected); 114 virtual Return<void> trafficAnnouncement(bool active); 115 virtual Return<void> emergencyAnnouncement(bool active); 116 virtual Return<void> newMetadata(uint32_t channel, uint32_t subChannel, 118 virtual Return<void> tuneComplete_1_1(Result result, const ProgramSelector& selector); [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper_tests.cpp | 6 using testing::Return; 124 .WillOnce(Return(100)); in TEST_F() 132 .WillOnce(Return(20)); in TEST_F() 135 .WillOnce(Return(40)); in TEST_F() 138 .WillOnce(Return(40)); in TEST_F() 147 .WillOnce(Return(100)); in TEST_F() 164 .WillOnce(Return(50)); in TEST_F() 178 .WillOnce(Return(100)); in TEST_F() 186 .WillOnce(Return(20)); in TEST_F() 188 .WillOnce(Return(40)); in TEST_F() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | Component.h | 52 using ::android::hardware::Return; 76 virtual Return<Status> queue(const WorkBundle& workBundle) override; 77 virtual Return<void> flush(flush_cb _hidl_cb) override; 78 virtual Return<Status> drain(bool withEos) override; 79 virtual Return<Status> setOutputSurface( 82 virtual Return<void> connectToInputSurface( 85 virtual Return<void> connectToOmxInputSurface( 90 virtual Return<Status> disconnectFromInputSurface() override; 91 virtual Return<void> createBlockPool( 94 virtual Return<Status> destroyBlockPool(uint64_t blockPoolId) override; [all …]
|
D | ComponentStore.h | 51 using ::android::hardware::Return; 72 virtual Return<void> createComponent( 77 virtual Return<void> createInterface( 80 virtual Return<void> listComponents(listComponents_cb _hidl_cb) override; 81 virtual Return<void> createInputSurface( 83 virtual Return<void> getStructDescriptors( 86 virtual Return<sp<IClientManager>> getPoolClientManager() override; 87 virtual Return<Status> copyBuffer( 90 virtual Return<sp<IConfigurable>> getConfigurable() override; 95 virtual Return<void> debug(
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.h | 46 hal::Return<hal::ErrorStatus> copyTo(const hal::hidl_memory& dst) override; 47 hal::Return<hal::ErrorStatus> copyFrom(const hal::hidl_memory& src, 69 hal::Return<void> getCapabilities(getCapabilities_cb cb) override; 70 hal::Return<void> getCapabilities_1_1(getCapabilities_1_1_cb cb) override; 71 hal::Return<void> getCapabilities_1_2(getCapabilities_1_2_cb cb) override; 72 hal::Return<void> getVersionString(getVersionString_cb cb) override; 73 hal::Return<void> getType(getType_cb cb) override; 74 hal::Return<void> getSupportedExtensions(getSupportedExtensions_cb) override; 75 hal::Return<void> getSupportedOperations(const hal::V1_0::Model& model, 77 hal::Return<void> getSupportedOperations_1_1(const hal::V1_1::Model& model, [all …]
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | HidlCameraDeviceUser.h | 48 using hardware::Return; 68 virtual Return<void> disconnect() override; 70 virtual Return<void> getCaptureRequestMetadataQueue( 73 virtual Return<void> getCaptureResultMetadataQueue( 76 virtual Return<void> submitRequestList(const hidl_vec<HCaptureRequest>& requestList, 79 virtual Return<void> cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) override; 81 virtual Return<HStatus> beginConfigure() override; 83 virtual Return<HStatus> endConfigure(StreamConfigurationMode operatingMode, 86 virtual Return<HStatus> deleteStream(int32_t streamId) override; 88 virtual Return<void> createStream(const HOutputConfiguration& outputConfiguration, [all …]
|
D | HidlCameraDeviceUser.cpp | 40 using hardware::Return; 49 Return<void> HidlCameraDeviceUser::disconnect() { in disconnect() 83 Return<void> HidlCameraDeviceUser::getCaptureRequestMetadataQueue( in getCaptureRequestMetadataQueue() 91 Return<void> HidlCameraDeviceUser::getCaptureResultMetadataQueue( in getCaptureResultMetadataQueue() 161 Return<void> HidlCameraDeviceUser::submitRequestList(const hidl_vec<HCaptureRequest>& hRequestList, in submitRequestList() 185 Return<void> HidlCameraDeviceUser::cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) { in cancelRepeatingRequest() 192 Return<HStatus> HidlCameraDeviceUser::beginConfigure() { in beginConfigure() 197 Return<HStatus> HidlCameraDeviceUser::endConfigure(StreamConfigurationMode operatingMode, in endConfigure() 209 Return<HStatus> HidlCameraDeviceUser::deleteStream(int32_t streamId) { in deleteStream() 214 Return<void> HidlCameraDeviceUser::createStream(const HOutputConfiguration& hOutputConfiguration, in createStream() [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | WGraphicBufferSource.h | 51 using ::android::hardware::Return; 76 Return<Status> configure( 78 Return<Status> setSuspend(bool suspend, int64_t timeUs) override; 79 Return<Status> setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs) override; 80 Return<Status> setMaxFps(float maxFps) override; 81 Return<Status> setTimeLapseConfig(double fps, double captureFps) override; 82 Return<Status> setStartTimeUs(int64_t startTimeUs) override; 83 Return<Status> setStopTimeUs(int64_t stopTimeUs) override; 84 Return<void> getStopTimeOffsetUs(getStopTimeOffsetUs_cb _hidl_cb) override; 85 Return<Status> setColorAspects(const ColorAspects& aspects) override; [all …]
|
D | WOmxNode.h | 49 using ::android::hardware::Return; 112 Return<Status> freeNode() override; 113 Return<Status> sendCommand(uint32_t cmd, int32_t param) override; 114 Return<void> getParameter( 117 Return<Status> setParameter( 119 Return<void> getConfig( 122 Return<Status> setConfig( 124 Return<Status> setPortMode(uint32_t portIndex, PortMode mode) override; 125 Return<Status> prepareForAdaptivePlayback( 128 Return<void> configureVideoTunnelMode( [all …]
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | WOmxNode.h | 49 using ::android::hardware::Return; 111 Return<Status> freeNode() override; 112 Return<Status> sendCommand(uint32_t cmd, int32_t param) override; 113 Return<void> getParameter( 116 Return<Status> setParameter( 118 Return<void> getConfig( 121 Return<Status> setConfig( 123 Return<Status> setPortMode(uint32_t portIndex, PortMode mode) override; 124 Return<Status> prepareForAdaptivePlayback( 127 Return<void> configureVideoTunnelMode( [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 87 Return<void> onOmxExecuting() override { in onOmxExecuting() 92 Return<void> onOmxIdle() override { in onOmxIdle() 97 Return<void> onOmxLoaded() override { in onOmxLoaded() 102 Return<void> onInputBufferAdded(uint32_t bufferId) override { in onInputBufferAdded() 107 Return<void> onInputBufferEmptied( in onInputBufferEmptied() 123 Return<Status> TWGraphicBufferSource::configure( in configure() 132 Return<Status> err(omxNode->setInputSurface(mOmxBufferSource)); in configure() 192 Return<Status> TWGraphicBufferSource::setSuspend( in setSuspend() 197 Return<Status> TWGraphicBufferSource::setRepeatPreviousFrameDelayUs( in setRepeatPreviousFrameDelayUs() 202 Return<Status> TWGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() [all …]
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | WGraphicBufferProducer.h | 41 using ::android::hardware::Return; 68 …Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) overri… in requestBuffer() 79 Return<int32_t> setMaxDequeuedBufferCount(int32_t maxDequeuedBuffers) override { in setMaxDequeuedBufferCount() 84 Return<int32_t> setAsyncMode(bool async) override { in setAsyncMode() 88 Return<void> dequeueBuffer( in dequeueBuffer() 139 Return<int32_t> detachBuffer(int32_t slot) override { in detachBuffer() 143 Return<void> detachNextBuffer(HGraphicBufferProducer::detachNextBuffer_cb _hidl_cb) override { in detachNextBuffer() 170 …Return<void> attachBuffer(const AnwBuffer& buffer, HGraphicBufferProducer::attachBuffer_cb _hidl_c… in attachBuffer() 185 Return<void> queueBuffer( in queueBuffer() 221 Return<int32_t> cancelBuffer(int32_t slot, const hidl_handle& fence) override { in cancelBuffer() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestExecution.cpp | 80 Return<V1_0::ErrorStatus> execute(const V1_0::Request& request, in execute() 95 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, MeasureTiming measure, in execute_1_2() 113 Return<V1_3::ErrorStatus> execute_1_3(const V1_3::Request& request, MeasureTiming measure, in execute_1_3() 134 Return<void> executeSynchronously(const V1_0::Request& request, MeasureTiming measure, in executeSynchronously() 150 Return<void> executeSynchronously_1_3(const V1_3::Request& request, MeasureTiming measure, in executeSynchronously_1_3() 169 Return<void> configureExecutionBurst( in configureExecutionBurst() 189 Return<void> executeFenced(const V1_3::Request& request, const hidl_vec<hidl_handle>& waitFor, in executeFenced() 253 Return<V1_0::ErrorStatus> execute(const V1_0::Request& request, in execute() 258 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, MeasureTiming measure, in execute_1_2() 263 Return<void> executeSynchronously(const V1_0::Request& request, MeasureTiming measure, in executeSynchronously() [all …]
|
/frameworks/native/services/stats/ |
D | StatsHal.cpp | 33 hardware::Return<void> StatsHal::reportSpeakerImpedance( in reportSpeakerImpedance() 41 hardware::Return<void> StatsHal::reportHardwareFailed(const HardwareFailed& hardwareFailed) { in reportHardwareFailed() 48 hardware::Return<void> StatsHal::reportPhysicalDropDetected( in reportPhysicalDropDetected() 57 hardware::Return<void> StatsHal::reportChargeCycles(const ChargeCycles& chargeCycles) { in reportChargeCycles() 70 hardware::Return<void> StatsHal::reportBatteryHealthSnapshot( in reportBatteryHealthSnapshot() 81 hardware::Return<void> StatsHal::reportSlowIo(const SlowIo& slowIo) { in reportSlowIo() 87 hardware::Return<void> StatsHal::reportBatteryCausedShutdown( in reportBatteryCausedShutdown() 95 hardware::Return<void> StatsHal::reportUsbPortOverheatEvent( in reportUsbPortOverheatEvent() 105 hardware::Return<void> StatsHal::reportSpeechDspStat( in reportSpeechDspStat() 114 hardware::Return<void> StatsHal::reportVendorAtom(const VendorAtom& vendorAtom) { in reportVendorAtom()
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.cpp | 73 Return<HStatus> B2HGraphicBufferProducer::setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 83 Return<void> B2HGraphicBufferProducer::requestBuffer( in requestBuffer() 100 Return<HStatus> B2HGraphicBufferProducer::setAsyncMode(bool async) { in setAsyncMode() 106 Return<void> B2HGraphicBufferProducer::dequeueBuffer( in dequeueBuffer() 135 Return<HStatus> B2HGraphicBufferProducer::detachBuffer(int32_t slot) { in detachBuffer() 142 Return<void> B2HGraphicBufferProducer::detachNextBuffer( in detachNextBuffer() 159 Return<void> B2HGraphicBufferProducer::attachBuffer( in attachBuffer() 185 Return<void> B2HGraphicBufferProducer::queueBuffer( in queueBuffer() 231 Return<HStatus> B2HGraphicBufferProducer::cancelBuffer( in cancelBuffer() 245 Return<void> B2HGraphicBufferProducer::query(int32_t what, query_cb _hidl_cb) { in query() [all …]
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 376 hardware::Return<void> notifyCallback( 379 hardware::Return<uint32_t> registerMemory( 382 hardware::Return<void> unregisterMemory(uint32_t memId) override; 383 hardware::Return<void> dataCallback( 387 hardware::Return<void> dataCallbackTimestamp( 390 hardware::Return<void> handleCallbackTimestamp( 394 hardware::Return<void> handleCallbackTimestampBatch( 402 hardware::Return<void> dequeueBuffer(dequeueBuffer_cb _hidl_cb) override; 403 hardware::Return<hardware::camera::common::V1_0::Status> 405 hardware::Return<hardware::camera::common::V1_0::Status> [all …]
|