Home
last modified time | relevance | path

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

12

/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.py204 metadata = self._metadata.copy()
205 metadata["user"] = getpass.getuser()
206 metadata[constants.INS_KEY_AVD_TYPE] = constants.TYPE_GF
209 metadata["cvd_01_fetch_android_build_target"] = build_target
210 metadata["cvd_01_fetch_android_bid"] = "{branch}/{build_id}".format(
213 metadata["cvd_01_fetch_kernel_bid"] = "{branch}/{build_id}".format(
215 metadata["cvd_01_fetch_kernel_build_target"] = kernel_build_target
216 metadata["cvd_01_fetch_kernel_build_artifact"] = (
218 metadata["cvd_01_use_custom_kernel"] = "true"
220 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 …]
Dandroid_compute_client.py273 metadata=None, argument
310 metadata = self._metadata.copy()
311 metadata["cfg_sta_display_resolution"] = self._resolution
312 metadata["t_force_orientation"] = self._orientation
313 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
318 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
324 instance, image_name, self._machine_type, metadata, self._network,
Dgcompute_client.py1227 metadata, argument
1309 if metadata:
1313 } for key, val in metadata.items()]
1589 metadata = gce_instance.get(_METADATA)
1590 if RsaNotInMetadata(metadata, entry):
1591 self.UpdateRsaInMetadata(zone, instance, metadata, entry)
1690 def UpdateRsaInMetadata(self, zone, instance, metadata, entry): argument
1699 ssh_key_item = GetSshKeyFromMetadata(metadata)
1710 metadata[_ITEMS].append(ssh_key_item)
1714 self.SetInstanceMetadata(zone, instance, metadata)
[all …]
Dcvd_compute_client_multi_stage.py487 metadata = self._metadata.copy()
490 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
491 metadata[constants.INS_KEY_AVD_FLAVOR] = avd_spec.flavor
492 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
498 metadata[key] = value
501 metadata[constants.INS_KEY_WEBRTC_PORT] = constants.WEBRTC_LOCAL_PORT
512 metadata=metadata,
Dcheeps_compute_client_test.py130 metadata=expected_metadata,
179 metadata=expected_metadata,
Dgoldfish_compute_client_test.py192 metadata=expected_metadata,
266 metadata=expected_metadata,
Dcvd_compute_client_test.py142 metadata=remote_image_metadata,
186 metadata=local_image_metadata,
Dgcompute_client_test.py611 metadata={self.METADATA[0]: self.METADATA[1]},
689 metadata={self.METADATA[0]: self.METADATA[1]},
764 metadata={self.METADATA[0]: self.METADATA[1]},
1174 metadata = {
1186 self.assertEqual(True, gcompute_client.RsaNotInMetadata(metadata, new_entry))
1190 self.assertEqual(False, gcompute_client.RsaNotInMetadata(metadata, exist_entry))
Dcvd_compute_client_multi_stage_test.py214 metadata=remote_image_metadata,
249 metadata=local_image_metadata,
/tools/external_updater/
Dcrates_updater.py142 def update_metadata(self, metadata: metadata_pb2.MetaData,
147 for url in metadata.third_party.url:
153 metadata.name, metadata.name, metadata.third_party.version)
155 del metadata.third_party.url[:]
156 metadata.third_party.url.extend(new_url_list)
160 if description and description != metadata.description:
162 metadata.description = description
Dfileutils.py66 metadata = metadata_file.read()
67 return text_format.Parse(metadata, metadata_pb2.MetaData())
70 def write_metadata(proj_path: Path, metadata: metadata_pb2.MetaData, keep_date: bool) -> None:
83 date = metadata.third_party.last_upgrade_date
88 text_metadata = text_format.MessageToString(metadata)
90 if metadata.third_party.license_type == metadata_pb2.LicenseType.BY_EXCEPTION_ONLY:
Dexternal_updater.py85 metadata = fileutils.read_metadata(proj_path)
86 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
87 return (updater, metadata)
91 metadata: metadata_pb2.MetaData) -> None:
102 updated_metadata.CopyFrom(metadata)
146 updater, metadata = build_updater(proj_path)
165 _do_update(args, updater, metadata)
Dupdater_utils.py28 def create_updater(metadata: metadata_pb2.MetaData, proj_path: Path,
42 for url in metadata.third_party.url:
44 updater = updater_cls(proj_path, url, metadata.third_party.version)
/tools/test/connectivity/acts_tests/acts_contrib/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/asuite/atest/tf_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/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/asuite/atest-py2/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/metalava/
Dbuild.gradle.kts237 val metadata = outputFile.asFile.get() in <lambda>() constant
238 val text = metadata.readText() in <lambda>()
240 metadata.writeText( in <lambda>()
/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/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():
/tools/acloud/list/
Dinstance.py889 for metadata in gce_instance.get("metadata", {}).get("items", []):
890 key = metadata["key"]
891 value = metadata["value"]

12