Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 42) 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.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,
Dgcompute_client.py1224 metadata, argument
1291 if metadata:
1295 } for key, val in six.iteritems(metadata)]
1573 metadata = gce_instance.get(_METADATA)
1574 if RsaNotInMetadata(metadata, entry):
1575 self.UpdateRsaInMetadata(zone, instance, metadata, entry)
1674 def UpdateRsaInMetadata(self, zone, instance, metadata, entry): argument
1683 ssh_key_item = GetSshKeyFromMetadata(metadata)
1694 metadata[_ITEMS].append(ssh_key_item)
1698 self.SetInstanceMetadata(zone, instance, metadata)
[all …]
Dcvd_compute_client_multi_stage.py480 metadata = self._metadata.copy()
483 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
484 metadata[constants.INS_KEY_AVD_FLAVOR] = avd_spec.flavor
485 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
491 metadata[key] = value
501 metadata=metadata,
Dcheeps_compute_client_test.py127 metadata=expected_metadata,
174 metadata=expected_metadata,
Dgcompute_client_test.py613 metadata={self.METADATA[0]: self.METADATA[1]},
691 metadata={self.METADATA[0]: self.METADATA[1]},
766 metadata={self.METADATA[0]: self.METADATA[1]},
1177 metadata = {
1189 self.assertEqual(True, gcompute_client.RsaNotInMetadata(metadata, new_entry))
1193 self.assertEqual(False, gcompute_client.RsaNotInMetadata(metadata, exist_entry))
Dcvd_compute_client_test.py141 metadata=remote_image_metadata,
183 metadata=local_image_metadata,
Dcvd_compute_client_multi_stage_test.py185 metadata=remote_image_metadata,
219 metadata=local_image_metadata,
/tools/external_updater/
Dcrates_updater.py125 def update_metadata(self, metadata: metadata_pb2.MetaData,
130 for url in metadata.third_party.url:
136 metadata.name, metadata.name, metadata.third_party.version)
138 del metadata.third_party.url[:]
139 metadata.third_party.url.extend(new_url_list)
143 if description and description != metadata.description:
145 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.py84 metadata = fileutils.read_metadata(proj_path)
85 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
86 return (updater, metadata)
90 metadata: metadata_pb2.MetaData) -> None:
100 updated_metadata.CopyFrom(metadata)
138 updater, metadata = build_updater(proj_path)
157 _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-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/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/metalava/
Dbuild.gradle.kts236 val metadata = outputFile.asFile.get() in <lambda>() constant
237 val text = metadata.readText() in <lambda>()
239 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.py706 for metadata in gce_instance.get("metadata", {}).get("items", []):
707 key = metadata["key"]
708 value = metadata["value"]
/tools/asuite/atest/unittest_data/
DAndroidLibCoreTest.xml.data4 <option name="config-descriptor:metadata" key="component" value="graphics" />

12