Home
last modified time | relevance | path

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

12

/tools/acloud/internal/lib/
Dcvd_compute_client.py98 metadata = self._metadata.copy()
99 metadata["cvd_01_fetch_android_build_target"] = build_target
100 metadata["cvd_01_fetch_android_bid"] = "{branch}/{build_id}".format(
103 metadata["cvd_01_fetch_kernel_bid"] = "{branch}/{build_id}".format(
105 metadata["cvd_01_launch"] = (self._launch_args
113 metadata.pop("cvd_01_launch", None)
118 metadata["cvd_01_data_policy"] = self.DATA_POLICY_CREATE_IF_MISSING
119 metadata["cvd_01_blank_data_disk_size"] = str(
121 metadata["user"] = getpass.getuser()
128 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
[all …]
Dgoldfish_compute_client.py168 metadata = self._metadata.copy()
169 metadata["user"] = getpass.getuser()
170 metadata[constants.INS_KEY_AVD_TYPE] = constants.TYPE_GF
173 metadata["cvd_01_fetch_android_build_target"] = build_target
174 metadata["cvd_01_fetch_android_bid"] = "{branch}/{build_id}".format(
177 metadata[
180 metadata["cvd_01_launch"] = "1"
186 metadata[constants.INS_KEY_AVD_FLAVOR] = avd_spec.flavor
187 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
188 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
[all …]
Dcheeps_compute_client.py77 metadata = self._metadata.copy()
78 metadata[constants.INS_KEY_AVD_TYPE] = constants.TYPE_CHEEPS
80 metadata['android_build_id'] = build_id
84 metadata["cvd_01_x_res"] = avd_spec.hw_property[constants.HW_X_RES]
85 metadata["cvd_01_y_res"] = avd_spec.hw_property[constants.HW_Y_RES]
86 metadata["cvd_01_dpi"] = avd_spec.hw_property[constants.HW_ALIAS_DPI]
87 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
98 metadata["sshKeys"] = "%s:%s" % (getpass.getuser(), rsa)
113 metadata=metadata,
Dandroid_compute_client.py233 metadata=None, argument
269 metadata = self._metadata.copy()
270 metadata["cfg_sta_display_resolution"] = self._resolution
271 metadata["t_force_orientation"] = self._orientation
272 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
277 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
288 metadata["sshKeys"] = "%s:%s" % (getpass.getuser(), rsa)
298 instance, image_name, self._machine_type, metadata, self._network,
Dgcompute_client.py1079 metadata, argument
1142 if metadata:
1146 } for key, val in metadata.iteritems()]
1425 metadata = gce_instance.get(_METADATA)
1426 if RsaNotInMetadata(metadata, entry):
1427 self.UpdateRsaInMetadata(zone, instance, metadata, entry)
1451 def UpdateRsaInMetadata(self, zone, instance, metadata, entry): argument
1460 ssh_key_item = GetSshKeyFromMetadata(metadata)
1471 metadata[_ITEMS].append(ssh_key_item)
1475 self.SetInstanceMetadata(zone, instance, metadata)
[all …]
Dcvd_compute_client_test.py125 metadata=remote_image_metadata,
165 metadata=local_image_metadata,
Dgcompute_client_test.py567 metadata={self.METADATA[0]: self.METADATA[1]},
638 metadata={self.METADATA[0]: self.METADATA[1]},
1048 metadata = {
1060 self.assertEqual(True, gcompute_client.RsaNotInMetadata(metadata, new_entry))
1064 self.assertEqual(False, gcompute_client.RsaNotInMetadata(metadata, exist_entry))
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java979 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchInclude() local
980 metadata.put("component", "foo"); in testMetadataFilter_matchInclude()
981 desc.setMetaData(metadata); in testMetadataFilter_matchInclude()
994 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchValue() local
995 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchValue()
996 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchValue()
1009 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchKey() local
1010 metadata.put("component", "foo"); in testMetadataFilter_noMatchInclude_mismatchKey()
1011 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchKey()
1024 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchExclude() local
[all …]
/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/external_updater/
Dgit_updater.py28 def __init__(self, url, proj_path, metadata): argument
32 self.metadata = metadata
60 if git_utils.is_commit(self.metadata.third_party.version):
69 return self.metadata.third_party.version
102 updated_metadata.CopyFrom(self.metadata)
Dfileutils.py64 metadata = metadata_file.read()
65 return text_format.Parse(metadata, metadata_pb2.MetaData())
68 def write_metadata(proj_path, metadata): argument
79 date = metadata.third_party.last_upgrade_date
84 text_metadata = text_format.MessageToString(metadata)
Dgithub_archive_updater.py74 def __init__(self, url, proj_path, metadata): argument
76 self.metadata = metadata
131 return self.metadata.third_party.version
139 updated_metadata.CopyFrom(self.metadata)
Dupdater_utils.py22 def create_updater(metadata, proj_path, updaters): argument
35 for url in metadata.third_party.url:
38 return updater(url, proj_path, metadata)
Dexternal_updater.py64 metadata = fileutils.read_metadata(proj_path)
71 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
DAndroid.bp43 "metadata.proto",
/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/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/acloud/list/
Dinstance.py284 for metadata in gce_instance.get("metadata", {}).get("items", []):
285 key = metadata["key"]
286 value = metadata["value"]
/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.py158 metadata = url_stream.info()
159 file_size = int(metadata.getheaders("Content-Length")[0])
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java1171 MultiMap<String, String> metadata = config.getConfigurationDescription().getAllMetaData(); in filterByConfigMetadata() local
1175 if (metadata.containsKey(key)) { in filterByConfigMetadata()
1176 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
1195 if (metadata.containsKey(key)) { in filterByConfigMetadata()
1196 filters.retainAll(metadata.get(key)); in filterByConfigMetadata()
/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():
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDescriptor.java118 public void setMetaData(MultiMap<String, String> metadata) { in setMetaData() argument
119 mMetaData = metadata; in setMetaData()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DITestInvocation.java40 public void invoke(IInvocationContext metadata, IConfiguration config, in invoke() argument

12