Home
last modified time | relevance | path

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

/tools/security/fuzzing/fuzzer_parser/
Dfuzzparser.go66 for _, prop := range mod.Map.Properties {
67 if prop.Name == "name" {
68 value := prop.Value.String()
70 } else if prop.Name == "static_libs" || prop.Name == "shared_libs" {
71 value := prop.Value.String()
82 } else if prop.Name == "defaults" {
84 value := prop.Value.String()
95 } else if prop.Name == "target" {
96 value := prop.Value.String()
118 for _, prop := range mod.Map.Properties {
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java724 String prop = getProperty(device, DeviceProperties.BOARD); in getDeviceProductType() local
726 if (Strings.isNullOrEmpty(prop)) { in getDeviceProductType()
727 prop = getProperty(device, DeviceProperties.HARDWARE); in getDeviceProductType()
729 if (prop != null) { in getDeviceProductType()
730 prop = prop.toLowerCase(); in getDeviceProductType()
732 return prop; in getDeviceProductType()
741 String prop = getProperty(device, DeviceProperties.VARIANT); in getDeviceProductVariant() local
742 if (prop == null) { in getDeviceProductVariant()
743 prop = getProperty(device, DeviceProperties.VARIANT_LEGACY_O_MR1); in getDeviceProductVariant()
745 if (prop == null) { in getDeviceProductVariant()
[all …]
DDumpsysPackageReceiver.java126 String[] prop = line.split("="); in parseAttributes() local
127 if (prop.length == 2) { in parseAttributes()
128 mPkgInfo.addAttribute(prop[0], prop[1]); in parseAttributes()
129 } else if (prop.length > 2) { in parseAttributes()
227 String[] prop = line.split("="); in parseAttributes() local
228 if (prop.length == 2) { in parseAttributes()
229 mPkgInfo.addPerUserAttribute(mUserId, prop[0], prop[1]); in parseAttributes()
DNativeDevice.java854 String prop = getFastbootVariable("product"); in getFastbootProductType() local
855 if (prop != null) { in getFastbootProductType()
856 prop = prop.toLowerCase(); in getFastbootProductType()
858 return prop; in getFastbootProductType()
866 String prop = internalGetProperty(DeviceProperties.VARIANT, "variant", "Product variant"); in getProductVariant() local
867 if (prop == null) { in getProductVariant()
868 prop = in getProductVariant()
872 if (prop == null) { in getProductVariant()
873 prop = in getProductVariant()
879 if (prop != null) { in getProductVariant()
[all …]
/tools/test/connectivity/acts/framework/tests/libs/testtracker/
Dtesttracker_results_writer_test.py103 for prop in result.property:
104 if prop.name == KEY_UUID:
105 self.assertEqual(prop.string_value, '12345abcde')
160 for prop in result.property:
161 if prop.name == KEY_DETAILS:
162 self.assertEqual(prop.string_value, 'Sample error message')
171 for prop in result.property:
172 if prop.name == 'extra_prop':
173 self.assertEqual(prop.string_value, 'foo')
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java730 for (String prop : mDeprecatedSetProps) { in processDeprecatedOptions()
731 String[] parts = prop.split("=", 2); in processDeprecatedOptions()
933 for (Map.Entry<String, String> prop : mSetProps.entrySet()) { in changeSystemProps()
938 prop.getKey().startsWith(PERSIST_PREFIX) in changeSystemProps()
939 || prop.getKey().equals(MEMTAG_BOOTCTL); in changeSystemProps()
942 device.setProperty(prop.getKey(), prop.getValue()); in changeSystemProps()
946 nonpersistentProps.put(prop.getKey(), prop.getValue()); in changeSystemProps()
949 if (PROPERTIES_NEEDING_REBOOT.contains(prop.getKey())) { in changeSystemProps()
961 for (Map.Entry<String, String> prop : nonpersistentProps.entrySet()) { in changeSystemProps()
962 if (!prop.getValue().equals(device.getProperty(prop.getKey()))) { in changeSystemProps()
[all …]
/tools/tradefederation/core/javatests/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/tradefederation/core/src/com/android/tradefed/invoker/shard/
DLocalPool.java114 for (TokenProperty prop : requiredTokens) { in isSupported()
115 ITokenProvider provider = TokenProviderHelper.getTokenProvider(prop); in isSupported()
117 CLog.e("No provider for token %s", prop); in isSupported()
120 if (!provider.hasToken(info.getDevice(), prop)) { in isSupported()
/tools/platform-compat/java/com/android/annotationvisitor/
DAnnotationHandler.java37 for (ElementValuePair prop : annotation.getElementValuePairs()) { in stringifyAnnotationProperties()
38 content.put(prop.getNameString(), prop.getValue().stringifyValue()); in stringifyAnnotationProperties()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DShippingApiLevelModuleController.java73 for (String prop : apiLevelprops) { in shouldRunTestWithApiLevels()
74 long apiLevel = device.getIntProperty(prop, VALUE_NOT_FOUND); in shouldRunTestWithApiLevels()
81 getModuleName(), apiLevel, prop, minApiLevel); in shouldRunTestWithApiLevels()
/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/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DMetalavaOptions.kt406 prop: KProperty<*> in <lambda>()
409 val providedDelegate = delegate.provideDelegate(thisRef, prop) in <lambda>()
559 prop: KProperty<*> in <lambda>()
564 return delegate.provideDelegate(thisRef, prop) in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DFileFormat.kt369 CustomizableProperty.values().forEach { prop -> in <lambda>() method
372 val thisValue = prop.stringFromFormat(this@FileFormat) ?: return@forEach in <lambda>()
373 val defaultValue = prop.stringFromFormat(defaults) in <lambda>()
375 consumer(prop.propertyName, thisValue) in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt109 val prop = foo.properties().single() in <lambda>() constant
110 assertThat(prop.name()).isEqualTo("foo") in <lambda>()
111 assertThat(prop.type().isString()).isTrue() in <lambda>()
112 assertThat(prop.modifiers.getVisibilityLevel()).isEqualTo(VisibilityLevel.PUBLIC) in <lambda>()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_logging_utils.py321 for prop in ("persist.sys.modem.diag.mdlog",
324 if ad.adb.getprop(prop):
325 ad.adb.shell("setprop %s false" % prop, ignore_status=True)
Dtel_test_utils.py2955 for prop in ("gsm.version.baseband", "persist.radio.ver_info",
2957 output = ad.adb.getprop(prop)
2958 ad.log.info("%s%s = %s", extra_msg, prop, output)
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/lint/
DApiLint.kt3387 prop: (GetterSetterPattern) -> String in <lambda>()
3389 name.startsWith(prop(it)) && in <lambda>()
3390 name.getOrNull(prop(it).length)?.let { charAfterPrefix -> in <lambda>()