/tools/test/connectivity/acts/tests/google/wifi/ |
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/test/connectivity/acts/framework/acts/libs/config/ |
D | schema.py | 32 self.key = None 56 value = self.owner.inner.get_value(self.key) 62 def set_inner(self, key, value): argument 64 return self.owner.inner.set_value(self.key, value) 96 v.key = k 98 def get_value(self, key): argument 107 handler = self._data_handlers.get(key) 111 self.DEFAULT_HANDLER.key = key 114 def set_value(self, key, value): argument 116 handler = self._data_handlers.get(key) [all …]
|
D | data_source.py | 40 def get_value(self, key): argument 52 return self.dict[key] 54 def set_value(self, key, value): argument 62 self.dict[key] = value 64 def has_value(self, key): argument 66 return key in self.dict 133 def get_value(self, key): argument 139 values = [c.get_value(key) for c in self.configs if c.has_value(key)] 143 def set_value(self, key, value): argument 150 if c.has_value(key): [all …]
|
D | base.py | 64 def get_value(self, key): argument 75 def set_value(self, key, value): argument 84 def has_value(self, key): argument 103 def __getitem__(self, key): argument 115 value = self.get_value(key) 121 def __setitem__(self, key, value): argument 127 return self.set_value(key, value) 135 for key in self.keys(): 136 yield (key, self[key])
|
/tools/acloud/public/data/ |
D | default.config | 17 key: "camera_front" 22 key: "camera_back" 27 key: "cfg_sta_ephemeral_cache_size_mb" 32 key: "cfg_sta_ephemeral_data_size_mb" 37 key: "cfg_sta_persistent_data_device" 42 key: "gps_coordinates" 49 key: "nexus5" 54 key: "nexus6" 60 key: "nexus7_2012" 65 key: "nexus7_2013" [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | helpers.py | 24 def validate_key(key, dictionary, expected_type, source): argument 38 if key not in dictionary: 39 raise RelayConfigError(MISSING_KEY_ERR_MSG % (key, source, dictionary)) 41 if not isinstance(dictionary[key], string_types): 43 (key, dictionary[key], expected_type, 45 elif not isinstance(dictionary[key], expected_type): 47 (key, dictionary[key], expected_type, 49 return dictionary[key]
|
/tools/test/connectivity/tools/lab/health/ |
D | constant_health_analyzer.py | 28 def __init__(self, key, constant): argument 29 self.key = key 38 return self.key == other.key and self._constant == other._constant\ 52 return metric_results[self.key] > self._constant 65 return metric_results[self.key] < self._constant 77 return metric_results[self.key] == self._constant 90 return metric_results[self.key].startswith(str(self._constant))
|
D | custom_health_analyzer.py | 22 def __init__(self, key): argument 23 self.key = key 35 IP(metric_result[self.key])
|
D | constant_health_analyzer_wrapper.py | 37 for key in metric_results[self.key]: 39 key, self._constant).is_healthy(metric_results[self.key]):
|
/tools/test/connectivity/tools/lab/tests/ |
D | constant_health_analyzer_test.py | 25 key='a_key', constant=2) 31 key='a_key', constant=4) 38 analyzer = ha.HealthyIfLessThanConstantNumber(key='a_key', constant=2) 43 analyzer = ha.HealthyIfLessThanConstantNumber(key='a_key', constant=2) 50 analyzer = ha.HealthyIfEquals(key='a_key', constant="hi") 55 analyzer = ha.HealthyIfEquals(key='a_key', constant=1) 60 analyzer = ha.HealthyIfEquals(key='a_key', constant=2) 68 key='kernel_release', constant="3.19") 74 key='kernel_release', constant="4.04") 79 analyzer = ha.HealthyIfStartsWith(key='kernel_release', constant=3.19) [all …]
|
D | custom_health_analyzer_test.py | 24 analyzer = ha.HealthyIfNotIpAddress(key='hostname') 29 analyzer = ha.HealthyIfNotIpAddress(key='hostname') 34 analyzer = ha.HealthyIfNotIpAddress(key='hostname') 39 analyzer = ha.HealthyIfNotIpAddress(key='hostname')
|
/tools/tradefederation/core/src/com/android/tradefed/guice/ |
D | InvocationScope.java | 117 public <T> void seed(Key<T> key, T value) { in seed() argument 118 Map<Key<?>, Object> scopedObjects = getScopedObjectMap(key); in seed() 120 !scopedObjects.containsKey(key), in seed() 123 key, in seed() 124 scopedObjects.get(key), in seed() 126 scopedObjects.put(key, value); in seed() 140 public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) { in scope() argument 144 Map<Key<?>, Object> scopedObjects = getScopedObjectMap(key); in scope() 147 T current = (T) scopedObjects.get(key); in scope() 148 if (current == null && !scopedObjects.containsKey(key)) { in scope() [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/tradefederation/core/src/com/android/tradefed/util/ |
D | MultiMap.java | 51 public boolean containsKey(K key) { in containsKey() argument 52 return mInternalMap.containsKey(key); in containsKey() 72 public List<V> get(K key) { in get() argument 73 return mInternalMap.get(key); in get() 95 public V put(K key, V value) { in put() argument 96 List<V> valueList = mInternalMap.get(key); in put() 99 mInternalMap.put(key, valueList); in put() 119 for (K key : m.keySet()) { in putAll() 120 for (V value : m.get(key)) { in putAll() 121 put(key, value); in putAll() [all …]
|
D | UniqueMultiMap.java | 33 public V put(K key, V value) { in put() argument 34 Collection<V> values = get(key); in put() 38 return super.put(key, value); in put()
|
D | SimplePerfResult.java | 85 protected void addBenchmarkMetrics(String key, String val) { in addBenchmarkMetrics() argument 86 benchmarkMetrics.put(key, val); in addBenchmarkMetrics() 98 protected void addBenchmarkComment(String key, String val) { in addBenchmarkComment() argument 99 benchmarkComments.put(key, val); in addBenchmarkComment()
|
/tools/acloud/public/ |
D | config_test.py | 112 self.assertEquals({key: val 113 for key, val in cfg.metadata_variable.iteritems()}, 132 key: val 133 for key, val in cfg.default_usr_cfg.metadata_variable.iteritems() 137 {key: val 138 for key, val in cfg.device_resolution_map.iteritems()}, 141 key: val 142 for key, val in cfg.device_default_orientation_map.iteritems() 146 key: val 147 for key, val in cfg.valid_branch_and_min_build_id.iteritems()
|
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClient.java | 71 public boolean containsKey(String key) { in containsKey() argument 72 CLog.i("fetching key for %s", key); in containsKey() 77 return mJsonKeyStore.has(key); in containsKey() 81 public String fetchKey(String key) { in fetchKey() argument 82 if (key == null) { in fetchKey() 91 return mJsonKeyStore.getString(key); in fetchKey()
|
D | DryRunKeyStore.java | 27 public boolean containsKey(String key) { in containsKey() argument 32 public String fetchKey(String key) { in fetchKey() argument 42 public String fetchKey(String key, String optionType) { in fetchKey() argument
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | DeviceMetricData.java | 53 public void addMetric(String key, Metric.Builder metric) { in addMetric() argument 55 String actualKey = key; in addMetric() 59 actualKey = String.format(DEVICE_NAME_FORMAT_KEY, deviceName, key); in addMetric() 74 public void addMetricForDevice(ITestDevice device, String key, Metric.Builder metric) { in addMetricForDevice() argument 76 String actualKey = key; in addMetricForDevice() 80 actualKey = String.format(DEVICE_NAME_FORMAT_KEY, deviceName, key); in addMetricForDevice()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/ |
D | ApkCreatorFactory.java | 58 private final PrivateKey key; field in ApkCreatorFactory.CreationData 128 @Nullable PrivateKey key, in CreationData() argument 137 Preconditions.checkArgument((key == null) == (certificate == null), in CreationData() 142 this.key = key; in CreationData() 171 return key; in getPrivateKey()
|
/tools/tradefederation/core/src/com/android/tradefed/util/proto/ |
D | TfMetricProtoUtil.java | 39 for (String key : map.keySet()) { in compatibleConvert() 40 Measurements measures = map.get(key).getMeasurements(); in compatibleConvert() 54 CLog.d("No measurements was set for key '%s'", key); in compatibleConvert() 63 oldFormat.put(key, value); in compatibleConvert() 75 for (String key : metrics.keySet()) { in upgradeConvert() 76 newFormat.put(key, stringToMetric(metrics.get(key))); in upgradeConvert()
|
/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/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | MultiMapTest.java | 58 String key = entry.getKey(); in checkKeyForValue() local 59 return key.equals("key") || key.equals("key2") || key.equals("key2X"); in checkKeyForValue()
|
/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 64 KeyStore key alias or basename of key file is used. 67 There are two ways to provide the signer's private key and certificate: (1) Java 68 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 69 file in X.509 format (see --key and --cert). 71 --ks Load private key and certificate chain from the Java 76 --ks-key-alias Alias under which the private key and certificate are 96 signer, KeyStore password is read before the key password 99 --key-pass Password with which the private key is protected. [all …]
|