Searched refs:ctx (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { argument
42 mCtx = ctx;
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { argument
48 this(rstc, n, 0, ctx);
51 protected UnitTest(RSTestCore rstc, Context ctx) { argument
52 this (rstc, "<Unknown>", ctx);
55 protected UnitTest(Context ctx) { argument
56 this (null, ctx);
H A DUT_fp_mad.java26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Fp_Mad", ctx);
H A DUT_math.java26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Math", ctx);
H A DUT_rsdebug.java26 protected UT_rsdebug(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "rsDebug", ctx);
H A DUT_rstime.java26 protected UT_rstime(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "rsTime", ctx);
H A DUT_rstypes.java26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "rsTypes", ctx);
H A DUT_foreach.java27 protected UT_foreach(RSTestCore rstc, Resources res, Context ctx) { argument
28 super(rstc, "ForEach", ctx);
H A DUT_primitives.java26 protected UT_primitives(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Primitives", ctx);
H A DUT_refcount.java26 protected UT_refcount(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Refcount", ctx);
H A DUT_alloc.java26 protected UT_alloc(RSTestCore rstc, Resources res, Context ctx) { argument
27 super(rstc, "Alloc", ctx);
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java26 public EGLContextImpl(int ctx) { argument
27 mEGLContext = ctx;
/frameworks/base/services/java/com/android/server/location/
H A DCountryDetectorBase.java39 public CountryDetectorBase(Context ctx) { argument
40 mContext = ctx;
H A DLocationBasedCountryDetector.java66 public LocationBasedCountryDetector(Context ctx) { argument
67 super(ctx);
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/opengl/libs/EGL/
H A Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE), dbg(0) {
134 void egl_tls_t::setContext(EGLContext ctx) { argument
136 getTLS()->ctx = ctx;
144 return tls->ctx;
H A DeglApi.cpp525 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
533 ContextRef _c(dp, ctx);
537 egl_context_t * const c = get_context(ctx);
568 EGLSurface read, EGLContext ctx)
575 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
578 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
584 ContextRef _c(dp, ctx);
589 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) {
607 if (ctx != EGL_NO_CONTEXT) {
608 c = get_context(ctx);
567 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
680 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
712 EGLContext ctx = getContext(); local
723 EGLContext ctx = getContext(); local
743 EGLContext ctx = getContext(); local
760 EGLContext ctx = getContext(); local
782 EGLContext ctx = getContext(); local
1086 EGLContext ctx = getContext(); local
1230 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
1374 EGLContext ctx = syncObject->context; local
1401 EGLContext ctx = syncObject->context; local
1427 EGLContext ctx = syncObject->context; local
[all...]
H A Degl_tls.h38 EGLContext ctx; member in class:android::egl_tls_t
52 static void setContext(EGLContext ctx);
/frameworks/base/core/java/android/app/
H A DContextImpl.java180 public Object getService(ContextImpl ctx) { argument
181 ArrayList<Object> cache = ctx.mServiceCache;
198 service = createService(ctx);
208 public Object createService(ContextImpl ctx) { argument
248 public Object createService(ContextImpl ctx) {
249 return new WallpaperManager(ctx.getOuterContext(),
250 ctx.mMainThread.getHandler());
255 public Object getService(ContextImpl ctx) {
256 return AccessibilityManager.getInstance(ctx);
260 public Object createService(ContextImpl ctx) {
[all...]
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorUtils.cpp299 AVCCodecSpecificContext ctx; local
322 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type,
332 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type,
351 size_t nSeqParamSets = ctx.mSeqParamSets.size();
365 size_t nPicParamSets = ctx.mPicParamSets.size();
381 header[1] = ctx.mProfileIdc; // profile indication
382 header[2] = ctx.mProfileCompatible; // profile compatibility
383 header[3] = ctx.mLevelIdc;
396 int nSequenceParamSets = ctx.mSeqParamSets.size();
399 for (List<AVCParamSet>::iterator it = ctx
[all...]
/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java79 private void removeOldUpdatePackages(Context ctx) { argument
81 ctx, OLD_UPDATER_PACKAGE, OLD_UPDATER_CLASS);
84 private void logBootEvents(Context ctx) throws IOException { argument
85 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE);
86 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java162 * @param ctx The context.
165 public RenderScriptGL(Context ctx, SurfaceConfig sc) { argument
166 super(ctx);
169 int sdkVersion = getTargetSdkVersion(ctx);
174 int dpi = ctx.getResources().getDisplayMetrics().densityDpi;
/frameworks/base/opengl/libagl/
H A Degl.cpp130 static inline egl_context_t* context(EGLContext ctx) { argument
131 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
148 EGLContext ctx; member in struct:android::egl_surface_t
175 : magic(MAGIC), dpy(dpy), config(config), ctx(0)
1563 if (surface->ctx) {
1566 surface->ctx = 0;
1655 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
1659 egl_context_t* c = egl_context_t::context(ctx);
1662 ogles_uninit((ogles_context_t*)ctx);
1667 EGLSurface read, EGLContext ctx)
1666 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
1789 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1805 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1811 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
2002 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/base/core/java/android/net/
H A DProxy.java103 * @param ctx A Context used to get the settings for the proxy host.
110 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
119 sConnectivityManager = (ConnectivityManager)ctx.getSystemService(
138 * @param ctx A Context used to get the settings for the proxy host.
145 public static final String getHost(Context ctx) { argument
146 java.net.Proxy proxy = getProxy(ctx, null);
157 * @param ctx A Context used to get the settings for the proxy port.
162 public static final int getPort(Context ctx) { argument
163 java.net.Proxy proxy = getProxy(ctx, null);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizerDBHelper.java97 public SummarizerDBHelper(Context ctx) { argument
98 mContext = ctx;
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dvertex.cpp110 std::string * const data, const DbgContext * const ctx)
113 if (!ctx->indexBuffer)
115 if (ctx->hasNonVBOAttribs)
116 ctx->Fetch(indices[i], data);
109 FetchIndexed(const unsigned count, const T * indices, std::string * const data, const DbgContext * const ctx) argument

Completed in 208 milliseconds

12