Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/telemetry/
DResultStore.java259 public PersistableBundle getPublisherData(@NonNull String publisherName, boolean deleteData) { in getPublisherData() argument
260 PersistableBundle data = mPublisherCache.get(publisherName); in getPublisherData()
263 mPublisherCache.remove(publisherName); in getPublisherData()
268 File file = new File(mPublisherDataDirectory, publisherName); in getPublisherData()
343 @NonNull String publisherName, @NonNull PersistableBundle data) { in putPublisherData()
344 mPublisherCache.put(publisherName, data); in putPublisherData()
374 public void removePublisherData(@NonNull String publisherName) { in removePublisherData() argument
375 mPublisherCache.remove(publisherName); in removePublisherData()
376 IoUtils.deleteSilently(mPublisherDataDirectory, publisherName); in removePublisherData()
473 mPublisherCache.forEach((publisherName, bundle) -> { in writePublisherCacheToFile() argument
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java461 String publisherName = "publisher 1"; in testRemovePublisherData() local
462 writeBundleToFile(mTestPublisherDataDir, publisherName, TEST_PUBLISHER_BUNDLE); in testRemovePublisherData()
465 mResultStore.removePublisherData(publisherName); in testRemovePublisherData()
467 assertThat(mResultStore.getPublisherData(publisherName, true)).isNull(); in testRemovePublisherData()