Home
last modified time | relevance | path

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

/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DTestDeviceInfo.java36 addResult("test_boolean", true); in collectDeviceInfo()
37 addResult("test_double", 1.23456789); in collectDeviceInfo()
38 addResult("test_int", 123456789); in collectDeviceInfo()
39 addResult("test_long", Long.MAX_VALUE); in collectDeviceInfo()
40 addResult("test_string", "test string"); in collectDeviceInfo()
49 addResult("test_boolean", false); in collectDeviceInfo()
50 addResult("test_double", 9.87654321); in collectDeviceInfo()
51 addResult("test_int", 987654321); in collectDeviceInfo()
52 addResult("test_long", Long.MAX_VALUE); in collectDeviceInfo()
53 addResult("test_string", "test group string"); in collectDeviceInfo()
[all …]
DSampleDeviceInfo.java41 addResult("foo_boolean", Boolean.TRUE); in collectDeviceInfo()
56 addResult("foo_double", Double.MAX_VALUE); in collectDeviceInfo()
57 addResult("foo_int", Integer.MAX_VALUE); in collectDeviceInfo()
58 addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
59 addResult("foo_string", "foo-string"); in collectDeviceInfo()
67 addResult("long_string", sb.toString()); in collectDeviceInfo()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java79 addResult(BUILD_ID, Build.ID); in collectDeviceInfo()
80 addResult(BUILD_PRODUCT, Build.PRODUCT); in collectDeviceInfo()
81 addResult(BUILD_DEVICE, Build.DEVICE); in collectDeviceInfo()
82 addResult(BUILD_BOARD, Build.BOARD); in collectDeviceInfo()
83 addResult(BUILD_MANUFACTURER, Build.MANUFACTURER); in collectDeviceInfo()
84 addResult(BUILD_BRAND, Build.BRAND); in collectDeviceInfo()
85 addResult(BUILD_MODEL, Build.MODEL); in collectDeviceInfo()
86 addResult(BUILD_TYPE, Build.TYPE); in collectDeviceInfo()
87 addResult(BUILD_FINGERPRINT, Build.FINGERPRINT); in collectDeviceInfo()
88 addResult(BUILD_ABI, Build.CPU_ABI); in collectDeviceInfo()
[all …]
DPackageDeviceInfo.java41 addResult(NAME, pkg.packageName); in collectDeviceInfo()
42 addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo()
45 addResult(SYSTEM_PRIV, dir != null && dir.startsWith(PRIV_APP_DIR)); in collectDeviceInfo()
DDeviceInfoActivity.java254 public void addResult(String name, double value) { in addResult() method in DeviceInfoActivity
266 public void addResult(String name, long value) { in addResult() method in DeviceInfoActivity
278 public void addResult(String name, int value) { in addResult() method in DeviceInfoActivity
290 public void addResult(String name, boolean value) { in addResult() method in DeviceInfoActivity
302 public void addResult(String name, String value) { in addResult() method in DeviceInfoActivity
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java65 addResult(BUILD_ID, Build.ID); in onStart()
66 addResult(PRODUCT_NAME, Build.PRODUCT); in onStart()
67 addResult(BUILD_DEVICE, Build.DEVICE); in onStart()
68 addResult(BUILD_BOARD, Build.BOARD); in onStart()
69 addResult(BUILD_MANUFACTURER, Build.MANUFACTURER); in onStart()
70 addResult(BUILD_BRAND, Build.BRAND); in onStart()
71 addResult(BUILD_MODEL, Build.MODEL); in onStart()
72 addResult(BUILD_TYPE, Build.TYPE); in onStart()
73 addResult(BUILD_FINGERPRINT, Build.FINGERPRINT); in onStart()
74 addResult(BUILD_ABI, Build.CPU_ABI); in onStart()
[all …]
DDeviceInfoActivity.java80 DeviceInfoInstrument.addResult( in runIterations()
83 DeviceInfoInstrument.addResult( in runIterations()
86 DeviceInfoInstrument.addResult( in runIterations()
89 DeviceInfoInstrument.addResult( in runIterations()
143 DeviceInfoInstrument.addResult(DeviceInfoConstants.TOUCH_SCREEN, in onCreate()
161 DeviceInfoInstrument.addResult(DeviceInfoConstants.NAVIGATION, in onCreate()
176 DeviceInfoInstrument.addResult(DeviceInfoConstants.KEYPAD, keypad); in onCreate()
189 DeviceInfoInstrument.addResult(DeviceInfoConstants.LOCALES, in onCreate()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSampleDeviceInfo.java41 addResult("foo_boolean", Boolean.TRUE); in collectDeviceInfo()
56 addResult("foo_double", Double.MAX_VALUE); in collectDeviceInfo()
57 addResult("foo_int", Integer.MAX_VALUE); in collectDeviceInfo()
58 addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
59 addResult("foo_string", "foo-string"); in collectDeviceInfo()