/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 125 assertThat(appContext.isUiContext()).isFalse(); in testIsUiContext_appContext_returnsFalse() 133 assertThat(systemContext.isUiContext()).isTrue(); in testIsUiContext_systemContext_returnsTrue() 141 assertThat(systemUiContext.isUiContext()).isTrue(); in testIsUiContext_systemUiContext_returnsTrue() 185 assertFalse(wrapper.isUiContext()); in testIsUiContext_ContextWrapper() 189 assertTrue(wrapper.isUiContext()); in testIsUiContext_ContextWrapper() 197 assertTrue(context.isUiContext()); in testIsUiContext_UiContextDerivedContext() 201 assertTrue(context.isUiContext()); in testIsUiContext_UiContextDerivedContext() 211 assertFalse(context.isUiContext()); in testIsUiContext_UiContextDerivedDisplayContext()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 126 public boolean isUiContext() { in isUiContext() method in DecorContext 129 return context.isUiContext(); in isUiContext()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 210 final boolean isUiContext = mContext.isUiContext(); in show() 217 service.enqueueToast(pkg, mToken, tn, mDuration, isUiContext, displayId); in show() 222 service.enqueueTextToast(pkg, mToken, mText, mDuration, isUiContext, displayId, in show() 226 service.enqueueToast(pkg, mToken, tn, mDuration, isUiContext, displayId); in show()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 122 assertTrue(decorContext.isUiContext()); in testIsUiContextFromVisualDecorContext()
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 51 …st(String pkg, IBinder token, CharSequence text, int duration, boolean isUiContext, int displayId,… in enqueueTextToast() argument 52 … IBinder token, ITransientNotification callback, int duration, boolean isUiContext, int displayId); in enqueueToast() argument
|
D | ContextImpl.java | 2199 if (WINDOW_SERVICE.equals(name) && !isUiContext()) { in getSystemService() 2222 public boolean isUiContext() { in isUiContext() method in ContextImpl 2240 return isUiContext() || mIsConfigurationBasedContext; in isConfigurationContext()
|
D | ActivityThread.java | 4685 if (!service.isUiContext()) { // WindowProviderService is a UI Context. in handleCreateService() 6215 if (!service.isUiContext()) { in updateDeviceIdForNonUIContexts()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/ |
D | WindowLayoutComponentImpl.java | 143 if (!context.isUiContext()) { in addWindowLayoutInfoListener()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 1397 public boolean isUiContext() { in isUiContext() method in ContextWrapper 1401 return mBase.isUiContext(); in isUiContext()
|
D | Context.java | 7859 public boolean isUiContext() { in isUiContext() method in Context
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | ApplicationContext.java | 1300 public boolean isUiContext() { in isUiContext() method in ApplicationContext 1303 return context.isUiContext(); in isUiContext()
|
D | BridgeContext.java | 2132 public boolean isUiContext() { in isUiContext() method in BridgeContext
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 988 public boolean isUiContext() { in isUiContext() method in MockContext
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3309 boolean isUiContext, int displayId, 3311 enqueueToast(pkg, token, text, /* callback= */ null, duration, isUiContext, displayId, 3317 int duration, boolean isUiContext, int displayId) { 3318 enqueueToast(pkg, token, /* text= */ null, callback, duration, isUiContext, displayId, 3323 @Nullable ITransientNotification callback, int duration, boolean isUiContext, 3327 + " isUiContext=" + isUiContext + " displayId=" + displayId); 3338 if (!isUiContext && displayId == Display.DEFAULT_DISPLAY
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 1100 if (!context.isUiContext()) { in createWindowContextIfNeeded()
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 2351 if (vmIncorrectContextUseEnabled() && !context.isUiContext()) { in assertUiContext()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 12527 private void enqueueTextToast(String testPackage, CharSequence text, boolean isUiContext, 12530 TOAST_DURATION, isUiContext, displayId, /* textCallback= */ null);
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 1551 HSPLandroid/app/ContextImpl;->isUiContext()Z 4056 HSPLandroid/content/ContextWrapper;->isUiContext()Z 22015 HSPLcom/android/internal/policy/DecorContext;->isUiContext()Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1551 HSPLandroid/app/ContextImpl;->isUiContext()Z 4059 HSPLandroid/content/ContextWrapper;->isUiContext()Z 22079 HSPLcom/android/internal/policy/DecorContext;->isUiContext()Z
|
/frameworks/base/core/api/ |
D | current.txt | 10281 method public boolean isUiContext();
|