Home
last modified time | relevance | path

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

1234567891011

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dargument_encoder.h40 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 …]
Dremote_method.h71 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/
DRenderSurfaceTest.cpp48 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/
DB2HGraphicBufferProducer.h42 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/
DDrmPlugin.h59 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 …]
DCryptoPlugin.h50 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/
DSensorsWrapper.h30 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/
DSampleDriver.h46 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/
Dclient_tests.cpp31 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 …]
Dservice_tests.cpp31 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/
DTunerCallback.cpp38 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/
Dipc_helper_tests.cpp6 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/
DComponent.h52 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 …]
DComponentStore.h51 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/
DHidlCameraDeviceUser.h48 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 …]
DHidlCameraDeviceUser.cpp40 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/
DWGraphicBufferSource.h51 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 …]
DWOmxNode.h49 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/
DWOmxNode.h49 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/
DWGraphicBufferSource.cpp87 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/
DWGraphicBufferProducer.h41 using ::android::hardware::Return;
68Return<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()
170Return<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/
Dexpecting_objectwriter.h65 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/
DB2HGraphicBufferProducer.cpp73 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/
DCameraHardwareInterface.h376 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/
DComponent.cpp57 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 …]

1234567891011