/frameworks/native/include/gui/ |
H A D | BufferQueueConsumer.h | 132 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer. 135 virtual status_t setConsumerUsageBits(uint32_t usage);
|
H A D | IGraphicBufferConsumer.h | 289 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer. 294 virtual status_t setConsumerUsageBits(uint32_t usage) = 0;
|
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 36 static void usage(const char *me) { function 37 fprintf(stderr, "usage: %s [-a] [-v] [-s <trim start time>]" 265 usage(me); 274 usage(me);
|
H A D | codec.cpp | 44 static void usage(const char *me) { function 45 fprintf(stderr, "usage: %s [-a] use audio\n" 355 usage(me); 364 usage(me);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.cpp | 231 mConsumer = new BufferItemConsumer(consumer, camera3_stream::usage, 253 status_t Camera3InputStream::getEndpointUsage(uint32_t *usage) { argument 254 // Per HAL3 spec, input streams have 0 for their initial usage field. 255 *usage = 0;
|
H A D | Camera3Stream.cpp | 61 camera3_stream::usage = 0; member in class:android::camera3::camera3_stream 120 oldUsage = camera3_stream::usage; 123 res = getEndpointUsage(&(camera3_stream::usage)); 125 ALOGE("%s: Cannot query consumer endpoint usage!", 184 oldUsage == camera3_stream::usage && 233 camera3_stream::usage = oldUsage; member in class:android::camera3::camera3_stream
|
H A D | Camera3Stream.h | 52 * time, the usage, max_buffers, and priv fields of camera3_stream returned by 131 * called. The usage and max_buffers fields of camera3_stream may be modified 290 // after the HAL has provided usage and max_buffers values. After this call, 304 // Get the usage flags for the other endpoint, or return 306 virtual status_t getEndpointUsage(uint32_t *usage) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DataUsageDetailView.java | 35 * Layout for the data usage detail in quick settings. 97 final TextView usage = (TextView) findViewById(R.id.usage_text); 98 usage.setText(formatBytes(bytes)); 99 usage.setTextColor(res.getColor(usageColor));
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 360 native long rsnAllocationCreateTyped(long con, long type, int mip, int usage, long pointer); argument 361 synchronized long nAllocationCreateTyped(long type, int mip, int usage, long pointer) { argument 363 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 365 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 366 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument 368 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 371 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage); argument 372 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) { argument 374 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 377 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 378 nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) argument 387 rsnAllocationCreateFromAssetStream(long con, int mips, int assetStream, int usage) argument 388 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument [all...] |
H A D | Mesh.java | 198 int usage; field in class:Mesh.Builder.Entry 209 * @param usage specifies how the mesh allocations are to be 213 public Builder(RenderScript rs, int usage) { argument 215 mUsage = usage; 801 int usage = Allocation.USAGE_SCRIPT; 803 usage |= Allocation.USAGE_GRAPHICS_VERTEX; 806 Builder smb = new Builder(mRS, usage);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 306 native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); argument 307 synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { argument 309 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 311 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 312 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { argument 314 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 317 native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int usage); argument 318 synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage) { argument 320 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 324 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); argument 325 nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) argument 334 rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage) argument 335 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 253 uint32_t width, uint32_t height, uint32_t format, uint32_t usage) { 260 BQ_LOGV("dequeueBuffer: async=%s w=%u h=%u format=%#x, usage=%#x", 261 async ? "true" : "false", width, height, format, usage); 281 // Enable the usage bits the consumer requested 282 usage |= mCore->mConsumerUsageBits; 315 ((static_cast<uint32_t>(buffer->usage) & usage) != usage)) 344 width, height, format, usage, &error)); 907 uint32_t height, uint32_t format, uint32_t usage) { 251 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument 906 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UserUsageStatsService.java | 17 package com.android.server.usage; 19 import android.app.usage.ConfigurationStats; 20 import android.app.usage.TimeSparseArray; 21 import android.app.usage.UsageEvents; 22 import android.app.usage.UsageStats; 23 import android.app.usage.UsageStatsManager; 33 import com.android.server.usage.UsageStatsDatabase.StatCombiner; 140 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage 213 * and bucket, then calls the {@link com.android.server.usage.UsageStatsDatabase.StatCombiner} 333 Slog.i(TAG, mLogPrefix + "Flushing usage stat [all...] |
H A D | UsageStatsXml.java | 17 package com.android.server.usage;
|
/frameworks/av/services/audioflinger/tests/ |
H A D | test-mixer.cpp | 38 static void usage(const char* name) { function 122 usage(progname); 130 usage(progname);
|
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 38 static int usage(const char* name) { function 152 usage(progname); 176 usage(progname); 202 usage(progname);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.h | 63 // the consumer usage flags passed to the graphics allocator. The 84 // setConsumerUsage allows the BufferQueue consumer usage to be 86 status_t setConsumerUsage(uint32_t usage);
|
/frameworks/av/include/media/ |
H A D | IAudioPolicyService.h | 51 virtual status_t setForceUse(audio_policy_force_use_t usage, 53 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 84 // force using a specific device category for the specified usage 85 virtual void setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0; 86 // retrieve current device category forced for a given usage 87 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 189 const CPDF_OCContext::UsageType usage = (flags & FPDF_PRINTING) local 193 renderOptions->m_pOCContext = new CPDF_OCContext(pPage->m_pDocument, usage);
|
/frameworks/base/services/ |
H A D | Android.mk | 29 usage \
|
/frameworks/base/tools/obbtool/ |
H A D | Main.cpp | 68 * Print usage info. 70 void usage(void) function 296 usage();
|
/frameworks/rs/ |
H A D | rsScriptC_Lib.cpp | 236 void rsrAllocationSyncAll(Context *rsc, Allocation *a, RsAllocationUsageType usage) { argument 237 a->syncAll(rsc, usage);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 100 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 D | OMXClient.cpp | 89 node_id node, OMX_U32 port_index, OMX_U32* usage); 311 node_id node, OMX_U32 port_index, OMX_U32* usage) { 312 return getOMX(node)->getGraphicBufferUsage(node, port_index, usage); 310 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
|