Home
last modified time | relevance | path

Searched refs:isUiContext (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java125 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/
DDecorContext.java126 public boolean isUiContext() { in isUiContext() method in DecorContext
129 return context.isUiContext(); in isUiContext()
/frameworks/base/core/java/android/widget/
DToast.java210 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/
DDecorContextTest.java122 assertTrue(decorContext.isUiContext()); in testIsUiContextFromVisualDecorContext()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl51 …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
DContextImpl.java2199 if (WINDOW_SERVICE.equals(name) && !isUiContext()) { in getSystemService()
2222 public boolean isUiContext() { in isUiContext() method in ContextImpl
2240 return isUiContext() || mIsConfigurationBasedContext; in isConfigurationContext()
DActivityThread.java4685 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/
DWindowLayoutComponentImpl.java143 if (!context.isUiContext()) { in addWindowLayoutInfoListener()
/frameworks/base/core/java/android/content/
DContextWrapper.java1397 public boolean isUiContext() { in isUiContext() method in ContextWrapper
1401 return mBase.isUiContext(); in isUiContext()
DContext.java7859 public boolean isUiContext() { in isUiContext() method in Context
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java1300 public boolean isUiContext() { in isUiContext() method in ApplicationContext
1303 return context.isUiContext(); in isUiContext()
DBridgeContext.java2132 public boolean isUiContext() { in isUiContext() method in BridgeContext
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java988 public boolean isUiContext() { in isUiContext() method in MockContext
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3309 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/
DVoiceInteractionSession.java1100 if (!context.isUiContext()) { in createWindowContextIfNeeded()
/frameworks/base/core/java/android/os/
DStrictMode.java2351 if (vmIncorrectContextUseEnabled() && !context.isUiContext()) { in assertUiContext()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java12527 private void enqueueTextToast(String testPackage, CharSequence text, boolean isUiContext,
12530 TOAST_DURATION, isUiContext, displayId, /* textCallback= */ null);
/frameworks/base/boot/
Dboot-image-profile.txt1551 HSPLandroid/app/ContextImpl;->isUiContext()Z
4056 HSPLandroid/content/ContextWrapper;->isUiContext()Z
22015 HSPLcom/android/internal/policy/DecorContext;->isUiContext()Z
/frameworks/base/config/
Dboot-image-profile.txt1551 HSPLandroid/app/ContextImpl;->isUiContext()Z
4059 HSPLandroid/content/ContextWrapper;->isUiContext()Z
22079 HSPLcom/android/internal/policy/DecorContext;->isUiContext()Z
/frameworks/base/core/api/
Dcurrent.txt10281 method public boolean isUiContext();