Home
last modified time | relevance | path

Searched refs:ContextWrapper (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DLinkSpan.java20 import android.content.ContextWrapper;
127 } else if (context instanceof ContextWrapper) { in getLegacyListenerFromContext()
131 context = ((ContextWrapper) context).getBaseContext(); in getLegacyListenerFromContext()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java24 import android.content.ContextWrapper;
63 final Context wrapperContext = new ContextWrapper(context); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener()
95 private static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener {
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientFilterTest.java26 import android.content.ContextWrapper;
39 private ContextWrapper mContextSpy;
44 mContextSpy = spy(new ContextWrapper(InstrumentationRegistry.getContext())); in setUp()
DAmbientSensorTest.java28 import android.content.ContextWrapper;
64 private ContextWrapper mContextSpy;
74 mContextSpy = spy(new ContextWrapper(InstrumentationRegistry.getContext())); in setUp()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DTestContext.java19 import android.content.ContextWrapper;
24 public class TestContext extends ContextWrapper {
DCarrierDefaultActivityTestCase.java22 import android.content.ContextWrapper;
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DFakeContextBuilder.java27 import android.content.ContextWrapper;
55 private final ContextWrapper mContext;
63 mContext = new ContextWrapper(InstrumentationRegistry.getTargetContext()) { in FakeContextBuilder()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java24 import android.content.ContextWrapper;
29 public class MockLockSettingsContext extends ContextWrapper {
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java23 import android.content.ContextWrapper;
45 public class IsolatedContext extends ContextWrapper {
DRenamingDelegatingContext.java20 import android.content.ContextWrapper;
49 public class RenamingDelegatingContext extends ContextWrapper {
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java22 import android.content.ContextWrapper;
105 private static class TestContext extends ContextWrapper {
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp54 class ContextWrapper : public IAaptContext { class
56 explicit ContextWrapper(IAaptContext* context) in ContextWrapper() function in aapt::ContextWrapper
134 ContextWrapper wrapped_context{context_}; in FromBaseApk()
221 ContextWrapper wrapped_context{context}; in FilterTable()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java23 import android.content.ContextWrapper;
33 public class ContextThemeWrapper extends ContextWrapper {
DMenuInflater.java22 import android.content.ContextWrapper;
278 if (owner instanceof ContextWrapper) { in findRealOwner()
279 return findRealOwner(((ContextWrapper) owner).getBaseContext()); in findRealOwner()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java29 import android.content.ContextWrapper;
57 final Context context = spy(new ContextWrapper(InstrumentationRegistry.getTargetContext())); in configureTest()
/frameworks/base/core/java/android/content/
DMutableContextWrapper.java23 public class MutableContextWrapper extends ContextWrapper {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java34 import android.content.ContextWrapper;
82 mContext = new ContextWrapper(getContext()) { in setUp()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java21 import android.content.ContextWrapper;
41 public class BroadcastInterceptingContext extends ContextWrapper {
/frameworks/base/core/java/android/app/
DService.java28 import android.content.ContextWrapper;
309 public abstract class Service extends ContextWrapper implements ComponentCallbacks2 {
DMediaRouteButton.java24 import android.content.ContextWrapper;
166 while (context instanceof ContextWrapper) { in getActivity()
170 context = ((ContextWrapper)context).getBaseContext(); in getActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java28 import android.content.ContextWrapper;
86 mServiceContext = new ContextWrapper(context) { in setUp()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java26 import android.content.ContextWrapper;
431 while (context instanceof ContextWrapper) {
435 context = ((ContextWrapper) context).getBaseContext();
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java36 import android.content.ContextWrapper;
157 static class TestContextWrapper extends ContextWrapper {
/frameworks/base/api/
Dlint-baseline.txt342 DeprecationMismatch: android.content.ContextWrapper#clearWallpaper():
344 DeprecationMismatch: android.content.ContextWrapper#getWallpaper():
346 DeprecationMismatch: android.content.ContextWrapper#getWallpaperDesiredMinimumHeight():
348 DeprecationMismatch: android.content.ContextWrapper#getWallpaperDesiredMinimumWidth():
350 DeprecationMismatch: android.content.ContextWrapper#peekWallpaper():
352 DeprecationMismatch: android.content.ContextWrapper#removeStickyBroadcast(android.content.Intent):
354 DeprecationMismatch: android.content.ContextWrapper#removeStickyBroadcastAsUser(android.content.Int…
356 DeprecationMismatch: android.content.ContextWrapper#sendStickyBroadcast(android.content.Intent):
358 DeprecationMismatch: android.content.ContextWrapper#sendStickyBroadcastAsUser(android.content.Inten…
360 DeprecationMismatch: android.content.ContextWrapper#sendStickyOrderedBroadcast(android.content.Inte…
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java29 import android.content.ContextWrapper;
214 public static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener {

123