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

12345

/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/native/include/ui/
H A DGraphicBuffer.h72 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
87 uint32_t getUsage() const { return usage; }
91 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
93 status_t lock(uint32_t usage, void** vaddr);
94 status_t lock(uint32_t usage, const Rect& rect, void** vaddr);
96 status_t lockYCbCr(uint32_t usage, android_ycbcr *ycbcr);
97 status_t lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr);
135 uint32_t usage);
H A DGraphicBufferMapper.h46 int usage, const Rect& bounds, void** vaddr);
49 int usage, const Rect& bounds, android_ycbcr *ycbcr);
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
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp45 usage = 0;
58 usage = 0;
74 usage = inUsage;
87 usage = buffer->usage;
132 if (handle && w==width && h==height && f==format && reqUsage==usage)
152 this->usage = reqUsage;
157 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) argument
160 status_t res = lock(usage, lockBounds, vaddr);
164 status_t GraphicBuffer::lock(uint32_t usage, cons argument
177 lockYCbCr(uint32_t usage, android_ycbcr *ycbcr) argument
184 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) argument
[all...]
H A DGraphicBufferAllocator.cpp69 rec.w, rec.s, rec.h, rec.format, rec.usage);
73 rec.w, rec.s, rec.h, rec.format, rec.usage);
94 int usage, buffer_handle_t* handle, int32_t* stride)
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
108 w, h, format, usage, err, strerror(-err));
124 rec.usage = usage;
93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
H A DGraphicBufferMapper.cpp74 int usage, const Rect& bounds, void** vaddr)
79 err = mAllocMod->lock(mAllocMod, handle, usage,
88 int usage, const Rect& bounds, android_ycbcr *ycbcr)
93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage,
73 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument
87 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument
/frameworks/av/media/mediaserver/
H A Dmain_mediaserver.cpp48 // detailed information such as signal numbers, stop and continue, resource usage, etc.
94 struct rusage usage; local
95 getrusage(RUSAGE_CHILDREN, &usage);
98 usage.ru_utime.tv_sec, usage.ru_utime.tv_usec / 1000,
99 usage.ru_stime.tv_sec, usage.ru_stime.tv_usec / 1000);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java67 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { argument
68 super(0, rs, t, usage);
71 mUsage = usage;
224 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
230 convertMipmapControl(mips), usage);
232 return new AllocationThunker(rs, type, usage, a);
237 int usage) {
242 rst.mN, b, convertMipmapControl(mips), usage);
245 return new AllocationThunker(rs, tt, usage, a);
250 int usage) {
235 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
248 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
259 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
277 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
291 createFromString(RenderScript rs, String str, int usage) argument
302 createSized(RenderScript rs, Element e, int count, int usage) argument
[all...]
H A DAllocation.java35 * <p>An Allocation also contains a set of usage flags that denote how the
36 * Allocation could be used. For example, an Allocation may have usage flags
82 * The usage of the Allocation. These signal to RenderScript where to place
101 * consumer. This usage will cause the Allocation to be created as
181 * Get the usage flags of the Allocation.
183 * @return usage this Allocation's set of the USAGE_* flags OR'd together
217 Allocation(int id, RenderScript rs, Type t, int usage) { argument
219 if ((usage & ~(USAGE_SCRIPT |
224 throw new RSIllegalArgumentException("Unknown usage specified.");
227 if ((usage
1186 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument
1213 createTyped(RenderScript rs, Type type, int usage) argument
1241 createSized(RenderScript rs, Element e, int count, int usage) argument
1312 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1389 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1460 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1556 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1603 createFromString(RenderScript rs, String str, int usage) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebStorage.java71 protected Origin(String origin, long quota, long usage) { argument
74 mUsage = usage;
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp35 PixelFormat format, uint32_t usage, status_t* error) {
36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
34 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
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/native/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/rs/cpp/
H A DAllocation.cpp40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : argument
44 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT |
52 ALOGE("Unknown usage specified.");
55 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) {
57 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT |
60 ALOGE("Invalid usage combination.");
65 mUsage = usage;
142 ALOGE("Source must be exactly one usage type.");
150 ALOGE("Can only send buffer if IO_OUTPUT usage specified.");
159 ALOGE("Can only send buffer if IO_OUTPUT usage specifie
306 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage) argument
316 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage, void *pointer) argument
327 createTyped(sp<RS> rs, sp<const Type> type, uint32_t usage) argument
332 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument
341 createSized2D(sp<RS> rs, sp<const Element> e, size_t x, size_t y, uint32_t usage) argument
[all...]
/frameworks/native/include/gui/
H A DGraphicBufferAlloc.h37 PixelFormat format, uint32_t usage, status_t* error);
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/av/tools/resampler_tools/
H A Dfir.cpp58 static void usage(char* name) { function
60 "usage: %s [-h] [-d] [-s sample_rate] [-c cut-off_frequency] [-n half_zero_crossings] [-f {float|fixed}] [-b beta] [-v dBFS] [-l lerp]\n"
159 usage(argv[0]);
178 else usage(argv[0]);
188 usage(argv[0]);
/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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFullscreenBlur.java62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET;
63 sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
64 sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
65 sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET;
71 sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
72 sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
73 sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp40 static void usage() { function
130 usage();
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java37 * <p>An Allocation also contains a set of usage flags that denote how the
38 * Allocation could be used. For example, an Allocation may have usage flags
84 * The usage of the Allocation. These signal to RenderScript where to place
129 * consumer. This usage will cause the Allocation to be created as
209 * Get the usage flags of the Allocation.
211 * @return usage this Allocation's set of the USAGE_* flags OR'd together
245 Allocation(int id, RenderScript rs, Type t, int usage) { argument
247 if ((usage & ~(USAGE_SCRIPT |
255 throw new RSIllegalArgumentException("Unknown usage specified.");
258 if ((usage
1273 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument
1296 createTyped(RenderScript rs, Type type, int usage) argument
1324 createSized(RenderScript rs, Element e, int count, int usage) argument
1391 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1507 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1578 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1671 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1725 createFromString(RenderScript rs, String str, int usage) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c35 void usage (void) { function
285 usage();
313 usage();
328 usage();
348 usage ();

Completed in 398 milliseconds

12345