/frameworks/av/include/media/ |
D | AudioPolicyHelper.h | 32 switch (attr->usage) { in audio_attributes_to_stream_type() 72 attr->usage = AUDIO_USAGE_MEDIA; in stream_type_to_audio_attributes() 76 attr->usage = AUDIO_USAGE_VOICE_COMMUNICATION; in stream_type_to_audio_attributes() 83 attr->usage = AUDIO_USAGE_ASSISTANCE_SONIFICATION; in stream_type_to_audio_attributes() 87 attr->usage = AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE; in stream_type_to_audio_attributes() 91 attr->usage = AUDIO_USAGE_ALARM; in stream_type_to_audio_attributes() 95 attr->usage = AUDIO_USAGE_NOTIFICATION; in stream_type_to_audio_attributes() 99 attr->usage = AUDIO_USAGE_VOICE_COMMUNICATION; in stream_type_to_audio_attributes() 104 attr->usage = AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING; in stream_type_to_audio_attributes() 108 attr->usage = AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY; in stream_type_to_audio_attributes()
|
/frameworks/base/tools/aidl/ |
D | options.cpp | 9 usage() in usage() function 41 return usage(); in parse_options() 67 return usage(); in parse_options() 75 return usage(); in parse_options() 86 return usage(); in parse_options() 94 return usage(); in parse_options() 103 return usage(); in parse_options() 108 return usage(); in parse_options() 123 return usage(); in parse_options() 138 return usage(); in parse_options() [all …]
|
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 52 usage = 0; in GraphicBuffer() 65 usage = 0; in GraphicBuffer() 81 usage = inUsage; in GraphicBuffer() 94 usage = buffer->usage; in GraphicBuffer() 140 if (handle && w==width && h==height && f==format && reqUsage==usage) in reallocate() 160 this->usage = reqUsage; in initSize() 165 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) in lock() argument 168 status_t res = lock(usage, lockBounds, vaddr); in lock() 172 status_t GraphicBuffer::lock(uint32_t usage, const Rect& rect, void** vaddr) in lock() argument 181 status_t res = getBufferMapper().lock(handle, usage, rect, vaddr); in lock() [all …]
|
D | GraphicBufferMapper.cpp | 76 int usage, const Rect& bounds, void** vaddr) in lock() argument 81 err = mAllocMod->lock(mAllocMod, handle, usage, in lock() 90 int usage, const Rect& bounds, android_ycbcr *ycbcr) in lockYCbCr() argument 99 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage, in lockYCbCr() 119 int usage, const Rect& bounds, void** vaddr, int fenceFd) in lockAsync() argument 125 err = mAllocMod->lockAsync(mAllocMod, handle, usage, in lockAsync() 131 err = mAllocMod->lock(mAllocMod, handle, usage, in lockAsync() 141 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) in lockAsyncYCbCr() argument 148 err = mAllocMod->lockAsync_ycbcr(mAllocMod, handle, usage, in lockAsyncYCbCr() 154 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage, in lockAsyncYCbCr()
|
D | GraphicBufferAllocator.cpp | 69 rec.w, rec.s, rec.h, rec.format, rec.usage); in dump() 73 rec.w, rec.s, rec.h, rec.format, rec.usage); in dump() 94 int usage, buffer_handle_t* handle, int32_t* stride) in alloc() argument 105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); in alloc() 108 w, h, format, usage, err, strerror(-err)); in alloc() 124 rec.usage = usage; in alloc()
|
/frameworks/native/include/ui/ |
D | GraphicBuffer.h | 75 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; } in getUsage() 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, const Rect& rect, void** vaddr, int fenceFd); [all …]
|
D | GraphicBufferMapper.h | 46 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/core/java/android/view/ |
D | GraphicBuffer.java | 79 public static GraphicBuffer create(int width, int height, int format, int usage) { in create() argument 80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); in create() 82 return new GraphicBuffer(width, height, format, usage, nativeObject); in create() 90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { in GraphicBuffer() argument 94 mUsage = usage; in GraphicBuffer() 273 int usage = in.readInt(); 276 return new GraphicBuffer(width, height, format, usage, nativeObject); 286 private static native long nCreateGraphicBuffer(int width, int height, int format, int usage); in nCreateGraphicBuffer() argument
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | AllocationThunker.java | 75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { in AllocationThunker() argument 76 super(0, rs, t, usage); in AllocationThunker() 79 mUsage = usage; in AllocationThunker() 394 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped() argument 402 usage); in createTyped() 403 return new AllocationThunker(rs, type, usage, a); in createTyped() 411 int usage) { in createFromBitmap() argument 418 usage); in createFromBitmap() 420 return new AllocationThunker(rs, tt, usage, a); in createFromBitmap() 429 int usage) { in createCubemapFromBitmap() argument [all …]
|
D | Allocation.java | 221 Allocation(int id, RenderScript rs, Type t, int usage) { in Allocation() argument 223 if ((usage & ~(USAGE_SCRIPT | in Allocation() 231 if ((usage & USAGE_IO_INPUT) != 0) { in Allocation() 234 if ((usage & ~(USAGE_IO_INPUT | in Allocation() 242 mUsage = usage; in Allocation() 1209 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped() argument 1212 return AllocationThunker.createTyped(rst, type, mips, usage); in createTyped() 1218 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); in createTyped() 1222 return new Allocation(id, rs, type, usage); in createTyped() 1236 static public Allocation createTyped(RenderScript rs, Type type, int usage) { in createTyped() argument [all …]
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 95 struct rusage usage; in main() local 96 getrusage(RUSAGE_CHILDREN, &usage); in main() 99 usage.ru_utime.tv_sec, usage.ru_utime.tv_usec / 1000, in main() 100 usage.ru_stime.tv_sec, usage.ru_stime.tv_usec / 1000); in main()
|
/frameworks/webview/chromium/plat_support/ |
D | graphic_buffer_impl.cpp | 78 int usage = 0; in Map() local 81 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN; in Map() 84 usage = android::GraphicBuffer::USAGE_SW_WRITE_OFTEN; in Map() 87 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN | in Map() 93 return mBuffer->lock(usage, vaddr); in Map()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : in Allocation() argument 44 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | in Allocation() 55 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) { in Allocation() 57 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT | in Allocation() 65 mUsage = usage; in Allocation() 334 RsAllocationMipmapControl mipmaps, uint32_t usage) { in createTyped() argument 337 … id = RS::dispatch->AllocationCreateTyped(rs->getContext(), type->getID(), mipmaps, usage, 0); in createTyped() 343 return new Allocation(id, rs, type, usage); in createTyped() 347 RsAllocationMipmapControl mipmaps, uint32_t usage, in createTyped() argument 351 id = RS::dispatch->AllocationCreateTyped(rs->getContext(), type->getID(), mipmaps, usage, in createTyped() [all …]
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 37 static void usage() { in usage() function 57 usage(); in help() 256 usage(); in main() 265 usage(); in main() 274 usage(); in main() 280 usage(); in main() 291 usage(); in main() 299 usage(); in main() 305 usage(); in main() 321 usage(); in main() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileDataControllerImpl.java | 155 final DataUsageInfo usage = new DataUsageInfo(); in getDataUsageInfo() local 156 usage.usageLevel = totalBytes; in getDataUsageInfo() 157 usage.period = formatDateRange(start, end); in getDataUsageInfo() 159 usage.limitLevel = policy.limitBytes > 0 ? policy.limitBytes : 0; in getDataUsageInfo() 160 usage.warningLevel = policy.warningBytes > 0 ? policy.warningBytes : 0; in getDataUsageInfo() 162 usage.warningLevel = DEFAULT_WARNING_LEVEL; in getDataUsageInfo() 164 if (usage != null) { in getDataUsageInfo() 165 usage.carrier = mNetworkController.getMobileNetworkName(); in getDataUsageInfo() 167 return usage; in getDataUsageInfo()
|
/frameworks/native/opengl/libagl/ |
D | BufferObjectManager.cpp | 62 bo->usage = GL_STATIC_DRAW; in bind() 70 GLsizeiptr size, GLenum usage) in allocateStore() argument 81 bo->usage = usage; in allocateStore()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 304 Allocation(long id, RenderScript rs, Type t, int usage) { in Allocation() argument 306 if ((usage & ~(USAGE_SCRIPT | in Allocation() 317 if ((usage & USAGE_IO_INPUT) != 0) { in Allocation() 320 if ((usage & ~(USAGE_IO_INPUT | in Allocation() 328 mUsage = usage; in Allocation() 1385 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped() argument 1391 long id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); in createTyped() 1396 return new Allocation(id, rs, type, usage); in createTyped() 1410 static public Allocation createTyped(RenderScript rs, Type type, int usage) { in createTyped() argument 1411 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, usage); in createTyped() [all …]
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferAlloc.cpp | 46 PixelFormat format, uint32_t usage, status_t* error) { in createGraphicBuffer() argument 52 data.writeInt32(usage); in createGraphicBuffer() 94 uint32_t usage = data.readInt32(); in onTransact() local 97 createGraphicBuffer(w, h, format, usage, &error); in onTransact()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 16 package com.android.server.usage; 18 import android.app.usage.ConfigurationStats; 19 import android.app.usage.TimeSparseArray; 20 import android.app.usage.UsageEvents; 21 import android.app.usage.UsageStats;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | FullscreenBlur.java | 62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET; in createRenderTargets() local 63 … sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets() 64 … sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets() 65 … sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets() 70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET; in createRenderTargets() 71 … sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets() 72 … sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets() 73 … sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage)); in createRenderTargets()
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { in dequeueBuffer() argument 65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage); in dequeueBuffer() 109 uint32_t height, uint32_t format, uint32_t usage) { in allocateBuffers() argument 110 mProducer->allocateBuffers(async, width, height, format, usage); in allocateBuffers()
|
/frameworks/base/tools/obbtool/ |
D | mkobb.sh | 148 usage() { function 170 -h) usage; exit 1;; 183 usage 190 usage
|
/frameworks/base/core/java/android/app/usage/ |
D | IUsageStatsManager.aidl | 17 package android.app.usage; 19 import android.app.usage.UsageEvents;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() argument 293 mSinkBufferWidth, mSinkBufferHeight, format, usage); in dequeueBuffer() 332 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { in dequeueBuffer() argument 334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage); in dequeueBuffer() 341 VDS_LOGV("dequeueBuffer %dx%d fmt=%d usage=%#x", w, h, format, usage); in dequeueBuffer() 364 usage |= GRALLOC_USAGE_HW_COMPOSER; in dequeueBuffer() 366 if ((usage & ~buf->getUsage()) != 0 || in dequeueBuffer() 373 w, h, format, usage, in dequeueBuffer() 377 mOutputUsage = usage; in dequeueBuffer() 389 result = dequeueBuffer(source, format, usage, &sslot, fence); in dequeueBuffer()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 35 void usage (void) { in usage() function 285 usage(); in main() 313 usage(); in main() 328 usage(); in main() 348 usage (); in main()
|