/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 | 94 return getProperty(MANUFACTURER_PROPERTY); in getManufacturer() 119 return getProperty(property) != null; in propertyExists() 127 return value.equals(getProperty(property)); in propertyEquals() 139 String value = getProperty(property); in propertyMatches() 147 String value = getProperty(property); in getPropertyInt() 159 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/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 | 65 if ("file".equals(PropertyUtil.getProperty("ro.crypto.type"))) { in handleEncryptedDevice() 84 if ("encrypted".equals(PropertyUtil.getProperty("ro.crypto.state"))) { in testEncryption()
|
/cts/hostsidetests/security/src/android/cts/security/ |
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 | 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/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() 131 String expectedInstallFilter = checkNotNull(mDevice.getProperty("pm.dexopt.install")); in testCompile_bgDexopt() 133 String expectedBgDexoptFilter = checkNotNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); in testCompile_bgDexopt()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | ApexShimValidationTest.java | 70 final String updatable = getDevice().getProperty("ro.apex.updatable"); in setUp()
|
/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()
|
D | DiskStatsProtoTest.java | 62 if ("file".equals(device.getProperty("ro.crypto.type"))) { in verifyDiskStatsServiceDumpProto()
|
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/ |
D | RollbackManagerHostTest.java | 57 return "true".equals(getDevice().getProperty("ro.apex.updatable")); in isApexUpdateSupported()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | EmergencyCallMessageTest.java | 83 phoneNumber = System.getProperty(PHONE_NUMBER_KEY); in getPhoneNumber()
|
/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
|