/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | relay_rig.py | 62 lambda x: SainSmartBoard(x), 64 lambda x: RdlRelayBoard(x), 66 lambda x: SainSmart8ChannelUsbRelayBoard(x), 71 'GenericRelayDevice': lambda x, rig: GenericRelayDevice(x, rig), 72 'FuguRemote': lambda x, rig: FuguRemote(x, rig), 73 'I6sHeadset': lambda x, rig: I6sHeadset(x, rig), 74 'JaybirdX3Earbuds': lambda x, rig: JaybirdX3Earbuds(x, rig), 75 "LogitechAudioReceiver" :lambda x, rig: LogitechAudioReceiver(x, rig), 76 'SonyXB2Speaker': lambda x, rig: SonyXB2Speaker(x, rig), 77 'SonyXB20Speaker': lambda x, rig: SonyXB20Speaker(x, rig), [all …]
|
/tools/test/connectivity/acts_tests/tests/google/tel/lab/ |
D | TelLabGFTDSDSTest.py | 75 for x in range(self.user_params.get("dsds_io_cycle", 1)): 76 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 105 for x in range(self.user_params.get("dsds_io_cycle", 1)): 106 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 135 for x in range(self.user_params.get("dsds_io_cycle", 1)): 136 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 167 for x in range(self.user_params.get("dsds_io_cycle", 1)): 168 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 196 for x in range(self.user_params.get("dsds_io_cycle", 1)): 197 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) [all …]
|
D | TelLabGFTVoWifiTest.py | 119 for x in range(self.user_params.get("wfc_cycle", 1)): 120 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 249 for x in range(self.user_params.get("wfc_cycle", 1)): 250 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 251 self.my_error_msg += "cylce%s: " %(x+1) 316 for x in range(self.user_params.get("wfc_cycle", 1)): 317 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 318 self.my_error_msg += "cylce%s: " %(x+1) 423 for x in range(self.user_params.get("wfc_cycle", 1)): 424 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) [all …]
|
D | TelLabGFTInOutServiceTest.py | 295 for x in range (loop): 296 self.log.info("%s loop: %s/%s" %(self.current_test_name,x+1, loop)) 485 for x in range (loop): 486 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 487 self.my_error_msg += "cylce%s: " %(x+1) 542 for x in range (loop): 543 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) 544 self.my_error_msg += "cylce%s: " %(x+1) 598 for x in range (loop): 599 self.log.info("%s loop: %s/%s" %(self.current_test_name, x+1, loop)) [all …]
|
D | TelLabGFTAirplaneModeTest.py | 181 for x in range (3): 233 for x in range (3): 252 for x in range (3): 274 for x in range (3): 289 for x in range(self.user_params.get("apm_cycle", 1)): 290 self.log.info("%s loop: %s/%s" %(self.current_test_name,x+1, loop))
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRssiTest.py | 134 float('{:.2f}'.format(x)) 135 for x in postprocessed_results['signal_poll_rssi']['stdev'] 137 float('{:.2f}'.format(x)) 138 for x in postprocessed_results['chain_0_rssi']['stdev'] 140 float('{:.2f}'.format(x)) 141 for x in postprocessed_results['chain_1_rssi']['stdev'] 176 filtered_error = [x for x in val['error'] if not math.isnan(x)] 181 [abs(x) for x in filtered_error]) 184 [abs(x - avg_shift) for x in filtered_error]) 248 x for data_point in rssi_result['rssi_result'] for x in [all …]
|
D | WifiPingTest.py | 161 sorted(x['rtt'][round(ignored_fraction * len(x['rtt'])):]) 162 for x in result['ping_results'] 164 disconnected = any([len(x) == 0 for x in sorted_rtt]) 169 x[int((1 - self.testclass_params['rtt_test_percentile'] / 100) * 170 len(x))] for x in sorted_rtt 229 x['packet_loss_percentage'] 230 for x in ping_range_result['ping_results'] 233 x > self.testclass_params['range_ping_loss_threshold'] 234 for x in ping_loss_over_att 570 start_atten + x * self.testclass_params['range_atten_step'] [all …]
|
D | WifiRvrTest.py | 228 key=lambda x: x[1]) 643 start_atten + x * self.testclass_params['atten_step'] 644 for x in range(0, num_atten_steps) 719 bandwidth = int(''.join([x for x in mode if x.isdigit()])) 845 bandwidth = int(''.join([x for x in mode if x.isdigit()])) 1005 bandwidth = int(''.join([x for x in mode if x.isdigit()])) 1086 bandwidth = int(''.join([x for x in mode if x.isdigit()]))
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | KotlinInteropChecksTest.kt | 239 fun error_throwsCheckedExceptionWithWrongExceptionClassInThrows(x: Int) { in Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads() 240 if (x < 0) { in Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads() 246 fun ok_hasThrows1(x: Int) { in ok_hasThrows1() 247 if (x < 0) { in ok_hasThrows1() 253 fun ok_hasThrows2(x: Int) { in ok_hasThrows2() 254 if (x < 0) { in ok_hasThrows2() 259 fun error_throwsRuntimeExceptionDocsMissing(x: Int) { in error_throwsRuntimeExceptionDocsMissing() 260 if (x < 0) { in error_throwsRuntimeExceptionDocsMissing() 266 fun error_missingSpecificAnnotation(x: Int) { in error_missingSpecificAnnotation() 267 if (x < 0) { in error_missingSpecificAnnotation() [all …]
|
/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/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, 245 x, y = _find_point_in_bounds(button_node.attributes['bounds'].value) 248 args = 'input tap %s %s' % (str(x), str(y)) 252 (str(x), str(y), str(x), str(y), str(duration_ms))
|
/tools/external_updater/ |
D | reviewers.py | 85 reviewers = set(filter(lambda x: x in rust_reviewers, value)) 91 for (x, n) in RUST_REVIEWERS.items(): 92 if x in projects: # reduce x's quota by the number of assigned ones 93 n = n - projects[x] 95 result.extend([x] * math.ceil(n)) 120 return ','.join(map(lambda x: 'r=' + x, sorted(reviewers)))
|
/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/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/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/test/connectivity/acts_tests/acts_contrib/test_utils_tests/ |
D | audio_analysis_integrationtest.py | 86 return sorted(results, key=lambda x: x[1], reverse=True) 113 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 114 y = (coeff_1 * numpy.sin(freq_1 * 2.0 * numpy.pi * x) + coeff_2 * 115 numpy.sin(freq_2 * 2.0 * numpy.pi * x)) + noise 183 x = numpy.linspace(0.0, (self.samples - 1) * 1.0 / self.rate, 185 self.y = numpy.sin(self.freq * 2.0 * numpy.pi * x)
|
/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/asuite/atest/ |
D | atest.py | 190 missing = list(filter(None, [x for x in EXPECTED_VARS if not os.environ.get(x)])) 301 all_device_modes = {x.get_supported_exec_mode() for x in test_infos} 305 device_only_tests = [x.test_name for x in test_infos 306 if x.get_supported_exec_mode() == constants.DEVICE_TEST] 341 all_device_modes = {x.get_supported_exec_mode() for x in test_infos} 342 device_tests = [x.test_name for x in test_infos 343 if x.get_supported_exec_mode() != constants.DEVICELESS_TEST]
|
/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/security/remote_provisioning/cert_validator/src/ |
D | publickey.rs | 32 let x = get_label_value_as_bytes(pkey, iana::OkpKeyParameter::X as i64)?; in from_cose_key() localVariable 36 pub_key: x.as_slice().try_into().context(format!( in from_cose_key() 38 x.len() in from_cose_key() 45 x_coord: x.as_slice().try_into().context(format!( in from_cose_key() 47 x.len() in from_cose_key()
|
D | deviceinfo.rs | 67 ensure!(val::FUSED.iter().any(|&x| x == fused)); in check() 73 ensure!(val::SECURITY_LEVEL.iter().any(|&x| x.eq(&security_level))); in check()
|
/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/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'))
|
/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'))
|