Home
last modified time | relevance | path

Searched refs:mService (Results 1 – 25 of 47) sorted by relevance

12

/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TargetTest.h66 mService = ITuner::getService(GetParam()); in SetUp()
67 ASSERT_NE(mService, nullptr); in SetUp()
70 mFrontendTests.setService(mService); in SetUp()
78 sp<ITuner> mService; variable
87 mService = ITuner::getService(GetParam()); in SetUp()
88 ASSERT_NE(mService, nullptr); in SetUp()
91 mLnbTests.setService(mService); in SetUp()
99 sp<ITuner> mService; variable
108 mService = ITuner::getService(GetParam()); in SetUp()
109 ASSERT_NE(mService, nullptr); in SetUp()
[all …]
DLnbTests.cpp35 mService->getLnbIds([&](Result result, const hidl_vec<uint32_t>& lnbIds) { in getLnbIds()
44 mService->openLnbById(lnbId, [&](Result result, const sp<ILnb>& lnb) { in openLnbById()
53 mService->openLnbByName(lnbName, [&](Result result, uint32_t lnbId, const sp<ILnb>& lnb) { in openLnbByName()
DDemuxTests.h43 void setService(sp<ITuner> tuner) { mService = tuner; } in setService()
57 sp<ITuner> mService; variable
DDemuxTests.cpp21 mService->openDemux([&](Result result, uint32_t id, const sp<IDemux>& demuxSp) { in openDemux()
42 mService->getDemuxCaps([&](Result result, DemuxCapabilities caps) { in getDemuxCaps()
DLnbTests.h63 void setService(sp<ITuner> tuner) { mService = tuner; } in setService()
80 sp<ITuner> mService; variable
/hardware/interfaces/tv/tuner/aidl/vts/functional/
DVtsHalTvTunerTargetTest.h98 mService = ITuner::fromBinder(binder); in SetUp()
100 mService = nullptr; in SetUp()
102 ASSERT_NE(mService, nullptr); in SetUp()
105 mLnbTests.setService(mService); in SetUp()
110 mService = nullptr; in TearDown()
118 std::shared_ptr<ITuner> mService; variable
129 mService = ITuner::fromBinder(binder); in SetUp()
131 mService = nullptr; in SetUp()
133 ASSERT_NE(mService, nullptr); in SetUp()
136 mFrontendTests.setService(mService); in SetUp()
[all …]
DDemuxTests.cpp21 status = mService->getDemuxIds(&demuxIds); in getDemuxIds()
27 auto status = mService->openDemux(&id, &mDemux); in openDemux()
36 auto status = mService->openDemuxById(demuxId, &mDemux); in openDemuxById()
50 auto status = mService->getDemuxCaps(&demuxCaps); in getDemuxCaps()
55 auto status = mService->getDemuxInfo(demuxId, &demuxInfo); in getDemuxInfo()
DLnbTests.cpp37 status = mService->getLnbIds(&ids); in getLnbIds()
43 status = mService->openLnbById(lnbId, &mLnb); in openLnbById()
50 status = mService->openLnbByName(lnbName, &ids, &mLnb); in openLnbByName()
DDemuxTests.h34 void setService(std::shared_ptr<ITuner> tuner) { mService = tuner; } in setService()
51 std::shared_ptr<ITuner> mService; variable
DLnbTests.h52 void setService(std::shared_ptr<ITuner> tuner) { mService = tuner; } in setService()
69 std::shared_ptr<ITuner> mService; variable
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DVtsHalTvTunerV1_1TargetTest.h55 mService = ITuner::getService(GetParam()); in SetUp()
56 ASSERT_NE(mService, nullptr); in SetUp()
59 mFrontendTests.setService(mService); in SetUp()
60 mDemuxTests.setService(mService); in SetUp()
61 mFilterTests.setService(mService); in SetUp()
72 sp<ITuner> mService; variable
83 mService = ITuner::getService(GetParam()); in SetUp()
84 ASSERT_NE(mService, nullptr); in SetUp()
87 mFrontendTests.setService(mService); in SetUp()
88 mDemuxTests.setService(mService); in SetUp()
[all …]
DDemuxTests.h43 void setService(sp<ITuner> tuner) { mService = tuner; } in setService()
54 sp<ITuner> mService; variable
/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/
DVtsHalBiometricsFingerprintV2_1TargetTest.cpp190 mService = IBiometricsFingerprint::getService(GetParam()); in SetUp()
191 ASSERT_FALSE(mService == nullptr); in SetUp()
212 Return<RequestStatus> res = mService->setActiveGroup(kGroupId, kTmpDir); in SetUp()
218 sp<IBiometricsFingerprint> mService; member in __anon61655c830111::FingerprintHidlTest
224 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P()
230 Return<uint64_t> rc = mService->setNotify(NULL); in TEST_P()
239 uint64_t res = static_cast<uint64_t>(mService->preEnroll()); in TEST_P()
249 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P()
257 Return<RequestStatus> res = mService->enroll(token, kGroupId, kTimeout); in TEST_P()
268 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P()
[all …]
/hardware/interfaces/automotive/ivn_android_device/impl/default/test/
DIvnAndroidDeviceServiceUnittest.cpp39 mService = ndk::SharedRefBase::make<IvnAndroidDeviceService>( in SetUp()
41 mService->init(); in SetUp()
44 std::shared_ptr<IvnAndroidDeviceService> mService; member in android::hardware::automotive::ivn::IvnAndroidDeviceServiceUnitTest
50 ScopedAStatus status = mService->getMyDeviceId(&deviceId); in TEST_F()
59 ScopedAStatus status = mService->getOtherDeviceIds(&deviceIds); in TEST_F()
68 ScopedAStatus status = mService->getDeviceIdForOccupantZone(/*zoneId=*/0, &deviceId); in TEST_F()
73 status = mService->getDeviceIdForOccupantZone(/*zoneId=*/1, &deviceId); in TEST_F()
78 status = mService->getDeviceIdForOccupantZone(/*zoneId=*/2, &deviceId); in TEST_F()
83 status = mService->getDeviceIdForOccupantZone(/*zoneId=*/3, &deviceId); in TEST_F()
88 status = mService->getDeviceIdForOccupantZone(/*zoneId=*/4, &deviceId); in TEST_F()
[all …]
/hardware/interfaces/biometrics/fingerprint/2.3/vts/functional/
DVtsHalBiometricsFingerprintV2_3TargetTest.cpp39 mService = IBiometricsFingerprint::getService(GetParam()); in SetUp()
40 ASSERT_NE(mService, nullptr); in SetUp()
43 sp<IBiometricsFingerprint> mService; member in __anon70a377470111::FingerprintHidlTest
50 ASSERT_OK(mService->isUdfps(sensorId)); in TEST_P()
55 ASSERT_OK(mService->onFingerDown(1, 2, 3.0f, 4.0f)); in TEST_P()
60 ASSERT_OK(mService->onFingerUp()); in TEST_P()
/hardware/interfaces/biometrics/face/1.0/vts/functional/
DVtsHalBiometricsFaceV1_0TargetTest.cpp133 mService = IBiometricsFace::getService(GetParam()); in SetUp()
134 ASSERT_NE(mService, nullptr); in SetUp()
137 Return<void> ret1 = mService->setCallback(mCallback, [](const OptionalUint64& res) { in SetUp()
144 Return<Status> ret2 = mService->setActiveUser(kUserId, kFacedataDir); in SetUp()
153 sp<IBiometricsFace> mService; member in __anonf975a1cd0111::FaceHidlTest
163 mService->generateChallenge(kTimeoutSec, [&m](const OptionalUint64& res) { in TEST_P()
181 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
202 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
219 Return<Status> ret = mService->setFeature(Feature::REQUIRE_DIVERSITY, false, token, 0); in TEST_P()
234 Return<Status> ret = mService->setFeature(Feature::REQUIRE_DIVERSITY, false, token, 0); in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/2.2/vts/functional/
DVtsHalBiometricsFingerprintV2_2TargetTest.cpp90 mService = IBiometricsFingerprint::getService(GetParam()); in SetUp()
91 ASSERT_NE(mService, nullptr); in SetUp()
94 Return<uint64_t> ret1 = mService->setNotify(mCallback); in SetUp()
117 Return<RequestStatus> res = mService->setActiveGroup(kGroupId, tmpDir); in SetUp()
121 sp<IBiometricsFingerprint> mService; member in __anon690469e50111::FingerprintHidlTest
/hardware/google/aemu/host-common/include/host-common/
DAndroidPipe.h213 return mService ? mService->name().c_str() : "<null>"; in name()
254 : mHwPipe(hwPipe), mService(service) {} in AndroidPipe()
257 Service* mService = nullptr; variable
/hardware/interfaces/soundtrigger/aidl/cli/java/android/hardware/soundtrigger3/cli/
DSthalCli.java67 private static SoundTriggerImpl mService; field in SthalCli
75 mService = new SoundTriggerImpl(); in main()
77 mService.forceDowngradeToSystemStability(); in main()
78 ServiceManager.addService(ISoundTriggerHw.class.getCanonicalName() + "/mock", mService); in main() local
109 mService.sendOnResourcesAvailable(); in processCommand()
113 mService.sendModelUnloaded(Integer.parseInt(tokens[1])); in processCommand()
117 mService.sendRecognitionEvent(Integer.parseInt(tokens[1]), in processCommand()
122 mService.sendPhraseRecognitionEvent(Integer.parseInt(tokens[1]), in processCommand()
127 mService.dumpModels(); in processCommand()
/hardware/interfaces/cas/aidl/vts/functional/
DVtsHalCasAidlTargetTest.cpp261 mService = IMediaCasService::fromBinder(binder); in SetUp()
263 mService = nullptr; in SetUp()
265 ASSERT_NE(mService, nullptr); in SetUp()
268 shared_ptr<IMediaCasService> mService = nullptr; member in MediaCasAidlTest
301 auto status = mService->isSystemIdSupported(caSystemId, &isSystemIdSupported); in createCasPlugin()
307 status = mService->isDescramblerSupported(caSystemId, &isDescramblerSupported); in createCasPlugin()
315 status = mService->createPlugin(caSystemId, mCasListener, &mMediaCas); in createCasPlugin()
327 status = mService->createDescrambler(caSystemId, &mDescrambler); in createCasPlugin()
432 EXPECT_TRUE(mService->enumeratePlugins(&descriptors).isOk()); in TEST_P()
450 auto status = mService->isSystemIdSupported(INVALID_SYSTEM_ID, &isSystemIdSupported); in TEST_P()
[all …]
/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp292 return mService != nullptr && mService->isServiceRegistered(); in isOperable()
295 return mService->sendIndToClient(msgId, data, length); in send()
297 inline LocIpcQcsiSender(shared_ptr<QcsiService>& service) : mService(service) {} in LocIpcQcsiSender()
304 inline virtual ssize_t recv() const override { return mService->recv(); } in recv()
307 LocIpcQcsiSender(service), LocIpcRecver(mService->getDataCallback(), *this) { in LocIpcQcsiRecver()
311 inline virtual const char* getName() const override { return mService->getName().data(); }; in getName()
312 inline virtual void abort() const override { if (isSendable()) mService->abort(); } in abort()
313 shared_ptr<LocIpcQcsiSender> getSender() { return make_pare<LocIpcQcsiSender>(mService); } in getSender()
/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp220 mService = IMediaCasService::getService(GetParam()); in SetUp()
221 ASSERT_NE(mService, nullptr); in SetUp()
224 sp<IMediaCasService> mService = nullptr; member in __anon1748e06c0111::MediaCasHidlTest
258 auto status = mService->isSystemIdSupported(caSystemId); in createCasPlugin()
263 status = mService->isDescramblerSupported(caSystemId); in createCasPlugin()
275 auto pluginStatus = mService->createPlugin(caSystemId, mCasListener); in createCasPlugin()
288 auto descramblerStatus = mService->createDescrambler(caSystemId); in createCasPlugin()
431 EXPECT_TRUE(mService in TEST_P()
453 ASSERT_FALSE(mService->isSystemIdSupported(INVALID_SYSTEM_ID)); in TEST_P()
454 ASSERT_FALSE(mService->isDescramblerSupported(INVALID_SYSTEM_ID)); in TEST_P()
[all …]
/hardware/interfaces/soundtrigger/2.3/cli/java/android/hardware/soundtrigger/V2_3/cli/
DSthalCli.java52 private static SoundTriggerImpl mService; field in SthalCli
59 mService = new SoundTriggerImpl(); in main()
60 mService.registerAsService("mock"); in main()
91 mService.sendRecognitionEvent(Integer.parseInt(tokens[1]), in processCommand()
96 mService.sendPhraseRecognitionEvent(Integer.parseInt(tokens[1]), in processCommand()
101 mService.dumpModels(); in processCommand()
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/test/
DTestWakeupClientServiceImplUnitTest.cpp57 mService.reset(); in SetUp()
60 mService = std::make_unique<MyTestWakeupClientServiceImpl>(); in SetUp()
64 WakeupClientServiceImpl wakeupClientService(mService.get()); in SetUp()
95 mService->stopServer(); in TearDown()
101 mService.reset(); in TearDown()
161 std::unique_ptr<MyTestWakeupClientServiceImpl> mService; member in android::hardware::automotive::remoteaccess::test::TestWakeupClientServiceImplUnitTest
/hardware/interfaces/cas/1.1/vts/functional/
DVtsHalCasV1_1TargetTest.cpp263 mService = IMediaCasService::getService(GetParam()); in SetUp()
264 ASSERT_NE(mService, nullptr); in SetUp()
267 sp<IMediaCasService> mService = nullptr; member in __anonbfd8ef8e0111::MediaCasHidlTest
299 auto status = mService->isSystemIdSupported(caSystemId); in createCasPlugin()
304 status = mService->isDescramblerSupported(caSystemId); in createCasPlugin()
316 auto pluginStatus = mService->createPluginExt(caSystemId, mCasListener); in createCasPlugin()
329 auto descramblerStatus = mService->createDescrambler(caSystemId); in createCasPlugin()

12