/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() 40 String abi = getProperty("ro.product.cpu.abilist"); 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() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerGetPropertyTest.java | 111 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 118 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 125 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 132 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 139 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 146 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 153 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 160 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 167 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() 174 final Property testProperty = sPackageManager.getProperty( in testGetApplicationProperty() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/ |
D | StaticProxyTest.java | 124 assertEquals(System.getProperty("http.proxyHost"), mProxyHost); in testProxyJavaProperties() 125 assertEquals(System.getProperty("https.proxyHost"), mProxyHost); in testProxyJavaProperties() 126 assertEquals(System.getProperty("http.proxyPort"), PROXY_PORT + ""); in testProxyJavaProperties() 127 assertEquals(System.getProperty("https.proxyPort"), PROXY_PORT + ""); in testProxyJavaProperties() 128 assertEquals(System.getProperty("http.nonProxyHosts"), EXCL_LIST); in testProxyJavaProperties() 129 assertEquals(System.getProperty("https.nonProxyHosts"), EXCL_LIST); in testProxyJavaProperties()
|
D | BaseProxyTest.java | 116 String proxy = System.getProperty("http.proxyHost"); in isProxySysPropSet() 137 return TextUtils.isEmpty(System.getProperty("http.proxyHost")); in isProxySysPropClear()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 163 return getProperty(MANUFACTURER_PROPERTY); in getManufacturer() 188 return getProperty(property) != null; in propertyExists() 196 return value.equals(getProperty(property)); in propertyEquals() 208 String value = getProperty(property); in propertyMatches() 216 String value = getProperty(property); in getPropertyBoolean() 227 String value = getProperty(property); in getPropertyInt() 239 public static String getProperty(String property) { in getProperty() method in PropertyUtil
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | BuildPropParser.java | 54 return getProperty("ro.build.version.incremental"); in getBuildNumber() 58 return getProperty("ro.build.id"); in getVersion() 62 return getProperty("ro.product.device"); in getName() 66 return getProperty("ro.build.flavor"); in getFullName() 76 public String getProperty(String propertyName) { in getProperty() method in BuildPropParser
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GenericDocumentCtsTest.java | 175 assertThat(document.getProperty("longKey1")).isInstanceOf(long[].class); in testDocumentGetSingleValue() 176 assertThat((long[]) document.getProperty("longKey1")).asList().containsExactly(1L); in testDocumentGetSingleValue() 177 assertThat(document.getProperty("doubleKey1")).isInstanceOf(double[].class); in testDocumentGetSingleValue() 178 assertThat((double[]) document.getProperty("doubleKey1")) in testDocumentGetSingleValue() 181 assertThat(document.getProperty("booleanKey1")).isInstanceOf(boolean[].class); in testDocumentGetSingleValue() 182 assertThat((boolean[]) document.getProperty("booleanKey1")).asList().containsExactly(true); in testDocumentGetSingleValue() 183 assertThat(document.getProperty("stringKey1")).isInstanceOf(String[].class); in testDocumentGetSingleValue() 184 assertThat((String[]) document.getProperty("stringKey1")) in testDocumentGetSingleValue() 187 assertThat(document.getProperty("byteKey1")).isInstanceOf(byte[][].class); in testDocumentGetSingleValue() 188 assertThat((byte[][]) document.getProperty("byteKey1")) in testDocumentGetSingleValue() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioSystemParams.java | 36 String framesPerBuffer = audioManager.getProperty( in init() 43 audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE)); in init()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | EncryptionTest.java | 88 if ("file".equals(PropertyUtil.getProperty("ro.crypto.type"))) { in handleEncryptedDevice() 111 if ("encrypted".equals(PropertyUtil.getProperty("ro.crypto.state"))) { in testEncryption()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | ProcessMustUseSeccompTest.java | 60 String[] lines = Out.getOutput().split(System.getProperty("line.separator")); in getPidFromCmd() 88 String[] lines = Out.getOutput().split(System.getProperty("line.separator")); in pidHasSeccompBpf()
|
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/ |
D | CtsVideoQualityFloorHostTest.java | 106 private String getProperty(String prop) throws Exception { in getProperty() method in CtsVideoQualityFloorHostTest 116 String sdkAsString = getProperty("ro.build.version.sdk"); in testEncoding() 126 String tmpBase = System.getProperty("java.io.tmpdir"); in testEncoding()
|
/cts/hostsidetests/apex/src/android/apex/cts/ |
D | ApexTest.java | 34 return Boolean.parseBoolean(getDevice().getProperty("ro.apex.updatable")); in isApexUpdatable() 38 String systemProduct = getDevice().getProperty("ro.product.system_ext.name"); in isGSI()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | UserActivityEmulator.java | 38 outputString = outputString.split(System.getProperty("line.separator"))[1]; in UserActivityEmulator()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecConstants.java | 93 new File(System.getProperty("java.io.tmpdir"), "cec-cts-temp");
|
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/ |
D | DynamicLinkerTest.java | 36 String arch = System.getProperty("os.arch"); in testLoadLibInApkByFileName()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsGpuProfilingDataTest.java | 101 String layerApp = getDevice().getProperty(LAYER_PACKAGE_PROPERTY); in init() 117 String profilingSupport = getDevice().getProperty(PROFILING_PROPERTY); in testProfilingDataProducersAvailable()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyValueTest.java | 117 CarPropertyValue value = mCarPropertyManager.getProperty( in getCarPropertyValues() 125 CarPropertyValue value = mCarPropertyManager.getProperty( in getCarPropertyValues()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecPhysicalAddressTest.java | 50 String deviceType = device.getProperty(HdmiCecConstants.HDMI_DEVICE_TYPE_PROPERTY); in cect_10_1_2_1_RebootPhysicalAddress()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2020_0018.java | 42 String debuggable = device.getProperty("ro.debuggable").trim(); in testPocCVE_2020_0018()
|
/cts/tests/tests/selinux/common/src/android/security/ |
D | SELinuxTargetSdkTestBase.java | 34 protected static String getProperty(String property) in getProperty() method in SELinuxTargetSdkTestBase 56 String dns = getProperty(dnsProps[i]); in noDns()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiPermissionTests.java | 220 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission() 283 DeviceConfig.getProperty(NAMESPACE, KEY); in tryGetPropertyWithoutReadPermission() 335 property = DeviceConfig.getProperty(NAMESPACE, KEY); in tryGetPropertyWithReadPermission()
|
D | DeviceConfigApiTests.java | 157 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in testGetProperty_empty() 168 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_sameNamespace() 195 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_differentNamespace() 220 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_multipleNamespaces() 223 result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_multipleNamespaces() 254 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_overrideValue() 1001 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE2); in testResetToPackageDefaults() 1005 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE1); in testResetToPackageDefaults()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | HostAtomTests.java | 527 assertThat(DeviceUtils.getProperty(getDevice(), "ro.product.brand")).isEqualTo( in testBuildInformation() 529 assertThat(DeviceUtils.getProperty(getDevice(), "ro.product.name")).isEqualTo( in testBuildInformation() 531 assertThat(DeviceUtils.getProperty(getDevice(), "ro.product.device")).isEqualTo( in testBuildInformation() 533 assertThat(DeviceUtils.getProperty(getDevice(), in testBuildInformation() 536 assertThat(DeviceUtils.getProperty(getDevice(), "ro.build.id")).isEqualTo(atom.getId()); in testBuildInformation() 537 assertThat(DeviceUtils.getProperty(getDevice(), "ro.build.version.incremental")) in testBuildInformation() 539 assertThat(DeviceUtils.getProperty(getDevice(), "ro.build.type")).isEqualTo(atom.getType()); in testBuildInformation() 540 assertThat(DeviceUtils.getProperty(getDevice(), "ro.build.tags")).isEqualTo(atom.getTags()); in testBuildInformation()
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
D | LibcoreTest.java | 88 return Objects.equals(getDevice().getProperty("ro.hardware.virtual_device"), "1"); in isVirtualDevice()
|
/cts/hostsidetests/install/src/android/cts/install/host/ |
D | ShimApexRule.java | 89 final String updatable = mHostTest.getDevice().getProperty("ro.apex.updatable"); in isUpdatingApexSupported()
|