/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 46 store.addResult("name", info.getName()); in collectDeviceInfo() 48 store.addResult("canonical", info.getCanonicalName()); in collectDeviceInfo() 50 store.addResult("encoder", info.isEncoder()); in collectDeviceInfo() 52 store.addResult("alias", info.isAlias()); in collectDeviceInfo() 53 store.addResult("software", info.isSoftwareOnly()); in collectDeviceInfo() 54 store.addResult("hardware", info.isHardwareAccelerated()); in collectDeviceInfo() 55 store.addResult("vendor", info.isVendor()); in collectDeviceInfo() 61 store.addResult("type", type); in collectDeviceInfo() 67 store.addResult("level", profileLevel.level); in collectDeviceInfo() 68 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 | GnssDeviceInfo.java | 50 store.addResult("gnss_hardware_model_name", UNKNOWN_GNSS_NAME); in collectDeviceInfo() 67 store.addResult("gnss_hardware_model_name", NO_GNSS_HARDWARE); in collectGnssHardwareModelName() 75 store.addResult("gnss_hardware_model_name", UNKNOWN_GNSS_NAME); in collectGnssHardwareModelName() 78 store.addResult("gnss_hardware_model_name", gnssHardwareModelName); in collectGnssHardwareModelName() 86 store.addResult("has_low_power_mode", gnssCapabilities.hasLowPowerMode()); in collectGnssCapabilities() 87 store.addResult("has_geofencing", gnssCapabilities.hasGeofencing()); in collectGnssCapabilities() 88 store.addResult("has_measurements", gnssCapabilities.hasMeasurements()); in collectGnssCapabilities() 89 store.addResult( in collectGnssCapabilities() 91 store.addResult( in collectGnssCapabilities() 94 store.addResult( in collectGnssCapabilities() [all …]
|
D | VintfDeviceInfo.java | 42 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 …]
|
D | HapticsDeviceInfo.java | 60 store.addResult("audio_manager_is_haptic_playback_supported", in collectDeviceInfo() 64 store.addResult("haptic_generator_is_available", HapticGenerator.isAvailable()); in collectDeviceInfo() 81 store.addResult("has_vibrator", vibrator.hasVibrator()); in collectVibratorInfo() 85 store.addResult("has_amplitude_control", vibrator.hasAmplitudeControl()); in collectVibratorInfo() 94 store.addResult("vibrator_id", vibrator.getId()); in collectVibratorInfo() 97 store.addResult("has_frequency_control", vibrator.hasFrequencyControl()); in collectVibratorInfo() 98 store.addResult("q_factor", vibrator.getQFactor()); in collectVibratorInfo() 99 store.addResult("resonant_frequency", vibrator.getResonantFrequency()); in collectVibratorInfo() 103 store.addResult("min_frequency", frequencyProfile.getMinFrequency()); in collectVibratorInfo() 104 store.addResult("max_frequency", frequencyProfile.getMaxFrequency()); in collectVibratorInfo() [all …]
|
D | PackageDeviceInfo.java | 147 store.addResult(NAME, pkg.packageName); in collectDeviceInfo() 148 store.addResult(VERSION_NAME, pkg.versionName); in collectDeviceInfo() 155 store.addResult(HAS_DEFAULT_NOTIFICATION_ACCESS, in collectDeviceInfo() 158 store.addResult(IS_ACTIVE_ADMIN, deviceAdminPackages.contains(pkg.packageName)); in collectDeviceInfo() 166 store.addResult(DEFAULT_ACCESSIBILITY_SERVICE, isDefaultAccessibilityComponent); in collectDeviceInfo() 169 store.addResult(SHA256_CERT, sha256_cert); in collectDeviceInfo() 172 store.addResult(SHA256_FILE, sha256_file); in collectDeviceInfo() 203 store.addResult(PERMISSION_IS_GRANTED, isGranted); in collectRequestedPermissions() 240 store.addResult(DIR, appInfo.sourceDir); in collectionApplicationInfo() 241 store.addResult(SYSTEM_PRIV, appInfo.isPrivilegedApp()); in collectionApplicationInfo() [all …]
|
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 | KeystoreAttestationDeviceInfo.java | 164 localStore.addResult("os_version", keyDetailsList.osVersion.get()); in collectStoredInformation() 167 localStore.addResult("patch_level", keyDetailsList.osPatchLevel.get()); in collectStoredInformation() 170 localStore.addResult( in collectStoredInformation() 175 localStore.addResult( in collectStoredInformation() 180 localStore.addResult( in collectStoredInformation() 185 localStore.addResult( in collectStoredInformation() 190 localStore.addResult( in collectStoredInformation() 195 localStore.addResult("vendor_patch_level", keyDetailsList.vendorPatchLevel.get()); in collectStoredInformation() 198 localStore.addResult("boot_patch_level", keyDetailsList.bootPatchLevel.get()); in collectStoredInformation() 205 localStore.addResult( in collectRootOfTrust() [all …]
|
D | ScreenDeviceInfo.java | 61 store.addResult("width_pixels", metrics.widthPixels); in collectDeviceInfo() 62 store.addResult("height_pixels", metrics.heightPixels); in collectDeviceInfo() 63 store.addResult("x_dpi", metrics.xdpi); in collectDeviceInfo() 64 store.addResult("y_dpi", metrics.ydpi); in collectDeviceInfo() 65 store.addResult("density", metrics.density); in collectDeviceInfo() 66 store.addResult("density_dpi", metrics.densityDpi); in collectDeviceInfo() 69 store.addResult("screen_size", getScreenSize(configuration)); in collectDeviceInfo() 70 store.addResult("smallest_screen_width_dp", configuration.smallestScreenWidthDp); in collectDeviceInfo() 90 store.addResult("wm_jetpack_version", in addDisplayFeaturesIfPresent() 101 store.addResult("wm_jetpack_version", "[Sidecar]" + sidecarVersion.toString()); in addDisplayFeaturesIfPresent() [all …]
|
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 | 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 | 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 | BiometricsDeviceInfo.java | 135 store.addResult(SENSOR_ID, props.getSensorId()); in collectDeviceInfo() 136 store.addResult(SENSOR_MODALITY, in collectDeviceInfo() 138 store.addResult(STRENGTH, propertyStrengthToSensorStrength(props.getSensorStrength())); in collectDeviceInfo() 139 store.addResult(CURRENT_STRENGTH, in collectDeviceInfo() 144 store.addResult(COMPONENT_INFO_COMPONENT_ID, info.getComponentId()); in collectDeviceInfo() 145 store.addResult(COMPONENT_INFO_HARDWARE_VERSION, info.getHardwareVersion()); in collectDeviceInfo() 146 store.addResult(COMPONENT_INFO_FIRMWARE_VERSION, info.getFirmwareVersion()); in collectDeviceInfo() 147 store.addResult(COMPONENT_INFO_SERIAL_NUMBER, info.getSerialNumber()); in collectDeviceInfo() 148 store.addResult(COMPONENT_INFO_SOFTWARE_VERSION, info.getSoftwareVersion()); in collectDeviceInfo()
|
D | StorageDeviceInfo.java | 57 store.addResult("num_physical", physical); in collectDeviceInfo() 58 store.addResult("num_emulated", emulated); in collectDeviceInfo() 63 store.addResult("compression", hasCompress); in collectDeviceInfo()
|
/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 | 80 mStore.addResult("cameraId", cameraId); in storeCameraInfo() 96 mStore.addResult("cameraId", cameraId); in storePhysicalCameraInfo() 115 mStore.addResult("numerator", rat.getNumerator()); in storeRational() 116 mStore.addResult("denominator", rat.getDenominator()); in storeRational() 127 mStore.addResult("width", size.getWidth()); in storeSize() 128 mStore.addResult("height", size.getHeight()); in storeSize() 139 mStore.addResult("width", size.getWidth()); in storeSizeF() 140 mStore.addResult("height", size.getHeight()); in storeSizeF() 151 mStore.addResult("left", rect.left); in storeRect() 152 mStore.addResult("right", rect.right); in storeRect() [all …]
|
/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/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/hostsidetests/edi/src/android/edi/cts/ |
D | NativeDeviceInfo.java | 39 store.addResult("enabled", memcg_enabled); in collectMemCG() 40 if (memcg_enabled) store.addResult("version", tokens[1].equals("0") ? "2" : "1"); in collectMemCG() 42 store.addResult("version", -3); in collectMemCG() 44 store.addResult("version", -1); in collectMemCG() 46 store.addResult("version", -2); in collectMemCG() 56 store.addResult("mglru_enabled", Integer.decode(commandResult.getStdout().trim())); in collectMGLRU() 58 store.addResult("mglru_enabled", -1); in collectMGLRU() 60 store.addResult("mglru_enabled", -2); in collectMGLRU() 111 store.addResult("allocator", allocatorName); 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/hostsidetests/classpath/src/android/classpath/cts/ |
D | ClasspathDeviceInfo.java | 138 store.addResult("classpath", classpath.name()); in collectClasspathJarInfo() 139 store.addResult("path", jarInfo.mPath); in collectClasspathJarInfo() 140 store.addResult("index", jarInfo.mIndex); in collectClasspathJarInfo() 172 store.addResult("name", jarInfo.mSharedLibraryInfo.name); in collectSharedLibraries() 173 store.addResult("type", jarInfo.mSharedLibraryInfo.type); in collectSharedLibraries() 174 store.addResult("version", jarInfo.mSharedLibraryInfo.version); in collectSharedLibraries() 176 store.addResult("path", jarInfo.mPath); in collectSharedLibraries() 177 store.addResult("index", jarInfo.mIndex); in collectSharedLibraries() 195 store.addResult("name", classDef.getType()); in collectClassInfo()
|