Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 37) 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.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
92 metadata['android_build_id'] = avd_spec.remote_image[constants.BUILD_ID]
95 metadata['android_build_target'] = avd_spec.remote_image[constants.BUILD_TARGET]
[all …]
Dandroid_compute_client.py256 metadata=None, argument
293 metadata = self._metadata.copy()
294 metadata["cfg_sta_display_resolution"] = self._resolution
295 metadata["t_force_orientation"] = self._orientation
296 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
301 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
307 instance, image_name, self._machine_type, metadata, self._network,
Dgcompute_client.py1134 metadata, argument
1200 if metadata:
1204 } for key, val in metadata.iteritems()]
1482 metadata = gce_instance.get(_METADATA)
1483 if RsaNotInMetadata(metadata, entry):
1484 self.UpdateRsaInMetadata(zone, instance, metadata, entry)
1583 def UpdateRsaInMetadata(self, zone, instance, metadata, entry): argument
1592 ssh_key_item = GetSshKeyFromMetadata(metadata)
1603 metadata[_ITEMS].append(ssh_key_item)
1607 self.SetInstanceMetadata(zone, instance, metadata)
[all …]
Dcvd_compute_client_multi_stage.py440 metadata = self._metadata.copy()
443 metadata[constants.INS_KEY_AVD_TYPE] = avd_spec.avd_type
444 metadata[constants.INS_KEY_AVD_FLAVOR] = avd_spec.flavor
445 metadata[constants.INS_KEY_DISPLAY] = ("%sx%s (%s)" % (
458 metadata=metadata,
Dcvd_compute_client_test.py140 metadata=remote_image_metadata,
179 metadata=local_image_metadata,
/tools/external_updater/
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)
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)
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)
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)
Dexternal_updater.py68 metadata = fileutils.read_metadata(proj_path)
75 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
DAndroid.bp43 "metadata.proto",
/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/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/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/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/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/acloud/setup/
Dgoogle_sdk.py175 metadata = url_stream.info()
176 file_size = int(metadata.get("Content-Length"))
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DITestInvocation.java40 public void invoke(IInvocationContext metadata, IConfiguration config, in invoke() argument
/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/invocation_interfaces/com/android/tradefed/config/
DConfigurationDescriptor.java119 public void setMetaData(MultiMap<String, String> metadata) { in setMetaData() argument
120 mMetaData = metadata; in setMetaData()
/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()

12