Searched refs:usage (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/base/tools/aidl/
H A Doptions.cpp9 usage() function
12 "usage: aidl OPTIONS INPUT [OUTPUT]\n"
41 return usage();
67 return usage();
75 return usage();
86 return usage();
94 return usage();
103 return usage();
108 return usage();
123 return usage();
[all...]
/frameworks/base/include/ui/
H A DGraphicBuffer.h73 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
76 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
88 uint32_t getUsage() const { return usage; }
92 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
94 status_t lock(uint32_t usage, void** vaddr);
95 status_t lock(uint32_t usage, const Rect& rect, void** vaddr);
96 status_t lock(GGLSurface* surface, uint32_t usage);
135 uint32_t usage);
H A DGraphicBufferAllocator.h65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
79 uint32_t usage; member in struct:android::GraphicBufferAllocator::alloc_rec_t
H A DGraphicBufferMapper.h46 int usage, const Rect& bounds, void** vaddr);
/frameworks/base/libs/gui/
H A DIGraphicBufferAlloc.cpp46 PixelFormat format, uint32_t usage, status_t* error) {
52 data.writeInt32(usage);
94 uint32_t usage = data.readInt32(); local
97 createGraphicBuffer(w, h, format, usage, &error);
45 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/base/libs/ui/
H A DGraphicBuffer.cpp47 usage = 0;
60 usage = 0;
76 usage = inUsage;
89 usage = buffer->usage;
134 if (handle && w==width && h==height && f==format && reqUsage==usage)
154 this->usage = reqUsage;
159 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) argument
162 status_t res = lock(usage, lockBounds, vaddr);
166 status_t GraphicBuffer::lock(uint32_t usage, cons argument
185 lock(GGLSurface* sur, uint32_t usage) argument
[all...]
H A DGraphicBufferAllocator.cpp67 rec.w, rec.s, rec.h, rec.format, rec.usage);
71 rec.w, rec.s, rec.h, rec.format, rec.usage);
92 int usage, buffer_handle_t* handle, int32_t* stride)
102 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
105 w, h, format, usage, err, strerror(-err));
121 rec.usage = usage;
91 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
H A DGraphicBufferMapper.cpp70 int usage, const Rect& bounds, void** vaddr)
74 err = mAllocMod->lock(mAllocMod, handle, usage,
69 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument
/frameworks/base/opengl/libagl/
H A DBufferObjectManager.cpp62 bo->usage = GL_STATIC_DRAW;
70 GLsizeiptr size, GLenum usage)
81 bo->usage = usage;
69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
H A DBufferObjectManager.h44 GLenum usage; member in struct:android::gl::buffer_t
63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
/frameworks/base/include/surfaceflinger/
H A DIGraphicBufferAlloc.h40 PixelFormat format, uint32_t usage, status_t* error) = 0;
/frameworks/base/cmds/backup/
H A Dbackup.cpp29 usage(int argc, const char** argv) function
35 "usage: %s\n"
38 "usage: %s list FILE\n"
41 "usage: %s print NAME FILE\n"
116 return usage(argc, argv);
/frameworks/base/tools/obbtool/
H A Dmkobb.sh148 usage() { function
156 echo " -h Help; this usage screen"
170 -h) usage; exit 1;;
183 usage
190 usage
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp40 static void usage() { function
127 usage();
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java88 * The usage of the allocation. These signal to renderscript
179 Allocation(int id, RenderScript rs, Type t, int usage) { argument
181 if ((usage & ~(USAGE_SCRIPT |
186 throw new RSIllegalArgumentException("Unknown usage specified.");
270 throw new RSIllegalArgumentException("Source must be exactly one usage type.");
865 * @param usage bit field specifying how the allocation is
868 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
873 int id = rs.nAllocationCreateTyped(type.getID(), mips.mID, usage);
877 return new Allocation(id, rs, type, usage);
886 * @param usage bi
891 createTyped(RenderScript rs, Type type, int usage) argument
921 createSized(RenderScript rs, Element e, int count, int usage) argument
989 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1031 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1102 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1195 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1237 createFromString(RenderScript rs, String str, int usage) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c35 void usage (void) { function
285 usage();
313 usage();
328 usage();
348 usage ();
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp35 static void usage(const char* pname) function
38 "usage: %s [-hp] [FILENAME]\n"
98 usage(pname);
122 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/base/include/media/
H A DIAudioPolicyService.h50 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0;
51 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/base/media/java/android/media/
H A DAudioSystem.java240 // usage for setForceUse, must match AudioSystem::force_use
251 public static native int setForceUse(int usage, int config); argument
252 public static native int getForceUse(int usage); argument
/frameworks/base/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp68 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
75 uint32_t effectiveUsage = layer->getEffectiveUsage(usage);
76 //LOGD("%s, w=%u, h=%u, format=%u, usage=%08x, effectiveUsage=%08x",
77 // __PRETTY_FUNCTION__, w, h, format, usage, effectiveUsage);
67 dequeueBuffer(int *buf, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
/frameworks/base/tools/aapt/
H A Dprintapk.cpp13 usage() function
16 "usage: apk APKFILE\n"
40 return usage();
/frameworks/base/tools/localize/
H A Dlocalize.cpp553 usage() function
556 "usage: localize export OPTIONS CONFIGS...\n"
569 "usage: localize import XLIFF_FILE...\n"
574 "usage: localize xlb XMB_FILE VALUES_FILES...\n"
589 "usage: localize pseudo OPTIONS INFILE [OUTFILE]\n"
598 "usage: localize rescheck FILES...\n"
616 return usage();
650 return usage();
661 return usage();
665 return usage();
[all...]
/frameworks/base/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);
180 usage(argv[0]);
231 usage(argv[0]);
239 usage(argv[0]);
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp165 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
167 return check_AudioSystem_Command(AudioSystem::setForceUse(static_cast <audio_policy_force_use_t>(usage),
172 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument
174 return static_cast <int>(AudioSystem::getForceUse(static_cast <audio_policy_force_use_t>(usage)));

Completed in 670 milliseconds

1234