/tools/acloud/internal/lib/ |
D | cvd_compute_client.py | 98 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 …]
|
D | goldfish_compute_client.py | 168 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 …]
|
D | cheeps_compute_client.py | 77 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,
|
D | android_compute_client.py | 233 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,
|
D | gcompute_client.py | 1079 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 …]
|
D | cvd_compute_client_test.py | 125 metadata=remote_image_metadata, 165 metadata=local_image_metadata,
|
D | gcompute_client_test.py | 567 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/ |
D | ITestSuiteTest.java | 979 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/ |
D | car_media_utils.py | 90 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/ |
D | git_updater.py | 28 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)
|
D | fileutils.py | 64 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)
|
D | github_archive_updater.py | 74 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)
|
D | updater_utils.py | 22 def create_updater(metadata, proj_path, updaters): argument 35 for url in metadata.third_party.url: 38 return updater(url, proj_path, metadata)
|
D | external_updater.py | 64 metadata = fileutils.read_metadata(proj_path) 71 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
|
D | Android.bp | 43 "metadata.proto",
|
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 100 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/ |
D | configuration_description.proto | 23 // 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/ |
D | develop_test_finders.md | 16 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/ |
D | instance.py | 284 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/ |
D | ExecCommandTracker.java | 49 public void invocationComplete(IInvocationContext metadata, in invocationComplete() argument 52 mState = devicesStates.get(metadata.getDevices().get(0)); in invocationComplete()
|
/tools/acloud/setup/ |
D | google_sdk.py | 158 metadata = url_stream.info() 159 file_size = int(metadata.getheaders("Content-Length")[0])
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 1171 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/ |
D | ota_runner.py | 92 with ota_zip.open(OTA_PACKAGE_METADATA_PATH) as metadata: 96 for line in metadata.readlines():
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationDescriptor.java | 118 public void setMetaData(MultiMap<String, String> metadata) { in setMetaData() argument 119 mMetaData = metadata; in setMetaData()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ITestInvocation.java | 40 public void invoke(IInvocationContext metadata, IConfiguration config, in invoke() argument
|