Home
last modified time | relevance | path

Searched refs:mVehiclePropertyPublisher (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
H A DVehiclePropertyPublisherTest.java101 private VehiclePropertyPublisher mVehiclePropertyPublisher; field in VehiclePropertyPublisherTest
108 mVehiclePropertyPublisher = new VehiclePropertyPublisher( in setUp()
116 mVehiclePropertyPublisher.addDataSubscriber(mMockDataSubscriber); in testAddDataSubscriber_registersNewCallback()
127 mVehiclePropertyPublisher.addDataSubscriber(mMockDataSubscriber); in testAddDataSubscriber_withSamePropertyId_registersSingleListener()
128 mVehiclePropertyPublisher.addDataSubscriber(subscriber2); in testAddDataSubscriber_withSamePropertyId_registersSingleListener()
167 mVehiclePropertyPublisher.addDataSubscriber(mMockDataSubscriber); in testRemoveDataSubscriber_succeeds()
169 mVehiclePropertyPublisher.removeDataSubscriber(mMockDataSubscriber); in testRemoveDataSubscriber_succeeds()
184 mVehiclePropertyPublisher.addDataSubscriber(mMockDataSubscriber); in testRemoveAllDataSubscribers_succeeds()
185 mVehiclePropertyPublisher.addDataSubscriber(subscriber2); in testRemoveAllDataSubscribers_succeeds()
187 mVehiclePropertyPublisher.removeAllDataSubscribers(); in testRemoveAllDataSubscribers_succeeds()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/telemetry/publisher/
H A DPublisherFactory.java41 private VehiclePropertyPublisher mVehiclePropertyPublisher; field in PublisherFactory
64 if (mVehiclePropertyPublisher == null) { in getPublisher()
65 mVehiclePropertyPublisher = new VehiclePropertyPublisher( in getPublisher()
68 return mVehiclePropertyPublisher; in getPublisher()
93 if (mVehiclePropertyPublisher != null) { in removeAllDataSubscribers()
94 mVehiclePropertyPublisher.removeAllDataSubscribers(); in removeAllDataSubscribers()