/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 132 /* void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) */ 135 (JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) { 161 (GLenum)usage 134 android_glBufferData__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) argument
|
H A D | android_opengl_GLES20.cpp | 271 /* void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) */ 274 (JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) { 300 (GLenum)usage 273 android_glBufferData__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) argument
|
H A D | com_google_android_gles_jni_GLImpl.cpp | 4090 /* void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) */ 4093 (JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) { 4119 (GLenum)usage 4092 android_glBufferData__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint target, jint size, jobject data_buf, jint usage) argument
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 246 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) { 251 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage); 245 android_drm_DrmManagerClient_getConstraintsFromContent( JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) argument
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 853 status_t SurfaceTexture::setConsumerUsageBits(uint32_t usage) { argument 855 usage |= DEFAULT_USAGE_FLAGS; 856 return mBufferQueue->setConsumerUsageBits(usage);
|
H A D | SurfaceTextureClient.cpp | 436 int usage = va_arg(args, int); local 437 return setUsage(usage);
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 1470 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) argument 1481 if ((usage!=GL_STATIC_DRAW) && (usage!=GL_DYNAMIC_DRAW)) { 1495 if (c->bufferObjectManager->allocateStore(edit_bo, size, usage) != 0) {
|
H A D | egl.cpp | 239 status_t lock(ANativeWindowBuffer* buf, int usage, void** vaddr); 435 ANativeWindowBuffer* buf, int usage, void** vaddr) 440 usage, 0, 0, buf->width, buf->height, vaddr); 434 lock( ANativeWindowBuffer* buf, int usage, void** vaddr) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 367 // usage for setForceUse, must match AudioSystem::force_use 375 // usage for AudioRecord.startRecordingSync(), must match AudioSystem::sync_event_t 382 public static native int setForceUse(int usage, int config); argument 383 public static native int getForceUse(int usage); argument
|
H A D | AudioService.java | 340 // Forced device usage for communications 3221 private void setForceUse(int usage, int config) { argument 3222 AudioSystem.setForceUse(usage, config); 3296 // Restore forced usage for communcations and record
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 523 OMX_U32 usage = 0; local 524 err = mOMX->getGraphicBufferUsage(mNode, kPortIndexOutput, &usage); 526 ALOGW("querying usage flags from OMX IL component failed: %d", err); 528 usage = 0; 532 usage |= GRALLOC_USAGE_PROTECTED; 537 if (usage & GRALLOC_USAGE_PROTECTED) { 556 usage | GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP);
|
H A D | OMXCodec.cpp | 1730 OMX_U32 usage = 0; local 1731 err = mOMX->getGraphicBufferUsage(mNode, kPortIndexOutput, &usage); 1733 ALOGW("querying usage flags from OMX IL component failed: %d", err); 1735 usage = 0; 1738 usage |= GRALLOC_USAGE_PROTECTED; 1743 if (usage & GRALLOC_USAGE_PROTECTED) { 1760 ALOGV("native_window_set_usage usage=0x%lx", usage); 1762 mNativeWindow.get(), usage | GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 187 status_t AudioPolicyService::setForceUse(audio_policy_force_use_t usage, argument 196 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) { 204 mpAudioPolicy->set_force_use(mpAudioPolicy, usage, config); 208 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) argument 213 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) { 216 return mpAudioPolicy->get_force_use(mpAudioPolicy, usage);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 991 uint32_t usage; local 995 &id, &formatActual, &usage, &maxBuffers); 1003 "usage 0x%x, producer wants %d buffers", __FUNCTION__, 1004 id, formatActual, usage, maxBuffers); 1008 mUsage = usage; 1027 ALOGE("%s: Unable to configure usage %08x for stream %d", 1191 result.appendFormat(" size %d, usage 0x%x, requested format 0x%x\n",
|
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 318 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer) argument 320 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer); 321 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer); 352 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 361 GetBitmapSize(_env, jbitmap), usage); 368 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 377 pixels, GetBitmapSize(_env, jbitmap), usage);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 185 native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); argument 186 synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { argument 188 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 190 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 191 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 193 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 195 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 196 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 198 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 205 native int rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage); argument 206 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLErrorWrapper.java | 968 public void glBufferData(int target, int size, Buffer data, int usage) { argument 970 mgl11.glBufferData(target, size, data, usage);
|
H A D | GLLogWrapper.java | 2779 public void glBufferData(int target, int size, Buffer data, int usage) { argument 2784 arg("usage", usage); 2786 mgl11.glBufferData(target, size, data, usage);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RenderScript.java | 254 native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); argument 255 synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { argument 257 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 259 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 260 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 262 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 264 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 265 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 267 return rsnAllocationCubeCreateFromBitmap(mContext, type, mip, bmp, usage); 274 native int rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage); argument 275 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 460 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer) argument 462 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer); 463 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer); 526 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 536 ptr, bitmap.getSize(), usage); 542 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 552 ptr, bitmap.getSize(), usage);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 460 void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) { argument 484 // copy argument usage 488 arg_usage->add_intvalue((int)usage); 493 glContext->hooks->gl.glBufferData(target, size, data, usage);
|