/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRssiTest.py | 126 float('{:.2f}'.format(x)) 127 for x in postprocessed_results['signal_poll_rssi']['stdev'] 129 float('{:.2f}'.format(x)) 130 for x in postprocessed_results['chain_0_rssi']['stdev'] 132 float('{:.2f}'.format(x)) 133 for x in postprocessed_results['chain_1_rssi']['stdev'] 168 filtered_error = [x for x in val['error'] if not math.isnan(x)] 173 [abs(x) for x in filtered_error]) 176 [abs(x - avg_shift) for x in filtered_error]) 238 x for data_point in rssi_result['rssi_result'] for x in [all …]
|
D | WifiPingTest.py | 150 sorted(x['rtt'][round(ignored_fraction * len(x['rtt'])):]) 151 for x in result['ping_results'] 153 disconnected = any([len(x) == 0 for x in sorted_rtt]) 158 x[int((1 - self.testclass_params['rtt_test_percentile'] / 100) * 159 len(x))] for x in sorted_rtt 218 x['packet_loss_percentage'] 219 for x in ping_range_result['ping_results'] 222 x > self.testclass_params['range_ping_loss_threshold'] 223 for x in ping_loss_over_att 485 start_atten + x * self.testclass_params['range_atten_step'] [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/ |
D | socket_test_utils.py | 107 recv_list = [x.rstrip('\x00') if x else x for x in recv_list] 169 recv_list = [x.rstrip('\x00') if x else x for x in recv_list] 295 recv_list = [x.rstrip('\x00') if x else x for x in recv_list]
|
D | ui_utils.py | 16 return '{x},{y}'.format(x=self.x, y=self.y) 25 return Point((self.start.x + self.end.x) // 2, 238 x, y = _find_point_in_bounds(button_node.attributes['bounds'].value) 241 args = 'input tap %s %s' % (str(x), str(y)) 245 (str(x), str(y), str(x), str(y), str(duration_ms))
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 43 var x: Int in paintComponent() variable 51 x = ((it.startTime - panX) * scale).toInt() in paintComponent() 54 if (x + width > 0 && x < this.width) { in paintComponent() 61 g.fillRect(x, y, width, height) in paintComponent() 64 drawLabel(it, g, metrics, x, ty, width) in paintComponent() 70 open fun drawLabel(slice: T, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel() 80 g.drawString(slice.name.substring(0, strLimit), x, y) in drawLabel()
|
/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 97 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethod() 118 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistConstructor() 139 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistField() 160 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit() 181 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_MissingOnClass() 203 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_PresentOnMember() 224 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignature() 245 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignatureWrong() 265 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistInnerClassMethod() 284 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testMethodNotGreylisted() [all …]
|
/tools/treble/split/ |
D | manifest_diff.py | 117 key_fn=lambda x: x.get('dest'), 185 key_fn=lambda x: x.get('name'), 209 key_fn=lambda x: x.get('path', x.get('name')),
|
/tools/asuite/atest-py2/proto/ |
D | common_pb2.py | 6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
D | clientanalytics_pb2.py | 6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
/tools/asuite/atest/proto/ |
D | common_pb2.py | 6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | ConnectionStressTest.py | 108 for x in range(0, self.num_of_iterations): 116 'Attempt %d. Did not associate as expected.' % x) 119 'associated. Fail.' % x) 124 self.log.info('Attempt %d. Successfully associated' % x) 126 self.log.error('Attempt %d. Failed to associate.' % x)
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | audiowear_pb2.py | 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
D | plugin_pb2.py | 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/ |
D | audio_analysis_integrationtest.py | 91 return sorted(results, key=lambda x: x[1], reverse=True) 118 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 119 y = (coeff_1 * numpy.sin(freq_1 * 2.0 * numpy.pi * x) + coeff_2 * 120 numpy.sin(freq_2 * 2.0 * numpy.pi * x)) + noise 188 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate, 190 self.y = numpy.sin(self.freq * 2.0 * numpy.pi * x)
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/gen/ |
D | acts_usage_metadata_pb2.py | 5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 148 def hilbert(x): argument 162 x = numpy.asarray(x) 163 if numpy.iscomplexobj(x): 166 N = x.shape[axis] 170 Xf = numpy.fft.fft(x, N, axis=axis) 179 if len(x.shape) > 1: 180 ind = [newaxis] * x.ndim 183 x = numpy.fft.ifft(Xf * h, axis=axis) 184 return x
|
/tools/asuite/atest/ |
D | cli_translator.py | 120 mm_build_targets = [re.sub(_MAINLINE_MODULES_EXT_RE, '', x) 121 for x in mainline_modules.split('+')] 150 x for x in test_info.build_targets 151 if x not in test_modules_to_build} 167 test_info_str = ','.join([str(x) for x in found_test_infos]) 386 elif not any(x in test_mod_info['compatibility_suites'] for 387 x in constants.TEST_MAPPING_SUITES):
|
D | bug_detector.py | 67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
|
/tools/test/connectivity/acts/framework/acts/event/ |
D | event_bus.py | 94 subscription_list.sort(key=lambda x: x.order) 121 listening_subscriptions.sort(key=lambda x: x.order)
|
/tools/asuite/atest-py2/ |
D | bug_detector.py | 67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | IKEv2VpnOverWifiTest.py | 35 required_params = [x for x in required_params if not x.startswith("__")]
|
D | IKEv2VpnOverLTETest.py | 34 required_params = [x for x in required_params if not x.startswith("__")]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_relay_controller_test.py | 412 'SainSmartBoard': lambda x: MockBoard(x), 413 'FuguMockBoard': lambda x: FuguMockBoard(x) 498 self.change_state(RelayState.NO, lambda x: x.press('r0'), 502 self.change_state(RelayState.NC, lambda x: x.press('r0'), 506 self.change_state(RelayState.NO, lambda x: x.hold_down('r0'), 510 self.change_state(RelayState.NC, lambda x: x.hold_down('r0'), 514 self.change_state(RelayState.NC, lambda x: x.release('r0'),
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 79 return [_serialize_value(x) for x in value] 232 for x, y, hover in itertools.zip_longest(x_data, y_data, hover_text): 234 x_data_filtered.append(x) 346 data=dict(x=line['x_data'], 350 self.plot.line(x='x', 371 marker_func(x='x', 1133 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)] 1232 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)] 1289 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)] 1324 filtered_rssi_values = [x for x in val['data'] if not math.isnan(x)]
|
/tools/asuite/atest-py2/test_finders/ |
D | test_finder_base.py | 28 cls.get_all_find_methods = lambda x: x.find_methods
|