/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 49 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 …]
|
D | GenericDeviceInfo.java | 67 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 …]
|
D | PackageDeviceInfo.java | 92 store.addResult(NAME, pkg.packageName); in collectDeviceInfo() 93 store.addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo() 98 store.addResult(HAS_DEFAULT_NOTIFICATION_ACCESS, in collectDeviceInfo() 101 store.addResult(IS_ACTIVE_ADMIN, deviceAdminPackages.contains(pkg.packageName)); in collectDeviceInfo() 109 store.addResult(DEFAULT_ACCESSIBILITY_SERVICE, isDefaultAccessibilityComponent); in collectDeviceInfo() 112 store.addResult(SHA256_CERT, sha256_cert); in collectDeviceInfo() 130 store.addResult(PERMISSION_NAME, permission); in collectPermissions() 147 store.addResult(SYSTEM_PRIV, dir != null && dir.startsWith(PRIV_APP_DIR)); in collectionApplicationInfo() 149 store.addResult(MIN_SDK, appInfo.minSdkVersion); in collectionApplicationInfo() 150 store.addResult(TARGET_SDK, appInfo.targetSdkVersion); in collectionApplicationInfo() [all …]
|
D | VintfDeviceInfo.java | 41 store.addResult("cpu_info", VintfRuntimeInfo.getCpuInfo()); in collectDeviceInfo() 42 store.addResult("os_name", VintfRuntimeInfo.getOsName()); in collectDeviceInfo() 43 store.addResult("node_name", VintfRuntimeInfo.getNodeName()); in collectDeviceInfo() 44 store.addResult("os_release", VintfRuntimeInfo.getOsRelease()); in collectDeviceInfo() 45 store.addResult("os_version", VintfRuntimeInfo.getOsVersion()); in collectDeviceInfo() 46 store.addResult("hardware_id", VintfRuntimeInfo.getHardwareId()); in collectDeviceInfo() 47 store.addResult("kernel_version", VintfRuntimeInfo.getKernelVersion()); in collectDeviceInfo() 48 store.addResult("sepolicy_version", VintfObject.getSepolicyVersion()); in collectDeviceInfo() 59 store.addResult("version", e.getKey()); in collectDeviceInfo() 74 store.addResult("target_fcm_version", version); in collectDeviceInfo()
|
D | ScreenDeviceInfo.java | 39 store.addResult("width_pixels", metrics.widthPixels); in collectDeviceInfo() 40 store.addResult("height_pixels", metrics.heightPixels); in collectDeviceInfo() 41 store.addResult("x_dpi", metrics.xdpi); in collectDeviceInfo() 42 store.addResult("y_dpi", metrics.ydpi); in collectDeviceInfo() 43 store.addResult("density", metrics.density); in collectDeviceInfo() 44 store.addResult("density_dpi", metrics.densityDpi); in collectDeviceInfo() 47 store.addResult("screen_size", getScreenSize(configuration)); in collectDeviceInfo() 48 store.addResult("smallest_screen_width_dp", configuration.smallestScreenWidthDp); in collectDeviceInfo()
|
D | GraphicsDeviceInfo.java | 38 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()
|
D | FeatureDeviceInfo.java | 104 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()
|
D | MemoryDeviceInfo.java | 35 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()
|
D | ConfigurationDeviceInfo.java | 30 store.addResult("touchscreen", con.touchscreen); in collectDeviceInfo() 31 store.addResult("navigation", con.navigation); in collectDeviceInfo() 32 store.addResult("keyboard", con.keyboard); in collectDeviceInfo()
|
D | ClientIdDeviceInfo.java | 47 store.addResult("name", name); in collectClientIds() 48 store.addResult("value", clientIds.get(name)); in collectClientIds()
|
D | PropertyDeviceInfo.java | 59 store.addResult("name", name); in collectRoProperties() 60 store.addResult("value", value); in collectRoProperties()
|
D | StorageDeviceInfo.java | 56 store.addResult("num_physical", physical); in collectDeviceInfo() 57 store.addResult("num_emulated", emulated); in collectDeviceInfo()
|
D | LocaleDeviceInfo.java | 93 store.addResult("file_path", datFile.getPath()); in collectLocaleDataFilesInfo() 95 store.addResult("file_sha256", sha256Hash); in collectLocaleDataFilesInfo()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 70 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 …]
|
D | DeviceInfoActivity.java | 80 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/ |
D | SensorDeviceInfo.java | 73 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 …]
|
D | SampleDeviceInfo.java | 40 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()
|
D | CameraDeviceInfo.java | 71 mStore.addResult("cameraId", cameraId); in storeCameraInfo() 89 mStore.addResult("numerator", rat.getNumerator()); in storeRational() 90 mStore.addResult("denominator", rat.getDenominator()); in storeRational() 101 mStore.addResult("width", size.getWidth()); in storeSize() 102 mStore.addResult("height", size.getHeight()); in storeSize() 113 mStore.addResult("width", size.getWidth()); in storeSizeF() 114 mStore.addResult("height", size.getHeight()); in storeSizeF() 125 mStore.addResult("left", rect.left); in storeRect() 126 mStore.addResult("right", rect.right); in storeRect() 127 mStore.addResult("top", rect.top); in storeRect() [all …]
|
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/ |
D | TestDeviceInfo.java | 42 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/ |
D | SampleHostDeviceInfo.java | 34 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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceInfoStore.java | 118 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
|
D | DeviceReportLog.java | 75 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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | DeviceInfoStore.java | 118 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
|
D | DeviceReportLog.java | 75 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/hostsidetests/edi/src/android/edi/cts/ |
D | LibraryDeviceInfo.java | 71 store.addResult("name", name); in collectFileDetails() 72 store.addResult("sha1", sha1); in collectFileDetails()
|