Home
last modified time | relevance | path

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

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py66 def _generateTestValue(self, cfg, idx, origValue): argument
67 valType = cfg.value_type
77 testValue = self._getMidpoint(cfg.area_configs[idx].min_int32_value,
78 cfg.area_configs[idx].max_int32_value)
84 testValue = self._getMidpoint(cfg.area_configs[idx].min_int64_value,
85 cfg.area_configs[idx].max_int64_value)
91 testValue = self._getMidpoint(cfg.area_configs[idx].min_float_value,
92 cfg.area_configs[idx].max_float_value)
150 for cfg in self._configs:
151 self._log.debug(" Getting config for propId=0x%X", cfg.prop)
[all …]
Dvhal_emulator.py266 for cfg in msg.config:
267 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/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java127 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); in updateSummary() local
128 if (cfg == null) { in updateSummary()
130 } else if (cfg.legacy) { in updateSummary()
139 vpns.put(user.id, cfg); in updateSummary()
163 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig() argument
164 if (cfg.legacy) { in getNameForVpnConfig()
168 final String vpnPackage = cfg.user; in getNameForVpnConfig()
/packages/services/Car/tools/bootanalyze/
Dbootanalyze.py87 cfg = yaml.load(args.config)
97 for key, pattern in cfg['events'].iteritems()}
99 for key, pattern in cfg['timings'].iteritems()}
101 for key, pattern in cfg['shutdown_events'].iteritems()}
122 args, search_events_pattern, timing_events_pattern, shutdown_events_pattern, cfg,\
295 def iterate(args, search_events_pattern, timings_pattern, shutdown_events_pattern, cfg, error_time,\ argument
334 if ('time_correction_key' in cfg
335 and cfg['time_correction_key'] in logcat_events):
336 match = search_events[cfg['time_correction_key']].search(
337 logcat_events[cfg['time_correction_key']])
[all …]
Dbugreport_anayze.py141 cfg = yaml.load(config_file)
143 for key, pattern in cfg['events'].iteritems()}
145 for key, pattern in cfg['timings'].iteritems()}
147 for key, pattern in cfg['shutdown_events'].iteritems()}
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorManagerEmbedded.java189 private static CarSensorConfig convert(android.car.hardware.CarSensorConfig cfg) { in convert() argument
190 if (cfg == null) { in convert()
193 return new CarSensorConfig(cfg.getType(), cfg.getBundle()); in convert()
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalService.java318 VehiclePropConfig cfg; in getSensorConfig() local
320 cfg = mSensorToPropConfig.get(sensorType); in getSensorConfig()
322 if (cfg == null) { in getSensorConfig()
329 b = createWheelDistanceTickBundle(cfg.configArray); in getSensorConfig()
/packages/apps/TimeZoneData/
DAndroid.mk24 LOCAL_PROGUARD_FLAG_FILES := $(LOCAL_PATH)/proguard.cfg
/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