/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
ContextHolder.java | 21 static volatile Context sContext; 24 return sContext;
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
RenderScriptSingleton.java | 34 private static Context sContext; 47 if (context.equals(sContext)) { 49 } else if (sContext != null) { 52 ", before clearing previous "+ sContext); 58 sContext = context; 69 if (sContext != null) { 75 sContext = null;
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
AlarmService.java | 27 static Context sContext; 32 sContext = this; 49 sContext = null;
|
WakeUpController.java | 49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_SERVICE);
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PresenceSetting.java | 41 private static Context sContext = null; 44 sContext = context; 49 if (sContext != null) { 50 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 72 if (sContext != null) { 73 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 95 if (sContext != null) { 96 ImsManager imsManager = ImsManager.getInstance(sContext, 0); 118 if (sContext != null) { 119 ImsManager imsManager = ImsManager.getInstance(sContext, 0) [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
RotationHelper.java | 48 private static Context sContext; 54 * - sContext != null 60 sContext = context; 67 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) 73 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) 83 int newRotation = ((WindowManager) sContext.getSystemService(
|
/cts/tests/tests/print/src/android/print/pdf/cts/ |
PrintedPdfDocumentTest.java | 43 private static Context sContext; 47 sContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 52 assertException(() -> new PrintedPdfDocument(sContext, null), NullPointerException.class); 58 assertException(() -> new PrintedPdfDocument(sContext, attr), NullPointerException.class); 65 assertException(() -> new PrintedPdfDocument(sContext, attr), 84 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 95 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 121 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 131 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 141 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr) [all...] |
/external/skia/tests/ |
VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4);
|
FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 65 REPORTER_ASSERT(reporter, sContext); 68 sContext.get(), 0, 0, DEV_W, DEV_H, colorType, nullptr, readBuffer.begin(), 0);
|
ReadWriteAlphaTest.cpp | 76 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 92 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); 102 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); 200 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 211 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0);
|
/external/skqp/tests/ |
VkUploadPixelsTests.cpp | 81 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); 85 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 93 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); 98 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 112 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); 116 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 124 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); 129 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4);
|
IntTextureTest.cpp | 79 sk_sp<GrSurfaceContext> sContext; 89 sContext = context->contextPriv().makeWrappedSurfaceContext(std::move(proxy)); 90 if (!sContext) { 98 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 106 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 117 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 129 sContext.get(), 140 sContext->asSurfaceProxy())); 163 sContext->asSurfaceProxy())); 173 sContext->asSurfaceProxy())) [all...] |
SRGBReadWritePixelsTest.cpp | 178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 182 if (!sContext) { 190 if (sContext->writePixels(iiSRGBA, origData, 0, 0, 0)) { 195 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 198 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 206 if (sContext->writePixels(iiRGBA, origData, 0, 0, 0)) { 208 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 211 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 219 sContext = context->contextPriv().makeDeferredSurfaceContext(desc, 223 if (!sContext) { [all...] |
FloatingPointTextureTest.cpp | 63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 65 REPORTER_ASSERT(reporter, sContext); 67 bool result = context->contextPriv().readSurfacePixels(sContext.get(),
|
ReadWriteAlphaTest.cpp | 70 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 86 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); 95 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); 181 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 192 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0);
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
app-linux.c | 73 static struct waffle_context *sContext; 136 sContext = waffle_context_create(sConfig, NULL); 137 if (!sContext) 147 ok = waffle_make_current(sDisplay, sWindow, sContext); 175 if (!waffle_context_destroy(sContext))
|
/external/skia/src/gpu/ |
GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 106 if (!sContext || !sContext->asTextureProxy()) { 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { 115 return sContext->asTextureProxyRef();
|
/external/skqp/src/gpu/ |
GrSWMaskHelper.cpp | 101 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 106 if (!sContext || !sContext->asTextureProxy()) { 111 if (!sContext->writePixels(ii, fPixels->addr(), fPixels->rowBytes(), 0, 0)) { 115 return sContext->asTextureProxyRef();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
MnsService.java | 52 private static MapClientService sContext; 60 sContext = context; 127 MceStateMachine stateMachine = sContext.getMceStateMachineForDevice(device);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
PlaybackOverlayFragment.java | 87 private static Context sContext; 117 sContext = getActivity(); 258 mPlayPauseAction = new PlayPauseAction(sContext); 259 mRepeatAction = new RepeatAction(sContext); 260 mThumbsUpAction = new ThumbsUpAction(sContext); 261 mThumbsDownAction = new ThumbsDownAction(sContext); 262 mShuffleAction = new ShuffleAction(sContext); 263 mSkipNextAction = new PlaybackControlsRow.SkipNextAction(sContext); 264 mSkipPreviousAction = new PlaybackControlsRow.SkipPreviousAction(sContext); 265 mFastForwardAction = new PlaybackControlsRow.FastForwardAction(sContext); [all...] |
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 41 private static Context sContext; 76 sContext = context; 87 mCM = sContext.getSystemService(ConnectivityManager.class); 104 mCM = sContext.getSystemService(ConnectivityManager.class);
|
/packages/services/Car/evs/app/ |
RenderBase.h | 54 static EGLContext sContext;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
UserDataTest.java | 47 private static final Context sContext = InstrumentationRegistry.getContext(); 51 new SettingsStateChangerRule(sContext, 56 new SettingsStateChangerRule(sContext, AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT, "2"); 60 new SettingsStateChangerRule(sContext, AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE, "4"); 64 new SettingsStateChangerRule(sContext, AUTOFILL_USER_DATA_MIN_VALUE_LENGTH, "4"); 68 new SettingsStateChangerRule(sContext, AUTOFILL_USER_DATA_MAX_VALUE_LENGTH, "50");
|
VirtualContainerActivityCompatModeTest.java | 57 private static final Context sContext = InstrumentationRegistry.getContext(); 61 sContext, NAMESPACE_GLOBAL, AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES, 70 sContext.getApplicationContext().setAutofillCompatibilityEnabled(false); 75 sContext.getApplicationContext().setAutofillCompatibilityEnabled(true); 107 SettingsHelper.syncSet(sContext, NAMESPACE_GLOBAL, AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES, 132 SettingsHelper.syncSet(sContext, NAMESPACE_GLOBAL, AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 84 static private Context sContext; 109 sContext = context; 149 boolean isDynamicBinding = sContext.getResources().getBoolean( 152 String defaultImsPackage = sContext.getResources().getString( 156 sImsResolver = new ImsResolver(sContext, defaultImsPackage, numPhones, 244 sSubscriptionMonitor = new SubscriptionMonitor(tr, sContext, sc, numPhones); 247 sContext, sc, Looper.myLooper(), tr, sCommandsInterfaces, 261 sContext, i, sPhones[i].mDcTracker); 324 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier); 366 value = Settings.Global.getInt(sContext.getContentResolver() [all...] |