Searched refs:mTelemetryServer (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/cpp/telemetry/cartelemetryd/src/ |
D | CarTelemetryInternalImpl.cpp | 36 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()
|
D | CarTelemetryImpl.cpp | 32 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()
|
D | CarTelemetryInternalImpl.h | 60 TelemetryServer* mTelemetryServer; // not owned variable
|
D | CarTelemetryImpl.h | 53 TelemetryServer* mTelemetryServer; // not owned
|
D | TelemetryServer.cpp | 301 mTelemetryServer(server) {} in MessageHandlerImpl() 306 mTelemetryServer->pushCarDataToListeners(); in handleMessage()
|
D | TelemetryServer.h | 171 TelemetryServer* mTelemetryServer; // not owned
|
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/ |
D | TelemetryServerTest.cpp | 110 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 …]
|