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

12345678

/frameworks/base/core/java/android/app/usage/
H A DPackageUsageStats.aidl17 package android.app.usage;
H A DUsageEvents.aidl17 package android.app.usage;
H A DIUsageStatsManager.aidl17 package android.app.usage;
19 import android.app.usage.UsageEvents;
H A DUsageStatsManagerInternal.java17 package android.app.usage;
/frameworks/av/include/media/
H A DAudioPolicyHelper.h31 // usage to stream type mapping
32 switch (attr->usage) {
72 attr->usage = AUDIO_USAGE_MEDIA;
76 attr->usage = AUDIO_USAGE_VOICE_COMMUNICATION;
83 attr->usage = AUDIO_USAGE_ASSISTANCE_SONIFICATION;
87 attr->usage = AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE;
91 attr->usage = AUDIO_USAGE_ALARM;
95 attr->usage = AUDIO_USAGE_NOTIFICATION;
99 attr->usage = AUDIO_USAGE_VOICE_COMMUNICATION;
104 attr->usage
[all...]
/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.h75 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage);
78 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage,
90 uint32_t getUsage() const { return usage; }
95 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage);
97 status_t lock(uint32_t usage, void** vaddr);
98 status_t lock(uint32_t usage, const Rect& rect, void** vaddr);
100 status_t lockYCbCr(uint32_t usage, android_ycbcr *ycbcr);
101 status_t lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr);
103 status_t lockAsync(uint32_t usage, void** vaddr, int fenceFd);
104 status_t lockAsync(uint32_t usage, cons
[all...]
H A DGraphicBufferMapper.h46 int usage, const Rect& bounds, void** vaddr);
49 int usage, const Rect& bounds, android_ycbcr *ycbcr);
54 int usage, const Rect& bounds, void** vaddr, int fenceFd);
57 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd);
/frameworks/base/services/usage/
H A DAndroid.mk5 LOCAL_MODULE := services.usage
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp52 usage = 0;
65 usage = 0;
81 usage = inUsage;
94 usage = buffer->usage;
140 if (handle && w==width && h==height && f==format && reqUsage==usage)
160 this->usage = reqUsage;
165 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) argument
168 status_t res = lock(usage, lockBounds, vaddr);
172 status_t GraphicBuffer::lock(uint32_t usage, cons argument
185 lockYCbCr(uint32_t usage, android_ycbcr *ycbcr) argument
192 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) argument
212 lockAsync(uint32_t usage, void** vaddr, int fenceFd) argument
219 lockAsync(uint32_t usage, const Rect& rect, void** vaddr, int fenceFd) argument
232 lockAsyncYCbCr(uint32_t usage, android_ycbcr *ycbcr, int fenceFd) argument
239 lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd) 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.cpp76 int usage, const Rect& bounds, void** vaddr)
81 err = mAllocMod->lock(mAllocMod, handle, usage,
90 int usage, const Rect& bounds, android_ycbcr *ycbcr)
99 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage,
119 int usage, const Rect& bounds, void** vaddr, int fenceFd)
125 err = mAllocMod->lockAsync(mAllocMod, handle, usage,
131 err = mAllocMod->lock(mAllocMod, handle, usage,
141 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd)
148 err = mAllocMod->lockAsync_ycbcr(mAllocMod, handle, usage,
154 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage,
75 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument
89 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument
118 lockAsync(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr, int fenceFd) argument
140 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
[all...]
/frameworks/webview/chromium/plat_support/
H A Dgraphic_buffer_impl.cpp78 int usage = 0; local
81 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN;
84 usage = android::GraphicBuffer::USAGE_SW_WRITE_OFTEN;
87 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN |
93 return mBuffer->lock(usage, vaddr);
/frameworks/av/media/mediaserver/
H A Dmain_mediaserver.cpp49 // detailed information such as signal numbers, stop and continue, resource usage, etc.
95 struct rusage usage; local
96 getrusage(RUSAGE_CHILDREN, &usage);
99 usage.ru_utime.tv_sec, usage.ru_utime.tv_usec / 1000,
100 usage.ru_stime.tv_sec, usage.ru_stime.tv_usec / 1000);
/frameworks/base/core/java/android/view/
H A DGraphicBuffer.java32 // Note: keep usage flags in sync with GraphicBuffer.h and gralloc.h
75 * @param usage Hint indicating how the buffer will be used
79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument
80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage);
82 return new GraphicBuffer(width, height, format, usage, nativeObject);
90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument
94 mUsage = usage;
121 * Returns the usage hint set on this buffer.
273 int usage = in.readInt();
276 return new GraphicBuffer(width, height, format, usage, nativeObjec
286 nCreateGraphicBuffer(int width, int height, int format, 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/base/libs/usb/tests/accessorytest/
H A Daccessory.c24 static void usage(char* name) { function
30 "\t-h : prints this usage message\n", name);
64 usage(argv[0]);
/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
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { argument
76 super(0, rs, t, usage);
79 mUsage = usage;
394 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
402 usage);
403 return new AllocationThunker(rs, type, usage, a);
411 int usage) {
418 usage);
420 return new AllocationThunker(rs, tt, usage, a);
429 int usage) {
409 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
427 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
442 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
464 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
482 createFromString(RenderScript rs, String str, int usage) argument
497 createSized(RenderScript rs, Element e, int count, int usage) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl40 int checkAudioOperation(int code, int usage, int uid, String packageName);
41 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages);
/frameworks/native/include/gui/
H A DGraphicBufferAlloc.h37 PixelFormat format, uint32_t usage, status_t* error);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage);
109 uint32_t height, uint32_t format, uint32_t usage) {
110 mProducer->allocateBuffers(async, width, height, format, usage);
63 dequeueBuffer(int* slot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
108 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
/frameworks/base/tools/split-select/
H A DMain.cpp37 static void usage() { function in namespace:split
57 usage();
256 usage();
265 usage();
274 usage();
280 usage();
291 usage();
299 usage();
305 usage();
321 usage();
[all...]

Completed in 524 milliseconds

12345678