Searched defs:ctx (Results 51 - 75 of 86) sorted by relevance

1234

/frameworks/base/services/java/com/android/server/
H A DBootReceiver.java85 private void logBootEvents(Context ctx) throws IOException { argument
86 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE);
87 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
/frameworks/base/services/java/com/android/server/location/
H A DLocationBasedCountryDetector.java66 public LocationBasedCountryDetector(Context ctx) { argument
67 super(ctx);
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_element.java71 protected UT_element(RSTestCore rstc, Resources res, Context ctx) { argument
72 super(rstc, "Element", ctx);
H A DUT_sampler.java34 protected UT_sampler(RSTestCore rstc, Resources res, Context ctx) { argument
35 super(rstc, "Sampler", ctx);
H A DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
H A DUT_program_store.java40 protected UT_program_store(RSTestCore rstc, Resources res, Context ctx) { argument
41 super(rstc, "ProgramStore", ctx);
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_math_agree.java30 protected UT_math_agree(RSTestCore rstc, Resources res, Context ctx) { argument
31 super(rstc, "Math Agreement", ctx);
/frameworks/base/tests/RenderScriptTests/tests_v11/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 DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/base/tests/RenderScriptTests/tests_v14/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 DRSTestCore.java34 public RSTestCore(Context ctx) { argument
35 mCtx = ctx;
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) {
134 void egl_tls_t::setContext(EGLContext ctx) { argument
136 getTLS()->ctx = ctx;
144 return tls->ctx;
H A Degl_display.cpp352 EGLSurface draw, EGLSurface read, EGLContext ctx,
351 makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read, EGLContext ctx, EGLSurface impl_draw, EGLSurface impl_read, EGLContext impl_ctx) argument
/frameworks/base/services/input/
H A DEventHub.cpp83 SHA1_CTX ctx; local
84 SHA1Init(&ctx);
85 SHA1Update(&ctx, reinterpret_cast<const u_char*>(in.string()), in.size());
87 SHA1Final(digest, &ctx);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizerDBHelper.java97 public SummarizerDBHelper(Context ctx) { argument
98 mContext = ctx;
/frameworks/av/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/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/core/java/android/speech/tts/
H A DTtsEngines.java65 public TtsEngines(Context ctx) { argument
66 mContext = ctx;
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java175 * @param ctx The context.
178 public RenderScriptGL(Context ctx, SurfaceConfig sc) { argument
179 super(ctx);
182 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion;
187 int dpi = ctx.getResources().getDisplayMetrics().densityDpi;
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp312 llvm::LLVMContext &ctx = llvm::getGlobalContext(); local
323 module.reset(llvm::ParseBitcodeFile(mem.get(), ctx, &errmsg));
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp468 EGLContext ctx; member in class:android::MyThread
474 eglMakeCurrent(dpy, sur, sur, ctx);
485 ctx = eglGetCurrentContext();
491 eglMakeCurrent(dpy, sur, sur, ctx);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp259 const sp<const DisplayDevice>& hw, EGLContext ctx) {
263 result = eglMakeCurrent(dpy, hw->mSurface, hw->mSurface, ctx);
258 makeCurrent(EGLDisplay dpy, const sp<const DisplayDevice>& hw, EGLContext ctx) argument
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp148 EGLContext ctx = getContext(_env, context); local
153 success = eglQueryContext(dpy, ctx, attribute, base);
235 EGLContext ctx = eglCreateContext(dpy, cnf, shr, base); local
237 return (jint)ctx;
440 EGLContext ctx = getContext(_env, context); local
441 return eglDestroyContext(dpy, ctx);
475 EGLContext ctx = getContext(_env, context); local
476 return eglMakeCurrent(dpy, sdr, srd, ctx);
/frameworks/support/renderscript/v8/rs_support/
H A DrsContext.cpp207 void Context::printWatchdogInfo(void *ctx) { argument
208 Context *rsc = (Context *)ctx;

Completed in 318 milliseconds

1234