Searched refs:usage (Results 76 - 100 of 210) sorted by relevance

123456789

/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImplLegacy.cpp99 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 DHid.java43 private static void usage() { method in class:Hid
49 usage();
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMixingRule.java50 * 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 DUserUsageStatsService.java17 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 DAppIdleHistory.java17 package com.android.server.usage;
H A DUsageStatsXml.java17 package com.android.server.usage;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java19 import android.app.usage.UsageEvents;
20 import android.app.usage.UsageStatsManager;
H A DUsageStatsActivity.java20 import android.app.usage.UsageStats;
21 import android.app.usage.UsageStatsManager;
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp100 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 DBufferQueueProducer.cpp257 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 DCamera3OutputStream.cpp284 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 DCamera3InputStream.cpp256 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 DConfigurationStats.java16 package android.app.usage;
23 * Represents the usage statistics of a device {@link android.content.res.Configuration} for a
H A DUsageStats.java17 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 DUsageStatsManager.java17 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 Dmuxer.cpp39 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 Dscreencap.cpp47 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 DDataUsageDetailView.java35 * 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 DMesh.java198 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 DRenderScript.java430 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 Dtest-mixer.cpp38 static void usage(const char* name) { function
135 usage(progname);
143 usage(progname);
/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp38 static int usage(const char* name) { function
152 usage(progname);
176 usage(progname);
202 usage(progname);
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.h62 // 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 DBufferQueueConsumer.h138 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer.
141 virtual status_t setConsumerUsageBits(uint32_t usage);
H A DIGraphicBufferConsumer.h242 // setConsumerUsageBits will turn on additional usage bits for dequeueBuffer.
247 virtual status_t setConsumerUsageBits(uint32_t usage) = 0;

Completed in 2332 milliseconds

123456789