Home
last modified time | relevance | path

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

/cts/tests/tests/car/src/android/car/cts/
DCarPropertyConfigTest.java55 for (CarPropertyConfig cfg : mConfigs) { in testGetPropertyId()
56 int propId = cfg.getPropertyId(); in testGetPropertyId()
85 for (CarPropertyConfig cfg : mConfigs) { in testGetAccess()
86 int result = cfg.getAccess(); in testGetAccess()
100 for (CarPropertyConfig cfg : mConfigs) { in testGetAreaType()
101 int result = cfg.getAreaType(); in testGetAreaType()
103 int propertyArea = cfg.getPropertyId() & VehicleArea.MASK; in testGetAreaType()
118 .append(Integer.toHexString(cfg.getPropertyId())) in testGetAreaType()
130 for (CarPropertyConfig cfg : mConfigs) { in testGetChangeMode()
131 int result = cfg.getChangeMode(); in testGetChangeMode()
[all …]
DCarPropertyValueTest.java58 CarPropertyConfig cfg = mPropIdToConfig.get(propId); in testGetPropertyId() local
59 Assert.assertNotNull(cfg); in testGetPropertyId()
67 CarPropertyConfig cfg = mPropIdToConfig.get(propertyValue.getPropertyId()); in testGetPropertyAreaId() local
68 if (cfg.isGlobalProperty()) { in testGetPropertyAreaId()
72 for (int area : cfg.getAreaIds()) { in testGetPropertyAreaId()
108 for (CarPropertyConfig cfg : configs) { in getCarPropertyValues()
109 mPropIdToConfig.put(cfg.getPropertyId(), cfg); in getCarPropertyValues() local
110 if (cfg.getAccess() == CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ) { in getCarPropertyValues()
111 if (cfg.isGlobalProperty()) { in getCarPropertyValues()
113 cfg.getPropertyType(), cfg.getPropertyId(), 0); in getCarPropertyValues()
[all …]
DCarPropertyManagerTest.java127 for (CarPropertyConfig cfg : configs) { in testGetProperty()
128 if (cfg.getAccess() == CarPropertyConfig.VEHICLE_PROPERTY_ACCESS_READ) { in testGetProperty()
129 int[] areaIds = getAreaIdsHelper(cfg); in testGetProperty()
130 int propId = cfg.getPropertyId(); in testGetProperty()
132 if (cfg.getPropertyType() == Boolean.class) { in testGetProperty()
136 } else if (cfg.getPropertyType() == Integer.class) { in testGetProperty()
140 } else if (cfg.getPropertyType() == Float.class) { in testGetProperty()
144 } else if (cfg.getPropertyType() == Integer[].class) { in testGetProperty()
151 cfg.getPropertyType(), propId, areaId);; in testGetProperty()
162 for (CarPropertyConfig cfg : configs) { in testIsPropertyAvailable()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_SystemTest.java78 Configuration cfg = new Configuration(); in testSystemSettings() local
79 System.getConfiguration(cr, cfg); in testSystemSettings()
80 float store = cfg.fontScale; in testSystemSettings()
109 cfg = new Configuration(); in testSystemSettings()
110 cfg.fontScale = 1.2f; in testSystemSettings()
111 assertTrue(System.putConfiguration(cr, cfg)); in testSystemSettings()
113 System.getConfiguration(cr, cfg); in testSystemSettings()
114 assertEquals(1.2f, cfg.fontScale, 0.001); in testSystemSettings()
125 cfg.fontScale = store; in testSystemSettings()
126 assertTrue(System.putConfiguration(cr, cfg)); in testSystemSettings()
/cts/apps/CameraITS/pymodules/its/
Dobjects.py173 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes[fmt]]
174 out_configs = [cfg for cfg in fmt_configs if cfg['input'] == False]
175 out_sizes = [(cfg['width'],cfg['height']) for cfg in out_configs]
/cts/apps/CameraITS/tools/
Dhardware.py56 def __init__(self, name, vid, pid, cfg, inf): argument
59 self._build_device(name, vid, pid, cfg, inf)
77 def _build_device(self, name, vid, pid, cfg, inf): argument
99 entry[self.KEY_CFG] = int(cfg)
181 def _read_tty_name(self, dir_entry, inf, cfg): argument
193 '%s:%d.%d' % (dir_entry, cfg, inf))
263 cfg = int(inf_dict['cfg'])
267 tty_path = self._read_tty_name(dir_entry, inf, cfg)
276 entry[self.KEY_CFG] = cfg
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py313 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes]
316 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes]
318 out_configs = [cfg for cfg in fmt_configs if cfg['input'] is False]
319 out_sizes = [(cfg['width'], cfg['height']) for cfg in out_configs]
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java80 final Configuration cfg = new Configuration(); in testResources() local
81 cfg.keyboard = Configuration.KEYBOARDHIDDEN_YES; in testResources()
85 final Resources r = new Resources(am, dm, cfg); in testResources()
247 final Configuration cfg = new Configuration(); in createNewResources() local
248 cfg.setToDefaults(); in createNewResources()
249 return new Resources(new AssetManager(), dm, cfg); in createNewResources()
254 final Configuration cfg = new Configuration(res.getConfiguration()); in testUpdateConfiguration() local
255 assertTrue(cfg.fontScale != 5); in testUpdateConfiguration()
257 cfg.fontScale = 5; in testUpdateConfiguration()
258 res.updateConfiguration(cfg, null); in testUpdateConfiguration()
[all …]
/cts/suite/audio_quality/client/
DAndroid.mk28 LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DDeviceAtomTestCase.java98 protected List<EventMetricData> doDeviceMethod(String methodName, StatsdConfig.Builder cfg) in doDeviceMethod() argument
102 uploadConfig(cfg); in doDeviceMethod()
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv19 …egjmpprsrqrqnnnmjhecb`acgkmppqrnmljkjihgfgggjlnrsqnooonkkmlkjhggfggfdbcc`_`cfg:Q_l}�������������~v…
214 …yolmppkjkkjjklnnkgee``inpomkijjjllkighgecceedfjjjjklkijhhkkjlkjifb_^cb``ba`cfg\r�v?Kl�����wnme[ajj…
304 …feikhhkjiffhijb[`cbbb`a`a^^fijkkjlhbdnoloopngggdfmnedgilonjmmjjljhkkjmnke_^cfg][`WVTB=Safngfigffda…
DMultiLangPerso_1PID_PC0_Select_AC4_H265_DVB_50fps_Audio_Only.ts2968 …�l}��n�V�����4���["�m��9��n�_�i(��\lP��}��j���\�x�/h�3��b?��������cfg�hG@�B�r�����"B��…