Home
last modified time | relevance | path

Searched refs:mConfigData (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/
DCarMetricsCollectorService.java56 private Map<String, IConfigData> mConfigData = new HashMap<>(); field in CarMetricsCollectorService
73 return new ArrayList<>(mConfigData.values());
111 IConfigData configData = mConfigData.get(configName);
162 mConfigData.get(configName).selected = false; in removeMetricsConfig()
167 if (mConfigData.get(configName).selected) { in addActiveConfigs()
180 if (!mConfigData.containsKey(config.getName()) in updateConfigData()
181 || mConfigData.get(config.getName()).version < config.getVersion()) { in updateConfigData()
186 mConfigData.put(config.getName(), configData); in updateConfigData()
192 Set<String> keys = mConfigData.keySet(); in updateConfigData()
195 mConfigData.remove(name); in updateConfigData()
[all …]
DCarTelemetryActivity.java62 private List<IConfigData> mConfigData = new ArrayList<>(); field in CarTelemetryActivity
142 mConfigData.get(mConfigNameIndex.get(configName)).selected = true; in onServiceBound()
163 mConfigData.set(mConfigNameIndex.get(metricsConfigName), configData); in onServiceBound()
191 mConfigData = mService.getConfigData(); in onServiceBound()
197 for (int i = 0; i < mConfigData.size(); i++) { in onServiceBound()
198 mConfigNameIndex.put(mConfigData.get(i).name, i); in onServiceBound()
200 if (mConfigData.size() != 0) { in onServiceBound()
201 mSelectedInfoConfig = mConfigData.get(0); // Default to display first config data in onServiceBound()
206 mConfigData, new AdaptorCallback()); in onServiceBound()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreServiceTest.java93 private List<String> mConfigData = new ArrayList<>(); field in BluetoothKeystoreServiceTest
104 mConfigData = Files.readAllLines(Paths.get(CONFIG_FILE_PATH)); in setUp()
118 if (!mConfigData.isEmpty()) { in tearDown()
119 Files.write(Paths.get(CONFIG_FILE_PATH), mConfigData); in tearDown() local