Home
last modified time | relevance | path

Searched refs:mSession (Results 1 – 25 of 41) sorted by relevance

12

/hardware/interfaces/power/aidl/vts/
DVtsHalPowerTargetTest.cpp126 status = power->createHintSession(getpid(), getuid(), kSelfTids, 16666666L, &mSession); in SetUp()
133 std::shared_ptr<IPowerHintSession> mSession; member in aidl::android::hardware::power::__anonc06b81370111::PowerAidl
147 ASSERT_NE(nullptr, mSession); in SetUp()
161 SessionTag::OTHER, &mSessionConfig, &mSession); in SetUp()
166 ASSERT_NE(nullptr, mSession); in SetUp()
186 if (mSession) { in TearDown()
187 mSession->close(); in TearDown()
195 std::shared_ptr<IPowerHintSession> mSession; member in aidl::android::hardware::power::__anonc06b81370111::FMQAidl
295 ASSERT_TRUE(mSession->pause().isOk()); in TEST_P()
296 ASSERT_TRUE(mSession->resume().isOk()); in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/
DSessionTest.cpp93 mSession = ndk::SharedRefBase::make<Session>(1, 2, mCb, &mFakeFingerprintEngine, &mWorker); in SetUp()
94 ASSERT_TRUE(mSession != nullptr); in SetUp()
95 mSession->linkToDeath(mCb->asBinder().get()); in SetUp()
100 std::shared_ptr<Session> mSession; member in aidl::android::hardware::biometrics::fingerprint::SessionTest
109 ASSERT_TRUE(!mSession->isClosed()); in TEST_F()
112 ASSERT_TRUE(!mSession->isClosed()); in TEST_F()
114 onClientDeath(static_cast<void*>(mSession.get())); in TEST_F()
115 ASSERT_TRUE(mSession->isClosed()); in TEST_F()
/hardware/interfaces/camera/provider/aidl/vts/
DVtsAidlHalCameraProvider_TargetTest.cpp174 openEmptyDeviceSession(name, mProvider, &mSession /*out*/, &meta /*out*/, in TEST_P()
181 ret = mSession->close(); in TEST_P()
182 mSession = nullptr; in TEST_P()
313 openEmptyDeviceSession(name, mProvider, &mSession /*out*/, &meta /*out*/, in TEST_P()
355 ret = mSession->close(); in TEST_P()
356 mSession = nullptr; in TEST_P()
548 ret = device->open(cb, &mSession); in TEST_P()
552 ASSERT_NE(mSession, nullptr); in TEST_P()
560 ret = mSession->close(); in TEST_P()
561 mSession = nullptr; in TEST_P()
[all …]
Dcamera_aidl_test.cpp144 if (mSession != nullptr) { in TearDown()
145 ndk::ScopedAStatus ret = mSession->close(); in TearDown()
2455 openEmptyDeviceSession(name, mProvider, &mSession /*out*/, &meta /*out*/, in configureStreamUseCaseInternal()
2463 ndk::ScopedAStatus ret = mSession->close(); in configureStreamUseCaseInternal()
2464 mSession = nullptr; in configureStreamUseCaseInternal()
2526 ndk::ScopedAStatus ret = mSession->constructDefaultRequestSettings(reqTemplate, &req); in configureStreamUseCaseInternal()
2553 ret = mSession->configureStreams(config, &halStreams); in configureStreamUseCaseInternal()
2563 ret = mSession->close(); in configureStreamUseCaseInternal()
2564 mSession = nullptr; in configureStreamUseCaseInternal()
3725 openEmptyDeviceSession(name, mProvider, &mSession, &meta, &device); in processColorSpaceRequest()
[all …]
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp115 sp<ITunerSession> mSession; member in android::hardware::broadcastradio::V2_0::vts::BroadcastRadioHalTest
203 mSession.clear(); in TearDown()
209 EXPECT_EQ(nullptr, mSession.get()) << "Session is already open"; in openSession()
215 mSession = session; in openSession()
221 EXPECT_NE(nullptr, mSession.get()); in openSession()
223 return nullptr != mSession.get(); in openSession()
251 auto startResult = mSession->startProgramListUpdates(filter); in getProgramList()
261 auto stopResult = mSession->stopProgramListUpdates(); in getProgramList()
280 mSession.clear(); in TEST_P()
284 auto secondSession = mSession; in TEST_P()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp161 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
170 ASSERT_TRUE(mSession->close().isOk()); in TearDown()
179 std::shared_ptr<ISession> mSession; member in aidl::android::hardware::biometrics::fingerprint::__anon93029d5e0111::Fingerprint
197 ASSERT_TRUE(mSession->enroll(hat, &cancellationSignal).isOk()); in TEST_P()
210 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
227 ASSERT_TRUE(mSession->revokeChallenge(nonexistentChallenge).isOk()); in TEST_P()
237 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
245 ASSERT_TRUE(mSession->revokeChallenge(mCb->mGeneratedChallenge).isOk()); in TEST_P()
255 ASSERT_TRUE(mSession->enumerateEnrollments().isOk()); in TEST_P()
264 ASSERT_TRUE(mSession->removeEnrollments({}).isOk()); in TEST_P()
[all …]
/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp180 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
189 ASSERT_TRUE(mSession->close().isOk()); in TearDown()
198 std::shared_ptr<ISession> mSession; member in aidl::android::hardware::biometrics::face::__anon6530394c0111::Face
217 mSession->enroll(hat, EnrollmentType::DEFAULT, {}, std::nullopt, &cancellationSignal) in TEST_P()
233 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
250 ASSERT_TRUE(mSession->revokeChallenge(nonexistentChallenge).isOk()); in TEST_P()
260 ASSERT_TRUE(mSession->generateChallenge().isOk()); in TEST_P()
268 ASSERT_TRUE(mSession->revokeChallenge(mCb->mGeneratedChallenge).isOk()); in TEST_P()
278 ASSERT_TRUE(mSession->enumerateEnrollments().isOk()); in TEST_P()
287 ASSERT_TRUE(mSession->removeEnrollments({}).isOk()); in TEST_P()
[all …]
/hardware/interfaces/radio/aidl/vts/
Dradio_imsmedia_test.cpp67 ASSERT_NE(nullptr, radio_imsmedialistener->mSession); in TEST_P()
69 radio_imsmediasession = radio_imsmedialistener->mSession; in TEST_P()
115 ASSERT_NE(nullptr, radio_imsmedialistener->mSession); in TEST_P()
117 radio_imsmediasession = radio_imsmedialistener->mSession; in TEST_P()
170 ASSERT_NE(nullptr, radio_imsmedialistener->mSession); in TEST_P()
172 radio_imsmediasession = radio_imsmedialistener->mSession; in TEST_P()
219 ASSERT_NE(nullptr, radio_imsmedialistener->mSession); in TEST_P()
221 radio_imsmediasession = radio_imsmedialistener->mSession; in TEST_P()
291 ASSERT_NE(nullptr, radio_imsmedialistener->mSession); in TEST_P()
293 radio_imsmediasession = radio_imsmedialistener->mSession; in TEST_P()
Dradio_imsmedia_listener.cpp24 mSession = in_session; in onOpenSessionSuccess()
/hardware/interfaces/biometrics/face/aidl/default/
DFace.cpp86 mSession = SharedRefBase::make<Session>(std::make_unique<FakeFaceEngine>(), cb); in createSession()
87 *return_val = mSession; in createSession()
89 mSession->linkToDeath(cb->asBinder().get()); in createSession()
109 if (mSession != nullptr) { in dump()
110 ::android::base::WriteStringToFd(mSession->toString(), fd); in dump()
DFace.h26 Face() : mSession(nullptr) {} in Face()
37 std::shared_ptr<Session> mSession;
/hardware/interfaces/broadcastradio/2.0/default/
DBroadcastRadio.cpp116 auto oldSession = mSession.promote(); in openSession()
120 mSession = nullptr; in openSession()
123 mSession = newSession; in openSession()
DBroadcastRadio.h51 wp<TunerSession> mSession; member
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp74 if (mSession == nullptr) { in setConnectionStatus()
77 sp<CameraDeviceSession> session = mSession.promote(); in setConnectionStatus()
199 session = mSession.promote(); in open()
261 mSession = session; in open()
290 if (mSession == nullptr) { in dumpState()
294 sp<CameraDeviceSession> session = mSession.promote(); in dumpState()
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFingerprint.cpp101 CHECK(mSession == nullptr || mSession->isClosed()) << "Open session already exists!"; in createSession()
103 mSession = SharedRefBase::make<Session>(sensorId, userId, cb, mEngine.get(), &mWorker); in createSession()
104 *out = mSession; in createSession()
106 mSession->linkToDeath(cb->asBinder().get()); in createSession()
/hardware/interfaces/automotive/sv/1.0/vts/functional/
DSurroundViewStreamHandler.cpp24 mSession(pSession), in SurroundViewServiceHandler()
85 mSession->doneWithFrames(svFramesDesc); in receiveFrames()
DSurroundViewStreamHandler.h50 sp<ISurroundViewSession> mSession; variable
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.h215 Session mSession; member
372 mPipeBook[(int)dest].mSession = PipeBook::START; in startSession()
376 return (mPipeBook[(int)dest].mSession == PipeBook::START); in sessionInProgress()
380 return (mPipeBook[(int)dest].mSession == PipeBook::END); in isSessionEnded()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.h223 Session mSession; member
393 mPipeBook[(int)dest].mSession = PipeBook::START; in startSession()
397 return (mPipeBook[(int)dest].mSession == PipeBook::START); in sessionInProgress()
401 return (mPipeBook[(int)dest].mSession == PipeBook::END); in isSessionEnded()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.h240 Session mSession; member
425 mPipeBook[(int)dest].mSession = PipeBook::START; in startSession()
429 return (mPipeBook[(int)dest].mSession == PipeBook::START); in sessionInProgress()
433 return (mPipeBook[(int)dest].mSession == PipeBook::END); in isSessionEnded()
/hardware/interfaces/automotive/sv/1.0/default/tests/fuzzer/
DSurroundViewStream.h50 sp<ISurroundViewSession> mSession; variable
DSurroundViewStream.cpp24 : mSession(pSession), mReceiveFramesCount(0) {} in SurroundViewStream()
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DFingerprint.h63 std::shared_ptr<Session> mSession; variable
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.h75 RequestQueue(): mSession(0) { in RequestQueue()
80 void inline setSession(uint32_t session) { mSession = session; } in setSession()
88 mSession = session; in reset()
101 uint32_t getSession() { return mSession; } in getSession()
103 uint32_t mSession;
/hardware/qcom/sm8150p/gps/location/
DLocationAPIClientBase.h78 RequestQueue(): mSession(0), mSessionArrayPtr(nullptr) { in RequestQueue()
83 void inline setSession(uint32_t session) { mSession = session; } in setSession()
92 mSession = session; in reset()
109 uint32_t getSession() { return mSession; } in getSession()
112 uint32_t mSession;

12