/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 108 return getProperty(MANUFACTURER_PROPERTY); in getManufacturer() 133 return getProperty(property) != null; in propertyExists() 141 return value.equals(getProperty(property)); in propertyEquals() 153 String value = getProperty(property); in propertyMatches() 161 String value = getProperty(property); in getPropertyInt() 173 public static String getProperty(String property) { in getProperty() method in PropertyUtil
|
D | DeviceConfigStateManager.java | 82 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 93 return getProperty(MANUFACTURER_PROPERTY); in getManufacturer() 118 return getProperty(property) != null; in propertyExists() 126 return value.equals(getProperty(property)); in propertyEquals() 138 String value = getProperty(property); in propertyMatches() 146 String value = getProperty(property); in getPropertyInt() 158 public static String getProperty(String property) { in getProperty() method in PropertyUtil
|
D | DeviceConfigStateManager.java | 82 -> reference.set(DeviceConfig.getProperty(mNamespace, mKey)), in get()
|
/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/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/tests/deviceconfig/src/android/deviceconfig/cts/ |
D | DeviceConfigApiPermissionTests.java | 74 String result = DeviceConfig.getProperty(NAMESPACE2, KEY2); in testUseDeviceConfigWithoutPermissions() 114 DeviceConfig.getProperty(NAMESPACE, KEY); in testUseDeviceConfigWithWritePermission() 154 DeviceConfig.getProperty(NAMESPACE, KEY); in testDeviceConfigWithReadPermission() 196 String property = DeviceConfig.getProperty(NAMESPACE, KEY); in testDeviceConfigWithAllPermissions() 246 String property = DeviceConfig.getProperty(PUBLIC_NAMESPACE, KEY); in testDeviceConfigPublicNamespacesWithoutReadPermission()
|
D | DeviceConfigApiTests.java | 124 String result = DeviceConfig.getProperty(EMPTY_NAMESPACE, KEY1); in getProperty_empty() 135 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in setAndGetProperty_sameNamespace() 147 String result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in setAndGetProperty_differentNamespace() 158 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in setAndGetProperty_multipleNamespaces() 161 result = DeviceConfig.getProperty(NAMESPACE2, KEY1); in setAndGetProperty_multipleNamespaces() 173 String result = DeviceConfig.getProperty(NAMESPACE1, KEY1); in setAndGetProperty_overrideValue() 892 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE2); in testResetToPackageDefaults() 896 assertEquals(DeviceConfig.getProperty(NAMESPACE1, KEY1), VALUE1); in testResetToPackageDefaults()
|
/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/statsd/src/android/cts/statsd/atom/ |
D | HostAtomTests.java | 538 assertEquals(getProperty("ro.product.brand"), atom.getBrand()); in testBuildInformation() 539 assertEquals(getProperty("ro.product.name"), atom.getProduct()); in testBuildInformation() 540 assertEquals(getProperty("ro.product.device"), atom.getDevice()); in testBuildInformation() 541 assertEquals(getProperty("ro.build.version.release"), atom.getVersionRelease()); in testBuildInformation() 542 assertEquals(getProperty("ro.build.id"), atom.getId()); in testBuildInformation() 543 assertEquals(getProperty("ro.build.version.incremental"), atom.getVersionIncremental()); in testBuildInformation() 544 assertEquals(getProperty("ro.build.type"), atom.getType()); in testBuildInformation() 545 assertEquals(getProperty("ro.build.tags"), atom.getTags()); in testBuildInformation()
|
D | BaseTestCase.java | 166 if ("false".equals(getDevice().getProperty("ro.statsd.enable")) in statsdDisabled() 167 && "true".equals(getDevice().getProperty("ro.config.low_ram"))) { in statsdDisabled()
|
/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/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/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 | 53 protected static String getProperty(String property) in getProperty() method in SELinuxTargetSdkTestBase 75 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/hostsidetests/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 88 String buildType = mDevice.getProperty("ro.build.type"); in setUp() 132 String expectedInstallFilter = checkNotNull(mDevice.getProperty("pm.dexopt.install")); in testCompile_bgDexopt() 134 String expectedBgDexoptFilter = checkNotNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); in testCompile_bgDexopt()
|
/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()
|
D | DiskStatsProtoTest.java | 62 if ("file".equals(device.getProperty("ro.crypto.type"))) { in verifyDiskStatsServiceDumpProto()
|
/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/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/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 129 String value = getProperty(property); in getStringList() 140 static String getProperty(String property) in getProperty() method in BuildTest
|