/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 | 220 EventBus.getDefault().post(new RecentsDrawnEvent()); 295 EventBus.getDefault().send(dismissEvent); in dismissRecentsToHome() 325 EventBus.getDefault().register(this, EVENT_BUS_PRIORITY); in onCreate() 379 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, true)); in onStart() 433 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in reloadStackView() 467 EventBus.getDefault().send(new EnterRecentsWindowAnimationCompletedEvent()); in onEnterAnimationComplete() 485 EventBus.getDefault().send(new ConfigurationChangedEvent(false /* fromMultiWindow */, in onConfigurationChanged() 505 EventBus.getDefault().send(new RecentsVisibilityChangedEvent(this, false)); in onStop() 537 EventBus.getDefault().unregister(this); in onDestroy() 543 EventBus.getDefault().register(mScrimViews, EVENT_BUS_PRIORITY); in onAttachedToWindow() [all …]
|
D | RecentsSystemUser.java | 96 EventBus.getDefault().post(new RecentsDrawnEvent()); in sendRecentsDrawnEvent() 101 EventBus.getDefault().post(new DockedTopTaskEvent(dragMode, initialRect)); in sendDockingTopTaskEvent() 106 EventBus.getDefault().post(new RecentsActivityStartingEvent()); in sendLaunchRecentsEvent()
|
D | RecentsImpl.java | 180 EventBus.getDefault().send(new ActivityPinnedEvent(taskId)); in onActivityPinned() 192 EventBus.getDefault().send(new ActivityUnpinnedEvent()); in onActivityUnpinned() 203 EventBus.getDefault().send(new TaskSnapshotChangedEvent(taskId, in onTaskSnapshotChanged() 358 EventBus.getDefault().post(new HideRecentsEvent(triggeredFromAltTab, in hideRecents() 386 EventBus.getDefault().post(new LaunchNextTaskRequestEvent()); in toggleRecents() 388 EventBus.getDefault().post(new LaunchMostRecentTaskRequestEvent()); in toggleRecents() 393 EventBus.getDefault().post(new LaunchNextTaskRequestEvent()); in toggleRecents() 396 EventBus.getDefault().post(new IterateRecentsEvent()); in toggleRecents() 408 EventBus.getDefault().post(new ToggleRecentsEvent()); in toggleRecents() 472 EventBus.getDefault().sendOntoMainThread(new DraggingInRecentsEvent(distanceFromTop)); [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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | RecentsViewTouchHandler.java | 110 EventBus.getDefault().send(new HideRecentsEvent(false, true)); in onTouchEvent() 146 EventBus.getDefault().send(new ShowIncompatibleAppOverlayEvent()); in onBusEvent() 160 EventBus.getDefault().send(new DragStartInitializeDropTargetsEvent(event.task, in onBusEvent() 172 EventBus.getDefault().send(new HideIncompatibleAppOverlayEvent()); in onBusEvent() 232 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, in handleTouchEvent() 248 EventBus.getDefault().send(new DragDropTargetChangedEvent(mDragTask, null)); in handleTouchEvent() 250 EventBus.getDefault().send(new DragEndEvent(mDragTask, mTaskView, in handleTouchEvent()
|
D | RecentsTransitionHelper.java | 93 EventBus.getDefault().send(new ScreenPinningRequestEvent(mContext, taskId)); in run() 123 EventBus.getDefault().send(new CancelEnterRecentsWindowAnimationEvent(task)); in launchTaskFromRecents() 124 EventBus.getDefault().send(new ExitRecentsWindowFirstAnimationFrameEvent()); in launchTaskFromRecents() 139 EventBus.getDefault().send(new CancelEnterRecentsWindowAnimationEvent(task)); in launchTaskFromRecents() 140 EventBus.getDefault().send(new ExitRecentsWindowFirstAnimationFrameEvent()); in launchTaskFromRecents() 163 EventBus.getDefault().send(launchStartedEvent); in launchTaskFromRecents() 165 EventBus.getDefault().send(launchStartedEvent); in launchTaskFromRecents() 210 EventBus.getDefault().send(new LaunchTaskSucceededEvent(taskIndexFromFront)); 218 EventBus.getDefault().send(new LaunchTaskFailedEvent());
|
D | RecentsView.java | 151 EventBus.getDefault().send(new DismissAllTaskViewsEvent()); in RecentsView() 240 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, in launchFocusedTask() 257 EventBus.getDefault().send(new ExpandPipEvent()); in launchPreviousTask() 265 EventBus.getDefault().send(new LaunchTaskEvent(taskView, task, null, in launchPreviousTask() 282 EventBus.getDefault().send(new LaunchTaskEvent(tv, task, taskBounds, in launchTask() 318 EventBus.getDefault().register(this, RecentsActivity.EVENT_BUS_PRIORITY + 1); in onAttachedToWindow() 319 EventBus.getDefault().register(mTouchHandler, RecentsActivity.EVENT_BUS_PRIORITY + 2); in onAttachedToWindow() 326 EventBus.getDefault().unregister(this); in onDetachedFromWindow() 327 EventBus.getDefault().unregister(mTouchHandler); in onDetachedFromWindow() 522 EventBus.getDefault().send(new DockedFirstAnimationFrameEvent()); in onBusEvent() [all …]
|
/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/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 172 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in createFromPdu() 761 if (!SmsManager.getDefault().isImsSmsSupported()) { in useCdmaFormatForMoSms() 766 return (SmsConstants.FORMAT_3GPP2.equals(SmsManager.getDefault().getImsSmsFormat())); in useCdmaFormatForMoSms() 775 int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); in isCdmaVoice() 792 simOperator = TelephonyManager.getDefault().getSimOperatorNumeric(); in hasEmsSupport() 793 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in hasEmsSupport() 824 simOperator = TelephonyManager.getDefault().getSimOperatorNumeric(); in shouldAppendPageNumberAsPrefix() 825 gid = TelephonyManager.getDefault().getGroupIdLevel1(); in shouldAppendPageNumberAsPrefix()
|
D | CellLocation.java | 63 switch(TelephonyManager.getDefault().getCurrentPhoneType()) { in newFromBundle() 97 switch(TelephonyManager.getDefault().getCurrentPhoneType()) { in getEmpty()
|
/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/tools/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/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()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TtsEnginesTests.java | 65 assertEquals(Locale.getDefault(), in testGetLocalePrefForEngine() 67 assertEquals(Locale.getDefault(), in testGetLocalePrefForEngine()
|