/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImplLegacy.cpp | 99 status_t AudioPolicyService::setForceUse(audio_policy_force_use_t usage, argument 108 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) { 116 mpAudioPolicy->set_force_use(mpAudioPolicy, usage, config); 120 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) argument 125 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) { 128 return mpAudioPolicy->get_force_use(mpAudioPolicy, usage);
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Hid.java | 43 private static void usage() { method in class:Hid 49 usage();
|
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioMixingRule.java | 50 * A rule requiring the usage information of the {@link AudioAttributes} to match. 63 * A rule requiring the usage information of the {@link AudioAttributes} to differ. 182 * <br>will create a rule which maps to any usage value, except USAGE_MEDIA. 238 // "usage"-based rule 274 int usage = in.readInt(); 276 .setUsage(usage).build();
|
/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.UsageEvents.Event; 23 import android.app.usage.UsageStats; 24 import android.app.usage.UsageStatsManager; 36 import com.android.server.usage.UsageStatsDatabase.StatCombiner; 178 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage 272 * and bucket, then calls the {@link com.android.server.usage [all...] |
H A D | AppIdleHistory.java | 17 package com.android.server.usage;
|
H A D | UsageStatsXml.java | 17 package com.android.server.usage;
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 19 import android.app.usage.UsageEvents; 20 import android.app.usage.UsageStatsManager;
|
H A D | UsageStatsActivity.java | 20 import android.app.usage.UsageStats; 21 import android.app.usage.UsageStatsManager;
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 100 uint32_t usage) { 107 data.writeUint32(usage); 264 PixelFormat format, uint32_t usage) { 271 data.writeUint32(usage); 350 uint32_t usage = data.readUint32(); local 354 format, usage); 464 uint32_t usage = data.readUint32(); local 465 allocateBuffers(async, width, height, format, usage); 98 dequeueBuffer(int *buf, sp<Fence>* fence, bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument 263 allocateBuffers(bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
|
H A D | BufferQueueProducer.cpp | 257 uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) { 264 BQ_LOGV("dequeueBuffer: async=%s w=%u h=%u format=%#x, usage=%#x", 265 async ? "true" : "false", width, height, format, usage); 285 // Enable the usage bits the consumer requested 286 usage |= mCore->mConsumerUsageBits; 315 if (buffer->needsReallocation(width, height, format, usage)) { 332 buffer->needsReallocation(width, height, format, usage)) 372 width, height, format, usage, &error)); 961 uint32_t height, PixelFormat format, uint32_t usage) { 1009 allocUsage = usage | mCor 255 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument 960 allocateBuffers(bool async, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.cpp | 284 res = native_window_set_usage(mConsumer.get(), camera3_stream::usage); 286 ALOGE("%s: Unable to configure usage %08x for stream %d", 287 __FUNCTION__, camera3_stream::usage, mId); 404 status_t Camera3OutputStream::getEndpointUsage(uint32_t *usage) const { 412 // GRALLOC_USAGE_HW_CAMERA_ZSL to the usage so HAL knows it will be used 414 // Assume it's for ImageReader if the consumer usage doesn't have any of these bits set: 425 *usage = u;
|
H A D | Camera3InputStream.cpp | 256 mConsumer = new BufferItemConsumer(consumer, camera3_stream::usage, 280 status_t Camera3InputStream::getEndpointUsage(uint32_t *usage) const { 281 // Per HAL3 spec, input streams have 0 for their initial usage field. 282 *usage = 0;
|
/frameworks/base/core/java/android/app/usage/ |
H A D | ConfigurationStats.java | 16 package android.app.usage; 23 * Represents the usage statistics of a device {@link android.content.res.Configuration} for a
|
H A D | UsageStats.java | 17 package android.app.usage; 23 * Contains usage statistics for an app package for a specific 101 * Get the beginning of the time range this {@link android.app.usage.UsageStats} represents, 111 * Get the end of the time range this {@link android.app.usage.UsageStats} represents,
|
H A D | UsageStatsManager.java | 17 package android.app.usage; 31 * Provides access to device usage history and statistics. Usage data is aggregated into 34 * When requesting usage data since a particular time, the request might look something like this: 103 * Gets application usage stats for the given time range, aggregated by the specified interval.
|
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 39 static void usage(const char *me) { function 40 fprintf(stderr, "usage: %s [-a] [-v] [-s <trim start time>]" 284 usage(me); 293 usage(me);
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 47 static void usage(const char* pname) function 50 "usage: %s [-hp] [-d display-id] [FILENAME]\n" 127 usage(pname); 152 usage(pname);
|
/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(mContext.getColor(usageColor));
|
/frameworks/base/rs/java/android/renderscript/ |
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; 807 int usage = Allocation.USAGE_SCRIPT; 809 usage |= Allocation.USAGE_GRAPHICS_VERTEX; 812 Builder smb = new Builder(mRS, usage);
|
H A D | RenderScript.java | 430 native long rsnAllocationCreateTyped(long con, long type, int mip, int usage, long pointer); argument 431 synchronized long nAllocationCreateTyped(long type, int mip, int usage, long pointer) { argument 433 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); 435 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 436 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { argument 438 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); 441 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage); argument 442 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) { argument 444 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); 447 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); argument 448 nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) argument 457 rsnAllocationCreateFromAssetStream(long con, int mips, int assetStream, int usage) argument 458 nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) argument [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test-mixer.cpp | 38 static void usage(const char* name) { function 135 usage(progname); 143 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 | 62 // the consumer usage flags passed to the graphics allocator. The 83 // setConsumerUsage allows the BufferQueue consumer usage to be 85 status_t setConsumerUsage(uint32_t usage);
|
/frameworks/native/include/gui/ |
H A D | BufferQueueConsumer.h | 138 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer. 141 virtual status_t setConsumerUsageBits(uint32_t usage);
|
H A D | IGraphicBufferConsumer.h | 242 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer. 247 virtual status_t setConsumerUsageBits(uint32_t usage) = 0;
|