Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py51 def _generateTestValue(self, cfg, idx, origValue): argument
52 valType = cfg.value_type
62 testValue = self._getMidpoint(cfg.area_configs[idx].min_int32_value,
63 cfg.area_configs[idx].max_int32_value)
69 testValue = self._getMidpoint(cfg.area_configs[idx].min_int64_value,
70 cfg.area_configs[idx].max_int64_value)
76 testValue = self._getMidpoint(cfg.area_configs[idx].min_float_value,
77 cfg.area_configs[idx].max_float_value)
135 for cfg in self._configs:
136 self._log.debug(" Getting config for propId=%d", cfg.prop)
[all …]
Dvhal_emulator.py232 for cfg in msg.config:
233 self._propToType[cfg.prop] = cfg.value_type
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java254 CarPropertyConfig<Float> cfg = findHvacPropConfig(Float.class, PROP, mgr); in benchmarkSetGetFromSingleClientMultipleThreads() local
255 assertNotNull(cfg); in benchmarkSetGetFromSingleClientMultipleThreads()
257 + ", got: " + cfg.getAreaCount(), cfg.getAreaCount() >= 2); in benchmarkSetGetFromSingleClientMultipleThreads()
265 new Thread(() -> invokeSetAndGetForHvacFloat(mgr, cfg, cfg.getAreaIds()[0], counter)), in benchmarkSetGetFromSingleClientMultipleThreads()
266 new Thread(() -> invokeSetAndGetForHvacFloat(mgr, cfg, cfg.getAreaIds()[1], counter)))); in benchmarkSetGetFromSingleClientMultipleThreads()
286 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { in invokeSetAndGetForHvacFloat() argument
287 float minValue = cfg.getMinValue(areaId); in invokeSetAndGetForHvacFloat()
288 float maxValue = cfg.getMaxValue(areaId); in invokeSetAndGetForHvacFloat()
294 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); in invokeSetAndGetForHvacFloat()
295 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); in invokeSetAndGetForHvacFloat()
[all …]
/packages/services/Car/tools/bootanalyze/
Dbootanalyze.py86 cfg = yaml.load(args.config)
96 for key, pattern in cfg['events'].iteritems()}
98 for key, pattern in cfg['timings'].iteritems()}
116 args, search_events, timing_events, cfg, error_time, components_to_monitor)
246 def iterate(args, search_events, timings, cfg, error_time, components_to_monitor): argument
274 if ('time_correction_key' in cfg
275 and cfg['time_correction_key'] in logcat_events):
276 match = search_events[cfg['time_correction_key']].search(
277 logcat_events[cfg['time_correction_key']])
278 if match and logcat_event_time[cfg['time_correction_key']]:
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java126 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); in updateSummary() local
127 if (cfg == null) { in updateSummary()
129 } else if (cfg.legacy) { in updateSummary()
138 vpns.put(user.id, cfg); in updateSummary()
162 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig() argument
163 if (cfg.legacy) { in getNameForVpnConfig()
167 final String vpnPackage = cfg.user; in getNameForVpnConfig()
/packages/apps/StorageManager/
DAndroid.mk21 LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
/packages/apps/TvSettings/Settings/
DAndroid.mk22 LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
/packages/apps/TvSettings/QuickSettings/
DAndroid.mk8 LOCAL_PROGUARD_FLAG_FILES := proguard.cfg