/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/libs/gui/include/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.h | 42 using ::android::hardware::Return; 54 virtual Return<HStatus> setMaxDequeuedBufferCount( 57 virtual Return<void> requestBuffer( 61 virtual Return<HStatus> setAsyncMode(bool async) override; 63 virtual Return<void> dequeueBuffer( 67 virtual Return<HStatus> detachBuffer(int32_t slot) override; 69 virtual Return<void> detachNextBuffer( 72 virtual Return<void> attachBuffer( 77 virtual Return<void> queueBuffer( 82 virtual Return<HStatus> cancelBuffer( [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmPlugin.h | 62 using ::android::hardware::Return; 77 Return<void> openSession(openSession_cb _hidl_cb) override; 78 Return<void> openSession_1_1(SecurityLevel securityLevel, 81 Return<Status> closeSession(const hidl_vec<uint8_t>& sessionId) override; 83 Return<void> getKeyRequest( 91 Return<void> getKeyRequest_1_1( 99 Return<void> getKeyRequest_1_2( 107 Return<void> provideKeyResponse( 112 Return<Status> removeKeys(const hidl_vec<uint8_t>& sessionId) { in removeKeys() 119 Return<Status> restoreKeys( [all …]
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerService.h | 25 using android::hardware::Return; 38 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override; 39 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override; 40 Return<void> createClient(createClient_cb hidl_cb) override; 52 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override; 53 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override; 54 Return<void> createClient(createClient_cb hidl_cb) override; 66 Return<void> getCapabilities(getCapabilities_cb hidl_cb) override; 67 Return<void> dumpDebugInfo(dumpDebugInfo_cb hidl_cb) override; 68 Return<void> createClient(createClient_cb hidl_cb) override; [all …]
|
D | FakeComposerService.cpp | 41 Return<void> FakeComposerService_2_1::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() 47 Return<void> FakeComposerService_2_1::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() 53 Return<void> FakeComposerService_2_1::createClient(createClient_cb hidl_cb) { in createClient() 70 Return<void> FakeComposerService_2_2::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() 76 Return<void> FakeComposerService_2_2::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() 82 Return<void> FakeComposerService_2_2::createClient(createClient_cb hidl_cb) { in createClient() 99 Return<void> FakeComposerService_2_3::getCapabilities(getCapabilities_cb hidl_cb) { in getCapabilities() 105 Return<void> FakeComposerService_2_3::dumpDebugInfo(dumpDebugInfo_cb hidl_cb) { in dumpDebugInfo() 111 Return<void> FakeComposerService_2_3::createClient(createClient_cb hidl_cb) { in createClient() 120 Return<void> FakeComposerService_2_3::createClient_2_3(createClient_2_3_cb hidl_cb) { in createClient_2_3() [all …]
|
/frameworks/native/services/stats/include/stats/ |
D | StatsHal.h | 30 using android::hardware::Return; 42 virtual Return<void> reportSpeakerImpedance(const SpeakerImpedance& speakerImpedance) override; 47 virtual Return<void> reportHardwareFailed(const HardwareFailed& hardwareFailed) override; 52 virtual Return<void> reportPhysicalDropDetected( 58 virtual Return<void> reportChargeCycles(const ChargeCycles& chargeCycles) override; 63 virtual Return<void> reportBatteryHealthSnapshot( 69 virtual Return<void> reportSlowIo(const SlowIo& slowIo) override; 74 virtual Return<void> reportBatteryCausedShutdown( 80 virtual Return<void> reportUsbPortOverheatEvent( 86 virtual Return<void> reportSpeechDspStat( [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/av/media/codec2/hidl/1.2/utils/include/codec2/hidl/1.2/ |
D | Component.h | 55 using ::android::hardware::Return; 79 virtual Return<Status> queue(const WorkBundle& workBundle) override; 80 virtual Return<void> flush(flush_cb _hidl_cb) override; 81 virtual Return<Status> drain(bool withEos) override; 82 virtual Return<Status> setOutputSurface( 85 virtual Return<void> connectToInputSurface( 88 virtual Return<void> connectToOmxInputSurface( 93 virtual Return<Status> disconnectFromInputSurface() override; 94 virtual Return<void> createBlockPool( 97 virtual Return<Status> destroyBlockPool(uint64_t blockPoolId) override; [all …]
|
/frameworks/av/media/codec2/hidl/1.1/utils/include/codec2/hidl/1.1/ |
D | Component.h | 55 using ::android::hardware::Return; 79 virtual Return<Status> queue(const WorkBundle& workBundle) override; 80 virtual Return<void> flush(flush_cb _hidl_cb) override; 81 virtual Return<Status> drain(bool withEos) override; 82 virtual Return<Status> setOutputSurface( 85 virtual Return<void> connectToInputSurface( 88 virtual Return<void> connectToOmxInputSurface( 93 virtual Return<Status> disconnectFromInputSurface() override; 94 virtual Return<void> createBlockPool( 97 virtual Return<Status> destroyBlockPool(uint64_t blockPoolId) override; [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/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 …]
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | HidlCameraDeviceUser.h | 49 using hardware::Return; 69 virtual Return<void> disconnect() override; 71 virtual Return<void> getCaptureRequestMetadataQueue( 74 virtual Return<void> getCaptureResultMetadataQueue( 77 virtual Return<void> submitRequestList(const hidl_vec<HCaptureRequest>& requestList, 80 virtual Return<void> cancelRepeatingRequest(cancelRepeatingRequest_cb _hidl_cb) override; 82 virtual Return<HStatus> beginConfigure() override; 84 virtual Return<HStatus> endConfigure(StreamConfigurationMode operatingMode, 87 virtual Return<HStatus> endConfigure_2_1(StreamConfigurationMode operatingMode, 91 virtual Return<HStatus> deleteStream(int32_t streamId) override; [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/native/services/vibratorservice/test/ |
D | VibratorHalWrapperHidlV1_3Test.cpp | 49 MOCK_METHOD(hardware::Return<V1_0::Status>, on, (uint32_t timeoutMs), (override)); 50 MOCK_METHOD(hardware::Return<V1_0::Status>, off, (), (override)); 51 MOCK_METHOD(hardware::Return<bool>, supportsAmplitudeControl, (), (override)); 52 MOCK_METHOD(hardware::Return<bool>, supportsExternalControl, (), (override)); 53 MOCK_METHOD(hardware::Return<V1_0::Status>, setAmplitude, (uint8_t amplitude), (override)); 54 MOCK_METHOD(hardware::Return<V1_0::Status>, setExternalControl, (bool enabled), (override)); 55 MOCK_METHOD(hardware::Return<void>, perform, 57 MOCK_METHOD(hardware::Return<void>, perform_1_1, 60 MOCK_METHOD(hardware::Return<void>, perform_1_2, 62 MOCK_METHOD(hardware::Return<void>, perform_1_3, [all …]
|
D | VibratorHalWrapperAidlTest.cpp | 133 .WillRepeatedly(Return(mMockBinder.get())); in TEST_F() 136 .WillOnce(Return(android::OK)) in TEST_F() 137 .WillRepeatedly(Return(android::DEAD_OBJECT)); in TEST_F() 149 DoAll(SetArgPointee<0>(IVibrator::CAP_ON_CALLBACK), Return(Status()))); in TEST_F() 152 .WillRepeatedly(DoAll(TriggerCallbackInArg1(), Return(Status()))); in TEST_F() 155 .WillRepeatedly(Return( in TEST_F() 159 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 183 DoAll(SetArgPointee<0>(IVibrator::CAP_COMPOSE_EFFECTS), Return(Status()))); in TEST_F() 186 .WillRepeatedly(Return(Status())); in TEST_F() 192 .WillRepeatedly(Return(Status::fromStatusT(UNKNOWN_TRANSACTION))); in TEST_F() [all …]
|
D | VibratorManagerHalWrapperAidlTest.cpp | 141 .WillRepeatedly(Return(mMockBinder.get())); in TEST_F() 144 .WillOnce(Return(android::OK)) in TEST_F() 145 .WillRepeatedly(Return(android::DEAD_OBJECT)); in TEST_F() 155 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F() 156 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F() 157 .WillRepeatedly(DoAll(SetArgPointee<0>(IVibratorManager::CAP_SYNC), Return(Status()))); in TEST_F() 170 .WillRepeatedly(DoAll(SetArgPointee<0>(IVibratorManager::CAP_SYNC), Return(Status()))); in TEST_F() 191 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F() 192 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F() 193 .WillRepeatedly(DoAll(SetArgPointee<0>(kVibratorIds), Return(Status()))); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | WGraphicBufferSource.h | 49 using ::android::hardware::Return; 72 Return<Status> configure( 74 Return<Status> setSuspend(bool suspend, int64_t timeUs) override; 75 Return<Status> setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs) override; 76 Return<Status> setMaxFps(float maxFps) override; 77 Return<Status> setTimeLapseConfig(double fps, double captureFps) override; 78 Return<Status> setStartTimeUs(int64_t startTimeUs) override; 79 Return<Status> setStopTimeUs(int64_t stopTimeUs) override; 80 Return<void> getStopTimeOffsetUs(getStopTimeOffsetUs_cb _hidl_cb) override; 81 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/native/libs/renderengine/tests/ |
D | RenderEngineThreadedTest.cpp | 28 using testing::Return; 71 EXPECT_CALL(*mRenderEngine, getMaxTextureSize()).WillOnce(Return(size)); in TEST_F() 78 EXPECT_CALL(*mRenderEngine, getMaxTextureSize()).WillOnce(Return(size)); in TEST_F() 85 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 92 EXPECT_CALL(*mRenderEngine, getMaxViewportDims()).WillOnce(Return(dims)); in TEST_F() 98 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F() 104 EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(true)); in TEST_F() 110 EXPECT_CALL(*mRenderEngine, supportsProtectedContent()).WillOnce(Return(false)); in TEST_F() 116 EXPECT_CALL(*mRenderEngine, supportsProtectedContent()).WillOnce(Return(true)); in TEST_F() 123 auto& ipExpect = EXPECT_CALL(*mRenderEngine, isProtected()).WillOnce(Return(false)); in TEST_F() [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/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CompositionEngineTest.cpp | 36 using ::testing::Return; 141 EXPECT_CALL(*mOutput1, getOutputLayerCount()).WillRepeatedly(Return(0u)); in CompositionEngineUpdateCursorAsyncTest() 144 EXPECT_CALL(*mOutput2, getOutputLayerCount()).WillRepeatedly(Return(1u)); in CompositionEngineUpdateCursorAsyncTest() 146 .WillRepeatedly(Return(&mOutput2Layer1.outputLayer)); in CompositionEngineUpdateCursorAsyncTest() 148 EXPECT_CALL(*mOutput3, getOutputLayerCount()).WillRepeatedly(Return(2u)); in CompositionEngineUpdateCursorAsyncTest() 150 .WillRepeatedly(Return(&mOutput3Layer1.outputLayer)); in CompositionEngineUpdateCursorAsyncTest() 152 .WillRepeatedly(Return(&mOutput3Layer2.outputLayer)); in CompositionEngineUpdateCursorAsyncTest() 165 EXPECT_CALL(mOutput3Layer1.outputLayer, isHardwareCursor()).WillRepeatedly(Return(false)); in TEST_F() 166 EXPECT_CALL(mOutput3Layer2.outputLayer, isHardwareCursor()).WillRepeatedly(Return(false)); in TEST_F() 167 EXPECT_CALL(mOutput2Layer1.outputLayer, isHardwareCursor()).WillRepeatedly(Return(false)); in TEST_F() [all …]
|
D | RenderSurfaceTest.cpp | 45 using testing::Return; 53 EXPECT_CALL(mDisplay, getId()).WillRepeatedly(Return(DEFAULT_DISPLAY_ID)); in RenderSurfaceTest() 57 .WillRepeatedly(Return(NO_ERROR)); in RenderSurfaceTest() 87 EXPECT_CALL(*mNativeWindow, connect(NATIVE_WINDOW_API_EGL)).WillOnce(Return(NO_ERROR)); in TEST_F() 89 .WillOnce(Return(NO_ERROR)); in TEST_F() 91 .WillOnce(Return(NO_ERROR)); in TEST_F() 135 .WillOnce(Return(NO_ERROR)); in TEST_F() 149 .WillOnce(Return(NO_ERROR)); in TEST_F() 158 .WillOnce(Return(NO_ERROR)); in TEST_F() 169 .WillOnce(Return(NO_ERROR)); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 92 Return<void> onOmxExecuting() override { in onOmxExecuting() 97 Return<void> onOmxIdle() override { in onOmxIdle() 102 Return<void> onOmxLoaded() override { in onOmxLoaded() 107 Return<void> onInputBufferAdded(uint32_t bufferId) override { in onInputBufferAdded() 112 Return<void> onInputBufferEmptied( in onInputBufferEmptied() 128 Return<Status> TWGraphicBufferSource::configure( in configure() 137 Return<Status> err(omxNode->setInputSurface(mOmxBufferSource)); in configure() 197 Return<Status> TWGraphicBufferSource::setSuspend( in setSuspend() 202 Return<Status> TWGraphicBufferSource::setRepeatPreviousFrameDelayUs( in setRepeatPreviousFrameDelayUs() 207 Return<Status> TWGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() [all …]
|