Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 52) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java1012 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchInclude() local
1013 metadata.put("component", "foo"); in testMetadataFilter_matchInclude()
1014 desc.setMetaData(metadata); in testMetadataFilter_matchInclude()
1027 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchValue() local
1028 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchValue()
1029 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchValue()
1042 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchKey() local
1043 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchKey()
1044 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchKey()
1057 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchExclude() local
[all …]
/tools/acloud/internal/lib/
Dcvd_compute_client.py114 metadata = self._metadata.copy()
115 metadata["cvd_01_fetch_android_build_target"] = build_target
116 metadata["cvd_01_fetch_android_bid"] = "{branch}/{build_id}".format(
119 metadata["cvd_01_fetch_kernel_bid"] = "{branch}/{build_id}".format(
122 metadata["cvd_01_fetch_kernel_build_target"] = kernel_build_target
124 metadata["cvd_01_fetch_system_build_target"] = system_build_target
126 metadata["cvd_01_fetch_system_bid"] = "{branch}/{build_id}".format(
128 metadata["cvd_01_launch"] = self._GetLaunchCvdArgs(avd_spec)
135 metadata.pop(meta, None)
140 metadata["cvd_01_data_policy"] = self.DATA_POLICY_CREATE_IF_MISSING
[all …]
Dgoldfish_compute_client.py189 metadata = self._metadata.copy()
190 metadata["user"] = getpass.getuser()
191 metadata[constants.INS_KEY_AVD_TYPE] = constants.TYPE_GF
194 metadata["cvd_01_fetch_android_build_target"] = build_target
195 metadata["cvd_01_fetch_android_bid"] = "{branch}/{build_id}".format(
198 metadata["cvd_01_fetch_kernel_bid"] = "{branch}/{build_id}".format(
200 metadata["cvd_01_fetch_kernel_build_target"] = kernel_build_target
201 metadata["cvd_01_fetch_kernel_build_artifact"] = (
203 metadata["cvd_01_use_custom_kernel"] = "true"
205 metadata[
[all …]
Dcheeps_compute_client.py75 metadata = self._metadata.copy()
76 metadata[constants.INS_KEY_AVD_TYPE] = constants.TYPE_CHEEPS
79 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
80 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
81 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI]
82 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
88 metadata["user"] = avd_spec.username
89 metadata["password"] = avd_spec.password
91 metadata["android_build_id"] = avd_spec.remote_image[constants.BUILD_ID]
92 metadata["android_build_target"] = avd_spec.remote_image[constants.BUILD_TARGET]
[all …]
Dgcompute_client.py1221 metadata, argument
1287 if metadata:
1291 } for key, val in six.iteritems(metadata)]
1569 metadata = gce_instance.get(_METADATA)
1570 if RsaNotInMetadata(metadata, entry):
1571 self.UpdateRsaInMetadata(zone, instance, metadata, entry)
1670 def UpdateRsaInMetadata(self, zone, instance, metadata, entry): argument
1679 ssh_key_item = GetSshKeyFromMetadata(metadata)
1690 metadata[_ITEMS].append(ssh_key_item)
1694 self.SetInstanceMetadata(zone, instance, metadata)
[all …]
Dandroid_compute_client.py274 metadata=None, argument
311 metadata = self._metadata.copy()
312 metadata["cfg_sta_display_resolution"] = self._resolution
313 metadata["t_force_orientation"] = self._orientation
314 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
319 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
325 instance, image_name, self._machine_type, metadata, self._network,
Dcvd_compute_client_multi_stage.py454 metadata = self._metadata.copy()
457 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
458 metadata[constants.INS_KEY_AVD_FLAVOR] = avd_spec.flavor
459 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
472 metadata=metadata,
Dgcompute_client_test.py611 metadata={self.METADATA[0]: self.METADATA[1]},
688 metadata={self.METADATA[0]: self.METADATA[1]},
762 metadata={self.METADATA[0]: self.METADATA[1]},
1173 metadata = {
1185 self.assertEqual(True, gcompute_client.RsaNotInMetadata(metadata, new_entry))
1189 self.assertEqual(False, gcompute_client.RsaNotInMetadata(metadata, exist_entry))
/tools/external_updater/
Dexternal_updater.py82 metadata = fileutils.read_metadata(proj_path)
83 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
84 return (updater, metadata)
88 metadata: metadata_pb2.MetaData) -> None:
103 updated_metadata.CopyFrom(metadata)
137 updater, metadata = build_updater(proj_path)
153 _do_update(args, updater, metadata)
Dfileutils.py65 metadata = metadata_file.read()
66 return text_format.Parse(metadata, metadata_pb2.MetaData())
69 def write_metadata(proj_path: Path, metadata: metadata_pb2.MetaData) -> None:
80 date = metadata.third_party.last_upgrade_date
85 text_metadata = text_format.MessageToString(metadata)
Dupdater_utils.py27 def create_updater(metadata: metadata_pb2.MetaData, proj_path: Path,
41 for url in metadata.third_party.url:
43 updater = updater_cls(proj_path, url, metadata.third_party.version)
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_media_utils.py90 def log_metadata(log, metadata): argument
97 title = metadata[MEDIA_KEY_TITLE]
98 album = metadata[MEDIA_KEY_ALBUM]
99 artist = metadata[MEDIA_KEY_ARTIST]
100 duration = metadata[MEDIA_KEY_DURATION]
101 numTracks = metadata[MEDIA_KEY_NUM_TRACKS]
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java100 String metadata = path.getValue().getAsString(COLUMN_METADATA); in query() local
101 cursor.addRow(getRow(COLUMNS, getFileForUri(path.getKey()), metadata)); in query()
203 private Object[] getRow(String[] columns, File file, String metadata) { in getRow() argument
206 values[i] = getColumnValue(columns[i], file, metadata); in getRow()
211 private Object getColumnValue(String columnName, File file, String metadata) { in getColumnValue() argument
220 value = metadata; in getColumnValue()
/tools/tradefederation/core/proto/
Dconfiguration_description.proto23 // Representation of the metadata attributes in a similar way as MultiMap in
26 // Key of the pair to identify the metadata.
45 // A set of metadata representing some configuration attributes
46 repeated Metadata metadata = 2; field
/tools/platform-compat/build/
Dprocess_compat_config.py44 metadata = element.find('meta-data')
45 if metadata is not None:
46 …s += " defined in class %s at %s" % (metadata.attrib['definedIn'], metadata.attrib['sourcePosition…
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java283 IInvocationContext metadata, Map<ITestDevice, FreeDeviceState> devicesStates) { in invocationComplete() argument
296 if (metadata != null) { in invocationComplete()
298 metadata.getAttributes() in invocationComplete()
302 metadata.getAttributes() in invocationComplete()
306 metadata.getAttributes() in invocationComplete()
/tools/asuite/atest/docs/
Ddevelop_test_finders.md16 together in a class so they can share metadata for optimal test finding.
17 Examples of metadata would be the ```ModuleInfo``` object or the dirs that hold
22 If the metadata used to find a test is unlike existing test finder classes,
26 metadata (```ModuleFinder``` and ```TFIntegrationFinder``` respectively).
/tools/tradefederation/core/atest/docs/
Ddevelop_test_finders.md16 together in a class so they can share metadata for optimal test finding.
17 Examples of metadata would be the ```ModuleInfo``` object or the dirs that hold
22 If the metadata used to find a test is unlike existing test finder classes,
26 metadata (```ModuleFinder``` and ```TFIntegrationFinder``` respectively).
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java1316 MultiMap<String, String> metadata = config.getConfigurationDescription().getAllMetaData(); in filterByConfigMetadata() local
1320 if (metadata.containsKey(key)) { in filterByConfigMetadata()
1321 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
1340 if (metadata.containsKey(key)) { in filterByConfigMetadata()
1341 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
/tools/metalava/
Dbuild.gradle.kts236 val metadata = outputFile.asFile.get() in <lambda>() constant
237 var text = metadata.readText() in <lambda>()
238 metadata.writeText( in <lambda>()
/tools/acloud/list/
Dinstance.py631 for metadata in gce_instance.get("metadata", {}).get("items", []):
632 key = metadata["key"]
633 value = metadata["value"]
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dacts_usage_metadata.proto19 package acts.metadata;
21 option java_package = "com.android.acts.metadata";
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DExecCommandTracker.java49 public void invocationComplete(IInvocationContext metadata, in invocationComplete() argument
52 mState = devicesStates.get(metadata.getDevices().get(0)); in invocationComplete()
/tools/acloud/setup/
Dgoogle_sdk.py175 metadata = url_stream.info()
176 file_size = int(metadata.get("Content-Length"))
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner.py92 with ota_zip.open(OTA_PACKAGE_METADATA_PATH) as metadata:
96 for line in metadata.readlines():

123