Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java533 String prop = getProperty(device, DeviceProperties.BOARD); in getDeviceProductType() local
534 if (prop != null) { in getDeviceProductType()
535 prop = prop.toLowerCase(); in getDeviceProductType()
537 return prop; in getDeviceProductType()
546 String prop = getProperty(device, DeviceProperties.VARIANT); in getDeviceProductVariant() local
547 if (prop == null) { in getDeviceProductVariant()
548 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY); in getDeviceProductVariant()
550 if (prop != null) { in getDeviceProductVariant()
551 prop = prop.toLowerCase(); in getDeviceProductVariant()
553 return prop; in getDeviceProductVariant()
[all …]
DDumpsysPackageReceiver.java117 String[] prop = line.split("="); in parseAttributes() local
118 if (prop.length == 2) { in parseAttributes()
119 mPkgInfo.addAttribute(prop[0], prop[1]); in parseAttributes()
120 } else if (prop.length > 2) { in parseAttributes()
DNativeDevice.java503 String prop = getFastbootVariable("product"); in getFastbootProductType() local
504 if (prop != null) { in getFastbootProductType()
505 prop = prop.toLowerCase(); in getFastbootProductType()
507 return prop; in getFastbootProductType()
515 String prop = internalGetProperty(DeviceProperties.VARIANT, "variant", "Product variant"); in getProductVariant() local
516 if (prop == null) { in getProductVariant()
517 prop = in getProductVariant()
521 if (prop != null) { in getProductVariant()
522 prop = prop.toLowerCase(); in getProductVariant()
524 return prop; in getProductVariant()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java535 for (String prop : mDeprecatedSetProps) { in processDeprecatedOptions()
536 String[] parts = prop.split("=", 2); in processDeprecatedOptions()
702 for (Map.Entry<String, String> prop : mSetProps.entrySet()) { in changeSystemProps()
703 if (prop.getKey().startsWith(PERSIST_PREFIX)) { in changeSystemProps()
705 prop.getKey(), prop.getValue()); in changeSystemProps()
708 sb.append(String.format("%s=%s\n", prop.getKey(), prop.getValue())); in changeSystemProps()
1334 protected void setDeprecatedSetProp(String prop) { in setDeprecatedSetProp() argument
1335 mDeprecatedSetProps.add(prop); in setDeprecatedSetProp()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java64 File prop = mDevice.pullFile("/data/local.prop"); in wipeDevice() local
68 if (prop != null) { in wipeDevice()
69 mDevice.pushFile(prop, "/data/local.prop"); in wipeDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1804 Set<BuildInfoProperties> prop = new HashSet<>(); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty() local
1805 prop.add(BuildInfoProperties.DO_NOT_LINK_TESTS_DIR); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
1806 EasyMock.expect(mMockBuildInfo.getProperties()).andStubReturn(prop); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py5668 for prop in ("gsm.version.baseband", "persist.radio.ver_info",
5670 output = ad.adb.getprop(prop)
5671 ad.log.info("%s%s = %s", extra_msg, prop, output)