/frameworks/base/core/tests/coretests/src/android/os/ |
D | LocaleListTest.java | 65 final Locale originalLocale = Locale.getDefault(); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 66 final LocaleList originalLocaleList = LocaleList.getDefault(); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 73 assertEquals("en", Locale.getDefault().toLanguageTag()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 74 final LocaleList firstResult = LocaleList.getDefault(); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 75 assertEquals("ae,en,ja", LocaleList.getDefault().toLanguageTags()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 78 assertSame(firstResult, LocaleList.getDefault()); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 235 EventBus.getDefault().post(new RecentsDrawnEvent()); 310 EventBus.getDefault().send(dismissEvent); in dismissRecentsToHome() 340 EventBus.getDefault().register(this, EVENT_BUS_PRIORITY); in onCreate() 401 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, true)); in onStart() 491 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in reloadStackView() 525 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in onEnterAnimationComplete() 530 EventBus.getDefault().send(new SetWaitingForTransitionStartEvent(false)); in onEnterAnimationComplete() 553 EventBus.getDefault().send(new ConfigurationChangedEvent(false /* fromMultiWindow */, in onConfigurationChanged() 576 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, false)); in onStop() 610 EventBus.getDefault().unregister(this); in onDestroy() [all …]
|
D | RecentsSystemUser.java | 97 EventBus.getDefault().post(new RecentsDrawnEvent()); in sendRecentsDrawnEvent() 102 EventBus.getDefault().post(new DockedTopTaskEvent(dragMode, initialRect)); in sendDockingTopTaskEvent() 107 EventBus.getDefault().post(new RecentsActivityStartingEvent()); in sendLaunchRecentsEvent() 112 EventBus.getDefault().post(new SetWaitingForTransitionStartEvent( in setWaitingForTransitionStartEvent()
|
D | RecentsImpl.java | 186 EventBus.getDefault().send(new ActivityPinnedEvent(taskId)); in onActivityPinned() 198 EventBus.getDefault().send(new ActivityUnpinnedEvent()); in onActivityUnpinned() 209 EventBus.getDefault().send(new TaskSnapshotChangedEvent(taskId, in onTaskSnapshotChanged() 378 EventBus.getDefault().post(new HideRecentsEvent(triggeredFromAltTab, in hideRecents() 416 EventBus.getDefault().post(new LaunchNextTaskRequestEvent()); in toggleRecents() 418 EventBus.getDefault().post(new LaunchMostRecentTaskRequestEvent()); in toggleRecents() 423 EventBus.getDefault().post(new LaunchNextTaskRequestEvent()); in toggleRecents() 426 EventBus.getDefault().post(new IterateRecentsEvent()); in toggleRecents() 438 EventBus.getDefault().post(new ToggleRecentsEvent()); in toggleRecents() 507 EventBus.getDefault().sendOntoMainThread(new DraggingInRecentsEvent(distanceFromTop)); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | RecentsTransitionHelper.java | 94 EventBus.getDefault().send(new ScreenPinningRequestEvent(mContext, taskId)); in run() 133 EventBus.getDefault().send(new CancelEnterRecentsWindowAnimationEvent(task)); in launchTaskFromRecents() 134 EventBus.getDefault().send(new ExitRecentsWindowFirstAnimationFrameEvent()); in launchTaskFromRecents() 145 EventBus.getDefault().send(new SetWaitingForTransitionStartEvent(false)); in launchTaskFromRecents() 164 EventBus.getDefault().send(new CancelEnterRecentsWindowAnimationEvent(task)); in launchTaskFromRecents() 165 EventBus.getDefault().send(new ExitRecentsWindowFirstAnimationFrameEvent()); in launchTaskFromRecents() 170 EventBus.getDefault().send(new SetWaitingForTransitionStartEvent(false)); in launchTaskFromRecents() 176 EventBus.getDefault().send(new SetWaitingForTransitionStartEvent(true)); in launchTaskFromRecents() 195 EventBus.getDefault().send(launchStartedEvent); in launchTaskFromRecents() 197 EventBus.getDefault().send(launchStartedEvent); in launchTaskFromRecents() [all …]
|
D | RecentsViewTouchHandler.java | 112 EventBus.getDefault().send(new HideRecentsEvent(false, true)); in onTouchEvent() 148 EventBus.getDefault().send(new ShowIncompatibleAppOverlayEvent()); in onBusEvent() 162 EventBus.getDefault().send(new DragStartInitializeDropTargetsEvent(event.task, in onBusEvent() 174 EventBus.getDefault().send(new HideIncompatibleAppOverlayEvent()); in onBusEvent() 259 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, in handleTouchEvent() 271 EventBus.getDefault().send(new DismissAllTaskViewsEvent()); in handleTouchEvent() 278 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, null)); in handleTouchEvent() 280 EventBus.getDefault().send(new DragEndEvent(mDragTask, mTaskView, in handleTouchEvent()
|
D | RecentsView.java | 335 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, 352 EventBus.getDefault().send(new ExpandPipEvent()); 360 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, 377 EventBus.getDefault().send(new LaunchTaskEvent(tv, task, taskBounds, 426 EventBus.getDefault().register(this, RecentsActivity.EVENT_BUS_PRIORITY + 1); 427 EventBus.getDefault().register(mTouchHandler, RecentsActivity.EVENT_BUS_PRIORITY + 2); 434 EventBus.getDefault().unregister(this); 435 EventBus.getDefault().unregister(mTouchHandler); 569 EventBus.getDefault().send(new HideStackActionButtonEvent(false /* translate */)); 577 EventBus.getDefault().send(new HideStackActionButtonEvent()); [all …]
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | SmsManagerPermissionTest.java | 43 SmsManager.getDefault().sendTextMessage(SRC_NUMBER, DEST_NUMBER, MSG_CONTENTS, null, in testSendTextMessage() 59 SmsManager.getDefault().sendDataMessage(SRC_NUMBER, DEST_NUMBER, DEST_PORT, in testSendDataMessage() 78 SmsManager.getDefault().sendMultipartTextMessage(SRC_NUMBER, DEST_NUMBER, msgParts, in testSendMultipartMessage()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 200 LocaleData d = LocaleData.get(Locale.getDefault()); in getDayOfWeekString() 222 return LocaleData.get(Locale.getDefault()).amPm[ampm - Calendar.AM]; in getAMPMString() 238 LocaleData d = LocaleData.get(Locale.getDefault()); in getMonthString() 302 return RelativeDateTimeFormatter.getRelativeTimeSpanString(Locale.getDefault(), in getRelativeTimeSpanString() 303 TimeZone.getDefault(), time, now, minResolution, flags); in getRelativeTimeSpanString() 336 return RelativeDateTimeFormatter.getRelativeDateTimeString(Locale.getDefault(), in getRelativeDateTimeString() 337 TimeZone.getDefault(), time, System.currentTimeMillis(), minResolution, in getRelativeDateTimeString() 396 final MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), width); in formatDuration() 452 Formatter f = new Formatter(sb, Locale.getDefault()); in formatElapsedTime() 536 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()); in formatDateRange()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpResponseCache.java | 165 ResponseCache installed = ResponseCache.getDefault(); in getInstalled() 184 ResponseCache installed = ResponseCache.getDefault(); in install() 278 if (ResponseCache.getDefault() == this) { in close() 288 if (ResponseCache.getDefault() == this) { in delete()
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsMessage.java | 153 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() 171 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getTPLayerLengthForPDU() 245 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() 272 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() 303 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSubmitPdu() 618 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in getSmsFacility()
|
D | SmsManager.java | 39 public static final SmsManager getDefault() { in getDefault() method in SmsManager 48 mSmsMgrProxy = android.telephony.SmsManager.getDefault(); in SmsManager() 222 return android.telephony.SmsManager.getDefault().getAllMessagesFromIcc(); in getAllMessagesFromSim()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTest.java | 96 Locale defaultLocale = Locale.getDefault(); in getFriendlyNameMatchingDefaultLocale() 121 if (nonDefaultLocale.equals(Locale.getDefault())) { in getFriendlyNameNotMatchingDefaultLocale() 156 Locale defaultLocale = Locale.getDefault(); in getServiceDescriptionMatchingDefaultLocale() 182 if (nonDefaultLocale.equals(Locale.getDefault())) { in getServiceDescriptionNotMatchingDefaultLocale()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SetTimeZonePermissionsTest.java | 37 mCurrentZone = TimeZone.getDefault().getID(); in setUp() 64 String newZone = TimeZone.getDefault().getID(); in testSetTimeZonePermissions()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellLocation.java | 63 switch(TelephonyManager.getDefault().getCurrentPhoneType()) { in newFromBundle() 97 switch(TelephonyManager.getDefault().getCurrentPhoneType()) { in getEmpty()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | AndroidLocale.java | 62 public static Locale getDefault() { in getDefault() method in AndroidLocale 70 return Locale.getDefault(); in getDefault()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | RecentsPackageMonitor.java | 59 EventBus.getDefault().post(new PackagesChangedEvent(this, packageName, eventUserId)); in onPackageRemoved() 72 EventBus.getDefault().post(new PackagesChangedEvent(this, packageName, eventUserId)); in onPackageModified()
|
/frameworks/support/compat/java/android/support/v4/os/ |
D | LocaleListCompat.java | 313 return LocaleListCompat.create(Locale.getDefault()); in getAdjustedDefault() 329 public static LocaleListCompat getDefault() { in getDefault() method in LocaleListCompat 331 return LocaleListCompat.wrap(LocaleList.getDefault()); in getDefault() 333 return LocaleListCompat.create(Locale.getDefault()); in getDefault()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightState.java | 54 final ZoneId zoneId = TimeZone.getDefault().toZoneId(); in sunrise() 70 final ZoneId zoneId = TimeZone.getDefault().toZoneId(); in sunset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 77 EventBus.getDefault().register(this); in ForcedResizableInfoActivityController() 129 EventBus.getDefault().send(new ShowUserToastEvent( in activityDismissingDockedStack() 134 EventBus.getDefault().send(new ShowUserToastEvent( in activityLaunchOnSecondaryDisplayFailed()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 128 return getDisplayName(locale, Locale.getDefault(), sentenceCase); in getDisplayName() 149 return ULocale.getDisplayCountry(locale.toLanguageTag(), ULocale.getDefault()); in getDisplayCountry() 164 final Locale dispLocale = displayLocale == null ? Locale.getDefault() : displayLocale; in getDisplayLocaleList()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | TextInputLayoutPseudoLocaleTest.java | 40 private static final String ORIGINAL_LANGUAGE = Locale.getDefault().getLanguage(); 41 private static final String ORIGINAL_COUNTRY = Locale.getDefault().getLanguage();
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerUtils.java | 72 final Locale defaultLocale = Locale.getDefault(); in getGmtDisplayName() 164 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault()); in getDisplayName() 180 return tz.getDisplayName(daylightTime, TimeZone.LONG, Locale.getDefault()); in getDisplayName()
|
D | TimeZoneInfo.java | 54 private static Formatter mFormatter = new Formatter(mSB, Locale.getDefault()); 70 recycledTime.timezone = TimeZone.getDefault().getID(); in getLocalTime() 278 return this.mTz.getDisplayName(Locale.getDefault()).compareTo( in compareTo() 279 other.mTz.getDisplayName(Locale.getDefault())); in compareTo()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 163 if (!SmsManager.getDefault().isImsSmsSupported()) { in useCdmaFormatForMoSms() 165 return TelephonyManager.getDefault().getCurrentPhoneType() in useCdmaFormatForMoSms() 169 return (SmsConstants.FORMAT_3GPP2.equals(SmsManager.getDefault().getImsSmsFormat())); in useCdmaFormatForMoSms()
|