/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 …]
|
D | CryptoPlugin.h | 50 using ::android::hardware::Return; 63 Return<bool> requiresSecureDecoderComponent(const hidl_string& mime) { in requiresSecureDecoderComponent() 68 Return<void> notifyResolution(uint32_t width, uint32_t height) { in notifyResolution() 74 Return<void> decrypt( 86 Return<void> decrypt_1_2( 98 Return<void> setSharedBufferBase(const hidl_memory& base, 101 Return<Status> setMediaDrmSession(const hidl_vec<uint8_t>& sessionId); 103 Return<Status> getInitStatus() const { return mInitStatus; } in getInitStatus()
|
/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/ml/nn/driver/sample/ |
D | SampleDriver.h | 46 Return<void> getCapabilities(getCapabilities_cb cb) override; 47 Return<void> getCapabilities_1_1(getCapabilities_1_1_cb cb) override; 48 Return<void> getVersionString(getVersionString_cb cb) override; 49 Return<void> getType(getType_cb cb) override; 50 Return<void> getSupportedExtensions(getSupportedExtensions_cb) override; 51 Return<void> getSupportedOperations(const V1_0::Model& model, 53 Return<void> getSupportedOperations_1_1(const V1_1::Model& model, 55 Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override; 56 Return<ErrorStatus> prepareModel(const V1_0::Model& model, 58 Return<ErrorStatus> prepareModel_1_1(const V1_1::Model& model, ExecutionPreference preference, [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/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/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | expecting_objectwriter.h | 65 using testing::Return; 97 .WillOnce(Return(mock_)) in StartObject() 104 .WillOnce(Return(mock_)) in EndObject() 113 .WillOnce(Return(mock_)) in StartList() 120 .WillOnce(Return(mock_)) in EndList() 130 .WillOnce(Return(mock_)) in RenderBool() 140 .WillOnce(Return(mock_)) in RenderInt32() 150 .WillOnce(Return(mock_)) in RenderUint32() 160 .WillOnce(Return(mock_)) in RenderInt64() 170 .WillOnce(Return(mock_)) in RenderUint64() [all …]
|
/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 …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | Component.cpp | 57 Return<void> transStatus = listener->onError(Status::OK, errorCode); in onError_nb() 82 Return<void> transStatus = listener->onTripped(settingResults); in onTripped_nb() 118 Return<void> transStatus = listener->onWorkDone(workBundle); in onWorkDone_nb() 139 virtual Return<Status> queue(const WorkBundle& workBundle) override { in queue() 143 virtual Return<sp<IConfigurable>> getConfigurable() override { in getConfigurable() 166 Return<sp<IComponentInterface>> ret1 = component->getInterface(); in __anon1a37031e0102() 171 Return<sp<IConfigurable>> ret2 = in __anon1a37031e0102() 221 Return<Status> Component::queue(const WorkBundle& workBundle) { in queue() 239 Return<void> Component::flush(flush_cb _hidl_cb) { in flush() 271 Return<Status> Component::drain(bool withEos) { in drain() [all …]
|