Searched refs:usage (Results 101 - 125 of 210) sorted by relevance

123456789

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java375 native long rsnAllocationCreateTyped(long con, long type, int mip, int usage, long pointer); argument
376 synchronized long nAllocationCreateTyped(long type, int mip, int usage, long pointer) { argument
378 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer);
380 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument
381 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument
383 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage);
386 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage); argument
387 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) { argument
389 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage);
393 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument
394 nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) argument
403 rsnAllocationCreateFromAssetStream(long con, int mips, int assetStream, int usage) argument
404 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument
[all...]
/frameworks/av/include/media/
H A DIAudioPolicyService.h52 virtual status_t setForceUse(audio_policy_force_use_t usage,
54 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h86 // force using a specific device category for the specified usage
87 virtual void setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0;
88 // retrieve current device category forced for a given usage
89 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java20 import android.app.usage.UsageStats;
21 import android.app.usage.UsageStatsManager;
43 * Ranks and compares packages based on usage stats.
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp193 const CPDF_OCContext::UsageType usage = (flags & FPDF_PRINTING) local
197 renderOptions->m_pOCContext = new CPDF_OCContext(pPage->m_pDocument, usage);
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp102 jint width, jint height, jint format, jint usage) {
114 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error));
101 android_view_GraphiceBuffer_create(JNIEnv* env, jobject clazz, jint width, jint height, jint format, jint usage) argument
/frameworks/base/services/
H A DAndroid.mk31 usage \
/frameworks/base/tools/obbtool/
H A DMain.cpp68 * Print usage info.
70 void usage(void) function
296 usage();
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h140 // The usage argument specifies gralloc buffer usage flags. The values
142 // will be merged with the usage flags specified by
169 uint32_t w, uint32_t h, PixelFormat format, uint32_t usage) = 0;
190 // 1) It is unnecessary to know the dimensions, format, or usage of the
454 // given format, dimensions, and usage bits, which are interpreted in the
461 PixelFormat format, uint32_t usage) = 0;
468 // buffer doesn't match the requested size, format, or usage. This method
470 // have an allocated buffer of the correct size, format, and usage. If no
H A DGLConsumer.h43 * A typical usage pattern is to set up the GLConsumer with the
202 status_t setConsumerUsageBits(uint32_t usage);
358 // The default consumer usage flags that GLConsumer always sets on its
456 // be replaced if the requested buffer usage or geometry differs from that
/frameworks/rs/
H A DrsScriptC_Lib.cpp255 void rsrAllocationSyncAll(Context *rsc, Allocation *a, RsAllocationUsageType usage) { argument
256 a->syncAll(rsc, usage);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp64 camera3_stream::usage = 0; member in class:android::camera3::camera3_stream
123 oldUsage = camera3_stream::usage;
126 res = getEndpointUsage(&(camera3_stream::usage));
128 ALOGE("%s: Cannot query consumer endpoint usage!",
187 oldUsage == camera3_stream::usage &&
241 camera3_stream::usage = oldUsage; member in class:android::camera3::camera3_stream
H A DCamera3IOStreamBase.cpp80 lines.appendFormat(" Combined usage: %d, max HAL buffers: %d\n",
81 camera3_stream::usage | consumerUsage, camera3_stream::max_buffers);
H A DCamera3Stream.h52 * time, the usage, max_buffers, and priv fields of camera3_stream returned by
145 * called. The usage and max_buffers fields of camera3_stream may be modified
394 // after the HAL has provided usage and max_buffers values. After this call,
408 // Get the usage flags for the other endpoint, or return
410 virtual status_t getEndpointUsage(uint32_t *usage) const = 0;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java100 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/cmds/stagefright/
H A Dcodec.cpp44 static void usage(const char *me) { function
45 fprintf(stderr, "usage: %s [-a] use audio\n"
383 usage(me);
392 usage(me);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java17 package com.android.server.usage;
19 import android.app.usage.TimeSparseArray;
20 import android.app.usage.UsageStatsManager;
180 // Index the available usage stat files on disk.
267 Slog.i(TAG, "Deleting all usage stats files");
346 Slog.e(TAG, "Failed to read usage stats file", e);
451 Slog.e(TAG, "Failed to read usage stats file", e);
486 * Remove any usage stat files that are too old.
H A DUsageStatsService.java17 package com.android.server.usage;
24 import android.app.usage.ConfigurationStats;
25 import android.app.usage.IUsageStatsManager;
26 import android.app.usage.UsageEvents;
27 import android.app.usage.UsageEvents.Event;
28 import android.app.usage.UsageStats;
29 import android.app.usage.UsageStatsManagerInternal;
30 import android.app.usage.UsageStatsManagerInternal.AppIdleStateChangeListener;
92 * A service that collects, aggregates, and persists application usage data.
743 * @param beginIdleTime when the app was last used in device usage timebas
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp554 status_t BufferQueueConsumer::setConsumerUsageBits(uint32_t usage) { argument
556 BQ_LOGV("setConsumerUsageBits: %#x", usage);
558 mCore->mConsumerUsageBits = usage;
H A DIGraphicBufferConsumer.cpp238 virtual status_t setConsumerUsageBits(uint32_t usage) { argument
241 data.writeUint32(usage);
408 uint32_t usage = data.readUint32(); local
409 status_t result = setConsumerUsageBits(usage);
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DAppIdleController.java19 import android.app.usage.UsageStatsManagerInternal;
/frameworks/native/include/ui/
H A DGraphicBuffer.h92 uint32_t getUsage() const { return static_cast<uint32_t>(usage); }
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp373 status_t RingBufferConsumer::setConsumerUsage(uint32_t usage) { argument
375 return mConsumer->setConsumerUsageBits(usage);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java285 public boolean isAudioAttributesUsage(int usage) { argument
287 return attributes != null && attributes.getUsage() == usage;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java96 int usage) {
104 allocArrayZero.length, usage);
94 createZeroTerminatedAlloc(RenderScript rs, String str, int usage) argument

Completed in 1692 milliseconds

123456789