Home
last modified time | relevance | path

Searched refs:setDefault (Results 1 – 25 of 26) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java49 Locale.setDefault(Locale.US); in setUp()
54 Locale.setDefault(mOriginalLocale); in tearDown()
112 Locale.setDefault(Locale.FRANCE); in testGetCollators()
DLocaleSetTest.java35 Locale.setDefault(Locale.JAPANESE); in testPrimaryLocale()
39 Locale.setDefault(previousDefault); in testPrimaryLocale()
/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DUtilsTest.java59 Locale.setDefault(Locale.US); in setUp()
65 Locale.setDefault(mLocale); in tearDown()
475 TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul")); in testIfTimeZoneApplied()
487 TimeZone.setDefault(timeZone); in testIfTimeZoneApplied()
DTvTrackInfoUtilsTest.java100 Locale.setDefault(localPreference); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage_23()
110 LocaleList.setDefault(localPreferenceList); in testGetBestTrackInfo_channelCountOnlyMatchWithNullLanguage()
125 Locale.setDefault(localPreference); in testGetBestTrackInfo_noMatchesWithNullLanguage_23()
135 LocaleList.setDefault(localPreferenceList); in testGetBestTrackInfo_noMatchesWithNullLanguage()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountRecorder.java53 Context context, PhoneAccountHandle selectedAccountHandle, boolean setDefault) { in record() argument
65 if (dataId != null && setDefault) { in record()
78 new UserSelectionReporter(selectedAccountHandle, number, setDefault)) in record()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java133 setDefault(defPackage, defName); in onHandleIntent()
211 setDefault(defPackage, defName); in pickDefaultControlPanel()
214 private void setDefault(String defPackage, String defName) { in setDefault() method in Compatibility.Service
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java59 Locale.setDefault(mLocaleEn); in testRtlCompatibleInner()
68 Locale.setDefault(mLocaleHe); in testRtlCompatibleInner()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java172 Locale.setDefault(new Locale("en_US")); in testUidCache_switchLocale_shouldCleanCache()
176 Locale.setDefault(new Locale("zh_TW")); in testUidCache_switchLocale_shouldCleanCache()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java79 TimeZone.setDefault(TimeZone.getTimeZone(DEFAULT_TIMEZONE)); in setUp()
95 TimeZone.setDefault(null); in tearDown()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DCallingAccountSelector.java221 PhoneAccountHandle selectedAccountHandle, boolean setDefault, @Nullable String callId) { in onPhoneAccountSelected() argument
223 recorder.record(coordinator.getActivity(), selectedAccountHandle, setDefault); in onPhoneAccountSelected() local
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestDialerActivity.java44 setDefault(); in onCreate()
123 private void setDefault() { in setDefault() method in TestDialerActivity
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSmsManager.java30 public static void setDefault(SmsManager smsManager) { in setDefault() method in ShadowSmsManager
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraFacingSetting.java72 public void setDefault() { in setDefault() method in CameraFacingSetting
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java343 boolean setDefault) { in phoneAccountSelected() argument
351 mCallsManager.phoneAccountSelected(call, accountHandle, setDefault); in phoneAccountSelected()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java505 PhoneAccountHandle selectedAccountHandle, boolean setDefault, @Nullable String callId) { in onPhoneAccountSelected() argument
524 PhoneAccountHandle selectedAccountHandle, boolean setDefault, @Nullable String callId) { in onPhoneAccountSelected() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseHelperTest.java115 Locale.setDefault(new Locale("ca")); in testLocaleChanges_newIndexingState()
DSlicesDatabaseAccessorTest.java256 Locale.setDefault(new Locale("ca")); in getSliceKeys_indexesDatabase()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DPremiumSmsAccessPreferenceControllerTest.java82 ShadowSmsManager.setDefault(mSmsManager); in setUp()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1430 public void phoneAccountSelected(PhoneAccountHandle accountHandle, boolean setDefault) { in phoneAccountSelected() argument
1435 setDefault); in phoneAccountSelected()
1436 telecomCall.phoneAccountSelected(accountHandle, setDefault); in phoneAccountSelected()
/packages/apps/Contacts/src/com/android/contacts/widget/
DSelectPhoneAccountDialogFragment.java139 boolean setDefault) {} in onPhoneAccountSelected() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java283 LocaleList.setDefault(localeList); in updateLocalesWhenAnimationStops()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java287 LocaleList.setDefault(localeList); in updateLocalesWhenAnimationStops()
/packages/apps/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java220 PhoneAccountHandle selectedAccountHandle, boolean setDefault, @Nullable String callId) {} in onPhoneAccountSelected() argument
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Subscriber.java158 CookieHandler.setDefault(cookieManager);
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java1763 PhoneAccountHandle selectedAccountHandle, boolean setDefault, String callId) { in onPhoneAccountSelected() argument
1770 call.getPreferredAccountRecorder().record(appContext, selectedAccountHandle, setDefault); in onPhoneAccountSelected()

12