Home
last modified time | relevance | path

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

12345678910>>...24

/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java69 public void addEnum(int tag, int value) { in addEnum() argument
70 int tagType = KeymasterDefs.getTagType(tag); in addEnum()
72 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag); in addEnum()
74 addEnumTag(tag, value); in addEnum()
82 public void addEnums(int tag, int... values) { in addEnums() argument
83 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM_REP) { in addEnums()
84 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in addEnums()
87 addEnumTag(tag, value); in addEnums()
97 public int getEnum(int tag, int defaultValue) { in getEnum() argument
98 if (KeymasterDefs.getTagType(tag) != KeymasterDefs.KM_ENUM) { in getEnum()
[all …]
DKeyCharacteristics.java75 public Integer getEnum(int tag) { in getEnum() argument
76 if (hwEnforced.containsTag(tag)) { in getEnum()
77 return hwEnforced.getEnum(tag, -1); in getEnum()
78 } else if (swEnforced.containsTag(tag)) { in getEnum()
79 return swEnforced.getEnum(tag, -1); in getEnum()
90 public List<Integer> getEnums(int tag) { in getEnums() argument
92 result.addAll(hwEnforced.getEnums(tag)); in getEnums()
93 result.addAll(swEnforced.getEnums(tag)); in getEnums()
103 public long getUnsignedInt(int tag, long defaultValue) { in getUnsignedInt() argument
104 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/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/
DLog.java105 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument
109 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) {
110 RuntimeInit.wtf(tag, what, system);
123 public static int v(String tag, String msg) { in v() argument
124 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); in v()
134 public static int v(String tag, String msg, Throwable tr) { in v() argument
135 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v()
144 public static int d(String tag, String msg) { in d() argument
145 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d()
155 public static int d(String tag, String msg, Throwable tr) { in d() argument
[all …]
DSlog.java27 public static int v(String tag, String msg) { in v() argument
28 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg); in v()
31 public static int v(String tag, String msg, Throwable tr) { in v() argument
32 return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, in v()
36 public static int d(String tag, String msg) { in d() argument
37 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg); in d()
40 public static int d(String tag, String msg, Throwable tr) { in d() argument
41 return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, in d()
45 public static int i(String tag, String msg) { in i() argument
46 return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg); in i()
[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/telephony/java/android/telephony/
DRlog.java41 public static int v(String tag, String msg) { in v() argument
42 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, msg); in v()
45 public static int v(String tag, String msg, Throwable tr) { in v() argument
46 return Log.println_native(Log.LOG_ID_RADIO, Log.VERBOSE, tag, in v()
50 public static int d(String tag, String msg) { in d() argument
51 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, msg); in d()
54 public static int d(String tag, String msg, Throwable tr) { in d() argument
55 return Log.println_native(Log.LOG_ID_RADIO, Log.DEBUG, tag, in d()
59 public static int i(String tag, String msg) { in i() argument
60 return Log.println_native(Log.LOG_ID_RADIO, Log.INFO, tag, msg); in i()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java43 byte tag = raw[i++]; in ObexAppParameters()
53 this.add(tag, val); in ObexAppParameters()
99 public boolean exists(byte tag) { in exists() argument
100 return mParams.containsKey(tag); in exists()
103 public void add(byte tag, byte val) { in add() argument
105 mParams.put(tag, bval); in add()
108 public void add(byte tag, short val) { in add() argument
110 mParams.put(tag, bval); in add()
113 public void add(byte tag, int val) { in add() argument
115 mParams.put(tag, bval); in add()
[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 …]
DCameraMetadata.cpp172 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { in checkType() argument
173 int tagType = get_local_camera_metadata_tag_type(tag, mBuffer); in checkType()
175 ALOGE("Update metadata entry: Unknown tag %d", tag); in checkType()
181 get_local_camera_metadata_tag_name(tag, mBuffer), tag, in checkType()
189 status_t CameraMetadata::update(uint32_t tag, in update() argument
196 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update()
199 return updateImpl(tag, (const void*)data, data_count); in update()
202 status_t CameraMetadata::update(uint32_t tag, in update() argument
209 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update()
212 return updateImpl(tag, (const void*)data, data_count); in update()
[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/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() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingLog.java70 public static void v(String tag, String s) { in v() argument
75 Log.v(TAG, tag + "\t" + s); in v()
77 log("V", tag, s); in v()
80 public static void i(String tag, String s) { in i() argument
82 Log.i(TAG, tag + "\t" + s); in i()
84 log("I", tag, s); in i()
87 public static void wLogcat(String tag, String s) { in wLogcat() argument
88 Log.w(TAG, tag + "\t" + s); in wLogcat()
89 log("W", tag, s); in wLogcat()
92 public static void w(String tag, String s) { in w() argument
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java101 public Entry(String tag, long millis) { in Entry() argument
102 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
104 mTag = tag; in Entry()
112 public Entry(String tag, long millis, String text) { in Entry() argument
113 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
116 mTag = tag; in Entry()
127 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() argument
128 if (tag == null) throw new NullPointerException("tag == null"); in Entry()
133 mTag = tag; in Entry()
144 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() 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/av/camera/ndk/impl/
DACameraMetadata.h49 camera_status_t getConstEntry(uint32_t tag, ACameraMetadata_const_entry* entry) const;
51 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data);
52 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data);
53 camera_status_t update(uint32_t tag, uint32_t count, const float* data);
54 camera_status_t update(uint32_t tag, uint32_t count, const double* data);
55 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data);
56 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data);
62 static inline bool isVendorTag(const uint32_t tag);
63 static bool isCaptureRequestTag(const uint32_t tag);
70 camera_status_t updateImpl(uint32_t tag, uint32_t count, const NDK_T* data) { in updateImpl()
[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()
161 uint32_t tag; in TEST() local
165 tag = descTagArray[i]; in TEST()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
DAsn1Decoder.java82 public static Asn1Tag mapTag(int tag) { in mapTag() argument
83 return sTagMap.get(tag); in mapTag()
105 int tag = decodeTag(data); in decode() local
111 new Asn1Constructed(tag, asn1Class, length, payload, tagPosition); in decode()
119 parent.addChild(new Asn1Octets(tag, asn1Class, length, data)); in decode()
121 parent.addChild(buildScalar(tag, asn1Class, length, data)); in decode()
137 private static Asn1Object buildScalar(int tag, Asn1Class asn1Class, int length, ByteBuffer data) in buildScalar() argument
139 switch (tag) { in buildScalar()
141 return new Asn1Boolean(tag, asn1Class, length, data); in buildScalar()
144 return new Asn1Integer(tag, asn1Class, length, data); in buildScalar()
[all …]
/frameworks/av/camera/include/camera/
DCameraMetadata.h129 status_t update(uint32_t tag,
131 status_t update(uint32_t tag,
133 status_t update(uint32_t tag,
135 status_t update(uint32_t tag,
137 status_t update(uint32_t tag,
139 status_t update(uint32_t tag,
141 status_t update(uint32_t tag,
147 status_t update(uint32_t tag, Vector<T> data) { in update() argument
148 return update(tag, data.array(), data.size()); in update()
155 bool exists(uint32_t tag) const;
[all …]
/frameworks/base/core/jni/
Dandroid_os_Trace.cpp49 jlong tag, jstring nameStr, jint value) { in android_os_Trace_nativeTraceCounter() argument
52 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, name.c_str(), value); in android_os_Trace_nativeTraceCounter()
53 atrace_int(tag, name.c_str(), value); in android_os_Trace_nativeTraceCounter()
57 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument
62 ALOGV("%s: %" PRId64 " %s", __FUNCTION__, tag, utf8Chars.string()); in android_os_Trace_nativeTraceBegin()
63 atrace_begin(tag, utf8Chars.string()); in android_os_Trace_nativeTraceBegin()
67 jlong tag) { in android_os_Trace_nativeTraceEnd() argument
69 ALOGV("%s: %" PRId64, __FUNCTION__, tag); in android_os_Trace_nativeTraceEnd()
70 atrace_end(tag); in android_os_Trace_nativeTraceEnd()
74 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument
[all …]
/frameworks/av/media/libaaudio/
DDoxyfile.orig20 # This tag specifies the encoding used for all characters in the config file
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
[all …]
DDoxyfile20 # This tag specifies the encoding used for all characters in the config file
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
[all …]
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java143 public boolean isTagEnabled(String tag) {
144 return DropBoxManagerService.this.isTagEnabled(tag);
148 public DropBoxManager.Entry getNextEntry(String tag, long millis) {
149 return DropBoxManagerService.this.getNextEntry(tag, millis);
232 final String tag = entry.getTag(); in add() local
238 if (!isTagEnabled(tag)) return; in add()
289 … Slog.w(TAG, "Dropping: " + tag + " (" + temp.length() + " > " + max + " bytes)"); in add()
296 long time = createEntry(temp, tag, flags); in add()
300 dropboxIntent.putExtra(DropBoxManager.EXTRA_TAG, tag); in add()
311 Slog.e(TAG, "Can't write: " + tag, e); in add()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp74 uint32_t tag; in parseTagsToMonitor() local
75 status_t res = CameraMetadata::getTagFromName(nextTagName, vTags.get(), &tag); in parseTagsToMonitor()
83 mMonitoredTagList.push_back(tag); in parseTagsToMonitor()
112 for (auto tag : mMonitoredTagList) { in monitorMetadata() local
113 camera_metadata_ro_entry entry = metadata.find(tag); in monitorMetadata()
125 camera_metadata_entry lastEntry = lastValues.find(tag); in monitorMetadata()
152 tag, mVendorTagId)); in monitorMetadata()
160 tag, mVendorTagId)); in monitorMetadata()
161 lastValues.erase(tag); in monitorMetadata()
162 entry.tag = tag; in monitorMetadata()
[all …]

12345678910>>...24