Searched refs:api (Results 1 - 25 of 92) sorted by last modified time

1234

/frameworks/rs/java/tests/RsTest/
H A DAndroid.mk24 LOCAL_RENDERSCRIPT_FLAGS := -target-api 0
/frameworks/rs/
H A Drsg_generator.c67 void printArgList(FILE *f, const ApiEntry * api, int assumePrevious) { argument
69 for (ct=0; ct < api->paramCount; ct++) {
73 printVarTypeAndName(f, &api->params[ct]);
87 const ApiEntry * api = &apis[ct]; local
88 fprintf(f, "#define RS_CMD_ID_%s %i\n", api->name, ct+1);
89 fprintf(f, "struct __attribute__((packed)) RS_CMD_%s_rec {\n", api->name);
92 for (ct2=0; ct2 < api->paramCount; ct2++) {
94 printVarTypeAndName(f, &api->params[ct2]);
101 void printFuncDecl(FILE *f, const ApiEntry *api, const char *prefix, int addContext, int isFnPtr) { argument
102 printVarTypeAndName(f, &api
161 hasInlineDataPointers(const ApiEntry * api) argument
207 const ApiEntry * api = &apis[ct]; local
419 const ApiEntry * api = &apis[ct]; local
463 const ApiEntry * api = &apis[ct]; local
520 const ApiEntry * api = &apis[ct]; local
[all...]
/frameworks/support/v17/leanback/
H A DAndroid.mk33 # Base sub-library contains classes both needed by api-level specific libraries
125 -federationapi Android prebuilts/sdk/api/17.txt \
152 -api $(leanback_internal_api_file) \
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec14 EGLBoolean eglBindAPI ( EGLenum api )
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py44 # api - string naming the API to match
46 # elem - Element which (may) have 'api' and 'profile'
67 # not just strings, so that api="^(gl|gles2)" will match. Even
70 def matchAPIProfile(api, profile, elem):
71 """Match a requested API & profile name to a api & profile attributes of an Element"""
73 # Match 'api', if present
74 if ('api' in elem.attrib):
75 if (api == None):
76 raise UserWarning("No API requested, but 'api' attribute is present with value '" +
77 elem.get('api')
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp499 int api, bool producerControlledByApp,
502 status_t result = mSource[SOURCE_SINK]->connect(listener, api,
511 status_t VirtualDisplaySurface::disconnect(int api) { argument
512 return mSource[SOURCE_SINK]->disconnect(api);
498 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
H A DVirtualDisplaySurface.h113 int api, bool producerControlledByApp, QueueBufferOutput* output);
114 virtual status_t disconnect(int api);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp96 int api, bool producerControlledByApp, QueueBufferOutput* output) {
97 return mProducer->connect(listener, api, producerControlledByApp, output);
100 status_t MonitoredProducer::disconnect(int api) { argument
101 return mProducer->disconnect(api);
95 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
H A DMonitoredProducer.h50 virtual status_t connect(const sp<IProducerListener>& token, int api,
52 virtual status_t disconnect(int api);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgentFactory.java102 * {@link #recycle(boolean)} with the same {@code api} value provided
106 * @param api Which camera framework to use.
112 public static synchronized CameraAgent getAndroidCameraAgent(Context context, CameraApi api) { argument
113 api = validateApiChoice(api);
115 if (api == CameraApi.API_1) {
142 * @param api Which camera framework handle to recycle.
147 public static synchronized void recycle(CameraApi api) { argument
148 api = validateApiChoice(api);
[all...]
/frameworks/native/include/gui/
H A DBufferQueueProducer.h148 int api, bool producerControlledByApp, QueueBufferOutput* output);
158 virtual status_t disconnect(int api);
H A DIGraphicBufferProducer.h382 // The api should be one of the NATIVE_WINDOW_API_* values in <window.h>
398 // * api was out of range (see above).
405 int api, bool producerControlledByApp, QueueBufferOutput* output) = 0;
416 // The api should be one of the NATIVE_WINDOW_API_* values in <window.h>
423 // * the api specified does not match the one that was connected
424 // * api was out of range (see above).
426 virtual status_t disconnect(int api) = 0;
H A DSurface.h160 virtual int connect(int api);
161 virtual int disconnect(int api);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp769 int api, bool producerControlledByApp, QueueBufferOutput *output) {
773 BQ_LOGV("connect(P): api=%d producerControlledByApp=%s", api,
793 mCore->mConnectedApi, api);
798 switch (api) {
803 mCore->mConnectedApi = api;
821 BQ_LOGE("connect(P): unknown API %d", api);
833 status_t BufferQueueProducer::disconnect(int api) { argument
835 BQ_LOGV("disconnect(P): api %d", api);
768 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput *output) argument
1011 int api = mCore->mConnectedApi; local
[all...]
H A DIGraphicBufferProducer.cpp209 int api, bool producerControlledByApp, QueueBufferOutput* output) {
218 data.writeInt32(api);
229 virtual status_t disconnect(int api) { argument
232 data.writeInt32(api);
387 int api = data.readInt32(); local
392 status_t res = connect(listener, api, producerControlledByApp, output);
398 int api = data.readInt32(); local
399 status_t res = disconnect(api);
208 connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, QueueBufferOutput* output) argument
H A DSurface.cpp459 int api = va_arg(args, int); local
460 return connect(api);
464 int api = va_arg(args, int); local
465 return disconnect(api);
548 int Surface::connect(int api) { argument
554 int err = mGraphicBufferProducer->connect(listener, api, mProducerControlledByApp, &output);
568 if (!err && api == NATIVE_WINDOW_API_CPU) {
575 int Surface::disconnect(int api) { argument
580 int err = mGraphicBufferProducer->disconnect(api);
591 if (api
[all...]
/frameworks/native/opengl/include/EGL/
H A Degl.h277 EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api);
/frameworks/native/opengl/libagl/
H A Degl.cpp1965 EGLBoolean eglBindAPI(EGLenum api) argument
1967 if (api != EGL_OPENGL_ES_API)
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp136 status_t Loader::driver_t::set(void* hnd, int32_t api) argument
138 switch (api) {
216 char const * const * api,
222 while (*api) {
223 char const * name = *api;
267 api++;
399 char const * const * api = egl_names; local
400 while (*api) {
401 char const * name = *api;
412 api
215 init_api(void* dso, char const * const * api, __eglMustCastToProperFunctionPointerType* curr, getProcAddressType getProcAddress) argument
[all...]
H A DLoader.h51 status_t set(void* hnd, int32_t api);
69 char const * const * api,
H A DeglApi.cpp1266 EGLBoolean eglBindAPI(EGLenum api) argument
1278 res = cnx->egl.eglBindAPI(api);
H A DgetProcAddress.cpp48 "ldrne r12, [r12, %[api]] \n" \
54 [api] "J"(__builtin_offsetof(gl_hooks_t, \
68 "ldr x16, [x16, %[api]]\n" \
74 [api] "i" (__builtin_offsetof(gl_hooks_t, \
89 "cmovne %P[api](%[fn]), %[fn]\n" \
96 [api] "i" (__builtin_offsetof(gl_hooks_t, \
111 "cmovne %P[api](%[fn]), %[fn]\n" \
118 [api] "i" (__builtin_offsetof(gl_hooks_t, \
/frameworks/native/opengl/libs/GLES2/
H A Dgl2.cpp58 "ldrne pc, [r12, %[api]] \n" \
61 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \
74 "ldr x16, [x16, %[api]]\n" \
79 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
94 "jmp *%P[api](%[fn])\n" \
98 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
113 "jmp *%P[api](%[fn])\n" \
117 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp114 "ldrne pc, [r12, %[api]] \n" \
117 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \
130 "ldr x16, [x16, %[api]]\n" \
135 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
150 "jmp *%P[api](%[fn])\n" \
154 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
169 "jmp *%P[api](%[fn])\n" \
173 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py372 for api in apis:
373 if api.func not in funcs:
374 uniqs.append(api)
375 funcs.add(api.func)
384 for api in apis:
385 if prefix != api.prefix:
386 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix)
387 prefix = api.prefix
388 lines.append(api.genDeclaration())
401 for api i
[all...]

Completed in 442 milliseconds

1234