Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java73 public void addEnum(int tag, int value) { in addEnum() argument
74 int tagType = KeymasterDefs.getTagType(tag); in addEnum()
76 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag); in addEnum()
78 addEnumTag(tag, value); in addEnum()
86 public void addEnums(int tag, int... values) { in addEnums() argument
87 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM_REP) { in addEnums()
88 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in addEnums()
91 addEnumTag(tag, value); in addEnums()
101 public int getEnum(int tag, int defaultValue) { in getEnum() argument
102 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM) { in getEnum()
[all …]
DKeyCharacteristics.java86 public Integer getEnum(int tag) { in getEnum() argument
87 if (hwEnforced.containsTag(tag)) { in getEnum()
88 return hwEnforced.getEnum(tag, -1); in getEnum()
89 } else if (swEnforced.containsTag(tag)) { in getEnum()
90 return swEnforced.getEnum(tag, -1); in getEnum()
101 public List<Integer> getEnums(int tag) { in getEnums() argument
103 result.addAll(hwEnforced.getEnums(tag)); in getEnums()
104 result.addAll(swEnforced.getEnums(tag)); in getEnums()
114 public long getUnsignedInt(int tag, long defaultValue) { in getUnsignedInt() argument
115 if (hwEnforced.containsTag(tag)) { in getUnsignedInt()
[all …]
DKeymasterArgument.java31 public final int tag; field in KeymasterArgument
38 final int tag = in.readInt();
39 switch (KeymasterDefs.getTagType(tag)) {
44 return new KeymasterIntArgument(tag, in);
47 return new KeymasterLongArgument(tag, in);
49 return new KeymasterDateArgument(tag, in);
52 return new KeymasterBlobArgument(tag, in);
54 return new KeymasterBooleanArgument(tag, in);
56 throw new ParcelFormatException("Bad tag: " + tag + " at " + pos);
66 protected KeymasterArgument(int tag) { in KeymasterArgument() argument
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowSlog.java28 protected static int v(String tag, String msg) { in v() argument
29 return Log.v(tag, msg); in v()
33 protected static int v(String tag, String msg, Throwable tr) { in v() argument
34 return Log.v(tag, msg, tr); in v()
38 protected static int d(String tag, String msg) { in d() argument
39 return Log.d(tag, msg); in d()
43 protected static int d(String tag, String msg, Throwable tr) { in d() argument
44 return Log.d(tag, msg, tr); in d()
48 protected static int i(String tag, String msg) { in i() argument
49 return Log.i(tag, msg); in i()
[all …]
DShadowEventLog.java35 protected static int writeEvent(int tag, Object... values) { in writeEvent() argument
36 ENTRIES.add(new Entry(tag, Arrays.asList(values))); in writeEvent()
42 protected static int writeEvent(int tag, String string) { in writeEvent() argument
43 return writeEvent(tag, (Object) string); in writeEvent()
56 public final int tag; field in ShadowEventLog.Entry
59 public Entry(int tag, List<Object> values) { in Entry() argument
60 this.tag = tag; in Entry()
69 return tag == entry.tag && values.equals(entry.values); in equals()
74 int result = tag; in hashCode()
81 return "Entry{" + tag + ", " + values + '}'; in toString()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java44 public Tag(String tag) { in Tag() argument
45 final int lenDiff = tag.length() - MAX_TAG_LEN; in Tag()
47 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit."); in Tag()
49 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag); in Tag()
58 public static void d(Tag tag, String msg) { in d() argument
59 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
60 android.util.Log.d(tag.toString(), msg); in d()
64 public static void d(Tag tag, String msg, Throwable tr) { in d() argument
65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
66 android.util.Log.d(tag.toString(), msg, tr); in d()
[all …]
/frameworks/base/core/java/android/util/
DSlog.java31 public static int v(String tag, String msg) { in v() argument
32 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v()
35 public static int v(String tag, String msg, Throwable tr) { in v() argument
36 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v()
41 public static int d(String tag, String msg) { in d() argument
42 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d()
46 public static int d(String tag, String msg, Throwable tr) { in d() argument
47 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d()
52 public static int i(String tag, String msg) { in i() argument
53 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i()
[all …]
DLog.java115 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument
119 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) {
120 RuntimeInit.wtf(tag, what, system);
133 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument
134 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); in v()
144 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v() argument
145 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v()
154 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument
155 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d()
165 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d() argument
[all …]
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java39 private static int log(int priority, String tag, String msg) { in log() argument
40 return Log.logToRadioBuffer(priority, tag, msg); in log()
43 public static int v(String tag, String msg) { in v() argument
44 return log(Log.VERBOSE, tag, msg); in v()
47 public static int v(String tag, String msg, Throwable tr) { in v() argument
48 return log(Log.VERBOSE, tag, in v()
52 public static int d(String tag, String msg) { in d() argument
53 return log(Log.DEBUG, tag, msg); in d()
56 public static int d(String tag, String msg, Throwable tr) { in d() argument
57 return log(Log.DEBUG, tag, in d()
[all …]
/frameworks/multidex/library/test/src/android/util/
DLog.java67 public static int v(String tag, String msg) { in v() argument
68 return println(LOG_ID_MAIN, VERBOSE, tag, msg); in v()
78 public static int v(String tag, String msg, Throwable tr) { in v() argument
79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); in v()
88 public static int d(String tag, String msg) { in d() argument
89 return println(LOG_ID_MAIN, DEBUG, tag, msg); in d()
99 public static int d(String tag, String msg, Throwable tr) { in d() argument
100 return println(LOG_ID_MAIN, DEBUG, tag, msg + '\n' + getStackTraceString(tr)); in d()
109 public static int i(String tag, String msg) { in i() argument
110 return println(LOG_ID_MAIN, INFO, tag, msg); in i()
[all …]
/frameworks/base/core/java/android/telephony/
DRlog.java42 public static int v(String tag, String msg) { in v() argument
43 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg); in v()
46 public static int v(String tag, String msg, Throwable tr) { in v() argument
47 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, in v()
52 public static int d(String tag, String msg) { in d() argument
53 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg); in d()
57 public static int d(String tag, String msg, Throwable tr) { in d() argument
58 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, in d()
63 public static int i(String tag, String msg) { in i() argument
64 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg); in i()
[all …]
/frameworks/av/camera/
DVendorTagDescriptor.cpp40 static const char* vendor_tag_descriptor_get_section_name(const vendor_tag_ops_t* v, uint32_t tag);
41 static const char* vendor_tag_descriptor_get_tag_name(const vendor_tag_ops_t* v, uint32_t tag);
42 static int vendor_tag_descriptor_get_tag_type(const vendor_tag_ops_t* v, uint32_t tag);
47 static const char* vendor_tag_descriptor_cache_get_section_name(uint32_t tag,
49 static const char* vendor_tag_descriptor_cache_get_tag_name(uint32_t tag,
51 static int vendor_tag_descriptor_cache_get_tag_type(uint32_t tag,
131 uint32_t tag, sectionIndex; in readFromParcel() local
136 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) { in readFromParcel()
140 if (tag < CAMERA_METADATA_VENDOR_TAG_BOUNDARY) { in readFromParcel()
141 ALOGE("%s: vendor tag %d not in vendor tag section.", __FUNCTION__, tag); in readFromParcel()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java50 private Builder(int tag) { in Builder() argument
51 if (!isConstructedTag(tag)) { in Builder()
53 "Builder should be created for a constructed tag: " + tag); in Builder()
55 mTag = tag; in Builder()
102 public Builder addChildAsInteger(int tag, int value) { in addChildAsInteger() argument
103 if (isConstructedTag(tag)) { in addChildAsInteger()
104 throw new IllegalStateException("Cannot set value of a constructed tag: " + tag); in addChildAsInteger()
107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger()
117 public Builder addChildAsString(int tag, String value) { in addChildAsString() argument
118 if (isConstructedTag(tag)) { in addChildAsString()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifParser.java343 mTag = tagEvent.tag; in next()
512 protected void registerForTagValue(ExifTag tag) { in registerForTagValue() argument
513 if (tag.getOffset() >= mTiffStream.getReadByteCount()) { in registerForTagValue()
514 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue()
548 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType, in readTag() local
550 int dataSize = tag.getDataSize(); in readTag()
563 tag.setValue(buf); in readTag()
565 tag.setOffset((int) offset); in readTag()
568 boolean defCount = tag.hasDefinedCount(); in readTag()
570 tag.setHasDefinedCount(false); in readTag()
[all …]
/frameworks/base/tools/aapt2/trace/
DTraceBuffer.h34 Trace(const std::string& tag);
35 Trace(const std::string& tag, const std::vector<android::StringPiece>& args);
40 void BeginTrace(const std::string& tag);
47 explicit FlushTrace(const std::string& basepath, const std::string& tag);
48 explicit FlushTrace(const std::string& basepath, const std::string& tag,
50 explicit FlushTrace(const std::string& basepath, const std::string& tag,
58 #define TRACE_NAME(tag) Trace __t(tag) argument
59 #define TRACE_NAME_ARGS(tag, args) Trace __t(tag, args) argument
61 #define TRACE_FLUSH(basename, tag) FlushTrace __t(basename, tag) argument
62 #define TRACE_FLUSH_ARGS(basename, tag, args) FlushTrace __t(basename, tag, args) argument
DTraceBuffer.cpp41 std::string tag; member
54 void AddWithTime(const std::string& tag, char type, int64_t time) noexcept { in AddWithTime() argument
55 TracePoint t = {getpid(), time, tag, type}; in AddWithTime()
59 void Add(const std::string& tag, char type) noexcept { in Add() argument
60 AddWithTime(tag, type, GetTime()); in Add()
81 "\"name\" : \"%s\" },\n", trace.time, trace.type, 0, trace.tid, trace.tag.c_str()); in Flush()
89 void BeginTrace(const std::string& tag) { in BeginTrace() argument
90 tracebuffer::Add(tag, tracebuffer::kBegin); in BeginTrace()
97 Trace::Trace(const std::string& tag) { in Trace() argument
98 tracebuffer::Add(tag, tracebuffer::kBegin); in Trace()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java79 public String tag, info; field in GestureRecorder.Gesture.TagRecord
80 public TagRecord(long when, String tag, String info) { in TagRecord() argument
82 this.tag = tag; in TagRecord()
88 this.tag, in toJson()
114 public void tag(long when, String tag, String info) { in tag() argument
115 mRecords.add(new TagRecord(when, tag, info)); in tag()
116 mTags.add(tag); in tag()
171 public void tag(long when, String tag, String info) { in tag() argument
177 mCurrentGesture.tag(when, tag, info); in tag()
182 public void tag(long when, String tag) { in tag() method in GestureRecorder
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingLog.java68 public static void v(String tag, String s) { in v() argument
73 Log.v(TAG, tag + "\t" + s); in v()
75 log("V", tag, s); in v()
78 public static void i(String tag, String s) { in i() argument
80 Log.i(TAG, tag + "\t" + s); in i()
82 log("I", tag, s); in i()
85 public static void wLogcat(String tag, String s) { in wLogcat() argument
86 Log.w(TAG, tag + "\t" + s); in wLogcat()
87 log("W", tag, s); in wLogcat()
90 public static void w(String tag, String s) { in w() argument
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffWriter.h144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd);
161 status_t buildEntry(uint16_t tag, uint32_t count, const T* data,
182 virtual sp<TiffEntry> getEntry(uint16_t tag, uint32_t ifd) const;
187 virtual void removeEntry(uint16_t tag, uint32_t ifd);
204 virtual TagType getDefaultType(uint16_t tag) const;
210 virtual uint32_t getDefaultCount(uint16_t tag) const;
220 virtual bool checkIfDefined(uint16_t tag) const;
226 virtual const char* getTagName(uint16_t tag) const;
243 static sp<TiffEntry> uncheckedBuildEntry(uint16_t tag, TagType type,
260 const TagDefinition_t* lookupDefinition(uint16_t tag) const;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java69 public void removeIcon(int index, int tag) { in removeIcon() argument
70 mSlots.get(index).removeForTag(tag); in removeIcon()
77 public StatusBarIconHolder getIcon(int index, int tag) { in getIcon() argument
78 return mSlots.get(index).getHolderForTag(tag); in getIcon()
81 public int getViewIndex(int slotIndex, int tag) { in getViewIndex() argument
91 return count + viewItem.viewIndexOffsetForTag(tag); in getViewIndex()
129 public StatusBarIconHolder getHolderForTag(int tag) { in getHolderForTag() argument
130 if (tag == TAG_PRIMARY) { in getHolderForTag()
136 if (holder.getTag() == tag) { in getHolderForTag()
146 int tag = holder.getTag(); in addHolder() local
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java116 public Entry(String tag, long millis) { in Entry() argument
117 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
119 mTag = tag; in Entry()
127 public Entry(String tag, long millis, String text) { in Entry() argument
128 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
131 mTag = tag; in Entry()
142 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument
143 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
148 mTag = tag; in Entry()
159 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() argument
[all …]
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp54 jlong tag, jstring nameStr, jlong value) { in android_os_Trace_nativeTraceCounter() argument
55 withString(env, nameStr, [tag, value](char* str) { in android_os_Trace_nativeTraceCounter()
56 atrace_int64(tag, str, value); in android_os_Trace_nativeTraceCounter()
61 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument
62 withString(env, nameStr, [tag](char* str) { in android_os_Trace_nativeTraceBegin()
63 atrace_begin(tag, str); in android_os_Trace_nativeTraceBegin()
67 static void android_os_Trace_nativeTraceEnd(JNIEnv*, jclass, jlong tag) { in android_os_Trace_nativeTraceEnd() argument
68 atrace_end(tag); in android_os_Trace_nativeTraceEnd()
72 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument
73 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceBegin()
[all …]
/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) { in ContainsTag() argument
43 if (tag == tagArray[i]) return true; in ContainsTag()
117 uint32_t tag; in TEST() local
120 tag = descTagArray[i]; in TEST()
121 EXPECT_CONTAINS_TAG(tag, opsTagArray); in TEST()
122 EXPECT_EQ(vDesc->getTagType(tag), vOps->get_tag_type(vOps, tag)); in TEST()
123 EXPECT_STREQ(vDesc->getSectionName(tag), vOps->get_section_name(vOps, tag)); in TEST()
124 EXPECT_STREQ(vDesc->getTagName(tag), vOps->get_tag_name(vOps, tag)); in TEST()
162 uint32_t tag; in TEST() local
166 tag = descTagArray[i]; in TEST()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h56 camera_status_t getConstEntry(uint32_t tag, ACameraMetadata_const_entry* entry) const;
58 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data);
59 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data);
60 camera_status_t update(uint32_t tag, uint32_t count, const float* data);
61 camera_status_t update(uint32_t tag, uint32_t count, const double* data);
62 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data);
63 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data);
76 static inline bool isVendorTag(const uint32_t tag);
77 static bool isCaptureRequestTag(const uint32_t tag);
80 void filterDurations(uint32_t tag); // translate hal format to NDK formats
[all …]
/frameworks/av/camera/include/camera/
DCameraMetadata.h130 status_t update(uint32_t tag,
132 status_t update(uint32_t tag,
134 status_t update(uint32_t tag,
136 status_t update(uint32_t tag,
138 status_t update(uint32_t tag,
140 status_t update(uint32_t tag,
142 status_t update(uint32_t tag,
148 status_t update(uint32_t tag, Vector<T> data) { in update() argument
149 return update(tag, data.array(), data.size()); in update()
156 bool exists(uint32_t tag) const;
[all …]

12345678910>>...28