/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/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 | 139 return getProperty(MANUFACTURER_PROPERTY); in getManufacturer() 164 return getProperty(property) != null; in propertyExists() 172 return value.equals(getProperty(property)); in propertyEquals() 184 String value = getProperty(property); in propertyMatches() 192 String value = getProperty(property); in getPropertyInt() 204 public static String getProperty(String property) { in getProperty() method in PropertyUtil
|
D | DeviceConfigStateManager.java | 81 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get()
|
/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/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/ |
D | UserspaceRebootHostTest.java | 100 assertThat(getDevice().getProperty("ro.crypto.state")).isEqualTo("encrypted"); in testOnlyFbeDevicesSupportUserspaceReboot() 101 assertThat(getDevice().getProperty("ro.crypto.type")).isEqualTo("file"); in testOnlyFbeDevicesSupportUserspaceReboot() 251 getProperty("init.userspace_reboot.sigkill.timeoutmillis", ""); in testUserspaceRebootFailsKillingProcesses() 253 getProperty("init.userspace_reboot.sigterm.timeoutmillis", ""); in testUserspaceRebootFailsKillingProcesses() 276 final String defaultValue = getProperty("init.userspace_reboot.watchdog.timeoutmillis", ""); in testUserspaceRebootWatchdogTriggers() 323 final String bootReason = getProperty("sys.boot.reason.last", ""); in assertUserspaceRebootSucceed() 360 String reason = getProperty("sys.boot.reason.last", ""); in assertLastBootReasonIs() 371 private String getProperty(String name, String defaultValue) throws Exception { in getProperty() method in UserspaceRebootHostTest 372 String ret = getDevice().getProperty(name); in getProperty()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | QuiescentBootTests.java | 70 "1", mDevice.getProperty("ro.boot.quiescent")); in testQuiescentBoot_sysPropSet_asleep() 92 "1", mDevice.getProperty("ro.boot.quiescent")); in testQuiescentBoot_asleepAfterQuiescentReboot() 105 mDevice.getProperty("ro.boot.quiescent")); in testQuiescentBoot_awakeAfterReboot()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | EncryptionTest.java | 66 if ("file".equals(PropertyUtil.getProperty("ro.crypto.type"))) { in handleEncryptedDevice() 86 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/statsd/src/android/cts/statsd/atom/ |
D | HostAtomTests.java | 528 assertThat(getProperty("ro.product.brand")).isEqualTo(atom.getBrand()); in testBuildInformation() 529 assertThat(getProperty("ro.product.name")).isEqualTo(atom.getProduct()); in testBuildInformation() 530 assertThat(getProperty("ro.product.device")).isEqualTo(atom.getDevice()); in testBuildInformation() 531 …assertThat(getProperty("ro.build.version.release_or_codename")).isEqualTo(atom.getVersionRelease()… in testBuildInformation() 532 assertThat(getProperty("ro.build.id")).isEqualTo(atom.getId()); in testBuildInformation() 533 assertThat(getProperty("ro.build.version.incremental")) in testBuildInformation() 535 assertThat(getProperty("ro.build.type")).isEqualTo(atom.getType()); in testBuildInformation() 536 assertThat(getProperty("ro.build.tags")).isEqualTo(atom.getTags()); in testBuildInformation()
|
/cts/hostsidetests/apex/src/android/apex/cts/ |
D | ApexTest.java | 32 return Boolean.parseBoolean(getDevice().getProperty("ro.apex.updatable")); in isApexUpdatable() 36 String systemProduct = getDevice().getProperty("ro.product.system_ext.name"); in isGSI()
|
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiPermissionTests.java | 212 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission() 275 DeviceConfig.getProperty(NAMESPACE, KEY); in tryGetPropertyWithoutReadPermission() 327 property = DeviceConfig.getProperty(NAMESPACE, KEY); in tryGetPropertyWithReadPermission()
|
D | DeviceConfigApiTests.java | 124 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in testGetProperty_empty() 135 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_sameNamespace() 162 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_differentNamespace() 187 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_multipleNamespaces() 190 result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in testSetAndGetProperty_multipleNamespaces() 221 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in testSetAndGetProperty_overrideValue() 968 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE2); in testResetToPackageDefaults() 972 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE1); in testResetToPackageDefaults()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsGpuProfilingDataTest.java | 100 String layerApp = getDevice().getProperty(LAYER_PACKAGE_PROPERTY); in init() 115 String profilingSupport = getDevice().getProperty(PROFILING_PROPERTY); in testProfilingDataProducersAvailable()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyValueTest.java | 112 CarPropertyValue value = mCarPropertyManager.getProperty( in getCarPropertyValues() 120 CarPropertyValue value = mCarPropertyManager.getProperty( in getCarPropertyValues()
|
/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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | UserActivityEmulator.java | 38 outputString = outputString.split(System.getProperty("line.separator"))[1]; in UserActivityEmulator()
|
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/ |
D | DynamicLinkerTest.java | 36 String arch = System.getProperty("os.arch"); in testLoadLibInApkByFileName()
|
/cts/tests/signature/api-check/system-annotation/src/java/android/signature/cts/api/ |
D | AnnotationTest.java | 48 if ("true".equals(PropertyUtil.getProperty("ro.treble.enabled")) && in testAnnotation()
|
/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/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 87 String buildType = mDevice.getProperty("ro.build.type"); in setUp() 131 … String expectedInstallFilter = Objects.requireNonNull(mDevice.getProperty("pm.dexopt.install")); in testCompile_bgDexopt() 133 …String expectedBgDexoptFilter = Objects.requireNonNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); in testCompile_bgDexopt()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 242 if ("false".equals(mDevice.getProperty("ro.statsd.enable")) in isStatsdDisabled() 243 && "true".equals(mDevice.getProperty("ro.config.low_ram"))) { in isStatsdDisabled()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ProtoDumpTestCase.java | 272 if ("false".equals(getDevice().getProperty("ro.statsd.enable")) in incidentdDisabled() 273 && "true".equals(getDevice().getProperty("ro.config.low_ram"))) { in incidentdDisabled()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | ApexShimValidationTest.java | 107 final String updatable = getDevice().getProperty("ro.apex.updatable"); in setUp() 266 final String os = System.getProperty("os.name").toLowerCase(); in runDeapexerExtract()
|