Searched refs:usage (Results 51 - 75 of 190) sorted by relevance

12345678

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h103 uint32_t w, uint32_t h, uint32_t format, uint32_t usage);
117 uint32_t format, uint32_t usage);
123 status_t dequeueBuffer(Source source, uint32_t format, uint32_t usage,
151 // To avoid buffer reallocations, we track the buffer usage and format
154 // different usage/format, we'll get a new buffer.
H A DVirtualDisplaySurface.cpp77 // on usage bits.
143 // composition. Stop using the format and usage requested by the GLES
150 // format/usage and get a new buffer when the GLES driver calls
287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) {
293 mSinkBufferWidth, mSinkBufferHeight, format, usage);
322 VDS_LOGV("dequeueBuffer(%s): buffers[%d]=%p fmt=%d usage=%#x",
332 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage);
341 VDS_LOGV("dequeueBuffer %dx%d fmt=%d usage=%#x", w, h, format, usage);
286 dequeueBuffer(Source source, uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) argument
331 dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioAttributes.java42 * <li>usage: "why" you are playing a sound, what is this sound used for. This is achieved with
43 * the "usage" information. Examples of usage are {@link #USAGE_MEDIA} and {@link #USAGE_ALARM}.
95 * Usage value to use when the usage is unknown.
99 * Usage value to use when the usage is media, such as music, or movie
104 * Usage value to use when the usage is voice communications, such as telephony
109 * Usage value to use when the usage is in-call signalling, such as with
114 * Usage value to use when the usage is an alarm (e.g. wake-up alarm).
118 * Usage value to use when the usage is notification. See other
123 * Usage value to use when the usage i
366 setUsage(@ttributeUsage int usage) argument
648 usageToString(int usage) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp31 static void usage(const char* name) function
63 usage(argv[0]);
H A Drecordvideo.cpp33 // Print usage showing how to use this utility to record videos
34 static void usage(const char *me) { function
35 fprintf(stderr, "usage: %s\n", me);
187 usage(argv[0]);
238 usage(argv[0]);
258 usage(argv[0]);
/frameworks/av/media/libmedia/
H A DAudioPolicy.cpp27 AttributeMatchCriterion::AttributeMatchCriterion(audio_usage_t usage, argument
34 mAttr.mUsage = usage;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImplLegacy.cpp98 status_t AudioPolicyService::setForceUse(audio_policy_force_use_t usage, argument
107 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) {
115 mpAudioPolicy->set_force_use(mpAudioPolicy, usage, config);
119 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) argument
124 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) {
127 return mpAudioPolicy->get_force_use(mpAudioPolicy, usage);
H A DAudioPolicyInterfaceImpl.cpp93 status_t AudioPolicyService::setForceUse(audio_policy_force_use_t usage, argument
102 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) {
110 mAudioPolicyManager->setForceUse(usage, config);
114 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) argument
119 if (usage < 0 || usage >= AUDIO_POLICY_FORCE_USE_CNT) {
122 return mAudioPolicyManager->getForceUse(usage);
/frameworks/base/cmds/idmap/
H A Didmap.cpp9 const char *usage = "NAME\n\ member in namespace:__anon780
221 printf("%s\n", usage);
241 fprintf(stderr, "Usage: don't use this (cf dexopt usage).\n");
/frameworks/base/tools/aapt/
H A Dprintapk.cpp13 usage() function
16 "usage: apk APKFILE\n"
40 return usage();
/frameworks/native/opengl/tests/EGLTest/
H A DAndroid.mk34 # gold in binutils 2.22 will warn about the usage of mktemp
/frameworks/av/include/media/
H A DAudioPolicy.h50 AttributeMatchCriterion(audio_usage_t usage, audio_source_t source, uint32_t rule);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h86 virtual status_t getEndpointUsage(uint32_t *usage) = 0;
H A DCamera3OutputStream.h99 virtual status_t getEndpointUsage(uint32_t *usage);
H A DCamera3OutputStream.cpp287 res = native_window_set_usage(mConsumer.get(), camera3_stream::usage);
289 ALOGE("%s: Unable to configure usage %08x for stream %d",
290 __FUNCTION__, camera3_stream::usage, mId);
398 status_t Camera3OutputStream::getEndpointUsage(uint32_t *usage) { argument
404 *usage = u;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java16 package com.android.server.usage;
24 import android.app.usage.ConfigurationStats;
25 import android.app.usage.TimeSparseArray;
26 import android.app.usage.UsageEvents;
27 import android.app.usage.UsageStats;
H A DUsageStatsService.java17 package com.android.server.usage;
21 import android.app.usage.ConfigurationStats;
22 import android.app.usage.IUsageStatsManager;
23 import android.app.usage.UsageEvents;
24 import android.app.usage.UsageStats;
25 import android.app.usage.UsageStatsManagerInternal;
60 * A service that collects, aggregates, and persists application usage data.
/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/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/include/gui/
H A DIGraphicBufferProducer.h141 // The usage argument specifies gralloc buffer usage flags. The values
143 // will be merged with the usage flags specified by
170 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) = 0;
191 // 1) It is unnecessary to know the dimensions, format, or usage of the
444 // given format, dimensions, and usage bits, which are interpreted in the
451 uint32_t format, uint32_t usage) = 0;
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp94 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
101 data.writeInt32(usage);
258 uint32_t format, uint32_t usage) {
265 data.writeInt32(static_cast<int32_t>(usage));
306 uint32_t usage = data.readInt32(); local
309 int result = dequeueBuffer(&buf, &fence, async, w, h, format, usage);
419 uint32_t usage = static_cast<uint32_t>(data.readInt32()); local
420 allocateBuffers(async, width, height, format, usage);
93 dequeueBuffer(int *buf, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
257 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
/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
84 * Get the beginning of the time range this {@link android.app.usage.UsageStats} represents,
94 * Get the end of the time range this {@link android.app.usage.UsageStats} represents,
H A DUsageStatsManager.java17 package android.app.usage;
29 * Provides access to device usage history and statistics. Usage data is aggregated into
32 * When requesting usage data since a particular time, the request might look something like this:
101 * Gets application usage stats for the given time range, aggregated by the specified interval.

Completed in 472 milliseconds

12345678