/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_retail_ap.py | 399 for key, value in self.channel_band_map.items(): 401 return key 549 for key, value in self.config_page_fields.items(): 550 if "status" in key: 554 self.ap_settings["{}_{}".format(key[1], key[0])] = int( 560 if "bandwidth" in key: 562 key[1], key[0])] = self.bw_mode_values[ 564 elif "power" in key: 566 key[1], key[0])] = self.power_mode_values[ 568 elif "region" in key: [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiRssiTest.py | 164 for key, val in postprocessed_results.items(): 167 if 'rssi' in key and 'predicted' not in key: 183 '{}_error'.format(key), avg_error) 185 '{}_shift'.format(key), avg_shift) 190 if rssi_failure and key in testcase_params['rssi_under_test']: 193 'shift = {:.2f} dB)\n').format(key, error_type, 199 'shift = {:.2f} dB)\n').format(key, error_type, 204 'shift = {:.2f} dB)\n').format(key, error_type, 235 for key, val in postprocessed_results.items(): 236 if 'scan_rssi' in key: [all …]
|
D | WifiScannerTests.config | 4 …l": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test… 5 …{"ssid": "Test_1.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_1.3", "key": "hahahah… 6 … 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_… 7 …{"ssid": "Test_40.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_40.3", "key": "hahah… 10 …l": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encryption": "psk"}, {"ssid": "Test… 11 …{"ssid": "Test_6.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_6.3", "key": "hahah… 12 … 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "psk"}, {"ssid": "Test_… 13 …{"ssid": "Test_40.3", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_40.2", "key": "haha… 16 … 10}, "wifi-iface" : [{"ssid": "Test_10", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test… 17 …{"ssid": "Test_10.2", "key": "hahahaha", "encryption": "psk2"}, {"ssid": "Test_10.3", "key": "haha… [all …]
|
/tools/acloud/public/data/ |
D | default.config | 24 key: "camera_front" 29 key: "camera_back" 34 key: "cfg_sta_ephemeral_cache_size_mb" 39 key: "cfg_sta_ephemeral_data_size_mb" 44 key: "cfg_sta_persistent_data_device" 49 key: "gps_coordinates" 58 key: "local-phone" 63 key: "local-auto" 68 key: "local-wear" 73 key: "local-tablet" [all …]
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTest.java | 480 for (String key : testValuesToChangeArray) { in runGlitchesTest() 481 final String metricsKey = getMetricsKey(key); in runGlitchesTest() 593 private String getMetricsKey(final String key) { in getMetricsKey() argument 594 return mKeyPrefix + key; in getMetricsKey() 724 String key = getMetricsKey(KEY_RESULT_LATENCY_MS); in populateResultData() local 725 if (results.containsKey(key)) { in populateResultData() 726 data.setLatency(Float.parseFloat(results.get(key))); in populateResultData() 729 key = getMetricsKey(KEY_RESULT_LATENCY_CONFIDENCE); in populateResultData() 730 if (results.containsKey(key)) { in populateResultData() 731 data.setConfidence(Float.parseFloat(results.get(key))); in populateResultData() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_testlog_utils.py | 163 for key, regex_string in configs.items(): 164 configs_local[key] = { 182 for key, config in configs_local.items(): 183 parsed_data[key] = pds.DataFrame(config['datalist']) 184 if index_rownum and not parsed_data[key].empty: 185 parsed_data[key].set_index('rownumber', inplace=True) 186 elif parsed_data[key].empty: 188 'The parsed dataframe of "%s" is empty.', key) 270 for key in parsed_data: 271 if key != 'phone_time': [all …]
|
D | gnss_test_utils.py | 791 l5flag_list = [track_data[key].l5flag for key in time_list] 792 pe_list = [float(track_data[key].pe) for key in time_list] 793 ant_top4cn_list = [float(track_data[key].ant_top4cn) for key in time_list] 794 ant_cn_list = [float(track_data[key].ant_cn) for key in time_list] 795 base_top4cn_list = [float(track_data[key].base_top4cn) for key in time_list] 796 base_cn_list = [float(track_data[key].base_cn) for key in time_list] 925 elif any(float(ttff_data[key].ttff_sec) == 0.0 for key in ttff_data.keys()): 928 elif any(float(ttff_data[key].ttff_sec) >= criteria for key in 948 sec_list = [float(ttff_data[key].ttff_sec) for key in ttff_data.keys()] 949 pe_list = [float(ttff_data[key].ttff_pe) for key in ttff_data.keys()] [all …]
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | ExecutionFiles.java | 61 public File put(String key, File value) { in put() argument 62 return mFiles.put(key, value); in put() 73 public File put(FilesKey key, File value) { in put() argument 74 return mFiles.put(key.toString(), value); in put() 87 public File put(FilesKey key, File value, boolean shouldNotDelete) { in put() argument 88 File f = mFiles.put(key.toString(), value); in put() 90 mShouldNotDelete.add(key.toString()); in put() 92 mShouldNotDelete.remove(key.toString()); in put() 95 CLog.w("Replaced key '%s' with value '%s' by '%s'", key, f, value); in put() 109 public File putIfAbsent(String key, File value) { in putIfAbsent() argument [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | anritsu_utils.py | 2266 key = "cell{}_transmission_mode".format(cell_no) 2267 transmission_mode = user_params.get(key, DEFAULT_T_MODE) 2283 key = "cell{}_dl_antenna".format(cell_no) 2284 dl_antenna = user_params.get(key, DEFAULT_DL_ANTENNA) 2300 key = "cell{}_lte_band".format(cell_no) 2309 return user_params.get(key, band) 2324 key = "cell{}_wcdma_band".format(cell_no) 2325 wcdma_band = user_params.get(key, DEFAULT_WCDMA_BAND) 2341 key = "cell{}_gsm_band".format(cell_no) 2345 gsm_band = user_params.get(key, DEFAULT_GSM_BAND) [all …]
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 4 is performed using one or more signers, each represented by an asymmetric key 6 signer. For each signer, you need to provide the signer's private key and 92 KeyStore key alias or basename of key file is used. 95 There are two ways to provide the signer's private key and certificate: (1) Java 96 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 97 file in X.509 format (see --key and --cert). 99 --ks Load private key and certificate chain from the Java 104 --ks-key-alias Alias under which the private key and certificate are 124 signer, KeyStore password is read before the key password 127 --key-pass Password with which the private key is protected. [all …]
|
D | help_lineage.txt | 35 private key and certificate must be specified. There are two ways to provide 36 the signer's private key and certificate: (1) Java KeyStore (see --ks), or 37 (2) private key file in PKCS #8 format and certificate file in X.509 format 38 (see --key and --cert). 48 --ks Load private key and certificate chain from the Java 53 --ks-key-alias Alias under which the private key and certificate are 73 signer, KeyStore password is read before the key password 76 --key-pass Password with which the private key is protected. 85 If --key-pass is not specified for a KeyStore key, this 86 tool will attempt to load the key using the KeyStore [all …]
|
D | help_rotate.txt | 4 new, for use in a key rotation scenario using APK Signature Scheme v3. 34 be the last key in the SigningCertificate object, signed by the old-signer. 37 There are two ways to provide the signer's private key and certificate: (1) Java 38 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 39 file in X.509 format (see --key and --cert). 51 --ks Load private key and certificate chain from the Java 56 --ks-key-alias Alias under which the private key and certificate are 76 signer, KeyStore password is read before the key password 79 --key-pass Password with which the private key is protected. 88 If --key-pass is not specified for a KeyStore key, this [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceSetup.java | 547 String key = parts[0].trim(); in processDeprecatedOptions() local 549 mSetProps.put(key, value); in processDeprecatedOptions() 831 for (String key : mSystemSettings.keySet()) { in changeSettings() 832 for (String value : mSystemSettings.get(key)) { in changeSettings() 834 String previousSetting = device.getSetting("system", key); in changeSettings() 835 mPreviousSystemSettings.put(key, previousSetting); in changeSettings() 837 CLog.d("Changing system setting %s to %s", key, value); in changeSettings() 838 device.setSetting("system", key, value); in changeSettings() 841 for (String key : mSecureSettings.keySet()) { in changeSettings() 842 for (String value : mSecureSettings.get(key)) { in changeSettings() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | MultiMap.java | 45 for (K key : map.keySet()) { in MultiMap() 46 List<V> value = map.get(key); in MultiMap() 47 mInternalMap.put(key, value); in MultiMap() 53 for (K key : map.keySet()) { in MultiMap() 54 put(key, map.get(key)); in MultiMap() 70 public boolean containsKey(K key) { in containsKey() argument 71 return mInternalMap.containsKey(key); in containsKey() 91 public List<V> get(K key) { in get() argument 92 return mInternalMap.get(key); in get() 113 for (K key : keySet()) { in entries() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/ |
D | SparseArray.kt | 42 operator fun get(key: Int): E? { in get() 43 return get(key, null) in get() 50 operator fun get(key: Int, valueIfKeyNotFound: E?): E? { in get() 51 val i = binarySearch(mKeys, mSize, key) in get() 63 fun delete(key: Int) { in delete() 64 val i = binarySearch(mKeys, mSize, key) in delete() 77 fun remove(key: Int) { in remove() 78 delete(key) in remove() 134 fun put(key: Int, value: E) { in put() 135 var i = binarySearch(mKeys, mSize, key) in put() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | ScheduleMultipleDeviceMetricCollectorTest.java | 59 private String key = "meminfo"; field in ScheduleMultipleDeviceMetricCollectorTest.TestMeminfoCollector 71 key + mInternalCounter, in collect() 81 private String key = "jankinfo"; field in ScheduleMultipleDeviceMetricCollectorTest.TestJankinfoCollector 93 key + mInternalCounter, in collect() 103 private String key = "fragmentation"; field in ScheduleMultipleDeviceMetricCollectorTest.TestFragmentationCollector 115 key + mInternalCounter, in collect() 143 for (String key : intervals.keySet()) { in testMultipleMetricCollector_success() 145 "metric-collection-intervals", key, intervals.get(key).toString()); in testMultipleMetricCollector_success() 153 for (String key : classnames) { in testMultipleMetricCollector_success() 154 setter.setOptionValue("metric-collector-command-classes", key); in testMultipleMetricCollector_success() [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 80 key = "%s_dw24_%d_dw5_%d_offset_%d" % ("unsolicited_passive" 84 results[key] = {} 85 results[key]["num_iterations"] = num_iterations 146 results=results[key], 151 results[key]["num_failed_discovery"] = failed_discoveries 164 key = "%s_dw24_%d_dw5_%d" % ("unsolicited_passive" 167 results[key] = {} 168 results[key]["num_iterations"] = num_iterations 229 results=results[key], 234 results[key]["num_failed_discovery"] = failed_discoveries [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 299 public File getFile(BuildInfoFileKey key) { in getFile() argument 300 return getFile(key.getFileKey()); in getFile() 315 public VersionedFile getVersionedFile(BuildInfoFileKey key) { in getVersionedFile() argument 316 return getVersionedFile(key.getFileKey()); in getVersionedFile() 321 public final List<VersionedFile> getVersionedFiles(BuildInfoFileKey key) { in getVersionedFiles() argument 322 if (!key.isList()) { in getVersionedFiles() 324 String.format("Key %s does not support list of files.", key.getFileKey())); in getVersionedFiles() 326 return mVersionedFileMultiMap.get(key.getFileKey()); in getVersionedFiles() 351 public String getVersion(BuildInfoFileKey key) { in getVersion() argument 352 return getVersion(key.getFileKey()); in getVersion() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | apollo_acts.py | 495 for key in output: 496 conn_devs[key.strip()] = output[key].strip() 497 for key in conn_devs: 498 self.logger.info('%s:%s' % (key, conn_devs[key])) 499 if 'XXXXXXXX' in conn_devs[key]: 500 profiles[key] = conn_devs[key] 502 profiles[key] = False 519 connected_status = {key: False for key in DEFAULT_BT_STATUS} 525 for key in DEFAULT_BT_STATUS: 526 if (not connected_status[key] and key in status [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 447 final String key = "single_run"; in testSuccessfullProcessRunMetrics() local 454 runMetrics.put(key, currentRunMetric); in testSuccessfullProcessRunMetrics() 460 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_MIN))); in testSuccessfullProcessRunMetrics() 463 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_MAX))); in testSuccessfullProcessRunMetrics() 466 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_MEAN))); in testSuccessfullProcessRunMetrics() 469 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_VAR))); in testSuccessfullProcessRunMetrics() 472 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_STDEV))); in testSuccessfullProcessRunMetrics() 475 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_MEDIAN))); in testSuccessfullProcessRunMetrics() 478 String.join(STATS_KEY_SEPARATOR, key, STATS_KEY_TOTAL))); in testSuccessfullProcessRunMetrics() 486 final String key = "single_run"; in testSingleValueProcessRunMetrics() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolver.java | 211 Object key = entry.getKey(); in validateRemoteFilePath() local 214 Object finalKey = key; in validateRemoteFilePath() 216 if (key instanceof File) { in validateRemoteFilePath() 217 key = resolveRemoteFiles((File) key, option); in validateRemoteFilePath() 218 if (key != null) { in validateRemoteFilePath() 219 downloadedFiles.add((File) key); in validateRemoteFilePath() 220 finalKey = key; in validateRemoteFilePath() 239 for (Object key : copy.keySet()) { in validateRemoteFilePath() 240 List<Object> mapValues = copy.get(key); in validateRemoteFilePath() 242 m.remove(key); in validateRemoteFilePath() [all …]
|
D | OptionSetter.java | 106 Object key; field in OptionSetter.FieldDef 108 FieldDef(Object object, Field field, Object key) { in FieldDef() argument 111 this.key = key; in FieldDef() 124 Objects.equal(this.key, other.key); in equals() 132 return Objects.hashCode(object, field, key); in hashCode() 409 Object key = null; in setOptionValue() local 411 key = ((MapHandler)handler).translateKey(keyText); in setOptionValue() 412 if (key == null) { in setOptionValue() 423 if (setFieldValue(optionName, optionSource, field, key, value)) { in setOptionValue() 424 ret.add(new FieldDef(optionSource, field, key)); in setOptionValue() [all …]
|
/tools/asuite/aidegen/project/ |
D | source_splitter.py | 124 for key, value in project.source_path.items(): 125 self._all_srcs[key].update(value) 137 for key in _SOURCE_FOLDERS: 138 srcs[key] = {s for s in srcs[key] 141 self._all_srcs[key] -= srcs[key] 153 projects = sorted(self._projects, key=lambda k: len( 163 for key in _SOURCE_FOLDERS: 164 parent.source_path[key] -= child.source_path[key] 166 child, parent.source_path[key], root) 167 parent.source_path[key] -= rm_paths [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 246 for (String key : holder.context.getAttributes().keySet()) { in writeResults() 248 NS, key, String.join(",", holder.context.getAttributes().get(key))); in writeResults() 393 for (String key : loggedFiles.keySet()) { in HandleLoggedFiles() 394 switch (loggedFiles.get(key).getType()) { in HandleLoggedFiles() 396 addLogIfNotNull(serializer, BUGREPORT_TAG, key, loggedFiles.get(key).getUrl()); in HandleLoggedFiles() 399 addLogIfNotNull(serializer, LOGCAT_TAG, key, loggedFiles.get(key).getUrl()); in HandleLoggedFiles() 403 addLogIfNotNull(serializer, SCREENSHOT_TAG, key, loggedFiles.get(key).getUrl()); in HandleLoggedFiles() 412 XmlSerializer serializer, String tag, String key, String text) in addLogIfNotNull() argument 415 CLog.d("Text for tag '%s' and key '%s' is null. skipping it.", tag, key); in addLogIfNotNull() 419 serializer.attribute(NS, LOG_FILE_NAME_ATTR, key); in addLogIfNotNull() [all …]
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/ |
D | InvocationMetricLogger.java | 56 private InvocationMetricKey(String key, boolean additive) { in InvocationMetricKey() argument 57 mKeyName = key; in InvocationMetricKey() 86 public static void addInvocationMetrics(InvocationMetricKey key, long value) { in addInvocationMetrics() argument 87 if (key.shouldAdd()) { in addInvocationMetrics() 88 String existingVal = getInvocationMetrics().get(key.toString()); in addInvocationMetrics() 96 key.toString(), existingVal); in addInvocationMetrics() 101 addInvocationMetrics(key.toString(), Long.toString(value)); in addInvocationMetrics() 110 public static void addInvocationMetrics(InvocationMetricKey key, String value) { in addInvocationMetrics() argument 111 if (key.shouldAdd()) { in addInvocationMetrics() 112 String existingVal = getInvocationMetrics().get(key.toString()); in addInvocationMetrics() [all …]
|