Searched refs:prop (Results 1 – 13 of 13) sorted by relevance
646 String prop = getProperty(device, DeviceProperties.BOARD); in getDeviceProductType() local648 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() local664 if (prop == null) { in getDeviceProductVariant()665 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY_O_MR1); in getDeviceProductVariant()667 if (prop == null) { in getDeviceProductVariant()[all …]
119 String[] prop = line.split("="); in parseAttributes() local120 if (prop.length == 2) { in parseAttributes()121 mPkgInfo.addAttribute(prop[0], prop[1]); in parseAttributes()122 } else if (prop.length > 2) { in parseAttributes()
606 String prop = getFastbootVariable("product"); in getFastbootProductType() local607 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() local619 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 …]
30 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()
66 prop = 'some.property'68 device_setprop = DeviceSetprop(prop)76 prop = 'some.other.property'79 device_binary_setprop = DeviceSetprop(prop, on_val, off_val)
61 def __init__(self, prop, on_val='1', off_val='0'): argument69 super().__init__('setprop %s' % prop, on_val, off_val)
545 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() argument1392 mDeprecatedSetProps.add(prop); in setDeprecatedSetProp()
112 for prop in properties:113 p = prop.split('=')126 for prop in prop_array:127 p = prop.split('=')
345 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()
2407 prop = wifi_constants.LEGACY_CNSS_DIAG_PROP2409 prop = wifi_constants.CNSS_DIAG_PROP2410 if ad.adb.getprop(prop) != 'true':2412 ad.adb.shell("setprop %s true" % prop, ignore_status=True)2427 prop = wifi_constants.LEGACY_CNSS_DIAG_PROP2429 prop = wifi_constants.CNSS_DIAG_PROP2430 ad.adb.shell("setprop %s false" % prop, ignore_status=True)
7079 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)
1857 Set<BuildInfoProperties> prop = new HashSet<>(); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty() local1858 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()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...