Home
last modified time | relevance | path

Searched refs:perform (Results 1 – 25 of 216) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityMouseTest.java84 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag()
85 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag()
87 onView(withId(R.id.textview)).perform( in testSelectTextByDrag()
91 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()
98 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag_reverse()
99 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag_reverse()
100 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse()
109 onView(withId(R.id.textview)).perform(mouseClick()); in testContextMenu()
110 onView(withId(R.id.textview)).perform(replaceText(text)); in testContextMenu()
114 onView(withId(R.id.textview)).perform( in testContextMenu()
[all …]
DTextViewActivityTest.java152 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex()
155 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex()
166 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()
168 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic()
170 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic()
172 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(3)); in testPositionCursorAtTextAtIndex_arabic()
174 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(4)); in testPositionCursorAtTextAtIndex_arabic()
176 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(5)); in testPositionCursorAtTextAtIndex_arabic()
186 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_devanagari()
188 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_devanagari()
[all …]
DSuggestionsPopupWindowTest.java93 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem()
94 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem()
111 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode()
112 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode()
118 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode()
129 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode()
130 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode()
137 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode()
138 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); in testInsertionActionMode()
156 onView(withId(R.id.textview)).perform(click()); in testSuggestionItems()
[all …]
DEditorCursorDragTest.java101 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen()
106 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen()
111 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("!"), text.indexOf("llo"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen()
119 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen()
124 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen()
129 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("!"), text.indexOf("llo"))); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen()
140 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen()
146 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("line1"), text.indexOf("2"))); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen()
152 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("line1"), text.indexOf("7"))); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen()
157 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(index)); in testCursorDrag_diagonal_whenTextViewContentsFitOnScreen()
[all …]
DTextViewReceiveContentTest.java99 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testGetFallbackMimeTypesForAutofill()
116 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testGetFallbackMimeTypesForAutofill_noMimeTypesInEditorInfo()
131 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent()
154 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo()
174 onView(withId(mEditText.getId())).perform(clickOnTextAtIndex(0)); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h468 int (*perform)(struct ANativeWindow* window, member
581 return window->perform(window, NATIVE_WINDOW_SET_USAGE64, usage); in native_window_set_usage()
620 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); in native_window_set_crop()
631 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); in native_window_set_buffer_count()
651 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY, in native_window_set_buffers_geometry()
672 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS, in native_window_set_buffers_dimensions()
697 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS, in native_window_set_buffers_user_dimensions()
711 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format()
730 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DATASPACE, in native_window_set_buffers_data_space()
748 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_SMPTE2086_METADATA, in native_window_set_buffers_smpte2086_metadata()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java116 .perform(click()); in twoOptionsAndUserSelectsOne()
118 .perform(click()); in twoOptionsAndUserSelectsOne()
227 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivity()
261 .perform(click()); in hasOtherProfileOneOption()
263 .perform(click()); in hasOtherProfileOneOption()
304 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
305 onView(withId(R.id.button_once)).perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
351 .perform(click()); in hasLastChosenActivityAndOtherProfile()
352 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivityAndOtherProfile()
459 onView(withText(R.string.resolver_work_tab)).perform(click()); in testWorkTab_workTabUsesExpectedAdapter()
[all …]
DChooserActivityTest.java455 .perform(click()); in twoOptionsAndUserSelectsOne()
508 onView(allOf(withText(appName), hasSibling(withText("")))).perform(click()); in fourOptionsStackedIntoOneTarget()
548 .perform(click()); in updateChooserCountsAndModelAfterUserSelection()
648 .perform(click()); in hasOtherProfileOneOption()
688 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne()
726 .perform(click()); in hasLastChosenActivityAndOtherProfile()
747 onView(withIdFromRuntimeResource("chooser_copy_button")).perform(click()); in copyTextToClipboard()
777 onView(withIdFromRuntimeResource("chooser_copy_button")).perform(click()); in copyTextToClipboardLogging()
805 onView(withIdFromRuntimeResource("chooser_nearby_button")).perform(click()); in testNearbyShareLogging()
876 onView(withIdFromRuntimeResource("chooser_edit_button")).perform(click()); in testEditImageLogs()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java68 public MotionEvent perform(
103 public MotionEvent perform(
134 public MotionEvent perform(
169 public MotionEvent perform(
221 public MotionEvent perform(
250 public MotionEvent perform(
277 public MotionEvent perform(
314 MotionEvent downEvent = downMotion.perform(uiController, startCoordinates, precision); in sendLinearDrag()
422 MotionEvent perform(UiController uiController, float[] coordinates, float[] precision); in perform() method
451 public void perform(UiController uiController, View view) { in perform() method in DragAction
DSuggestionsPopupwindowUtils.java95 onSuggestionsPopupItem(withText(itemLabel)).perform(new SuggestionItemClickAction()); in clickSuggestionsPopupItem()
121 public void perform(UiController uiController, View view) { in perform() method in SuggestionsPopupwindowUtils.SuggestionItemClickAction
122 mViewClickAction.perform(uiController, view); in perform()
DViewClickAction.java51 public void perform(UiController uiController, View view) { in perform() method in ViewClickAction
52 mGeneralClickAction.perform(uiController, view); in perform()
DMouseClickAction.java129 public void perform(UiController uiController, View view) { in perform() method in MouseClickAction
130 mViewClickAction.perform(new MouseUiController(uiController, mButton), view); in perform()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFakeDisplayInjector.h62 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT));
63 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT));
64 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64));
65 EXPECT_CALL(*mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(AnyNumber());
DSurfaceFlinger_DisplayTransactionCommitTest.cpp670 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F()
671 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F()
672 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F()
673 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F()
715 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT)).Times(1); in TEST_F()
716 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_CONNECT)).Times(1); in TEST_F()
717 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_SET_USAGE64)).Times(1); in TEST_F()
718 EXPECT_CALL(*nativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT)).Times(1); in TEST_F()
DDisplayTransactionTestHelpers.h297 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT))
299 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT))
301 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64))
303 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT))
318 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_BUFFERS_FORMAT))
320 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_CONNECT))
322 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_SET_USAGE64))
324 EXPECT_CALL(*test->mNativeWindow, perform(NATIVE_WINDOW_API_DISCONNECT))
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp38 int res = window->perform(window, what, &value); in query64()
107 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in ANativeWindow_lock()
111 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST); in ANativeWindow_unlockAndPost()
205 window->perform(window, NATIVE_WINDOW_ALLOCATE_BUFFERS); in ANativeWindow_tryAllocateBuffers()
354 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_TIMEOUT, timeout); in ANativeWindow_setDequeueTimeout()
360 return window->perform(window, NATIVE_WINDOW_SET_CANCEL_INTERCEPTOR, interceptor, data); in ANativeWindow_setCancelBufferInterceptor()
366 return window->perform(window, NATIVE_WINDOW_SET_DEQUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setDequeueBufferInterceptor()
371 return window->perform(window, NATIVE_WINDOW_SET_PERFORM_INTERCEPTOR, interceptor, data); in ANativeWindow_setPerformInterceptor()
377 return window->perform(window, NATIVE_WINDOW_SET_QUEUE_INTERCEPTOR, interceptor, data); in ANativeWindow_setQueueBufferInterceptor()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutChooserActivityTest.java100 onView(withText(R.string.edit_accessibility_shortcut_menu_button)).perform(click()); in doubleClickTestServiceAndClickDenyButton_permissionDialogDoesNotExist()
101 onView(withText(TEST_LABEL)).perform(scrollTo(), doubleClick()); in doubleClickTestServiceAndClickDenyButton_permissionDialogDoesNotExist()
102 onView(withId(R.id.accessibility_permission_enable_deny_button)).perform(scrollTo(), in doubleClickTestServiceAndClickDenyButton_permissionDialogDoesNotExist()
121 onView(withText(R.string.edit_accessibility_shortcut_menu_button)).perform(click()); in popEditShortcutMenuList_oneHandedModeEnabled_shouldBeInListView()
122 onView(allOf(withClassName(endsWith("ListView")), isDisplayed())).perform(swipeUp()); in popEditShortcutMenuList_oneHandedModeEnabled_shouldBeInListView()
140 onView(withText(R.string.edit_accessibility_shortcut_menu_button)).perform(click()); in popEditShortcutMenuList_oneHandedModeDisabled_shouldNotBeInListView()
141 onView(allOf(withClassName(endsWith("ListView")), isDisplayed())).perform(swipeUp()); in popEditShortcutMenuList_oneHandedModeDisabled_shouldNotBeInListView()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.h38 MOCK_METHOD1(perform, int(int));
39 MOCK_METHOD2(perform, int(int, int));
DMockNativeWindow.cpp48 return static_cast<NativeWindow*>(window)->perform(operation); in dispatch_perform()
82 ANativeWindow::perform = &dispatch_perform; in NativeWindow()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp76 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in native_window_lock()
80 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST); in native_window_unlockAndPost()
/frameworks/base/libs/hostgraphics/gui/
DSurface.h31 ANativeWindow::perform = hook_perform;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DREADME.md38 ARCs are required to perform any action while in the background. Some actions may have a fixed cost.
57 will likely have a unique set of actions that apps can perform, and may choose to reward apps for
64 the app to perform the actions it's requesting.
96 would be given enough credits to perform any actions.
99 and some apps may not have been able to perform work even though they otherwise should have been.
124 then have a small auction when the system needs to decide which app to perform the action for
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp127 auto status = hal->call(&aidl::IVibrator::perform, mEffect, mStrength, callback, in doMain()
154 hidlRet = hal->call(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(mEffect), in doMain()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h90 static int hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, void* data,
/frameworks/native/libs/nativewindow/include/apex/
Dwindow.h91 ANativeWindow_performFn perform, void* data,

123456789