HomeSort by relevance Sort by last modified time
    Searched refs:mHelper (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
UiBenchTextJankTests.java 39 private UiBenchJankTestsHelper mHelper;
46 mHelper = UiBenchJankTestsHelper.getInstance(
58 mHelper.launchActivity("EditTextTypeActivity",
72 mHelper.launchActivity("TextCacheHighHitrateActivity",
74 mHelper.mContents = mDevice.wait(Until.findObject(
75 By.clazz(ListView.class)), mHelper.TIMEOUT);
77 mHelper.mContents);
84 mHelper.flingUpDown(mHelper.mContents, 3);
89 mHelper.launchActivity("TextCacheLowHitrateActivity"
    [all...]
UiBenchJankTests.java 41 private UiBenchJankTestsHelper mHelper;
48 mHelper = UiBenchJankTestsHelper.getInstance(
59 mHelper.launchActivity("DialogListActivity", "Dialog");
60 mHelper.mContents = mDevice.wait(Until.findObject(
62 Assert.assertNotNull("Dialog List View isn't found", mHelper.mContents);
68 mHelper.flingUpDown(mHelper.mContents, 1);
72 mHelper.launchActivity("FullscreenOverdrawActivity",
83 mHelper.launchActivity("GlTextureViewActivity",
94 mHelper.launchActivity("InvalidateActivity"
    [all...]
UiBenchRenderingJankTests.java 39 private UiBenchJankTestsHelper mHelper;
46 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(),
58 mHelper.launchActivity("BitmapUploadActivity",
71 mHelper.launchActivity("ShadowGridActivity",
73 mHelper.mContents = mDevice.wait(Until.findObject(
74 By.clazz(ListView.class)), mHelper.TIMEOUT);
75 Assert.assertNotNull("Shadow Grid list isn't found", mHelper.mContents);
82 mHelper.flingUpDown(mHelper.mContents, 1);
UiBenchWebView.java 36 private UiBenchJankTestsHelper mHelper;
43 mHelper = UiBenchJankTestsHelper.getInstance(this.getInstrumentation().getContext(),
55 mHelper.launchActivity("ScrollableWebViewActivity",
57 mHelper.mContents = mDevice.wait(Until.findObject(
58 By.res("android", "content")), mHelper.TIMEOUT);
65 mHelper.flingUpDown(mHelper.mContents, 1);
  /platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
CardsJankTest.java 31 private SysAppTestHelper mHelper;
41 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation());
49 mHelper.hasDemoCards();
50 mHelper.swipeUp();
59 mHelper.swipeUp();
65 mHelper.hasDemoCards();
66 mHelper.swipeUp();
75 mHelper.swipeRight();
80 mHelper.goBackHome();
89 mHelper.swipeRight()
    [all...]
WatchFaceJankTest.java 34 private SysAppTestHelper mHelper;
44 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation());
56 mHelper.swipeDown();
57 mHelper.swipeUp();
68 mHelper.swipeUp();
73 mHelper.goBackHome();
90 mHelper.hasDemoCards();
WatchFaceHelper.java 48 private SysAppTestHelper mHelper;
58 this.mHelper = SysAppTestHelper.getInstance(mDevice, instrumentation);
75 mHelper.swipeRight();
76 return mHelper.waitForSysAppUiObject2(WATCHFACE_SHOW_ALL_BTN_NAME) != null;
82 mHelper.swipeRight();
83 if (mHelper.waitForSysAppUiObject2(WATCHFACE_PREVIEW_NAME) != null) {
93 while (mHelper.waitForSysAppUiObject2(WATCHFACE_SHOW_ALL_BTN_NAME) == null) {
95 mHelper.flingLeft();
98 UiObject2 showAllButton = mHelper.waitForSysAppUiObject2(WATCHFACE_SHOW_ALL_BTN_NAME);
103 mHelper.waitForSysAppUiObject2(WATCHFACE_PICKER_ALL_LIST_NAME)
    [all...]
QuickSettingsJankTest.java 40 private SysAppTestHelper mHelper;
52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation());
69 mHelper.goBackHome();
77 mHelper.swipeDown();
82 mHelper.goBackHome();
83 mHelper.swipeDown();
92 mHelper.swipeUp();
97 mHelper.goBackHome();
  /platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
UiBenchJankTests.java 46 private UiBenchJankTestsHelper mHelper;
52 mHelper = UiBenchJankTestsHelper.getInstance(mDevice,
64 mHelper.launchUiBench();
65 mHelper.openTextInList("General");
66 mHelper.openTextInList(componentName);
80 By.res("android", "content")), mHelper.TIMEOUT);
82 SystemClock.sleep(mHelper.LONG_TIMEOUT);
95 SystemClock.sleep(mHelper.LONG_TIMEOUT);
108 By.res("android", "content")), mHelper.TIMEOUT);
110 SystemClock.sleep(mHelper.LONG_TIMEOUT)
    [all...]
UiBenchTextJankTests.java 50 private UiBenchJankTestsHelper mHelper;
57 mHelper = UiBenchJankTestsHelper.getInstance(mDevice,
59 mHelper.enableKeyboardIME(false);
65 mHelper.enableKeyboardIME(true);
71 mHelper.launchUiBench();
72 mHelper.openTextInList("Text");
73 mHelper.openTextInList(componentName);
86 SystemClock.sleep(mHelper.LONG_TIMEOUT);
100 By.clazz(ListView.class)), mHelper.TIMEOUT);
104 for (int i = 0; i < mHelper.INNER_LOOP; i++)
    [all...]
UiBenchRenderingJankTests.java 46 private UiBenchJankTestsHelper mHelper;
53 mHelper = UiBenchJankTestsHelper.getInstance(mDevice,
65 mHelper.launchUiBench();
66 mHelper.openTextInList("Rendering");
67 mHelper.openTextInList(componentName);
80 SystemClock.sleep(mHelper.LONG_TIMEOUT);
94 By.clazz(ListView.class)), mHelper.TIMEOUT);
97 for (int i = 0; i < mHelper.INNER_LOOP; i++) {
99 By.clazz(ListView.class)), mHelper.TIMEOUT);
101 SystemClock.sleep(mHelper.SHORT_TIMEOUT)
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
HttpHelperTest.java 46 private TestHttpHelper mHelper;
54 mHelper = new TestHttpHelper();
63 mHelper.close();
72 assertEquals("key=value", mHelper.buildParameters(paramMap));
77 String params = mHelper.buildParameters(paramMap);
85 assertEquals("key=value1&key=value2", mHelper.buildParameters(paramMap));
89 assertEquals("key%2Bf%3Fo%3Do%3B=value", mHelper.buildParameters(paramMap));
96 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, null));
99 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, paramMap));
102 assertEquals("http://foo?key=value", mHelper.buildUrl(TEST_URL_STRING, paramMap))
    [all...]
HttpMultipartPostTest.java 36 private IHttpHelper mHelper;
49 mHelper = EasyMock.createMock(IHttpHelper.class);
61 EasyMock.expect(mHelper.doPostWithRetry("www.example.com", expectedContents,
63 EasyMock.replay(mHelper);
65 HttpMultipartPost testPost = new HttpMultipartPost("www.example.com", mHelper);
71 EasyMock.verify(mHelper);
  /frameworks/support/paging/runtime/src/main/java/android/support/v7/recyclerview/extensions/
ListAdapter.java 95 private final ListAdapterHelper<T> mHelper;
99 mHelper = new ListAdapterHelper<>(new ListAdapterHelper.AdapterCallback(this),
105 mHelper = new ListAdapterHelper<>(new ListAdapterHelper.AdapterCallback(this), config);
117 mHelper.setList(list);
122 return mHelper.getItem(position);
127 return mHelper.getItemCount();
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStrokeTest.java 32 private LineGestureStrokeHelper mHelper;
36 mHelper = new LineGestureStrokeHelper();
43 GestureStroke emptyStroke = mHelper.createGestureStroke();
52 GestureStroke emptyStroke = mHelper.createGestureStroke(new GesturePoint(0, 0, 0));
62 GestureStroke lineStroke = mHelper.createLineGesture();
64 mHelper.assertLineBoundingBox(linePath);
73 GestureStroke lineStroke = mHelper.createLineGesture();
79 mHelper.assertLineBoundingBox(linePath);
90 GestureStroke lineStroke = mHelper.createLineGesture();
110 GestureStroke line = mHelper.createLineGesture()
    [all...]
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationSecurityLargeTests.java 39 private NotificationHelper mHelper;
49 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
50 mHelper.setScreenLockPin(PIN);
51 mHelper.sleepAndWakeUpDevice();
56 mHelper.swipeUp();
58 mHelper.unlockScreenByPin(PIN);
59 mHelper.removeScreenLock(PIN, "Swipe");
68 mHelper.sendNotification(NOTIFICATION_ID_SECRET, Notification.VISIBILITY_SECRET, title);
69 if (!mHelper.checkNotificationExistence(NOTIFICATION_ID_SECRET, true)) {
79 mHelper.sendNotification(NOTIFICATION_ID_PUBLIC, Notification.VISIBILITY_PRIVATE, "")
    [all...]
NotificationSecurityTests.java 35 private NotificationHelper mHelper;
45 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager);
47 mHelper.sleepAndWakeUpDevice();
53 mHelper.swipeUp();
59 mHelper.enableNotificationViaAdb(true);
62 mHelper.sendNotification(NOTIFICATION_ID_PUBLIC, Notification.VISIBILITY_PUBLIC, title);
63 if (mHelper.checkNotificationExistence(NOTIFICATION_ID_PUBLIC, false)) {
  /frameworks/opt/net/wifi/service/jni/
jni_helper.h 28 JNIHelper &mHelper;
35 return mHelper;
55 mHelper = rhs.mHelper;
90 : mHelper(helper), mObj(obj)
95 : mHelper(rhs.mHelper), mObj(NULL)
97 mObj = (T)mHelper.newLocalRef(rhs.mObj);
109 mHelper.deleteLocalRef(mObj);
117 return mHelper.newLocalRef(mObj)
    [all...]
  /frameworks/support/paging/runtime/src/main/java/android/arch/paging/
PagedListAdapter.java 115 private final PagedListAdapterHelper<T> mHelper;
127 mHelper = new PagedListAdapterHelper<>(this, diffCallback);
132 mHelper = new PagedListAdapterHelper<>(new ListAdapterHelper.AdapterCallback(this), config);
144 mHelper.setList(pagedList);
149 return mHelper.getItem(position);
154 return mHelper.getItemCount();
168 return mHelper.getCurrentList();
  /frameworks/support/compat/java/android/support/v4/content/
SharedPreferencesCompat.java 44 private final Helper mHelper;
47 mHelper = new Helper();
61 mHelper.apply(editor);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ItemBridgeAdapterShadowOverlayWrapper.java 26 private final ShadowOverlayHelper mHelper;
29 mHelper = helper;
35 ShadowOverlayContainer wrapper = mHelper.createShadowOverlayContainer(context);
  /packages/apps/Launcher3/src/com/android/launcher3/keyboard/
FocusedItemDecorator.java 32 private FocusIndicatorHelper mHelper;
35 mHelper = new FocusIndicatorHelper(container) {
45 return mHelper;
50 mHelper.draw(c);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreference.java 34 RestrictedPreferenceHelper mHelper;
39 mHelper = new RestrictedPreferenceHelper(context, this, attrs);
69 mHelper.onBindViewHolder(holder);
78 if (!mHelper.performClick()) {
84 mHelper.useAdminDisabledSummary(useSummary);
89 mHelper.onAttachedToHierarchy();
94 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId());
98 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId);
104 mHelper.setDisabledByAdmin(null);
111 if (mHelper.setDisabledByAdmin(admin))
    [all...]
  /frameworks/base/services/tests/notification/src/com/android/server/notification/
RankingHelperTest.java 124 private RankingHelper mHelper;
163 mHelper = new RankingHelper(getContext(), mPm, mHandler, mUsageStats,
230 mHelper.writeXml(serializer, forBackup);
234 mHelper.permanentlyDeleteNotificationChannel(pkg, uid, channelId);
247 mHelper.readXml(parser, forRestore);
282 mHelper.sort(notificationList);
283 assertTrue(mHelper.indexOf(notificationList, mRecordGroupGSortA) >= 0);
284 assertTrue(mHelper.indexOf(notificationList, mRecordGroupGSortB) >= 0);
285 assertTrue(mHelper.indexOf(notificationList, mRecordNoGroup) >= 0);
286 assertTrue(mHelper.indexOf(notificationList, mRecordNoGroupSortA) >= 0)
    [all...]
  /cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
Database.java 33 private final SQLiteOpenHelper mHelper;
36 mHelper = new SQLiteOpenHelper(context, name, null /* factory */, version) {
63 return mHelper.getReadableDatabase()
69 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values);
73 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs);
78 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs);
82 mHelper.close();

Completed in 1162 milliseconds

1 2 3 4 5