Home
last modified time | relevance | path

Searched refs:mConverter (Results 1 – 12 of 12) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DDatabaseIndexingManager.java81 private IndexDataConverter mConverter; field in DatabaseIndexingManager
195 if (mConverter == null) { in getIndexData()
196 mConverter = getIndexDataConverter(); in getIndexData()
198 return mConverter.convertPreIndexDataToIndexData(data); in getIndexData()
203 if (mConverter == null) { in getSiteMapPairs()
204 mConverter = getIndexDataConverter(); in getSiteMapPairs()
206 return mConverter.convertSiteMapPairs(indexData, siteMapClassNames); in getSiteMapPairs()
220 if (mConverter == null) { in updateIndexDataPayload()
221 mConverter = getIndexDataConverter(); in updateIndexDataPayload()
223 return mConverter.updateIndexDataPayload(context, indexData); in updateIndexDataPayload()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/
DProcessCpuTimeConverterTest.java92 private ProcessCpuTimeConverter mConverter = new ProcessCpuTimeConverter(); field in ProcessCpuTimeConverterTest
100 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
102 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
130 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
145 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
DActivityForegroundStateChangedConverterTest.java93 private ActivityForegroundStateChangedConverter mConverter = field in ActivityForegroundStateChangedConverterTest
103 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
105 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
131 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
146 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
DWtfOccurredConverterTest.java68 private WtfOccurredConverter mConverter = new WtfOccurredConverter(); field in WtfOccurredConverterTest
75 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
77 PersistableBundle bundle = mConverter.convert(atomsList, null, null, null); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
102 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
DAnrOccurredConverterTest.java69 private AnrOccurredConverter mConverter = new AnrOccurredConverter(); field in AnrOccurredConverterTest
77 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
79 PersistableBundle bundle = mConverter.convert(atomsList, null, null, null); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
104 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
DAppCrashOccurredConverterTest.java68 private AppCrashOccurredConverter mConverter = new AppCrashOccurredConverter(); field in AppCrashOccurredConverterTest
76 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
78 PersistableBundle bundle = mConverter.convert(atomsList, null, null, null); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
103 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
DProcessStartTimeConverterTest.java78 private ProcessStartTimeConverter mConverter = new ProcessStartTimeConverter(); field in ProcessStartTimeConverterTest
86 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
88 PersistableBundle bundle = mConverter.convert(atomsList, null, null, null); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
117 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
DAppStartMemoryStateCapturedConverterTest.java107 private AppStartMemoryStateCapturedConverter mConverter = field in AppStartMemoryStateCapturedConverterTest
117 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
119 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
163 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
178 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
DProcessMemoryStateConverterTest.java107 private ProcessMemoryStateConverter mConverter = new ProcessMemoryStateConverter(); field in ProcessMemoryStateConverterTest
115 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
117 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
160 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
175 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
DProcessMemorySnapshotConverterTest.java110 private ProcessMemorySnapshotConverter mConverter = new ProcessMemorySnapshotConverter(); field in ProcessMemorySnapshotConverterTest
118 mConverter.getAtomFieldAccessorMap(); in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
120 PersistableBundle bundle = mConverter.convert(atomsList, DIM_FIELDS_IDS, in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
171 () -> mConverter.convert( in testAtomSetFieldInconsistency_throwsException()
186 () -> mConverter.convert( in testMalformedDimensionValue_throwsException()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java110 private final CursorToSearchResultConverter mConverter; field in DatabaseResultTask
115 mConverter = new CursorToSearchResultConverter(context); in DatabaseResultTask()
225 return mConverter.convertCursor(resultCursor, baseRank, mSiteMapManager); in query()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DIsolatedService.java513 @NonNull private final Function<T, U> mConverter; field in IsolatedService.WrappedCallback
521 mConverter = Objects.requireNonNull(converter); in WrappedCallback()
536 U wrappedResult = mConverter.apply(result); in onResult()