Home
last modified time | relevance | path

Searched refs:Invoke (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp38 using testing::Invoke;
71 .WillByDefault(Invoke(this, &MockVoldService::getInvalidControlParcel)); in mountIncFsInvalidControlParcel()
75 .WillByDefault(Invoke(this, &MockVoldService::incFsSuccess)); in mountIncFsSuccess()
92 .WillByDefault(Invoke(this, &MockVoldService::setIncFsMountOptionsOk)); in setIncFsMountOptionsSuccess()
132 ON_CALL(*this, start(_)).WillByDefault(Invoke(this, &MockDataLoader::startOk)); in MockDataLoader()
133 ON_CALL(*this, stop(_)).WillByDefault(Invoke(this, &MockDataLoader::stopOk)); in MockDataLoader()
134 ON_CALL(*this, destroy(_)).WillByDefault(Invoke(this, &MockDataLoader::destroyOk)); in MockDataLoader()
136 .WillByDefault(Invoke(this, &MockDataLoader::prepareImageOk)); in MockDataLoader()
151 ON_CALL(*this, create(_, _, _, _)).WillByDefault(Invoke(this, &MockDataLoader::createOk)); in initializeCreateOk()
156 .WillByDefault(Invoke(this, &MockDataLoader::createOkNoStatus)); in initializeCreateOkNoStatus()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dremote_method.h98 Return Invoke() {
205 .Invoke();
242 .Invoke();
282 .Invoke();
336 static typename rpc::EnableIfDirectReturn<R, Status<R>> Invoke(Client& client,
346 static typename rpc::EnableIfNotDirectReturn<R, Status<R>> Invoke(
457 template Invoke<typename RemoteMethodType::Return>(
/frameworks/native/cmds/lshal/
Dtest.cpp148 Invoke([](const auto& iface, in SetUp()
381 ON_CALL(*mockList, getPidInfo(_,_)).WillByDefault(Invoke( in initMockList()
386 ON_CALL(*mockList, parseCmdline(_)).WillByDefault(Invoke(&getCmdlineFromId)); in initMockList()
387 ON_CALL(*mockList, postprocess()).WillByDefault(Invoke([&]() { in initMockList()
410 ON_CALL(*serviceManager, list(_)).WillByDefault(Invoke( in initMockServiceManager()
416 ON_CALL(*serviceManager, get(_, _)).WillByDefault(Invoke( in initMockServiceManager()
422 ON_CALL(*serviceManager, debugDump(_)).WillByDefault(Invoke( in initMockServiceManager()
431 ON_CALL(*passthruManager, debugDump(_)).WillByDefault(Invoke( in initMockServiceManager()
928 EXPECT_CALL(*serviceManager, list(_)).WillRepeatedly(Invoke([&](IServiceManager::list_cb cb) { in TEST_F()
938 Invoke([&](const hidl_string&, const hidl_string& instance) -> sp<IBase> { in TEST_F()
/frameworks/libs/net/common/netd/libnetdutils/
DSyscallsTest.cpp35 using testing::Invoke;
76 .WillOnce(Invoke([expected](Fd, sockaddr* addr, socklen_t* addrlen) { in TEST_F()
189 .WillOnce(Invoke( in TEST_F()
/frameworks/rs/
DrsScriptIntrinsic.h56 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override;
DrsScriptC.h37 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override;
DrsScript.cpp238 s->Invoke(rsc, slot, nullptr, 0); in rsi_ScriptInvoke()
244 s->Invoke(rsc, slot, nullptr, 0); in rsi_ScriptInvokeData()
249 s->Invoke(rsc, slot, data, len); in rsi_ScriptInvokeV()
DrsScriptIntrinsic.cpp76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() function in android::renderscript::ScriptIntrinsic
DrsScript.h139 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) = 0;
DrsScriptC.cpp241 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() function in ScriptC
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp28 using testing::Invoke;
361 EXPECT_CALL(*endpoint(), MessageReceive(_)).WillOnce(Invoke(on_receive)); in TEST_F()
375 EXPECT_CALL(*endpoint(), MessageReceive(_)).WillOnce(Invoke(on_receive)); in TEST_F()
649 .WillOnce(WithArg<1>(Invoke(make_file_handle))); in TEST_F()
668 .WillOnce(WithoutArgs(Invoke([] { return LocalHandle{-EIO}; }))); in TEST_F()
681 .WillOnce(WithArg<1>(Invoke(make_channel_handle))); in TEST_F()
699 .WillOnce(WithoutArgs(Invoke([] { in TEST_F()
Dclient_tests.cpp29 using testing::Invoke;
109 .WillByDefault(Invoke(this, &ClientChannelFactoryTest::OnConnect)); in ClientChannelFactoryTest()
345 .WillOnce(Invoke(this, &ClientChannelFactoryTest::OnConnect)); in TEST_F()
387 EXPECT_CALL(*client_, OnConnect()).WillOnce(Invoke([this] { in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp38 using testing::Invoke;
143 .WillRepeatedly(Invoke(mVSyncSetEnabledCallRecorder.getInvocable())); in EventThreadTest()
146 .WillRepeatedly(Invoke(mVSyncSetCallbackCallRecorder.getInvocable())); in EventThreadTest()
149 .WillRepeatedly(Invoke(mVSyncSetDurationCallRecorder.getInvocable())); in EventThreadTest()
198 EXPECT_CALL(*connection, postEvent(_)).WillRepeatedly(Invoke(recorder.getInvocable())); in createConnection()
DVSyncDispatchTimerQueueTest.cpp45 .WillByDefault(Invoke(this, &MockVSyncTracker::nextVSyncTime));
73 .WillByDefault(Invoke(this, &ControllableClock::alarmAtDefaultBehavior)); in ControllableClock()
74 ON_CALL(*this, now()).WillByDefault(Invoke(this, &ControllableClock::fakeTime)); in ControllableClock()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp38 using testing::Invoke;
377 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
430 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
478 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
529 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
580 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
820 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
882 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
1022 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).WillOnce(Invoke(drawLayers)); in TEST_F()
DFlattenerTest.cpp43 using testing::Invoke;
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DREADME.md137 - Invoke any synchronous callbacks if needed.
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp184 InvokeInst *Invoke = I->first; in UpgradeExceptionHandling() local
185 BasicBlock *UnwindDest = Invoke->getUnwindDest(); in UpgradeExceptionHandling()
210 Invoke->setUnwindDest(NewBB); in UpgradeExceptionHandling()
216 int Idx = PN->getBasicBlockIndex(Invoke->getParent()); in UpgradeExceptionHandling()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp55 using testing::Invoke;
1282 .WillRepeatedly(Invoke(this, &OutputRebuildLayerStacksTest::setTestCoverageValues)); in OutputRebuildLayerStacksTest()
3556 Invoke([&](const Region&, in TEST_F()
3591 Invoke([&](const Region&, in TEST_F()
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1196 case Instruction::Invoke: { in WriteInstruction()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp1194 case Instruction::Invoke: { in WriteInstruction()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1227 case Instruction::Invoke: { in WriteInstruction()
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto758 // ACTION: Settings > System > Gestures > Double tap > Invoke Assistant