Home
last modified time | relevance | path

Searched refs:mTelemetryServer (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DCarTelemetryInternalImpl.cpp36 mTelemetryServer(server), in CarTelemetryInternalImpl()
43 mTelemetryServer->setListener(listener); in setListener()
56 mTelemetryServer->clearListener(); in setListener()
64 auto listener = mTelemetryServer->getListener(); in clearListener()
65 mTelemetryServer->clearListener(); in clearListener()
80 mTelemetryServer->addCarDataIds(ids); in addCarDataIds()
85 mTelemetryServer->removeCarDataIds(ids); in removeCarDataIds()
91 mTelemetryServer->dump(fd); in dump()
98 mTelemetryServer->clearListener(); in listenerBinderDiedImpl()
DCarTelemetryImpl.cpp32 CarTelemetryImpl::CarTelemetryImpl(TelemetryServer* server) : mTelemetryServer(server) {} in CarTelemetryImpl()
36 mTelemetryServer->writeCarData(dataList, publisherUid); in write()
42 auto result = mTelemetryServer->addCallback(config, callback); in addCallback()
52 auto result = mTelemetryServer->removeCallback(callback); in removeCallback()
DCarTelemetryInternalImpl.h60 TelemetryServer* mTelemetryServer; // not owned variable
DCarTelemetryImpl.h53 TelemetryServer* mTelemetryServer; // not owned
DTelemetryServer.cpp301 mTelemetryServer(server) {} in MessageHandlerImpl()
306 mTelemetryServer->pushCarDataToListeners(); in handleMessage()
DTelemetryServer.h171 TelemetryServer* mTelemetryServer; // not owned
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/
DTelemetryServerTest.cpp110 mTelemetryServer(&mFakeLooper, kPushCarDataDelayNs, kMaxBufferSize), in TelemetryServerTest()
114 mTelemetry(ndk::SharedRefBase::make<CarTelemetryImpl>(&mTelemetryServer)),
116 ndk::SharedRefBase::make<CarTelemetryInternalImpl>(&mTelemetryServer)) {}
126 mTelemetryServer.mCarDataIds.clear(); in TearDown()
127 mTelemetryServer.mCallbacks.clear(); in TearDown()
128 mTelemetryServer.mIdToCallbacksMap.clear(); in TearDown()
132 TelemetryServer mTelemetryServer; member in android::automotive::telemetry::TelemetryServerTest
174 EXPECT_EQ(3, mTelemetryServer.mCarDataIds.size()); in TEST_F()
179 EXPECT_EQ(1, mTelemetryServer.mCarDataIds.size()); in TEST_F()
180 EXPECT_NE(mTelemetryServer.mCarDataIds.end(), mTelemetryServer.mCarDataIds.find(102)); in TEST_F()
[all …]