/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
D | EditEventHelperTest.java | 129 private EditEventHelper mHelper; field in EditEventHelperTest 365 mHelper = new EditEventHelper(mActivity, null); in testSaveEventFailures() 375 mHelper.mEventOk = false; in testSaveEventFailures() 376 assertFalse(mHelper.saveEvent(null, null, 0)); in testSaveEventFailures() 377 mHelper.mEventOk = true; in testSaveEventFailures() 378 assertFalse(mHelper.saveEvent(null, null, 0)); in testSaveEventFailures() 380 assertFalse(mHelper.saveEvent(mModel1, mModel2, 0)); in testSaveEventFailures() 384 assertFalse(mHelper.saveEvent(mModel1, null, 0)); in testSaveEventFailures() 392 mHelper = new EditEventHelper(mActivity, null); in testSaveEventNewEvent() 398 assertTrue(mHelper.saveEvent(mModel1, null, 0)); in testSaveEventNewEvent() [all …]
|
/packages/apps/Settings/src/com/android/settings/voice/ |
D | VoiceInputListPreference.java | 20 private VoiceInputHelper mHelper; field in VoiceInputListPreference 39 for (int i = 0; i < mHelper.mAvailableInteractionInfos.size(); ++i) { in persistString() 40 VoiceInputHelper.InteractionInfo info = mHelper.mAvailableInteractionInfos.get(i); in persistString() 55 for (int i = 0; i < mHelper.mAvailableRecognizerInfos.size(); ++i) { in persistString() 56 VoiceInputHelper.RecognizerInfo info = mHelper.mAvailableRecognizerInfos.get(i); in persistString() 82 mHelper = new VoiceInputHelper(getContext()); in refreshVoiceInputs() 83 mHelper.buildUi(); in refreshVoiceInputs() 91 for (int i = 0; i < mHelper.mAvailableInteractionInfos.size(); ++i) { in refreshVoiceInputs() 92 VoiceInputHelper.InteractionInfo info = mHelper.mAvailableInteractionInfos.get(i); in refreshVoiceInputs() 104 for (int i = 0; i < mHelper.mAvailableRecognizerInfos.size(); ++i) { in refreshVoiceInputs() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogListItemHelperTest.java | 49 private CallLogListItemHelper mHelper; field in CallLogListItemHelperTest 66 mHelper = new CallLogListItemHelper(phoneCallDetailsHelper, mResources, phoneUtils); in setUp() 73 mHelper = null; in tearDown() 107 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_ReadVoicemail() 113 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_UnreadVoicemail() 129 mHelper.getCallDescriptionStringID(callTypes)); in testGetCallDescriptionID_Answered() 138 mHelper.getCallDescriptionStringID(callTypes)); in testGetCallDescriptionID_Missed() 147 mHelper.getCallDescriptionStringID(callTypes)); in testGetCallDescriptionID_Voicemail() 158 mHelper.getCallDescriptionStringID(callTypes)); in testGetCallDescriptionID_OutgoingSingle() 169 mHelper.getCallDescriptionStringID(callTypes)); in testGetCallDescriptionID_OutgoingMultiple() [all …]
|
D | PhoneCallDetailsHelperTest.java | 58 private PhoneCallDetailsHelper mHelper; field in PhoneCallDetailsHelperTest 75 mHelper = new PhoneCallDetailsHelper(mContext, resources, phoneUtils); in setUp() 76 mHelper.setCurrentTimeForTest( in setUp() 89 mHelper = null; in tearDown() 131 mHelper.setCurrentTimeForTest( in testSetPhoneCallDetails_Date() 171 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_Video() 182 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_NoVideo() 259 mHelper.setCallDetailsHeader(mNameView, details); in testSetCallDetailsHeader_VoicemailNumber() 326 mHelper.setPhoneCallDetails(mViews, details); in setPhoneCallDetailsWithNumber() 335 mHelper.setPhoneCallDetails(mViews, details); in setPhoneCallDetailsWithNumberAndGeocode() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupAgentHelper.java | 56 private LauncherBackupHelper mHelper; field in LauncherBackupAgentHelper 61 mHelper = new LauncherBackupHelper(this); in onCreate() 62 addHelper(LAUNCHER_DATA_PREFIX, mHelper); in onCreate() 92 if (hasData && mHelper.restoreSuccessful) { in onRestore() 97 if (mHelper.restoredBackupVersion <= 3) { in onRestore() 101 if (MigrateFromRestoreTask.ENABLED && mHelper.shouldAttemptWorkspaceMigration()) { in onRestore() 103 (int) mHelper.migrationCompatibleProfileData.desktopCols, in onRestore() 104 (int) mHelper.migrationCompatibleProfileData.desktopRows, in onRestore() 105 mHelper.widgetSizes); in onRestore()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryPreference.java | 46 private BatteryStatsHelper mHelper; field in BatteryHistoryPreference 57 mHelper.storeStatsHistoryInFile(BATTERY_HISTORY_FILE); in performClick() 61 mHelper.getBatteryBroadcast()); in performClick() 72 mHelper = batteryStats; in setStats()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityActivity.java | 62 private SettingsHelper mHelper; field in SecurityActivity 68 mHelper = new SettingsHelper(getApplicationContext()); in onCreate() 188 .description(mHelper.getStatusStringFromBoolean(isNonMarketAppsAllowed())) in getMainMenuActions() 194 .description(mHelper.getStatusStringFromBoolean(isVerifyAppsEnabled() in getMainMenuActions()
|
D | DateTimeActivity.java | 64 private SettingsHelper mHelper; field in DateTimeActivity 105 String status = mHelper.getStatusStringFromBoolean(isTimeFormat24h()); 154 mHelper = new SettingsHelper(getApplicationContext()); in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncSettings.java | 66 private AuthenticatorHelper mHelper; field in AccountSyncSettings 92 mHelper = new AuthenticatorHelper(); in onCreate() 183 mHelper.updateAuthDescriptions(this); in updateAuthDescriptions() 189 mHelper.getLabelForType(this, mAccount.type).toString()); in onAuthDescriptionsUpdated()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventFragment.java | 107 EditEventHelper mHelper; field in EditEventFragment 501 mBegin = mHelper.constructDefaultStartTime(System.currentTimeMillis()); in startQuery() 505 mEnd = mHelper.constructDefaultEndTime(mBegin); in startQuery() 550 mHelper = new EditEventHelper(activity, null); in onAttach() 806 && mHelper.saveEvent(mModel, mOriginalModel, mModification)) { in run()
|