Home
last modified time | relevance | path

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

12

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java49 store.addResult("name", info.getName()); in collectDeviceInfo()
51 store.addResult("canonical", info.getCanonicalName()); in collectDeviceInfo()
53 store.addResult("encoder", info.isEncoder()); in collectDeviceInfo()
55 store.addResult("alias", info.isAlias()); in collectDeviceInfo()
56 store.addResult("software", info.isSoftwareOnly()); in collectDeviceInfo()
57 store.addResult("hardware", info.isHardwareAccelerated()); in collectDeviceInfo()
58 store.addResult("vendor", info.isVendor()); in collectDeviceInfo()
64 store.addResult("type", type); in collectDeviceInfo()
70 store.addResult("level", profileLevel.level); in collectDeviceInfo()
71 store.addResult("profile", profileLevel.profile); in collectDeviceInfo()
[all …]
DGenericDeviceInfo.java67 store.addResult(BUILD_ID, Build.ID); in collectDeviceInfo()
68 store.addResult(BUILD_PRODUCT, Build.PRODUCT); in collectDeviceInfo()
69 store.addResult(BUILD_DEVICE, Build.DEVICE); in collectDeviceInfo()
70 store.addResult(BUILD_BOARD, Build.BOARD); in collectDeviceInfo()
71 store.addResult(BUILD_MANUFACTURER, Build.MANUFACTURER); in collectDeviceInfo()
72 store.addResult(BUILD_BRAND, Build.BRAND); in collectDeviceInfo()
73 store.addResult(BUILD_MODEL, Build.MODEL); in collectDeviceInfo()
74 store.addResult(BUILD_TYPE, Build.TYPE); in collectDeviceInfo()
75 store.addResult(BUILD_FINGERPRINT, Build.FINGERPRINT); in collectDeviceInfo()
76 store.addResult(BUILD_ABI, Build.CPU_ABI); in collectDeviceInfo()
[all …]
DVintfDeviceInfo.java42 store.addResult("cpu_info", VintfRuntimeInfo.getCpuInfo()); in collectDeviceInfo()
43 store.addResult("os_name", VintfRuntimeInfo.getOsName()); in collectDeviceInfo()
44 store.addResult("node_name", VintfRuntimeInfo.getNodeName()); in collectDeviceInfo()
45 store.addResult("os_release", VintfRuntimeInfo.getOsRelease()); in collectDeviceInfo()
46 store.addResult("os_version", VintfRuntimeInfo.getOsVersion()); in collectDeviceInfo()
47 store.addResult("hardware_id", VintfRuntimeInfo.getHardwareId()); in collectDeviceInfo()
48 store.addResult("kernel_version", VintfRuntimeInfo.getKernelVersion()); in collectDeviceInfo()
49 store.addResult("sepolicy_version", VintfObject.getSepolicyVersion()); in collectDeviceInfo()
60 store.addResult("version", e.getKey()); in collectDeviceInfo()
75 store.addResult("target_fcm_version", version); in collectDeviceInfo()
[all …]
DPackageDeviceInfo.java107 store.addResult(NAME, pkg.packageName); in collectDeviceInfo()
108 store.addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo()
113 store.addResult(HAS_DEFAULT_NOTIFICATION_ACCESS, in collectDeviceInfo()
116 store.addResult(IS_ACTIVE_ADMIN, deviceAdminPackages.contains(pkg.packageName)); in collectDeviceInfo()
124 store.addResult(DEFAULT_ACCESSIBILITY_SERVICE, isDefaultAccessibilityComponent); in collectDeviceInfo()
127 store.addResult(SHA256_CERT, sha256_cert); in collectDeviceInfo()
148 store.addResult(PERMISSION_NAME, permission); in collectPermissions()
155 store.addResult(PERMISSION_TYPE, PERMISSION_TYPE_SYSTEM); in collectPermissions()
157 store.addResult(PERMISSION_TYPE, PERMISSION_TYPE_OEM); in collectPermissions()
160 store.addResult(PERMISSION_TYPE, PERMISSION_TYPE_CUSTOM); in collectPermissions()
[all …]
DScreenDeviceInfo.java50 store.addResult("width_pixels", metrics.widthPixels); in collectDeviceInfo()
51 store.addResult("height_pixels", metrics.heightPixels); in collectDeviceInfo()
52 store.addResult("x_dpi", metrics.xdpi); in collectDeviceInfo()
53 store.addResult("y_dpi", metrics.ydpi); in collectDeviceInfo()
54 store.addResult("density", metrics.density); in collectDeviceInfo()
55 store.addResult("density_dpi", metrics.densityDpi); in collectDeviceInfo()
58 store.addResult("screen_size", getScreenSize(configuration)); in collectDeviceInfo()
59 store.addResult("smallest_screen_width_dp", configuration.smallestScreenWidthDp); in collectDeviceInfo()
65 store.addResult("wm_jetpack_version", wmJetpackVersion); in collectDeviceInfo()
DGraphicsDeviceInfo.java38 store.addResult(name, valueArray[0]); in storeValue()
47 store.addResult(name, valueArray[0]); in storeValue()
56 store.addResult(name, valueArray[0]); in storeValue()
70 store.addResult("gl_version", stubActivity.getGlVersion()); in collectDeviceInfo()
71 store.addResult("vendor", stubActivity.getVendor()); in collectDeviceInfo()
72 store.addResult("renderer", stubActivity.getRenderer()); in collectDeviceInfo()
88 store.addResult(lowerCaseName, (String)value); in collectDeviceInfo()
DFeatureDeviceInfo.java104 store.addResult("name", name); in addFeature()
105 store.addResult("type", type); in addFeature()
106 store.addResult("available", available); in addFeature()
117 store.addResult("name", name); in addFeature()
118 store.addResult("type", type); in addFeature()
119 store.addResult("available", available); in addFeature()
120 store.addResult("version", version); in addFeature()
DMemoryDeviceInfo.java35 store.addResult("low_ram_device", activityManager.isLowRamDevice()); in collectDeviceInfo()
36 store.addResult("memory_class", activityManager.getMemoryClass()); in collectDeviceInfo()
37 store.addResult("large_memory_class", activityManager.getLargeMemoryClass()); in collectDeviceInfo()
41 store.addResult("total_memory", memoryInfo.totalMem); in collectDeviceInfo()
DConfigurationDeviceInfo.java30 store.addResult("touchscreen", con.touchscreen); in collectDeviceInfo()
31 store.addResult("navigation", con.navigation); in collectDeviceInfo()
32 store.addResult("keyboard", con.keyboard); in collectDeviceInfo()
DClientIdDeviceInfo.java47 store.addResult("name", name); in collectClientIds()
48 store.addResult("value", clientIds.get(name)); in collectClientIds()
DStorageDeviceInfo.java56 store.addResult("num_physical", physical); in collectDeviceInfo()
57 store.addResult("num_emulated", emulated); in collectDeviceInfo()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java70 addResult(BUILD_ID, Build.ID); in onStart()
71 addResult(PRODUCT_NAME, Build.PRODUCT); in onStart()
72 addResult(BUILD_DEVICE, Build.DEVICE); in onStart()
73 addResult(BUILD_BOARD, Build.BOARD); in onStart()
74 addResult(BUILD_MANUFACTURER, Build.MANUFACTURER); in onStart()
75 addResult(BUILD_BRAND, Build.BRAND); in onStart()
76 addResult(BUILD_MODEL, Build.MODEL); in onStart()
77 addResult(BUILD_TYPE, Build.TYPE); in onStart()
78 addResult(BUILD_FINGERPRINT, Build.FINGERPRINT); in onStart()
79 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/
DSensorDeviceInfo.java73 store.addResult(REPORTING_MODE, sensor.getReportingMode()); in collectDeviceInfo()
74 store.addResult(NAME, sensor.getName()); in collectDeviceInfo()
75 store.addResult(VENDOR, sensor.getVendor()); in collectDeviceInfo()
76 store.addResult(TYPE, sensor.getType()); in collectDeviceInfo()
77 store.addResult(VERSION, sensor.getVersion()); in collectDeviceInfo()
78 store.addResult(MAXIMUM_RANGE, sensor.getMaximumRange()); in collectDeviceInfo()
79 store.addResult(RESOLUTION, sensor.getResolution()); in collectDeviceInfo()
80 store.addResult(POWER, sensor.getPower()); in collectDeviceInfo()
81 store.addResult(MIN_DELAY, sensor.getMinDelay()); in collectDeviceInfo()
82 store.addResult(FIFO_RESERVED_EVENT_COUNT, in collectDeviceInfo()
[all …]
DSampleDeviceInfo.java40 store.addResult("foo_boolean", Boolean.TRUE); in collectDeviceInfo()
56 store.addResult("foo_double", Double.MAX_VALUE); in collectDeviceInfo()
57 store.addResult("foo_int", Integer.MAX_VALUE); in collectDeviceInfo()
58 store.addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
59 store.addResult("foo_string", "foo-string"); in collectDeviceInfo()
60 store.addResult("foo_float_nan", Float.NaN); in collectDeviceInfo()
61 store.addResult("foo_float_max", Float.MAX_VALUE + 1); in collectDeviceInfo()
62 store.addResult("foo_float_min", Float.MIN_VALUE - 1); in collectDeviceInfo()
DCameraDeviceInfo.java73 mStore.addResult("cameraId", cameraId); in storeCameraInfo()
89 mStore.addResult("cameraId", cameraId); in storePhysicalCameraInfo()
108 mStore.addResult("numerator", rat.getNumerator()); in storeRational()
109 mStore.addResult("denominator", rat.getDenominator()); in storeRational()
120 mStore.addResult("width", size.getWidth()); in storeSize()
121 mStore.addResult("height", size.getHeight()); in storeSize()
132 mStore.addResult("width", size.getWidth()); in storeSizeF()
133 mStore.addResult("height", size.getHeight()); in storeSizeF()
144 mStore.addResult("left", rect.left); in storeRect()
145 mStore.addResult("right", rect.right); in storeRect()
[all …]
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DTestDeviceInfo.java42 store.addResult("test_boolean", true); in collectDeviceInfo()
43 store.addResult("test_double", 1.23456789); in collectDeviceInfo()
44 store.addResult("test_int", 123456789); in collectDeviceInfo()
45 store.addResult("test_long", Long.MAX_VALUE); in collectDeviceInfo()
46 store.addResult("test_string", "test string"); in collectDeviceInfo()
55 store.addResult("test_boolean", false); in collectDeviceInfo()
56 store.addResult("test_double", 9.87654321); in collectDeviceInfo()
57 store.addResult("test_int", 987654321); in collectDeviceInfo()
58 store.addResult("test_long", Long.MAX_VALUE); in collectDeviceInfo()
59 store.addResult("test_string", "test group string"); in collectDeviceInfo()
[all …]
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostDeviceInfo.java34 store.addResult("model", getProperty("ro.product.model")); in collectDeviceInfo()
35 store.addResult("brand", getProperty("ro.product.brand")); in collectDeviceInfo()
36 store.addResult("name", getProperty("ro.product.name")); in collectDeviceInfo()
37 store.addResult("device", getProperty("ro.product.device")); in collectDeviceInfo()
38 store.addResult("board", getProperty("ro.product.board")); in collectDeviceInfo()
45 store.addResult("sdk", getProperty("ro.build.version.sdk")); in collectDeviceInfo()
46 store.addResult("codename", getProperty("ro.build.version.codename")); in collectDeviceInfo()
47 store.addResult("security_patch", getProperty("ro.build.version.security_patch")); in collectDeviceInfo()
48 store.addResult("base_os", getProperty("ro.build.version.base_os")); in collectDeviceInfo()
/cts/hostsidetests/edi/src/android/edi/cts/
DClasspathDeviceInfo.java72 store.addResult("classpath", classpath.name()); in collectClasspathJarInfo()
73 store.addResult("path", paths.get(i)); in collectClasspathJarInfo()
74 store.addResult("index", i); in collectClasspathJarInfo()
114 store.addResult("name", libraryName); in collectSharedLibraryJars()
115 store.addResult("type", libraryType); in collectSharedLibraryJars()
116 store.addResult("version", libraryVersion); in collectSharedLibraryJars()
118 store.addResult("path", path); in collectSharedLibraryJars()
119 store.addResult("index", i - 3); // minus <name> <type> <version> in collectSharedLibraryJars()
130 store.addResult("name", classDef.getType()); in collectClassInfo()
DPropertyDeviceInfo.java71 store.addResult("name", name); in parseProps()
72 store.addResult("value", value); in parseProps()
DLibraryDeviceInfo.java71 store.addResult("name", name); in collectFileDetails()
72 store.addResult("sha1", sha1); in collectFileDetails()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceInfoStore.java118 public void addResult(String name, int value) throws IOException { in addResult() method in DeviceInfoStore
128 public void addResult(String name, long value) throws IOException { in addResult() method in DeviceInfoStore
138 public void addResult(String name, float value) throws IOException { in addResult() method in DeviceInfoStore
139 addResult(name, (double) value); in addResult()
146 public void addResult(String name, double value) throws IOException { in addResult() method in DeviceInfoStore
160 public void addResult(String name, boolean value) throws IOException { in addResult() method in DeviceInfoStore
170 public void addResult(String name, String value) throws IOException { in addResult() method in DeviceInfoStore
DDeviceReportLog.java75 store.addResult(message, value); in addValue()
88 store.addResult(message, value); in addValue()
127 store.addResult(message, value); in addValue()
139 store.addResult(message, value); in addValue()
151 store.addResult(message, value); in addValue()
163 store.addResult(message, value); in addValue()
175 store.addResult(message, value); in addValue()
250 store.addResult(message, value); in setSummary()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsVerifierReportLog.java120 mStore.addResult(message, value); in addValue()
133 mStore.addResult(message, value); in addValue()
145 mStore.addResult(message, value); in addValue()
157 mStore.addResult(message, value); in addValue()
169 mStore.addResult(message, value); in addValue()
181 mStore.addResult(message, value); in addValue()
193 mStore.addResult(message, value); in addValue()
/cts/libs/input/src/com/android/cts/input/
DHidDevice.java70 addResult(result); in readResults()
104 public synchronized void addResult(HidResultData result) { in addResult() method in HidDevice

12