Searched refs:usage (Results 26 - 50 of 103) sorted by relevance

12345

/frameworks/base/cmds/screencap/
H A Dscreencap.cpp39 static void usage(const char* pname) function
42 "usage: %s [-hp] [-d display-id] [FILENAME]\n"
106 usage(pname);
130 usage(pname);
/frameworks/base/cmds/screenshot/
H A Dscreenshot.c98 void usage() { function
100 "usage: screenshot [-s soundfile] filename.png\n"
121 usage(); exit(1);
128 usage(); exit(1);
/frameworks/av/include/media/
H A DIAudioPolicyService.h49 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0;
50 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
H A DAudioSystem.h189 static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
190 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
H A DIOMX.h89 node_id node, OMX_U32 port_index, OMX_U32* usage) = 0;
/frameworks/base/tools/aapt/
H A Dprintapk.cpp13 usage() function
16 "usage: apk APKFILE\n"
40 return usage();
/frameworks/compile/libbcc/tools/abcc/
H A DMain.cpp33 static void usage() { function
34 fprintf(stderr, "usage: abcc [--fd output_fd|--file output_filename]\n"
212 // Unknown mode encountered. Fall-through to print usage and return
220 usage();
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp32 // Print usage showing how to use this utility to record videos
33 static void usage(const char *me) { function
34 fprintf(stderr, "usage: %s\n", me);
182 usage(argv[0]);
233 usage(argv[0]);
247 usage(argv[0]);
H A Dcodec.cpp41 static void usage(const char *me) { function
42 fprintf(stderr, "usage: %s [-a] use audio\n"
352 usage(me);
361 usage(me);
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp166 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
168 return check_AudioSystem_Command(AudioSystem::setForceUse(static_cast <audio_policy_force_use_t>(usage),
173 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument
175 return static_cast <int>(AudioSystem::getForceUse(static_cast <audio_policy_force_use_t>(usage)));
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_layout_tests.py82 option_parser = optparse.OptionParser(usage="Usage: %prog [options] test-relative-path")
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java185 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/graphics/java/android/renderscript/
H A DMesh.java199 int usage; field in class:Mesh.Builder.Entry
210 * @param usage specifies how the mesh allocations are to be
214 public Builder(RenderScript rs, int usage) { argument
216 mUsage = usage;
802 int usage = Allocation.USAGE_SCRIPT;
804 usage |= Allocation.USAGE_GRAPHICS_VERTEX;
807 Builder smb = new Builder(mRS, usage);
H A DRenderScript.java254 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/native/libs/gui/
H A DBufferQueue.cpp129 status_t BufferQueue::setConsumerUsageBits(uint32_t usage) { argument
131 mConsumerUsageBits = usage;
259 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
261 ST_LOGV("dequeueBuffer: w=%d h=%d fmt=%#x usage=%#x", w, h, format, usage);
278 // turn on usage bits the consumer requested
279 usage |= mConsumerUsageBits;
386 ((uint32_t(buffer->usage) & usage) != usage))
258 dequeueBuffer(int *outBuf, sp<Fence>& outFence, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
[all...]
H A DISurfaceTexture.cpp85 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
91 data.writeInt32(usage);
217 uint32_t usage = data.readInt32(); local
220 int result = dequeueBuffer(&buf, fence, w, h, format, usage);
84 dequeueBuffer(int *buf, sp<Fence>& fence, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp104 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
108 data.writeInt32(static_cast <uint32_t>(usage));
114 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) argument
118 data.writeInt32(static_cast <uint32_t>(usage));
408 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>(data.readInt32()); local
411 reply->writeInt32(static_cast <uint32_t>(setForceUse(usage, config)));
417 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>(data.readInt32()); local
418 reply->writeInt32(static_cast <uint32_t>(getForceUse(usage)));
/frameworks/base/tools/obbtool/
H A DMain.cpp68 * Print usage info.
70 void usage(void) function
296 usage();
/frameworks/native/include/gui/
H A DBufferQueue.h132 uint32_t width, uint32_t height, uint32_t format, uint32_t usage);
279 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer
280 status_t setConsumerUsageBits(uint32_t usage);
/frameworks/rs/
H A DrsScriptC_Lib.cpp164 void rsrAllocationSyncAll(Context *rsc, Script *sc, Allocation *a, RsAllocationUsageType usage) { argument
165 a->syncAll(rsc, usage);
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC_Lib.cpp164 void rsrAllocationSyncAll(Context *rsc, Script *sc, Allocation *a, RsAllocationUsageType usage) { argument
165 a->syncAll(rsc, usage);
/frameworks/base/media/java/android/media/
H A DAudioSystem.java367 // 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
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java100 int usage = Allocation.USAGE_GRAPHICS_TEXTURE;
101 Allocation defaultImage = Allocation.createTyped(rs, bitmapType, mip, usage);
170 int usage = Allocation.USAGE_GRAPHICS_TEXTURE;
172 return Allocation.createCubemapFromBitmap(rs, b, mip, usage);
174 return Allocation.createFromBitmap(rs, b, mip, usage);
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp76 node_id node, OMX_U32 port_index, OMX_U32* usage);
260 node_id node, OMX_U32 port_index, OMX_U32* usage) {
261 return getOMX(node)->getGraphicBufferUsage(node, port_index, usage);
259 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
/frameworks/av/media/libstagefright/include/
H A DOMX.h69 node_id node, OMX_U32 port_index, OMX_U32* usage);

Completed in 885 milliseconds

12345