/packages/apps/Settings/src/com/android/settings/notification/ |
AdjustVolumeRestrictedPreferenceController.java | 37 private AccountRestrictionHelper mHelper; 46 mHelper = helper; 54 mHelper.enforceRestrictionOnPreference((RestrictedPreference) preference,
|
/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...] |
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();
|
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();
|
SettingsFlingJankTest.java | 43 private SysAppTestHelper mHelper; 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); 59 mHelper.launchActivity(CLOCK_SETTINGS_PACKAGE, CLOCK_SETTINGS_ACTIVITY); 83 mHelper.swipeRight(); 88 mHelper.goBackHome();
|
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...] |
WatchFacePickerJankTest.java | 35 private SysAppTestHelper mHelper; 45 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); 107 mHelper.goBackHome(); 176 mHelper.flingRight(); 178 mHelper.flingLeft(); 187 mHelper.flingUp(); 189 mHelper.flingDown();
|
AppLauncherFlingJankTest.java | 40 private SysAppTestHelper mHelper; 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); 67 mHelper.gotoAppLauncher(); 89 mHelper.goBackHome();
|
/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();
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
RestrictedPreferenceHelperTest.java | 50 private RestrictedPreferenceHelper mHelper; 56 mHelper = new RestrictedPreferenceHelper(mContext, mPreference, null); 67 mHelper.useAdminDisabledSummary(true); 68 mHelper.setDisabledByAdmin(new RestrictedLockUtils.EnforcedAdmin()); 69 mHelper.onBindViewHolder(mViewHolder); 84 mHelper.useAdminDisabledSummary(true); 85 mHelper.setDisabledByAdmin(null); 86 mHelper.onBindViewHolder(mViewHolder);
|
/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/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...] |
RestrictedSwitchPreference.java | 38 RestrictedPreferenceHelper mHelper; 46 mHelper = new RestrictedPreferenceHelper(context, this, attrs); 97 mHelper.onBindViewHolder(holder); 132 if (!mHelper.performClick()) { 138 mHelper.useAdminDisabledSummary(useSummary); 143 mHelper.onAttachedToHierarchy(); 148 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); 152 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); 158 mHelper.setDisabledByAdmin(null); 165 if (mHelper.setDisabledByAdmin(admin)) [all...] |
/frameworks/support/percent/src/android/support/percent/ |
PercentFrameLayout.java | 132 private final PercentLayoutHelper mHelper = new PercentLayoutHelper(this); 158 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec); 160 if (mHelper.handleMeasuredStateTooSmall()) { 168 mHelper.restoreOriginalParams();
|
PercentRelativeLayout.java | 131 private final PercentLayoutHelper mHelper = new PercentLayoutHelper(this); 157 mHelper.adjustChildren(widthMeasureSpec, heightMeasureSpec); 159 if (mHelper.handleMeasuredStateTooSmall()) { 167 mHelper.restoreOriginalParams();
|
/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/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();
|
/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);
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
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...] |
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...] |
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/build/ |
CompatibilityBuildHelperTest.java | 46 private CompatibilityBuildHelper mHelper; 74 mHelper = new CompatibilityBuildHelper(mBuild); 95 assertEquals("Incorrect suite build number", BUILD_NUMBER, mHelper.getSuiteBuild()); 96 assertEquals("Incorrect suite name", SUITE_NAME, mHelper.getSuiteName()); 97 assertEquals("Incorrect suite full name", SUITE_FULL_NAME, mHelper.getSuiteFullName()); 98 assertEquals("Incorrect suite version", SUITE_VERSION, mHelper.getSuiteVersion()); 127 mHelper.getDir(); 134 mHelper.getTestsDir(); 146 assertNotNull(mHelper.getRootDir()); 148 mHelper.getRootDir().getAbsolutePath()) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
MonthDisplayHelperTest.java | 159 MonthDisplayHelper mHelper = new MonthDisplayHelper(2007, Calendar.SEPTEMBER, 162 assertArrayEquals(new int[] { 26, 27, 28, 29, 30, 31, 1 }, mHelper.getDigitsForRow(0)); 164 mHelper.previousMonth(); 166 assertEquals(Calendar.AUGUST, mHelper.getMonth()); 167 assertArrayEquals(new int[] { 29, 30, 31, 1, 2, 3, 4 }, mHelper.getDigitsForRow(0)); 169 mHelper = new MonthDisplayHelper(2007, Calendar.JANUARY); 171 mHelper.previousMonth(); 173 assertEquals(2006, mHelper.getYear()); 174 assertEquals(Calendar.DECEMBER, mHelper.getMonth()); 179 MonthDisplayHelper mHelper = new MonthDisplayHelper(2007, Calendar.SEPTEMBER [all...] |
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
EmojiTextViewHelper.java | 64 private final HelperInternal mHelper; 73 mHelper = Build.VERSION.SDK_INT >= 19 ? new HelperInternal19(textView) 85 mHelper.updateTransformationMethod(); 100 return mHelper.getFilters(filters); 113 return mHelper.wrapTransformationMethod(transformationMethod); 123 mHelper.setAllCaps(allCaps);
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
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);
|