Searched defs:ctx (Results 1 - 25 of 134) sorted by path

123456

/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/app/
H A DAlarmManager.java109 AlarmManager(IAlarmManager service, Context ctx) { argument
112 final int sdkVersion = ctx.getApplicationInfo().targetSdkVersion;
H A DContextImpl.java242 public Object getService(ContextImpl ctx) { argument
243 ArrayList<Object> cache = ctx.mServiceCache;
260 service = createService(ctx);
270 public Object createService(ContextImpl ctx) { argument
310 public Object createService(ContextImpl ctx) {
311 return new WallpaperManager(ctx.getOuterContext(),
312 ctx.mMainThread.getHandler());
317 public Object getService(ContextImpl ctx) {
318 return AccessibilityManager.getInstance(ctx);
322 public Object getService(ContextImpl ctx) {
[all...]
/frameworks/base/core/java/android/net/
H A DProxy.java93 * @param ctx A Context used to get the settings for the proxy host.
100 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
109 sConnectivityManager = (ConnectivityManager)ctx.getSystemService(
128 * @param ctx A Context used to get the settings for the proxy host.
135 public static final String getHost(Context ctx) { argument
136 java.net.Proxy proxy = getProxy(ctx, null);
147 * @param ctx A Context used to get the settings for the proxy port.
152 public static final int getPort(Context ctx) { argument
153 java.net.Proxy proxy = getProxy(ctx, null);
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java66 public TtsEngines(Context ctx) { argument
67 mContext = ctx;
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp1043 /* EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx ) */
1046 (JNIEnv *_env, jobject _this, jobject dpy, jobject ctx) {
1049 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1058 /* EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) */
1061 (JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) {
1066 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1106 /* EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value ) */
1109 (JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) {
1115 EGLContext ctx_native = (EGLContext) fromEGLHandle(_env, eglcontextGetHandleID, ctx);
1045 android_eglDestroyContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx) argument
1060 android_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject dpy, jobject draw, jobject read, jobject ctx) argument
1108 android_eglQueryContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) argument
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;
438 EGLContext ctx = getContext(_env, context); local
439 return eglDestroyContext(dpy, ctx);
473 EGLContext ctx = getContext(_env, context); local
474 return eglMakeCurrent(dpy, sdr, srd, ctx);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java1162 RenderScript(Context ctx) { argument
1164 if (ctx != null) {
1165 mApplicationContext = ctx.getApplicationContext();
1182 public static RenderScript create(Context ctx, int sdkVersion) { argument
1183 return create(ctx, sdkVersion, ContextType.NORMAL);
1190 * @param ctx The context.
1193 public static RenderScript create(Context ctx, int sdkVersion, ContextType ct) { argument
1199 RenderScript rs = new RenderScript(ctx);
1215 * @param ctx The context.
1218 public static RenderScript create(Context ctx) { argument
1230 create(Context ctx, ContextType ct) argument
[all...]
H A DRenderScriptGL.java176 * @param ctx The context.
179 public RenderScriptGL(Context ctx, SurfaceConfig sc) { argument
180 super(ctx);
183 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion;
188 int dpi = ctx.getResources().getDisplayMetrics().densityDpi;
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp208 JNIImageReaderContext *ctx; local
209 ctx = reinterpret_cast<JNIImageReaderContext *>
211 return ctx;
217 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz); local
218 if (ctx == NULL) {
222 return ctx->getCpuConsumer();
228 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz); local
229 if (ctx == NULL) {
233 return ctx->getBufferQueue();
237 jobject thiz, sp<JNIImageReaderContext> ctx)
236 ImageReader_setNativeContext(JNIEnv* env, jobject thiz, sp<JNIImageReaderContext> ctx) argument
657 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz); local
674 JNIImageReaderContext* ctx = ImageReader_getContext(env, thiz); local
695 JNIImageReaderContext* ctx = ImageReader_getContext(env, thiz); local
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java379 // C function EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx )
383 EGLContext ctx
386 // C function EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx )
392 EGLContext ctx
411 // C function EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )
415 EGLContext ctx,
413 eglQueryContext( EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset ) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java26 public EGLContextImpl(int ctx) { argument
27 mEGLContext = ctx;
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DBrightnessDialog.java52 public BrightnessDialog(Context ctx) { argument
53 super(ctx);
54 Resources r = ctx.getResources();
/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/services/java/com/android/server/
H A DBootReceiver.java96 private void logBootEvents(Context ctx) throws IOException { argument
97 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE);
98 final SharedPreferences prefs = ctx.getSharedPreferences("log_files", Context.MODE_PRIVATE);
/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/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/
H A DGLConsumer.cpp471 EGLContext ctx = eglGetCurrentContext(); local
480 mEglContext = ctx;
489 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) {
495 mEglContext = ctx;
528 EGLContext ctx = eglGetCurrentContext(); local
535 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) {
540 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) {
585 EGLContext ctx = eglGetCurrentContext(); local
592 if (ctx
971 EGLContext ctx = eglGetCurrentContext(); local
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp497 EGLContext ctx; member in class:android::MyThread
503 eglMakeCurrent(dpy, sur, sur, ctx);
514 ctx = eglGetCurrentContext();
520 eglMakeCurrent(dpy, sur, sur, ctx);
/frameworks/native/opengl/libagl/
H A Degl.cpp131 static inline egl_context_t* context(EGLContext ctx) { argument
132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx);
149 EGLContext ctx; member in struct:android::egl_surface_t
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false)
1582 if (surface->ctx) {
1675 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
1679 egl_context_t* c = egl_context_t::context(ctx);
1682 ogles_uninit((ogles_context_t*)ctx);
1687 EGLSurface read, EGLContext ctx)
1710 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx !
1686 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
1814 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1830 EGLContext ctx = (EGLContext)getGlThreadSpecific(); local
1836 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
2027 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp662 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) argument
670 ContextRef _c(dp.get(), ctx);
674 egl_context_t * const c = get_context(ctx);
683 EGLSurface read, EGLContext ctx)
690 // If ctx is not EGL_NO_CONTEXT, read is not EGL_NO_SURFACE, or draw is not
693 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) ||
699 ContextRef _c(dp.get(), ctx);
704 if ((ctx != EGL_NO_CONTEXT) && !_c.get()) {
722 if (ctx != EGL_NO_CONTEXT) {
723 c = get_context(ctx);
682 eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
781 eglQueryContext( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) argument
805 EGLContext ctx = getContext(); local
816 EGLContext ctx = getContext(); local
836 EGLContext ctx = getContext(); local
1062 EGLContext ctx = egl_tls_t::getContext(); local
1074 EGLContext ctx = egl_tls_t::getContext(); local
1373 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
H A Degl_display.cpp316 EGLSurface draw, EGLSurface read, EGLContext ctx,
315 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
H A Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) {
135 void egl_tls_t::setContext(EGLContext ctx) { argument
137 getTLS()->ctx = ctx;
146 return tls->ctx;
H A Degl_tls.h38 EGLContext ctx; member in class:android::egl_tls_t
51 static void setContext(EGLContext ctx);

Completed in 546 milliseconds

123456