/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 | 41 private static Context sContext; 45 sContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 50 assertException(() -> new PrintedPdfDocument(sContext, null), NullPointerException.class); 56 assertException(() -> new PrintedPdfDocument(sContext, attr), NullPointerException.class); 63 assertException(() -> new PrintedPdfDocument(sContext, attr), 82 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 93 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 119 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 129 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr); 139 PrintedPdfDocument doc = new PrintedPdfDocument(sContext, attr) [all...] |
/external/skia/tests/ |
VkUploadPixelsTests.cpp | 79 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 84 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 92 result = sContext->writePixels(dstInfo, srcBuffer, 0, 2, 10); 97 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 113 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 118 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 126 result = sContext->writePixels(dstInfo, srcBuffer, 0, 5, 4); 131 result = sContext->readPixels(dstInfo, dstBuffer, 0, 5, 4);
|
IntTextureTest.cpp | 86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 88 if (!sContext) { 95 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 103 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 114 bool success = context->contextPriv().readSurfacePixels(sContext.get(), 126 sContext.get(), 137 sContext->asSurfaceProxy())); 160 sContext->asSurfaceProxy())); 170 sContext->asSurfaceProxy())); 180 bool success = context->contextPriv().writeSurfacePixels(sContext.get() [all...] |
SRGBReadWritePixelsTest.cpp | 178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 181 if (!sContext) { 189 if (sContext->writePixels(iiSRGBA, origData, 0, 0, 0)) { 194 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 197 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 205 if (sContext->writePixels(iiRGBA, origData, 0, 0, 0)) { 207 read_and_check_pixels(reporter, sContext.get(), origData, iiSRGBA, 210 read_and_check_pixels(reporter, sContext.get(), origData, iiRGBA, 218 sContext = context->contextPriv().makeDeferredSurfaceContext(desc, SkBackingFit::kExact, 220 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 | 68 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( 84 bool result = sContext->writePixels(ii, alphaData, 0, 0, 0); 93 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); 178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 189 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0);
|
PackedConfigsTextureTest.cpp | 128 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( 131 SkAssertResult(sContext->readPixels(dstInfo, readBuffer.begin(), 0, 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))
|
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 40 private static Context sContext; 75 sContext = context; 91 mCM = (ConnectivityManager) sContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 82 static private Context sContext; 107 sContext = context; 151 String defaultImsPackage = sContext.getResources().getString( 154 sImsResolver = new ImsResolver(sContext, defaultImsPackage, numPhones); 235 sSubscriptionMonitor = new SubscriptionMonitor(tr, sContext, sc, numPhones); 238 sContext, sc, Looper.myLooper(), tr, sCommandsInterfaces, 252 sContext, i, sPhones[i].mDcTracker); 311 return SipPhoneFactory.makePhone(sipUri, sContext, sPhoneNotifier); 340 value = Settings.Global.getInt(sContext.getContentResolver(), 356 return ImsPhoneFactory.makePhone(sContext, phoneNotifier, defaultPhone) [all...] |
/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...] |
/packages/services/Car/evs/app/ |
RenderBase.h | 54 static EGLContext sContext;
|
RenderBase.cpp | 31 EGLContext RenderBase::sContext = EGL_NO_CONTEXT; 135 sContext = context;
|
/external/skia/src/gpu/ |
GrSWMaskHelper.cpp | 103 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 107 if (!sContext || !sContext->asTextureProxy()) { 112 if (!sContext->writePixels(ii, fPixels.addr(), fPixels.rowBytes(), 0, 0)) { 116 return sContext->asTextureProxyRef();
|
GrBackendTextureImageGenerator.cpp | 186 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeDeferredSurfaceContext( 188 if (!sContext) { 193 if (!sContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) { 197 return sContext->asTextureProxyRef();
|
GrBlurUtils.cpp | 87 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( 91 if (!sContext) { 96 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { 101 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef());
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
VideoProvider.java | 56 private static Context sContext; 60 if (sContext == null) 61 sContext = context; 159 sPrefixUrl = sContext.getResources().getString(R.string.prefix_url);
|
/external/skia/experimental/GLFWTest/ |
glfw_main.cpp | 20 GrContext* sContext = nullptr; 34 sContext = GrContext::Create(kOpenGL_GrBackend, 0); 45 sSurface = SkSurface::MakeFromBackendRenderTarget(sContext, desc, nullptr, nullptr).release(); 50 delete sContext;
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
ApnDatabase.java | 52 private static Context sContext; 149 sContext = context; 153 super(sContext, APN_DATABASE_NAME, null, DB_VERSION); 167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); 336 final Resources r = sContext.getResources();
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
PVRTPFXParserAPI.h | 91 CPVRTPFXEffect(SPVRTContext &sContext);
|