/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListManagedCursorTest.java | 60 Instrumentation inst = getInstrumentation(); in testKeyScrolling() local 62 int firstVisiblePosition = arrowScroll(inst); in testKeyScrolling() 64 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testKeyScrolling() 65 inst.waitForIdleSync(); in testKeyScrolling() 77 Instrumentation inst = getInstrumentation(); in testTouchScrolling() local 79 int firstVisiblePosition = touchScroll(inst); in testTouchScrolling() 81 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testTouchScrolling() 82 inst.waitForIdleSync(); in testTouchScrolling() 95 Instrumentation inst = getInstrumentation(); in testKeyScrollingToTouchMode() local 97 int firstVisiblePosition = arrowScroll(inst); in testKeyScrollingToTouchMode() [all …]
|
D | ListEmptyViewTest.java | 55 Instrumentation inst = getInstrumentation(); in testZeroToOne() local 57 inst.invokeMenuActionSync(mActivity, mActivity.MENU_ADD, 0); in testZeroToOne() 58 inst.waitForIdleSync(); in testZeroToOne() 65 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack() local 67 inst.invokeMenuActionSync(mActivity, mActivity.MENU_ADD, 0); in testZeroToOneForwardBack() 68 inst.waitForIdleSync(); in testZeroToOneForwardBack() 78 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); in testZeroToOneForwardBack() 79 inst.waitForIdleSync(); in testZeroToOneForwardBack() 87 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero() local 92 inst.invokeMenuActionSync(mActivity, mActivity.MENU_ADD, 0); in testZeroToManyToZero() [all …]
|
D | ListScrollListenerTest.java | 60 Instrumentation inst = getInstrumentation(); in testKeyScrolling() local 64 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testKeyScrolling() 66 inst.waitForIdleSync(); in testKeyScrolling() 70 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); in testKeyScrolling() 71 inst.waitForIdleSync(); in testKeyScrolling() 79 inst.sendKeySync(down); in testKeyScrolling() 80 inst.sendKeySync(up); in testKeyScrolling() 81 inst.waitForIdleSync(); in testKeyScrolling()
|
D | ListHeterogeneousTest.java | 53 Instrumentation inst = getInstrumentation(); in testKeyScrolling() local 59 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testKeyScrolling() 61 inst.waitForIdleSync(); in testKeyScrolling() 67 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP); in testKeyScrolling() 69 inst.waitForIdleSync(); in testKeyScrolling()
|
D | ListViewHeightTest.java | 50 Instrumentation inst = getInstrumentation(); in testButtons() local 65 inst.waitForIdleSync(); in testButtons() 74 inst.waitForIdleSync(); in testButtons() 82 inst.waitForIdleSync(); in testButtons()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 46 final Instrumentation inst = test.getInstrumentation(); in tapMenuKey() local 48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey() 49 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in tapMenuKey() 59 final Instrumentation inst = test.getInstrumentation(); in chordMenuKey() local 66 inst.sendKeySync(pushMenuKey); in chordMenuKey() 67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); in chordMenuKey() 68 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, shortcutKeyCode)); in chordMenuKey() 69 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in chordMenuKey() 78 final Instrumentation inst = test.getInstrumentation(); in longClick() local 80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 262 Instrumentation inst = test.getInstrumentation(); in tapView() local 269 inst.sendPointerSync(event); in tapView() 270 inst.waitForIdleSync(); in tapView() 276 inst.sendPointerSync(event); in tapView() 277 inst.waitForIdleSync(); in tapView() 281 inst.sendPointerSync(event); in tapView() 282 inst.waitForIdleSync(); in tapView() 302 Instrumentation inst = test.getInstrumentation(); in touchAndCancelView() local 309 inst.sendPointerSync(event); in touchAndCancelView() 310 inst.waitForIdleSync(); in touchAndCancelView() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListenerTest.java | 61 Instrumentation inst = getInstrumentation(); in testKeyScrolling() local 65 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in testKeyScrolling() 67 inst.waitForIdleSync(); in testKeyScrolling() 72 inst.sendCharacterSync(KeyEvent.KEYCODE_SPACE); in testKeyScrolling() 73 inst.waitForIdleSync(); in testKeyScrolling() 82 inst.sendKeySync(down); in testKeyScrolling() 83 inst.sendKeySync(up); in testKeyScrolling() 84 inst.waitForIdleSync(); in testKeyScrolling() 93 Instrumentation inst = getInstrumentation(); in testTouchScrolling() local
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
D | EventPlugin.cpp | 43 EventPlugin::EventPlugin(NPP inst) : SubPlugin(inst) { } in EventPlugin() argument 50 inst(), bitmap.width, bitmap.height); in drawPlugin() 53 PluginObject *obj = (PluginObject*) inst()->pdata; in drawPlugin() 64 inst(), zoomFactorW, zoomFactorH); in drawPlugin() 109 browser->getvalue(inst(), NPNVWindowNPObject, &windowObject); in printToDiv() 112 gLogI.log(kError_ANPLogType, " ------ %p Unable to retrieve DOM Window", inst()); in printToDiv() 134 if (!browser->evaluate(inst(), windowObject, &script, &scriptVariant)) in printToDiv() 135 gLogI.log(kError_ANPLogType, " ------ %p Unable to eval the JS.", inst()); in printToDiv() 173 … gLogI.log(kError_ANPLogType, " ------ %p the plugin did not request touch events", inst()); in handleEvent() 176 … gLogI.log(kError_ANPLogType, " ------ %p the plugin did not request key events", inst()); in handleEvent()
|
D | EventPlugin.h | 33 EventPlugin(NPP inst);
|
/frameworks/compile/linkloader/include/impl/ |
D | ELFObject.hxx | 141 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; in relocateARM() local 142 Inst_t P = (Inst_t)(int64_t)inst; in relocateARM() 153 A = *inst; in relocateARM() 154 *inst = (S+A); in relocateARM() 162 A = (Inst_t)(int64_t)SIGN_EXTEND(*inst & 0xFFFFFF, 24); in relocateARM() 218 *inst = ((result) & 0x00FFFFFF) | (*inst & 0xFF000000); in relocateARM() 235 A = ((*inst & 0xF0000) >> 4) | (*inst & 0xFFF); in relocateARM() 237 *inst = (((result) & 0xF000) << 4) | in relocateARM() 239 (*inst & 0xFFF0F000); in relocateARM() 270 Inst_t *inst = (Inst_t *)&(*text)[rel->getOffset()]; in relocateX86_64() local [all …]
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
D | PluginObject.h | 66 SubPlugin(NPP inst) : m_inst(inst) {} in SubPlugin() argument 70 NPP inst() const { return m_inst; } in inst() function
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
D | ForwardService.java | 31 private static ForwardService inst; field in ForwardService 50 if (inst == null) { in getForwardService() 51 inst = new ForwardService(); in getForwardService() 53 return inst; in getForwardService()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaPlayerStressTest.java | 115 Instrumentation inst = getInstrumentation(); in testVideoPlayback() local 127 Activity act = inst.startActivitySync(intent); in testVideoPlayback()
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | LoadTestsAutoTest.java | 63 Instrumentation inst = getInstrumentation(); in passOrFailCallback() local 66 inst.sendStatus(0, bundle); in passOrFailCallback()
|