Home
last modified time | relevance | path

Searched refs:injector (Results 1 – 15 of 15) sorted by relevance

/external/droiddriver/src/io/appium/droiddriver/util/
DEvents.java91 private static void injectEvent(InputInjector injector, InputEvent event) { in injectEvent() argument
92 injectEvent(Log.DEBUG, injector, event); in injectEvent()
95 private static void injectEvent(int priority, InputInjector injector, InputEvent event) { in injectEvent() argument
96 Logs.call(priority, injector, "injectInputEvent", event); in injectEvent()
98 if (!injector.injectInputEvent(event)) { in injectEvent()
108 public static long touchDown(InputInjector injector, int x, int y) { in touchDown() argument
111 injectEvent(injector, downEvent); in touchDown()
115 public static void touchUp(InputInjector injector, long downTime, int x, int y) { in touchUp() argument
116 injectEvent(injector, newTouchUpEvent(downTime, x, y)); in touchUp()
119 public static void touchMove(InputInjector injector, long downTime, int x, int y) { in touchMove() argument
[all …]
/external/droiddriver/src/io/appium/droiddriver/actions/
DClickAction.java43 public boolean perform(InputInjector injector, UiElement element) { in perform() argument
56 public boolean perform(InputInjector injector, UiElement element) { in perform() argument
58 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
61 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
72 public boolean perform(InputInjector injector, UiElement element) { in perform() argument
74 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); in perform()
78 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); in perform()
DSingleKeyAction.java70 public boolean perform(InputInjector injector, UiElement element) { in perform() argument
73 final long downTime = Events.keyDown(injector, keyCode, metaState); in perform()
74 Events.keyUp(injector, downTime, keyCode, metaState); in perform()
DSwipeAction.java144 public boolean perform(InputInjector injector, UiElement element) { in perform() argument
193 long downTime = Events.touchDown(injector, startX, startY); in perform()
199 Events.touchMove(injector, downTime, startX + (int) (xStep * i), startY + (int) (yStep * i)); in perform()
206 Events.touchUp(injector, downTime, endX, endY); in perform()
DTextAction.java57 public boolean perform(InputInjector injector, UiElement element) {
72 success = injector.injectInputEvent(modifiedEvent);
DEventAction.java45 protected abstract boolean perform(InputInjector injector, UiElement element); in perform() argument
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiElement.java229 InputInjector injector = getInjector(); in clearText() local
230 SingleKeyAction.CTRL_MOVE_HOME.perform(injector, this); in clearText()
232 final long shiftDownTime = Events.keyDown(injector, KeyEvent.KEYCODE_SHIFT_LEFT, 0); in clearText()
233 SingleKeyAction.CTRL_MOVE_END.perform(injector, this); in clearText()
234 Events.keyUp(injector, shiftDownTime, KeyEvent.KEYCODE_SHIFT_LEFT, 0); in clearText()
235 SingleKeyAction.DELETE.perform(injector, this); in clearText()
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationDriver.java40 private final InputInjector injector; field in InstrumentationDriver
45 injector = new InstrumentationInputInjector(instrumentation); in InstrumentationDriver()
51 return injector; in getInjector()
/external/clang/lib/Analysis/
DBodyFarm.h34 BodyFarm(ASTContext &C, CodeInjector *injector) : C(C), Injector(injector) {} in BodyFarm() argument
DAnalysisDeclContext.cpp73 CodeInjector *injector) in AnalysisDeclContextManager() argument
74 : Injector(injector), SynthesizeBodies(synthesizeBodies) in AnalysisDeclContextManager()
88 static BodyFarm &getBodyFarm(ASTContext &C, CodeInjector *injector = nullptr) { in getBodyFarm() argument
89 static BodyFarm *BF = new BodyFarm(C, injector); in getBodyFarm()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationDriver.java55 private final InputInjector injector; field in UiAutomationDriver
62 injector = new UiAutomationInputInjector(context); in UiAutomationDriver()
68 return injector; in getInjector()
/external/clang/lib/StaticAnalyzer/Core/
DAnalysisManager.cpp24 CodeInjector *injector) in AnalysisManager() argument
32 injector), in AnalysisManager()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAnalysisManager.h56 CodeInjector* injector = nullptr);
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp192 CodeInjector *injector) in AnalysisConsumer() argument
194 OutDir(outdir), Opts(opts), Plugins(plugins), Injector(injector) { in AnalysisConsumer()
/external/clang/include/clang/Analysis/
DAnalysisContext.h427 CodeInjector* injector = nullptr);