Searched defs:api (Results 1 - 16 of 16) sorted by relevance

/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/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/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 DeglApi.cpp1266 EGLBoolean eglBindAPI(EGLenum api) argument
1278 res = cnx->egl.eglBindAPI(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
/frameworks/native/libs/gui/
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 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 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/compile/slang/
H A Dslang_rs_reflection_cpp.cpp964 llvm::APInt api = Val.getInt(); local
966 mOut << ((api.getSExtValue() == 0) ? "false" : "true");
969 mOut << api.getSExtValue();
970 if (api.getBitWidth() > 32) {
H A Dslang_rs_reflection.cpp1002 llvm::APInt api = Val.getInt(); local
1004 mOut << ((api.getSExtValue() == 0) ? "false" : "true");
1007 mOut << api.getSExtValue();
1008 if (api.getBitWidth() > 32) {
/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
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp827 /* EGLBoolean eglBindAPI ( EGLenum api ) */
830 (JNIEnv *_env, jobject _this, jint api) {
833 (EGLenum)api
829 android_eglBindAPI(JNIEnv *_env, jobject _this, jint api) argument
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp855 // api needed to prevent premature destruction
857 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
858 const uint64_t *p = api.getRawData();
862 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
863 const uint64_t *p = api.getRawData();
/frameworks/compile/slang/BitWriter_2_9_func/
H A DBitcodeWriter.cpp809 // api needed to prevent premature destruction
811 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
812 const uint64_t *p = api.getRawData();
816 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
817 const uint64_t *p = api.getRawData();
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp856 // api needed to prevent premature destruction
858 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
859 const uint64_t *p = api.getRawData();
863 APInt api = CFP->getValueAPF().bitcastToAPInt(); local
864 const uint64_t *p = api.getRawData();
/frameworks/native/opengl/libagl/
H A Degl.cpp1965 EGLBoolean eglBindAPI(EGLenum api) argument
1967 if (api != EGL_OPENGL_ES_API)

Completed in 288 milliseconds