/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 17 package com.android.server.usage; 19 import android.app.usage.TimeSparseArray; 20 import android.app.usage.UsageStatsManager; 176 // Index the available usage stat files on disk. 222 Slog.i(TAG, "Deleting all usage stats files"); 291 Slog.e(TAG, "Failed to read usage stats file", e); 398 Slog.e(TAG, "Failed to read usage stats file", e); 430 * Remove any usage stat files that are too old.
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 499 status_t BufferQueueConsumer::setConsumerUsageBits(uint32_t usage) { argument 501 BQ_LOGV("setConsumerUsageBits: %#x", usage); 503 mCore->mConsumerUsageBits = usage;
|
H A D | IGraphicBufferConsumer.cpp | 372 virtual status_t setConsumerUsageBits(uint32_t usage) { argument 375 data.writeInt32(usage); 529 uint32_t usage = data.readInt32(); local 530 status_t result = setConsumerUsageBits(usage);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 75 camera3_stream::usage, camera3_stream::max_buffers);
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 43 * A typical usage pattern is to set up the GLConsumer with the 201 status_t setConsumerUsageBits(uint32_t usage); 357 // The default consumer usage flags that GLConsumer always sets on its 455 // be replaced if the requested buffer usage or geometry differs from that
|
/frameworks/av/include/media/ |
H A D | AudioSystem.h | 208 static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config); 209 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
H A D | IOMX.h | 98 node_id node, OMX_U32 port_index, OMX_U32* usage) = 0;
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 121 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument 125 data.writeInt32(static_cast <uint32_t>(usage)); 131 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) argument 135 data.writeInt32(static_cast <uint32_t>(usage)); 756 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>( local 760 reply->writeInt32(static_cast <uint32_t>(setForceUse(usage, config))); 766 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>( local 768 reply->writeInt32(static_cast <uint32_t>(getForceUse(usage)));
|
H A D | IOMX.cpp | 232 node_id node, OMX_U32 port_index, OMX_U32* usage) { 240 *usage = reply.readInt32(); 698 OMX_U32 usage = 0; local 699 status_t err = getGraphicBufferUsage(node, port_index, &usage); 701 reply->writeInt32(usage); 231 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
|
H A D | AudioSystem.cpp | 625 status_t AudioSystem::setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument 629 return aps->setForceUse(usage, config); 632 audio_policy_forced_cfg_t AudioSystem::getForceUse(audio_policy_force_use_t usage) argument 636 return aps->getForceUse(usage);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.cpp | 373 status_t RingBufferConsumer::setConsumerUsage(uint32_t usage) { argument 375 return mConsumer->setConsumerUsageBits(usage);
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 114 jint width, jint height, jint format, jint usage) { 124 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error)); 113 android_view_GraphiceBuffer_create(JNIEnv* env, jobject clazz, jint width, jint height, jint format, jint usage) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 524 // usage for setForceUse, must match AudioSystem::force_use 533 // usage for AudioRecord.startRecordingSync(), must match AudioSystem::sync_event_t 540 public static native int setForceUse(int usage, int config); argument 541 public static native int getForceUse(int usage); argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 253 public boolean isAudioAttributesUsage(int usage) { argument 255 return attributes != null && attributes.getUsage() == usage;
|
H A D | ZenModeHelper.java | 262 private void applyRestrictions(boolean mute, int usage) { argument 264 mAppOps.setRestriction(AppOpsManager.OP_VIBRATE, usage, 267 mAppOps.setRestriction(AppOpsManager.OP_PLAY_AUDIO, usage,
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBenchRS.java | 96 int usage) { 104 allocArrayZero.length, usage); 94 createZeroTerminatedAlloc(RenderScript rs, String str, int usage) argument
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 215 void usage(const char* name) { function 242 usage(argv[0]);
|
/frameworks/base/tools/aapt/ |
H A D | Main.cpp | 40 * Print usage info. 42 void usage(void) function 704 usage();
|
/frameworks/native/libs/gui/tests/ |
H A D | StreamSplitter_test.cpp | 64 PixelFormat format, uint32_t usage, status_t* error) { 67 usage, error); 63 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
|
H A D | IGraphicBufferProducer_test.cpp | 198 status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, DequeueBufferResult* result) { argument 199 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 2 void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage )
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 590 public int checkAudioOperation(int code, int usage, int uid, String packageName) { argument 592 final int mode = checkRestrictionLocked(code, usage, uid, packageName); 600 private int checkRestrictionLocked(int code, int usage, int uid, String packageName) { argument 603 final Restriction r = usageRestrictions.get(usage); 612 public void setAudioRestriction(int code, int usage, int uid, int mode, argument 622 usageRestrictions.remove(usage); 636 usageRestrictions.put(usage, r); 1215 final int usage = restrictions.keyAt(i); 1217 pw.print(" usage="); pw.print(AudioAttributes.usageToString(usage)); [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 321 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer) argument 323 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer); 324 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer); 355 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 364 pixels, GetBitmapSize(_env, jbitmap), usage); 371 nAllocationCreateBitmapBackedAllocation(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 380 (uint32_t)usage, (uintptr_t)pixels); 387 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument 396 pixels, GetBitmapSize(_env, jbitmap), usage); [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 574 static void usage(const char *me) { function 575 fprintf(stderr, "usage: %s\n", me); 610 usage(argv[0]); 620 usage(argv[-optind]);
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 386 static void usage() { function 387 fprintf(stderr, "usage: dumpstate [-b soundfile] [-e soundfile] [-o file [-d] [-p] [-z]] [-s] [-q]\n" 458 usage();
|