Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
DUT_math.java26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math() argument
27 super(rstc, "Math", ctx); in UT_math()
DUT_fp_mad.java26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { in UT_fp_mad() argument
27 super(rstc, "Fp_Mad", ctx); in UT_fp_mad()
DUT_rstime.java26 protected UT_rstime(RSTestCore rstc, Resources res, Context ctx) { in UT_rstime() argument
27 super(rstc, "rsTime", ctx); in UT_rstime()
DUT_rsdebug.java26 protected UT_rsdebug(RSTestCore rstc, Resources res, Context ctx) { in UT_rsdebug() argument
27 super(rstc, "rsDebug", ctx); in UT_rsdebug()
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
DUT_math.java26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math() argument
27 super(rstc, "Math", ctx); in UT_math()
DUT_rstypes.java26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { in UT_rstypes() argument
27 super(rstc, "rsTypes", ctx); in UT_rstypes()
DUT_rstime.java26 protected UT_rstime(RSTestCore rstc, Resources res, Context ctx) { in UT_rstime() argument
27 super(rstc, "rsTime", ctx); in UT_rstime()
DUT_rsdebug.java26 protected UT_rsdebug(RSTestCore rstc, Resources res, Context ctx) { in UT_rsdebug() argument
27 super(rstc, "rsDebug", ctx); in UT_rsdebug()
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
DUnitTest.java37 protected UnitTest(RSTestCore rstc, String n, int initResult, Context ctx) { in UnitTest() argument
42 mCtx = ctx; in UnitTest()
47 protected UnitTest(RSTestCore rstc, String n, Context ctx) { in UnitTest() argument
48 this(rstc, n, 0, ctx); in UnitTest()
51 protected UnitTest(RSTestCore rstc, Context ctx) { in UnitTest() argument
52 this (rstc, "<Unknown>", ctx); in UnitTest()
55 protected UnitTest(Context ctx) { in UnitTest() argument
56 this (null, ctx); in UnitTest()
DUT_fp_mad.java26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { in UT_fp_mad() argument
27 super(rstc, "Fp_Mad", ctx); in UT_fp_mad()
DUT_convert.java26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) { in UT_convert() argument
27 super(rstc, "Convert", ctx); in UT_convert()
DUT_math.java26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math() argument
27 super(rstc, "Math", ctx); in UT_math()
DUT_math_conformance.java26 protected UT_math_conformance(RSTestCore rstc, Resources res, Context ctx) { in UT_math_conformance() argument
27 super(rstc, "Math Conformance", ctx); in UT_math_conformance()
DUT_atomic.java26 protected UT_atomic(RSTestCore rstc, Resources res, Context ctx) { in UT_atomic() argument
27 super(rstc, "Atomics", ctx); in UT_atomic()
/frameworks/base/core/java/android/app/
DContextImpl.java189 public Object getService(ContextImpl ctx) { in getService() argument
190 ArrayList<Object> cache = ctx.mServiceCache; in getService()
207 service = createService(ctx); in getService()
217 public Object createService(ContextImpl ctx) { in createService() argument
257 public Object createService(ContextImpl ctx) {
258 return new WallpaperManager(ctx.getOuterContext(),
259 ctx.mMainThread.getHandler());
264 public Object getService(ContextImpl ctx) { in registerService()
265 return AccessibilityManager.getInstance(ctx); in registerService() argument
269 public Object createService(ContextImpl ctx) { in registerService()
[all …]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorUtils.cpp299 AVCCodecSpecificContext ctx; in buildAVCCodecSpecificData() local
322 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type, in buildAVCCodecSpecificData()
332 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type, in buildAVCCodecSpecificData()
351 size_t nSeqParamSets = ctx.mSeqParamSets.size(); in buildAVCCodecSpecificData()
365 size_t nPicParamSets = ctx.mPicParamSets.size(); in buildAVCCodecSpecificData()
381 header[1] = ctx.mProfileIdc; // profile indication in buildAVCCodecSpecificData()
382 header[2] = ctx.mProfileCompatible; // profile compatibility in buildAVCCodecSpecificData()
383 header[3] = ctx.mLevelIdc; in buildAVCCodecSpecificData()
396 int nSequenceParamSets = ctx.mSeqParamSets.size(); in buildAVCCodecSpecificData()
399 for (List<AVCParamSet>::iterator it = ctx.mSeqParamSets.begin(); in buildAVCCodecSpecificData()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) { in egl_tls_t()
134 void egl_tls_t::setContext(EGLContext ctx) { in setContext() argument
136 getTLS()->ctx = ctx; in setContext()
144 return tls->ctx; in getContext()
DeglApi.cpp424 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
432 ContextRef _c(dp.get(), ctx); in eglDestroyContext()
436 egl_context_t * const c = get_context(ctx); in eglDestroyContext()
445 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
455 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || in eglMakeCurrent()
461 ContextRef _c(dp.get(), ctx); in eglMakeCurrent()
466 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) { in eglMakeCurrent()
484 if (ctx != EGL_NO_CONTEXT) { in eglMakeCurrent()
485 c = get_context(ctx); in eglMakeCurrent()
514 draw, read, ctx, in eglMakeCurrent()
[all …]
/frameworks/native/opengl/libagl/
Degl.cpp130 static inline egl_context_t* context(EGLContext ctx) { in context()
131 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); in context()
148 EGLContext ctx; member
175 : magic(MAGIC), dpy(dpy), config(config), ctx(0) in egl_surface_t()
1572 if (surface->ctx) { in eglDestroySurface()
1575 surface->ctx = 0; in eglDestroySurface()
1664 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
1668 egl_context_t* c = egl_context_t::context(ctx); in eglDestroyContext()
1671 ogles_uninit((ogles_context_t*)ctx); in eglDestroyContext()
1676 EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
[all …]
/frameworks/base/core/java/android/net/
DProxy.java110 public static final java.net.Proxy getProxy(Context ctx, String url) { in getProxy() argument
119 sConnectivityManager = (ConnectivityManager)ctx.getSystemService( in getProxy()
145 public static final String getHost(Context ctx) { in getHost() argument
146 java.net.Proxy proxy = getProxy(ctx, null); in getHost()
162 public static final int getPort(Context ctx) { in getPort() argument
163 java.net.Proxy proxy = getProxy(ctx, null); in getPort()
/frameworks/base/graphics/java/android/renderscript/
DRenderScriptGL.java178 public RenderScriptGL(Context ctx, SurfaceConfig sc) { in RenderScriptGL() argument
179 super(ctx); in RenderScriptGL()
182 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion; in RenderScriptGL()
187 int dpi = ctx.getResources().getDisplayMetrics().densityDpi; in RenderScriptGL()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLContextImpl.java26 public EGLContextImpl(int ctx) { in EGLContextImpl() argument
27 mEGLContext = ctx; in EGLContextImpl()
/frameworks/base/services/java/com/android/server/location/
DCountryDetectorBase.java39 public CountryDetectorBase(Context ctx) { in CountryDetectorBase() argument
40 mContext = ctx; in CountryDetectorBase()

1234