/packages/services/Car/tests/robotests/src/com/android/car/users/ |
D | CarUserManagerHelperRoboTest.java | 50 private CarUserManagerHelper mHelper; field in CarUserManagerHelperRoboTest 60 mHelper = new CarUserManagerHelper(mContext); in setUp() 71 assertThat(mHelper.getCurrentForegroundUserId()).isEqualTo(15); in testGetForegroundUserId() 79 assertThat(mHelper.getCurrentForegroundUserInfo().id).isEqualTo(currentForegroundUserId); in testGetForegroundUserInfo() 87 assertThat(mHelper.getCurrentProcessUserId()).isEqualTo(currentProcessUserId); in testGetCurrentProcessUserId() 94 assertThat(mHelper.getCurrentProcessUserInfo().id).isEqualTo(currentProcessUserId); in testGetCurrentProcessUserInfo() 114 if (mHelper.isHeadlessSystemUser()) { in testGetAllUsers() 116 assertThat(mHelper.getAllUsers()) in testGetAllUsers() 119 assertThat(mHelper.getAllUsers()) in testGetAllUsers() 140 assertThat(mHelper.getAllSwitchableUsers()).hasSize(3); in testGetAllUsersExceptForegroundUser() [all …]
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | SoundSettingsTest.java | 40 private SettingsHelper mHelper; field in SoundSettingsTest 104 mHelper = new SettingsHelper(); in setUp() 118 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate() 120 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate() 127 assertTrue("Dial pad tones not toggled", mHelper.verifyToggleSetting( in testOtherSoundsDialPadTones() 136 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsScreenLocking() 144 mHelper.verifyToggleSetting(SettingsType.GLOBAL, PAGE, in testOtherSoundsCharging() 152 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsTouch() 160 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsVibrateOnTap() 166 mHelper.scrollVert(false); in loadOtherSoundsPage() [all …]
|
D | ZonePickerSettingsTest.java | 59 private SettingsHelper mHelper; field in ZonePickerSettingsTest 66 mHelper = SettingsHelper.getInstance(); in setUp() 72 mIsV2EnabledByDefault = mHelper.getStringSetting(SettingsType.GLOBAL, in setUp() 74 mHelper.setStringSetting(SettingsType.GLOBAL, "settings_zone_picker_v2", "true"); in setUp() 75 mIsAutoZoneEnabled = mHelper.getIntSetting(SettingsType.GLOBAL, in setUp() 86 mHelper.setStringSetting(SettingsType.GLOBAL, "settings_zone_picker_v2", in tearDown() 88 mHelper.setIntSetting(SettingsType.GLOBAL, Settings.Global.AUTO_TIME_ZONE, in tearDown() 94 mHelper.setIntSetting(SettingsType.GLOBAL, Settings.Global.AUTO_TIME_ZONE, 1); in zonePickerDisabled() 115 mHelper.setIntSetting(SettingsType.GLOBAL, Settings.Global.AUTO_TIME_ZONE, 0); in testSelectTimeZone()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | FinalizationControllerTest.java | 71 @Mock private UserProvisioningStateHelper mHelper; field in FinalizationControllerTest 87 mContext, mUtils, mSettingsFacade, mHelper, mNotificationHelper, in setUp() 99 when(mHelper.isStateUnmanagedOrFinalized()).thenReturn(false); in testInitiallyDone_alreadyCalled() 107 verify(mHelper, never()).markUserProvisioningStateInitiallyDone(params); in testInitiallyDone_alreadyCalled() 108 verify(mHelper, never()).markUserProvisioningStateFinalized(params); in testInitiallyDone_alreadyCalled() 115 when(mHelper.isStateUnmanagedOrFinalized()).thenReturn(true); in testFinalized_alreadyCalled() 127 verify(mHelper, never()).markUserProvisioningStateInitiallyDone(params); in testFinalized_alreadyCalled() 128 verify(mHelper, never()).markUserProvisioningStateFinalized(params); in testFinalized_alreadyCalled() 134 when(mHelper.isStateUnmanagedOrFinalized()).thenReturn(false); in testFinalized_noParamsStored() 144 verify(mHelper, never()) in testFinalized_noParamsStored() [all …]
|
D | UserProvisioningStateHelperTest.java | 56 private UserProvisioningStateHelper mHelper; field in UserProvisioningStateHelperTest 65 mHelper = new UserProvisioningStateHelper( in setUp() 81 mHelper.markUserProvisioningStateInitiallyDone(params); in testInitiallyDone_ProfileAfterSuw() 97 mHelper.markUserProvisioningStateInitiallyDone(params); in testInitiallyDone_ProfileDuringSuw() 115 mHelper.markUserProvisioningStateInitiallyDone(params); in testInitiallyDone_DeviceOwnerSkipUserSetup() 130 mHelper.markUserProvisioningStateInitiallyDone(params); in testInitiallyDone_DeviceOwnerDontSkipUserSetup() 145 mHelper.markUserProvisioningStateFinalized(params); in testFinalized_ManagedProfile() 162 mHelper.markUserProvisioningStateFinalized(params); in testFinalized_DeviceOwner() 180 return mHelper.isStateUnmanagedOrFinalized(); in isStateUnmanagedOrFinalizedWithCurrentState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/autofill/ |
D | AutofillResetOptionsPreferenceControllerTest.java | 47 private AutofillTestingHelper mHelper; field in AutofillResetOptionsPreferenceControllerTest 53 mHelper = new AutofillTestingHelper(mContext); in setup() 64 mHelper.setLoggingLevel(4); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 65 mHelper.setMaxPartitionsSize(8); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 66 mHelper.setMaxVisibleDatasets(15); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 70 assertThat(mHelper.getLoggingLevel()).isEqualTo(4); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 71 assertThat(mHelper.getMaxPartitionsSize()).isEqualTo(8); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 72 assertThat(mHelper.getMaxVisibleDatasets()).isEqualTo(15); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotReset() 79 mHelper.setMaxPartitionsSize(16); in handlePreferenceTreeClick_correctPreferenceKey_shouldReset() 80 mHelper.setMaxVisibleDatasets(23); in handlePreferenceTreeClick_correctPreferenceKey_shouldReset() [all …]
|
D | AutofillLoggingLevelPreferenceControllerTest.java | 65 private AutofillTestingHelper mHelper; field in AutofillLoggingLevelPreferenceControllerTest 79 mHelper = new AutofillTestingHelper(mContext); in setup() 99 mHelper.setLoggingLevel(108); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotTrigger() 103 assertThat(mHelper.getLoggingLevel()).isEqualTo(108); in handlePreferenceTreeClick_differentPreferenceKey_shouldNotTrigger() 108 mHelper.setLoggingLevel(108); in onPreferenceChange_off() 112 assertThat(mHelper.getLoggingLevel()).isEqualTo(AutofillManager.NO_LOGGING); in onPreferenceChange_off() 117 mHelper.setLoggingLevel(108); in onPreferenceChange_debug() 121 assertThat(mHelper.getLoggingLevel()) in onPreferenceChange_debug() 127 mHelper.setLoggingLevel(108); in onPreferenceChange_verbose() 131 assertThat(mHelper.getLoggingLevel()) in onPreferenceChange_verbose() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 70 private ActionDisabledByAdminDialogHelper mHelper; field in ActionDisabledByAdminDialogHelperTest 78 mHelper = new ActionDisabledByAdminDialogHelper(mActivity); in setUp() 88 mHelper.showAdminPolicies(admin, mActivity); in testShowAdminPoliciesWithComponent() 101 mHelper.showAdminPolicies(admin, mActivity); in testShowAdminPoliciesWithoutComponent() 114 mHelper.setAdminSupportTitle(view, UserManager.DISALLOW_ADJUST_VOLUME); in testSetAdminSupportTitle() 118 mHelper.setAdminSupportTitle(view, UserManager.DISALLOW_OUTGOING_CALLS); in testSetAdminSupportTitle() 122 mHelper.setAdminSupportTitle(view, UserManager.DISALLOW_SMS); in testSetAdminSupportTitle() 126 mHelper.setAdminSupportTitle(view, DevicePolicyManager.POLICY_DISABLE_CAMERA); in testSetAdminSupportTitle() 130 mHelper.setAdminSupportTitle(view, DevicePolicyManager.POLICY_DISABLE_SCREEN_CAPTURE); in testSetAdminSupportTitle() 134 mHelper.setAdminSupportTitle(view, DevicePolicyManager.POLICY_SUSPEND_PACKAGES); in testSetAdminSupportTitle() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | RestrictedAppPreference.java | 39 private RestrictedPreferenceHelper mHelper; field in RestrictedAppPreference 59 mHelper = new RestrictedPreferenceHelper(getContext(), this, attrs); in initialize() 66 mHelper.onBindViewHolder(holder); in onBindViewHolder() 75 if (!mHelper.performClick()) { in performClick() 89 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin() 95 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin() 99 mHelper.useAdminDisabledSummary(useSummary); in useAdminDisabledSummary() 104 mHelper.onAttachedToHierarchy(); in onAttachedToHierarchy() 112 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 116 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | RestrictedAppPreference.java | 39 private RestrictedPreferenceHelper mHelper; field in RestrictedAppPreference 59 mHelper = new RestrictedPreferenceHelper(getContext(), this, attrs); in initialize() 66 mHelper.onBindViewHolder(holder); in onBindViewHolder() 75 if (!mHelper.performClick()) { in performClick() 89 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin() 95 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin() 99 mHelper.useAdminDisabledSummary(useSummary); in useAdminDisabledSummary() 104 mHelper.onAttachedToHierarchy(); in onAttachedToHierarchy() 112 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 116 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() [all …]
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableDialogHelper.java | 156 private final WearableDialogHelper mHelper; field in WearableDialogHelper.DialogBuilder 160 mHelper = new WearableDialogHelper(context.getResources(), context.getTheme()); in DialogBuilder() 165 mHelper = new WearableDialogHelper(context.getResources(), context.getTheme()); in DialogBuilder() 169 return mHelper; in getHelper() 173 mHelper.setPositiveIcon(iconId); in setPositiveIcon() 178 mHelper.setPositiveIcon(icon); in setPositiveIcon() 183 mHelper.setNegativeIcon(iconId); in setNegativeIcon() 188 mHelper.setNegativeIcon(icon); in setNegativeIcon() 193 mHelper.setNeutralIcon(iconId); in setNeutralIcon() 198 mHelper.setNeutralIcon(icon); in setNeutralIcon() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | OverviewCommandHelper.java | 97 return mHelper.getVisibleRecentsView() != null; in handleCommand() 103 RecentsView rv = (RecentsView) mHelper.getVisibleRecentsView(); in onTransitionComplete() 128 RecentsView recents = (RecentsView) mHelper.getVisibleRecentsView(); in handleCommand() 144 protected final ActivityControlHelper<T> mHelper; field in OverviewCommandHelper.RecentsActivityCommand 153 mHelper = mOverviewComponentObserver.getActivityControlHelper(); in RecentsActivityCommand() 156 new AppToOverviewAnimationProvider<>(mHelper, RecentsModel.getRunningTaskId()); in RecentsActivityCommand() 172 if (mHelper.switchToRecentsIfVisible(this::onTransitionComplete)) { in run() 178 mListener = mHelper.createActivityInitListener(this::onActivityReady); in run() 188 RecentsView recents = mHelper.getVisibleRecentsView(); in handleCommand() 205 mHelper.getContainerType(), in onActivityReady()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AdminIntegratedFlowPrepareManager.java | 47 private final ProvisioningManagerHelper mHelper; field in AdminIntegratedFlowPrepareManager 78 mHelper = checkNotNull(helper); in AdminIntegratedFlowPrepareManager() 88 mHelper.startNewProvisioningLocked(mController); in maybeStartProvisioning() 100 mHelper.registerListener(callback); in registerListener() 105 mHelper.unregisterListener(callback); in unregisterListener() 110 final boolean prepareCancelled = mHelper.cancelProvisioning(mController); in cancelProvisioning() 126 mHelper.notifyPreFinalizationCompleted(); in preFinalizationCompleted() 142 mHelper.error(titleId, messageId, factoryResetRequired); in error() 155 mHelper.clearResourcesLocked(); in clearControllerLocked()
|
D | ProvisioningManager.java | 50 private final ProvisioningManagerHelper mHelper; field in ProvisioningManager 84 mHelper = new ProvisioningManagerHelper(context); in ProvisioningManager() 93 mHelper.startNewProvisioningLocked(mController); in maybeStartProvisioning() 103 mHelper.registerListener(callback); in registerListener() 108 mHelper.unregisterListener(callback); in unregisterListener() 114 final boolean provisioningCanceled = mHelper.cancelProvisioning(mController); in cancelProvisioning() 133 mHelper.notifyPreFinalizationCompleted(); in preFinalizationCompleted() 149 mHelper.error(titleId, messageId, factoryResetRequired); in error() 158 mHelper.clearResourcesLocked(); in clearControllerLocked()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountDetailsSettingControllerTest.java | 77 PreferenceControllerTestHelper<AccountDetailsSettingController> mHelper; field in AccountDetailsSettingControllerTest 84 mHelper = new PreferenceControllerTestHelper<>(application, in setUp() 87 mAccountDetailsSettingController = mHelper.getController(); in setUp() 94 mHelper.setPreference(mPreference); in setUp() 116 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_shouldNotAddAnyPreferences() 125 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_preferenceEmpty_isNotVisible() 134 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_shouldNotAddAnyPreferences() 148 mHelper.markState(Lifecycle.State.STARTED); in addExtraSettings_accountTypeNotEqual_isNotVisible() 169 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in addExtraSettings_accountTypeEqual_shouldAddPreferences() 183 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in addExtraSettings_accountTypeEqual_isVisible()
|
D | AccountAutoSyncPreferenceControllerTest.java | 59 private PreferenceControllerTestHelper<AccountAutoSyncPreferenceController> mHelper; field in AccountAutoSyncPreferenceControllerTest 76 mHelper = new PreferenceControllerTestHelper<>(application, in setUp() 78 mController = mHelper.getController(); in setUp() 89 when(mHelper.getMockFragmentController().findDialogByTag( in testOnCreate_hasPreviousDialog_dialogListenerSet() 91 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in testOnCreate_hasPreviousDialog_dialogListenerSet() 98 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in refreshUi_masterSyncOn_preferenceShouldBeChecked() 109 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in refreshUi_masterSyncOff_preferenceShouldNotBeChecked() 120 verify(mHelper.getMockFragmentController()).showDialog( in onPreferenceClicked_shouldOpenDialog() 127 mHelper.sendLifecycleEvent(Lifecycle.Event.ON_CREATE); in onConfirm_shouldTogglePreference()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | OverviewCommandHelper.java | 86 return mHelper.getVisibleRecentsView() != null; in handleCommand() 94 IconRecentsView recents = (IconRecentsView) mHelper.getVisibleRecentsView(); in handleCommand() 105 protected final ActivityControlHelper<T> mHelper; field in OverviewCommandHelper.RecentsActivityCommand 113 mHelper = mOverviewComponentObserver.getActivityControlHelper(); in RecentsActivityCommand() 130 if (mHelper.switchToRecentsIfVisible(null /* onCompleteCallback */)) { in run() 136 new AppToOverviewAnimationProvider<>(mHelper, RecentsModel.getRunningTaskId()); in run() 144 mHelper.getContainerType(), in run() 162 mListener = mHelper.createActivityInitListener(provider::onActivityReady); in run() 169 IconRecentsView recents = mHelper.getVisibleRecentsView(); in handleCommand()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/enterprise/ |
D | CrossProfileCalendarHelperTest.java | 31 private CrossProfileCalendarHelper mHelper; field in CrossProfileCalendarHelperTest 35 mHelper = new CrossProfileCalendarHelper(mContext); in setUp() 44 mHelper.getCalibratedProjection(projection, Calendars.CONTENT_URI); in testProjectionNotWhitelisted_throwErrorForCalendars() 57 mHelper.getCalibratedProjection(projection, Events.CONTENT_URI); in testProjectionNotWhitelisted_throwErrorForEvents() 70 mHelper.getCalibratedProjection(projection, Instances.CONTENT_URI); in testProjectionNotWhitelisted_throwErrorForInstances() 78 final String[] projection = mHelper.getCalibratedProjection(null, Calendars.CONTENT_URI); in testNoProjection_getFullWhitelistedProjectionForCalendars() 85 final String[] projection = mHelper.getCalibratedProjection(null, Events.CONTENT_URI); in testNoProjection_getFullWhitelistedProjectionForEvents() 91 final String[] projection = mHelper.getCalibratedProjection(null, Instances.CONTENT_URI); in testNoProjection_getFullWhitelistedProjectionForInstances()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultVoiceInputPicker.java | 37 private VoiceInputHelper mHelper; field in DefaultVoiceInputPicker 50 mHelper = new VoiceInputHelper(context); in onAttach() 51 mHelper.buildUi(); in onAttach() 53 if (isCurrentAssistVoiceService(assist, getCurrentService(mHelper))) { in onAttach() 68 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in getCandidates() 75 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in getCandidates() 84 final ComponentName currentService = getCurrentService(mHelper); in getDefaultKey() 93 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in setDefaultKey() 106 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in setDefaultKey()
|
D | DefaultVoiceInputPreferenceController.java | 43 private VoiceInputHelper mHelper; field in DefaultVoiceInputPreferenceController 53 mHelper = new VoiceInputHelper(context); in DefaultVoiceInputPreferenceController() 54 mHelper.buildUi(); in DefaultVoiceInputPreferenceController() 64 DefaultVoiceInputPicker.getCurrentService(mHelper); in isAvailable() 106 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in getDefaultAppInfo() 113 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in getDefaultAppInfo() 136 mHelper.buildUi(); in updatePreference() 148 final ComponentName currentService = DefaultVoiceInputPicker.getCurrentService(mHelper); in getDefaultAppKey()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/ |
D | DefaultVoiceInputPicker.java | 37 private VoiceInputHelper mHelper; field in DefaultVoiceInputPicker 50 mHelper = new VoiceInputHelper(context); in onAttach() 51 mHelper.buildUi(); in onAttach() 53 if (isCurrentAssistVoiceService(assist, getCurrentService(mHelper))) { in onAttach() 68 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in getCandidates() 75 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in getCandidates() 84 final ComponentName currentService = getCurrentService(mHelper); in getDefaultKey() 93 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in setDefaultKey() 106 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in setDefaultKey()
|
D | DefaultVoiceInputPreferenceController.java | 43 private VoiceInputHelper mHelper; field in DefaultVoiceInputPreferenceController 53 mHelper = new VoiceInputHelper(context); in DefaultVoiceInputPreferenceController() 54 mHelper.buildUi(); in DefaultVoiceInputPreferenceController() 64 DefaultVoiceInputPicker.getCurrentService(mHelper); in isAvailable() 106 for (VoiceInputHelper.InteractionInfo info : mHelper.mAvailableInteractionInfos) { in getDefaultAppInfo() 113 for (VoiceInputHelper.RecognizerInfo info : mHelper.mAvailableRecognizerInfos) { in getDefaultAppInfo() 136 mHelper.buildUi(); in updatePreference() 148 final ComponentName currentService = DefaultVoiceInputPicker.getCurrentService(mHelper); in getDefaultAppKey()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyDatabaseHelperTest.java | 55 private TelephonyProvider.DatabaseHelper mHelper; // the actual class being tested field in TelephonyDatabaseHelperTest 62 mHelper = new TelephonyProvider.DatabaseHelper(mContext); in setUp() 72 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasApnSetIdField() 87 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasCarrierIdField() 100 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasCountryIsoField() 113 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasProfileClassField() 127 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasSkip464XlatField() 141 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb() 177 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.DatabaseHelper.getVersion(mContext)); in databaseHelperOnUpgrade_hasSubscriptionTypeField()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreferenceController.java | 37 protected AudioHelper mHelper; field in VolumeSeekBarPreferenceController 46 mHelper = helper; in setAudioHelper() 83 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition() 91 return mHelper.setStreamVolume(getAudioStream(), position); in setSliderPosition() 99 return mHelper.getMaxVolume(getAudioStream()); in getMax() 107 return mHelper.getMinVolume(getAudioStream()); in getMin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceFullCardRendererHelperTest.java | 59 private SliceFullCardRendererHelper mHelper; field in SliceFullCardRendererHelperTest 67 mHelper = new SliceFullCardRendererHelper(mActivity); in setUp() 81 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetScrollableToFalse() 91 mHelper.bindView(viewHolder, card, buildSlice()); in bindView_shouldSetTagToSliceUri() 100 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetModeToLarge() 110 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetSlice() 121 return mHelper.createViewHolder(view); in getSliceViewHolder()
|