Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java646 String prop = getProperty(device, DeviceProperties.BOARD); in getDeviceProductType() local
648 if (Strings.isNullOrEmpty(prop)) { in getDeviceProductType()
649 prop = getProperty(device, DeviceProperties.HARDWARE); in getDeviceProductType()
651 if (prop != null) { in getDeviceProductType()
652 prop = prop.toLowerCase(); in getDeviceProductType()
654 return prop; in getDeviceProductType()
663 String prop = getProperty(device, DeviceProperties.VARIANT); in getDeviceProductVariant() local
664 if (prop == null) { in getDeviceProductVariant()
665 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY_O_MR1); in getDeviceProductVariant()
667 if (prop == null) { in getDeviceProductVariant()
[all …]
DDumpsysPackageReceiver.java119 String[] prop = line.split("="); in parseAttributes() local
120 if (prop.length == 2) { in parseAttributes()
121 mPkgInfo.addAttribute(prop[0], prop[1]); in parseAttributes()
122 } else if (prop.length > 2) { in parseAttributes()
DNativeDevice.java606 String prop = getFastbootVariable("product"); in getFastbootProductType() local
607 if (prop != null) { in getFastbootProductType()
608 prop = prop.toLowerCase(); in getFastbootProductType()
610 return prop; in getFastbootProductType()
618 String prop = internalGetProperty(DeviceProperties.VARIANT, "variant", "Product variant"); in getProductVariant() local
619 if (prop == null) { in getProductVariant()
620 prop = in getProductVariant()
624 if (prop == null) { in getProductVariant()
625 prop = in getProductVariant()
631 if (prop != null) { in getProductVariant()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/
DTokenProviderHelperTest.java30 for (TokenProperty prop : TokenProperty.values()) { in testAllKeysHaveProvider()
32 String.format("Token %s does not have a provider", prop), in testAllKeysHaveProvider()
33 TokenProviderHelper.getTokenProvider(prop)); in testAllKeysHaveProvider()
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/device/command/
Dadb_command_types_test.py66 prop = 'some.property'
68 device_setprop = DeviceSetprop(prop)
76 prop = 'some.other.property'
79 device_binary_setprop = DeviceSetprop(prop, on_val, off_val)
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/
Dadb_command_types.py61 def __init__(self, prop, on_val='1', off_val='0'): argument
69 super().__init__('setprop %s' % prop, on_val, off_val)
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java545 for (String prop : mDeprecatedSetProps) { in processDeprecatedOptions()
546 String[] parts = prop.split("=", 2); in processDeprecatedOptions()
723 for (Map.Entry<String, String> prop : mSetProps.entrySet()) { in changeSystemProps()
724 if (prop.getKey().startsWith(PERSIST_PREFIX)) { in changeSystemProps()
726 device.setProperty(prop.getKey(), prop.getValue()); in changeSystemProps()
728 sb.append(String.format("%s=%s\n", prop.getKey(), prop.getValue())); in changeSystemProps()
1391 protected void setDeprecatedSetProp(String prop) { in setDeprecatedSetProp() argument
1392 mDeprecatedSetProps.add(prop); in setDeprecatedSetProp()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py112 for prop in properties:
113 p = prop.split('=')
126 for prop in prop_array:
127 p = prop.split('=')
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java345 for (TokenProperty prop : requiredTokens) { in isSupported()
346 ITokenProvider provider = TokenProviderHelper.getTokenProvider(prop); in isSupported()
348 CLog.e("No provider for token %s", prop); in isSupported()
351 if (!provider.hasToken(mTestInfo.getDevice(), prop)) { in isSupported()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2407 prop = wifi_constants.LEGACY_CNSS_DIAG_PROP
2409 prop = wifi_constants.CNSS_DIAG_PROP
2410 if ad.adb.getprop(prop) != 'true':
2412 ad.adb.shell("setprop %s true" % prop, ignore_status=True)
2427 prop = wifi_constants.LEGACY_CNSS_DIAG_PROP
2429 prop = wifi_constants.CNSS_DIAG_PROP
2430 ad.adb.shell("setprop %s false" % prop, ignore_status=True)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py7079 for prop in ("persist.sys.modem.diag.mdlog",
7081 if ad.adb.getprop(prop):
7091 ad.adb.shell("setprop %s true" % prop, ignore_status=True)
7196 for prop in ("persist.sys.modem.diag.mdlog",
7199 if ad.adb.getprop(prop):
7200 ad.adb.shell("setprop %s false" % prop, ignore_status=True)
7920 for prop in ("gsm.version.baseband", "persist.radio.ver_info",
7922 output = ad.adb.getprop(prop)
7923 ad.log.info("%s%s = %s", extra_msg, prop, output)
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java1857 Set<BuildInfoProperties> prop = new HashSet<>(); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty() local
1858 prop.add(BuildInfoProperties.DO_NOT_LINK_TESTS_DIR); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
1859 EasyMock.expect(mMockBuildInfo.getProperties()).andStubReturn(prop); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...