Searched refs:usage (Results 51 - 75 of 103) sorted by relevance

12345

/frameworks/av/media/libstagefright/include/
H A DOMXNodeInstance.h56 status_t getGraphicBufferUsage(OMX_U32 portIndex, OMX_U32* usage);
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_apache2.py153 option_parser = optparse.OptionParser(usage="Usage: %prog [options] start|stop|restart")
/frameworks/native/include/gui/
H A DISurfaceTexture.h74 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) = 0;
H A DSurface.h116 uint32_t usage; member in struct:android::Surface::SurfaceInfo
H A DSurfaceTexture.h177 status_t setConsumerUsageBits(uint32_t usage);
281 // The default consumer usage flags that SurfaceTexture always sets on its
378 // be replaced if the requested buffer usage or geometry differs from that
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp759 uint32_t Layer::getEffectiveUsage(uint32_t usage) const
764 usage |= GraphicBuffer::USAGE_PROTECTED;
766 usage |= GraphicBuffer::USAGE_HW_COMPOSER;
767 return usage;
H A DLayer.h107 uint32_t getEffectiveUsage(uint32_t usage) const;
/frameworks/av/media/libstagefright/wifi-display/
H A Dudptest.cpp270 static void usage(const char *me) { function
272 "usage: %s -c host[:port]\tconnect to test server\n"
326 usage(argv[0]);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h62 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
63 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
H A DAudioPolicyService.cpp187 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/base/core/java/android/webkit/
H A DWebStorageClassic.java49 private static final String USAGE = "usage";
136 long usage = website.getUsage();
137 retValues.put(USAGE, new Long(usage));
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java96 int usage) {
104 allocArrayZero.length, usage);
94 createZeroTerminatedAlloc(RenderScript rs, String str, int usage) argument
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp215 void usage(const char* name) { function
242 usage(argv[0]);
/frameworks/base/tools/aapt/
H A DMain.cpp40 * Print usage info.
42 void usage(void) function
615 usage();
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c297 static void usage() { function
298 fprintf(stderr, "usage: dumpstate [-b soundfile] [-e soundfile] [-o file [-d] [-p] [-z]] [-s] [-q]\n"
357 usage();
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec2 void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage )
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp318 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/av/media/libmedia/
H A DIOMX.cpp226 node_id node, OMX_U32 port_index, OMX_U32* usage) {
234 *usage = reply.readInt32();
575 OMX_U32 usage = 0; local
576 status_t err = getGraphicBufferUsage(node, port_index, &usage);
578 reply->writeInt32(usage);
225 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
H A DAudioSystem.cpp573 status_t AudioSystem::setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
577 return aps->setForceUse(usage, config);
580 audio_policy_forced_cfg_t AudioSystem::getForceUse(audio_policy_force_use_t usage) argument
584 return aps->getForceUse(usage);
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp550 static void usage(const char *me) { function
551 fprintf(stderr, "usage: %s\n", me);
586 usage(argv[0]);
596 usage(argv[-optind]);
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp325 node_id node, OMX_U32 port_index, OMX_U32* usage) {
326 return findInstance(node)->getGraphicBufferUsage(port_index, usage);
324 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
H A DOMXNodeInstance.cpp315 OMX_U32 portIndex, OMX_U32* usage) {
348 *usage = params.nUsage;
314 getGraphicBufferUsage( OMX_U32 portIndex, OMX_U32* usage) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h641 static int __set_usage(struct preview_stream_ops* w, int usage) argument
644 return native_window_set_usage(a, usage);
H A DCamera2Device.cpp991 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/native/libs/ui/
H A DFramebufferNativeWindow.cpp55 ANativeWindowBuffer::usage = u; member in class:android::NativeBuffer::ANativeWindowBuffer

Completed in 1130 milliseconds

12345