/external/autotest/client/cros/input_playback/ |
D | input_playback.py | 18 def __init__(self, input_type): argument 19 self.input_type = input_type # e.g. 'touchpad' 29 s = '%s:' % self.input_type 109 def has(self, input_type): argument 115 return input_type in self.devices 123 def emulate(self, input_type='mouse', property_file=None): argument 140 new_device = Device(input_type) 147 if input_type not in self._DEFAULT_PROPERTY_FILES: 149 'type %s' % input_type) 152 current_dir, self._DEFAULT_PROPERTY_FILES[input_type]) [all …]
|
D | keyboard.py | 21 self.keyboard.emulate(input_type=_KEYBOARD) 36 input_type=_KEYBOARD) 45 input_type=_KEYBOARD)
|
D | stylus.py | 41 self.stylus.emulate(input_type=_STYLUS_DEVICE, 85 self.stylus.blocking_playback(_CLICK_EVENTS, input_type=_STYLUS_DEVICE)
|
/external/autotest/client/site_tests/touch_WakeupSource/ |
D | touch_WakeupSource.py | 27 def _find_wakeup_file(self, input_type): argument 39 device_dir = self.player.devices[input_type].device_dir 41 raise error.TestError('No device directory for %s!' % input_type) 45 logging.info('%s not found for %s', filename, input_type) 48 event = self.player.devices[input_type].node.split('/')[-1] 61 logging.info('Could not find parent bus for %s.', input_type) 64 logging.info('Parent bus of %s is %s.', input_type, parent) 72 def _is_wake_source(self, input_type): argument 83 filename = self._find_wakeup_file(input_type) 89 logging.info('Found that %s is a wake source.', input_type) [all …]
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 61 self.player.emulate(input_type='mouse', property_file=mouse_props) 71 def _find_test_files(self, input_type, gestures): argument 90 if not self.player.has(input_type): 91 raise error.TestError('Device does not have a %s!' % input_type) 93 if input_type in ['touchpad', 'touchscreen', 'stylus']: 94 hw_id = self.player.devices[input_type].hw_id 96 raise error.TestError('No valid hw_id for %s!' % input_type) 97 filename_fmt = '%s_%s_%s' % (self._platform, input_type, hw_id) 100 device_name = self.player.devices[input_type].name 101 filename_fmt = '%s_%s' % (device_name, input_type) [all …]
|
/external/autotest/client/site_tests/touch_UpdateErrors/ |
D | touch_UpdateErrors.py | 81 def _check_updates(self, input_type): argument 89 hw_id = self.player.devices[input_type].hw_id 91 raise error.TestError('%s has no valid hw_id!' % input_type) 120 def run_once(self, input_type='touchpad'): argument 122 if not self.player.has(input_type): 123 raise error.TestError('No %s found on this device!' % input_type) 130 self._check_updates(input_type)
|
/external/autotest/client/site_tests/touch_HasInput/ |
D | touch_HasInput.py | 13 def run_once(self, input_type=''): argument 20 if not input_type: 23 if not self.player.has(input_type): 24 raise error.TestFail('Device does not have a %s!' % input_type)
|
/external/v8/src/compiler/ |
D | typed-optimization.cc | 119 Type* const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject() local 120 if (!input_type->Maybe(Type::SignedSmall())) { in ReduceCheckHeapObject() 155 Type* const input_type = NodeProperties::GetType(input); in ReduceCheckString() local 156 if (input_type->Is(Type::String())) { in ReduceCheckString() 193 Type* const input_type = NodeProperties::GetType(input); in ReduceNumberFloor() local 194 if (input_type->Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberFloor() 197 if (input_type->Is(Type::PlainNumber()) && in ReduceNumberFloor() 227 Type* const input_type = NodeProperties::GetType(input); in ReduceNumberRoundop() local 228 if (input_type->Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberRoundop() 236 Type* const input_type = NodeProperties::GetType(input); in ReduceNumberToUint8Clamped() local [all …]
|
D | wasm-linkage.cc | 324 MachineType input_type, MachineRepresentation output_type) { in ReplaceTypeInCallDescriptorWith() argument 328 if (descriptor->GetParameterType(i) == input_type) { in ReplaceTypeInCallDescriptorWith() 333 if (descriptor->GetReturnType(i) == input_type) { in ReplaceTypeInCallDescriptorWith() 347 if (descriptor->GetReturnType(i) == input_type) { in ReplaceTypeInCallDescriptorWith() 360 if (descriptor->GetParameterType(i) == input_type) { in ReplaceTypeInCallDescriptorWith()
|
D | js-typed-lowering.cc | 1049 Type* const input_type = NodeProperties::GetType(input); in ReduceJSToBoolean() local 1050 if (input_type->Is(Type::Boolean())) { in ReduceJSToBoolean() 1053 } else if (input_type->Is(Type::OrderedNumber())) { in ReduceJSToBoolean() 1060 } else if (input_type->Is(Type::Number())) { in ReduceJSToBoolean() 1065 } else if (input_type->Is(Type::DetectableReceiverOrNull())) { in ReduceJSToBoolean() 1073 } else if (input_type->Is(Type::ReceiverOrNullOrUndefined())) { in ReduceJSToBoolean() 1081 } else if (input_type->Is(Type::String())) { in ReduceJSToBoolean() 1095 Type* const input_type = NodeProperties::GetType(input); in ReduceJSToInteger() local 1096 if (input_type->Is(type_cache_.kIntegerOrMinusZero)) { in ReduceJSToInteger() 1106 Type* const input_type = NodeProperties::GetType(input); in ReduceJSToName() local [all …]
|
/external/autotest/client/site_tests/platform_InputVolume/ |
D | platform_InputVolume.py | 30 self._player.emulate(input_type='keyboard') 43 input_type='keyboard', filename='keyboard_f9') 61 input_type='keyboard', filename='keyboard_f10') 77 input_type='keyboard', filename='keyboard_f8')
|
/external/autotest/client/site_tests/platform_InputBrowserNav/ |
D | platform_InputBrowserNav.py | 28 self._player.emulate(input_type='keyboard') 38 input_type='keyboard', filename='keyboard_f1') 49 input_type='keyboard', filename='keyboard_f2') 70 input_type='keyboard', filename='keyboard_f3')
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_service.cc | 148 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateMethodSignatures() 219 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateNotImplementedMethods() 249 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateCallMethod() 290 (which == REQUEST) ? method->input_type() : method->output_type(); in GenerateGetPrototype() 317 sub_vars["input_type"] = ClassName(method->input_type(), true); in GenerateStubMethods()
|
/external/autotest/client/site_tests/platform_InputBrightness/ |
D | platform_InputBrightness.py | 24 self._player.emulate(input_type='keyboard') 39 input_type='keyboard', filename='keyboard_f6') 55 input_type='keyboard', filename='keyboard_f7')
|
/external/autotest/client/site_tests/platform_InputNewTab/ |
D | platform_InputNewTab.py | 26 self._player.emulate(input_type='keyboard') 32 input_type='keyboard', filename='keyboard_ctrl+t') 38 input_type='keyboard', filename='keyboard_ctrl+w')
|
/external/autotest/client/cros/a11y/ |
D | a11y_test_base.py | 28 self._player.emulate(input_type='keyboard') 45 input_type='keyboard', filename='keyboard_ctrl+alt+z') 54 input_type='keyboard',
|
/external/brotli/research/ |
D | find_opt_references.cc | 37 typedef uint8_t input_type; typedef 43 void ReadInput(FILE* fin, input_type* storage, size_t input_size) { in ReadInput() 54 void BuildLCP(input_type* storage, sarray_type* sarray, lcp_type* lcp, in BuildLCP() 212 input_type* storage = new input_type[input_size]; in main()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_service.cc | 210 method->input_type()); in GenerateCallMethod() 258 method->input_type()); in GenerateCallBlockingMethod() 304 (which == REQUEST) ? method->input_type() : method->output_type()); in GenerateGetPrototype() 444 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateMethodSignature() 459 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateBlockingMethodSignature()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opcodes.py | 119 def unop_horiz(name, output_size, output_type, input_size, input_type, argument 121 opcode(name, output_size, output_type, [input_size], [input_type], "", 124 def unop_reduce(name, output_size, output_type, input_type, prereduce_expr, argument 136 unop_horiz(name + "2", output_size, output_type, 2, input_type, 138 unop_horiz(name + "3", output_size, output_type, 3, input_type, 140 unop_horiz(name + "4", output_size, output_type, 4, input_type,
|
/external/autotest/client/site_tests/graphics_VTSwitch/ |
D | graphics_VTSwitch.py | 48 self._player.emulate(input_type='keyboard') 54 input_type='keyboard', filename='keyboard_ctrl+alt+f2') 60 input_type='keyboard', filename='keyboard_ctrl+alt+f1')
|
/external/autotest/client/site_tests/logging_FeedbackReport/ |
D | logging_FeedbackReport.py | 27 self._player.emulate(input_type='keyboard') 33 input_type='keyboard', filename='keyboard_alt+shift+i')
|
/external/autotest/client/site_tests/platform_InputScreenshot/ |
D | platform_InputScreenshot.py | 31 self.player.emulate(input_type='keyboard') 67 input_type='keyboard', filename='keyboard_ctrl+f5')
|
/external/autotest/client/site_tests/policy_DisableScreenshots/ |
D | policy_DisableScreenshots.py | 42 self.player.emulate(input_type='keyboard') 68 input_type='keyboard', filename='keyboard_ctrl+f5')
|
/external/autotest/client/cros/chameleon/ |
D | audio_test_utils.py | 692 input_type=None): argument 712 if input_type and input_type not in input_types: 714 'Target input type %s not present' % input_type) 715 audio_facade.set_chrome_active_node_type(output_type, input_type)
|
/external/vixl/tools/test_generator/ |
D | generator.py | 272 input_type.values 273 if input_type.name in self.input_names else [input_type.default] 274 for input_type in input_types
|