Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 148) sorted by relevance

123456

/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRssiTest.py126 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 …]
DWifiPingTest.py150 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/
Dsocket_test_utils.py107 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]
Dui_utils.py16 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/
DSliceTrack.kt43 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/
DUnsupportedAppUsageAnnotationHandlerTest.java97 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/
Dmanifest_diff.py117 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/
Dcommon_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
Dclientanalytics_pb2.py6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
/tools/asuite/atest/proto/
Dcommon_pb2.py6 _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/
DConnectionStressTest.py108 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/
Daudiowear_pb2.py5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
Dplugin_pb2.py5 _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/
Daudio_analysis_integrationtest.py91 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/
Dacts_usage_metadata_pb2.py5 _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/
Daudio_quality_measurement.py148 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/
Dcli_translator.py120 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):
Dbug_detector.py67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
/tools/test/connectivity/acts/framework/acts/event/
Devent_bus.py94 subscription_list.sort(key=lambda x: x.order)
121 listening_subscriptions.sort(key=lambda x: x.order)
/tools/asuite/atest-py2/
Dbug_detector.py67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
/tools/test/connectivity/acts_tests/tests/google/net/
DIKEv2VpnOverWifiTest.py35 required_params = [x for x in required_params if not x.startswith("__")]
DIKEv2VpnOverLTETest.py34 required_params = [x for x in required_params if not x.startswith("__")]
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py412 '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/
Dwifi_performance_test_utils.py79 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/
Dtest_finder_base.py28 cls.get_all_find_methods = lambda x: x.find_methods

123456