/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifParser.java | 46 * ExifTag tag = parser.getTag(); 47 * if (!tag.hasValue()) { 48 * parser.registerForTagValue(tag); 50 * processTag(tag); 54 * tag = parser.getTag(); 55 * if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) { 56 * processTag(tag); 64 * void processTag(ExifTag tag) { 65 * // process the tag as you like. 78 * When the parser reaches a new tag 512 registerForTagValue(ExifTag tag) argument 585 checkOffsetOrImageTag(ExifTag tag) argument 645 readFullTagValue(ExifTag tag) argument 901 ExifTag tag; field in class:ExifParser.ExifTagEvent 904 ExifTagEvent(ExifTag tag, boolean isRequireByUser) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 77 String tag) { 78 ActivityManager.noteWakeupAlarm(ps, sourceUid, sourcePkg, tag); 84 static public void noteAlarmStart(PendingIntent ps, int sourceUid, String tag) { argument 85 ActivityManager.noteAlarmStart(ps, sourceUid, tag); 91 static public void noteAlarmFinish(PendingIntent ps, int sourceUid, String tag) { argument 92 ActivityManager.noteAlarmFinish(ps, sourceUid, tag); 76 noteWakeupAlarm(PendingIntent ps, int sourceUid, String sourcePkg, String tag) argument
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | IsoDep.java | 52 * Get an instance of {@link IsoDep} for the given tag. 55 * This indicates the tag does not support ISO-DEP. 57 * @param tag an ISO-DEP compatible tag 60 public static IsoDep get(Tag tag) { argument 61 if (!tag.hasTech(TagTechnology.ISO_DEP)) return null; 63 return new IsoDep(tag); 70 public IsoDep(Tag tag) argument 72 super(tag, TagTechnology.ISO_DEP); 73 Bundle extras = tag [all...] |
H A D | NfcA.java | 49 * Get an instance of {@link NfcA} for the given tag. 51 * This indicates the tag does not support NFC-A. 54 * @param tag an NFC-A compatible tag 57 public static NfcA get(Tag tag) { argument 58 if (!tag.hasTech(TagTechnology.NFC_A)) return null; 60 return new NfcA(tag); 67 public NfcA(Tag tag) throws RemoteException { argument 68 super(tag, TagTechnology.NFC_A); 69 Bundle extras = tag [all...] |
H A D | NfcF.java | 49 * Get an instance of {@link NfcF} for the given tag. 51 * This indicates the tag does not support NFC-F. 54 * @param tag an NFC-F compatible tag 57 public static NfcF get(Tag tag) { argument 58 if (!tag.hasTech(TagTechnology.NFC_F)) return null; 60 return new NfcF(tag); 67 public NfcF(Tag tag) throws RemoteException { argument 68 super(tag, TagTechnology.NFC_F); 69 Bundle extras = tag [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_Trace.cpp | 49 jlong tag, jstring nameStr, jint value) { 52 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, name.c_str(), value); 53 atrace_int(tag, name.c_str(), value); 57 jlong tag, jstring nameStr) { 62 ALOGV("%s: %" PRId64 " %s", __FUNCTION__, tag, utf8Chars.string()); 63 atrace_begin(tag, utf8Chars.string()); 67 jlong tag) { 69 ALOGV("%s: %" PRId64, __FUNCTION__, tag); 70 atrace_end(tag); 74 jlong tag, jstrin 48 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument 56 android_os_Trace_nativeTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr) argument 66 android_os_Trace_nativeTraceEnd(JNIEnv* env, jclass clazz, jlong tag) argument 73 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument 83 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 74 uint32_t tag; local 75 status_t res = CameraMetadata::getTagFromName(nextTagName, vTags.get(), &tag); 77 ALOGW("%s: Unknown tag %s, ignoring", __FUNCTION__, nextTagName); 83 mMonitoredTagList.push_back(tag); 91 // Got at least one new tag 112 for (auto tag : mMonitoredTagList) { 113 camera_metadata_ro_entry entry = metadata.find(tag); 125 camera_metadata_entry lastEntry = lastValues.find(tag); 152 tag, mVendorTagId)); 160 tag, mVendorTagI 214 printData(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument [all...] |
/frameworks/ex/framesequence/jni/utils/ |
H A D | log.h | 42 * This is the local tag used for the following simplified 44 * before using the other macros to change the tag. 239 * The second argument may be NULL or "" to indicate the "global" tag. 242 #define ALOG(priority, tag, ...) \ 243 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) 250 #define LOG_PRI(priority, tag, ...) \ 251 __android_log_print(priority, tag, __VA_ARGS__) 258 #define LOG_PRI_VA(priority, tag, fmt, args) \ 259 __android_log_vprint(priority, NULL, tag, fmt, args) 263 * Conditional given a desired logging priority and tag [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ComprehensionTlv.java | 45 * @param tag The tag for this object 51 protected ComprehensionTlv(int tag, boolean cr, int length, byte[] data, argument 53 mTag = tag; 120 /* tag */ 121 int tag; 128 Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) + 135 case 0x7f: // tag is in three-byte format 136 tag = ((data[curIndex] & 0xff) << 8) 138 cr = (tag [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Object.java | 13 protected Asn1Object(int tag, Asn1Class asn1Class, boolean constructed, int length) { argument 14 this(tag, asn1Class, constructed, length, null); 17 protected Asn1Object(int tag, Asn1Class asn1Class, boolean constructed, argument 19 mTag = tag; 72 Asn1Tag tag = mClass == Asn1Class.Universal ? Asn1Decoder.mapTag(mTag) : null; 73 if (tag != null) { 74 return tag.name();
|
H A D | Asn1String.java | 11 public Asn1String(int tag, Asn1Class asn1Class, int length, ByteBuffer data) { argument 12 super(tag, asn1Class, false, length); 16 Charset charset = tag == Asn1Decoder.TAG_UTF8String
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffWriter.h | 59 * Constructs a TiffWriter with the default tag mappings. This enables 67 * Constructs a TiffWriter with the given tag mappings. The mapping 120 * - BAD_INDEX - The given tag doesn't exist. 122 * this tag. 124 * type required for this tag. 130 * Build an entry for a known tag and add it to the IFD with the given ID. 131 * This tag must be defined in one of the definition vectors this TIFF writer 136 * - BAD_INDEX - The given tag doesn't exist. 138 * this tag. 140 * type required for this tag 272 buildEntry(uint16_t tag, uint32_t count, const T* data, sp<TiffEntry>* outEntry) const argument 301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument 314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 172 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { argument 173 int tagType = get_local_camera_metadata_tag_type(tag, mBuffer); 175 ALOGE("Update metadata entry: Unknown tag %d", tag); 179 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; " 181 get_local_camera_metadata_tag_name(tag, mBuffer), tag, 189 status_t CameraMetadata::update(uint32_t tag, argument 196 if ( (res = checkType(tag, TYPE_INT32)) != OK) { 199 return updateImpl(tag, (cons 202 update(uint32_t tag, const uint8_t *data, size_t data_count) argument 215 update(uint32_t tag, const float *data, size_t data_count) argument 228 update(uint32_t tag, const int64_t *data, size_t data_count) argument 241 update(uint32_t tag, const double *data, size_t data_count) argument 254 update(uint32_t tag, const camera_metadata_rational_t *data, size_t data_count) argument 267 update(uint32_t tag, const String8 &string) argument 293 updateImpl(uint32_t tag, const void *data, size_t data_count) argument 356 find(uint32_t tag) argument 383 erase(uint32_t tag) argument 700 getTagFromName(const char *name, const VendorTagDescriptor* vTags, uint32_t *tag) argument [all...] |
H A D | VendorTagDescriptor.cpp | 40 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, 120 ALOGE("%s: could not read tag count from parcel", __FUNCTION__); 125 ALOGE("%s: tag count %d from vendor ops is invalid.", __FUNCTION__, tagCount); 131 uint32_t tag, sectionIndex; local 136 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) ! 206 uint32_t tag = allTags[i]; local 271 uint32_t tag, sectionIndex; local 330 uint32_t tag = mTagToNameMap.keyAt(i); local 432 getSectionName(uint32_t tag, metadata_vendor_id_t id) const argument 445 getTagName(uint32_t tag, metadata_vendor_id_t id) const argument 458 getTagType(uint32_t tag, metadata_vendor_id_t id) const argument 535 uint32_t tag = tagArray[i]; local 568 uint32_t tag = tagArray[i]; local [all...] |
/frameworks/base/core/java/com/android/server/ |
H A D | NetworkManagementSocketTagger.java | 54 public static int setThreadSocketStatsTag(int tag) { argument 56 threadSocketTags.get().statsTag = tag; 71 public void tag(FileDescriptor fd) throws SocketException { method in class:NetworkManagementSocketTagger 84 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { argument 85 if (tag == -1 && uid == -1) return; 88 final int errno = native_tagSocketFd(fd, tag, uid); 91 + tag + ", " + 142 * Convert {@code /proc/} tag format to {@link Integer}. Assumes incoming 154 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); argument 157 private static native int native_deleteTagData(int tag, in argument [all...] |
/frameworks/av/camera/tests/ |
H A D | VendorTagDescriptorTests.cpp | 41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) { argument 43 if (tag == tagArray[i]) return true; 103 // Ensure reasonable tag count 110 // Get all tag ids 117 uint32_t tag; local 119 // For each tag id, check whether type, section name, tag name match 120 tag = descTagArray[i]; 121 EXPECT_CONTAINS_TAG(tag, opsTagArray); 122 EXPECT_EQ(vDesc->getTagType(tag), vOp 161 uint32_t tag; local [all...] |
/frameworks/base/libs/services/include/android/os/ |
H A D | DropBoxManager.h | 51 Status addText(const String16& tag, const string& text); 54 Status addData(const String16& tag, uint8_t const* data, size_t size, int flags); 59 Status addFile(const String16& tag, const string& filename, int flags); 70 Entry(const String16& tag, int32_t flags); 71 Entry(const String16& tag, int32_t flags, int fd);
|
/frameworks/av/camera/ndk/ |
H A D | NdkCameraMetadata.cpp | 31 const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) { 34 ALOGE("%s: invalid argument! metadata %p, tag 0x%x, entry %p", 35 __FUNCTION__, acm, tag, entry); 38 return acm->getConstEntry(tag, entry); 30 ACameraMetadata_getConstEntry( const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) argument
|
/frameworks/av/media/libstagefright/ |
H A D | ESDS.cpp | 73 uint8_t *tag, size_t *data_offset, size_t *data_size) const { 78 *tag = mData[offset++]; 96 ALOGV("tag=0x%02x data_size=%zu", *tag, *data_size); 108 uint8_t tag; local 112 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); 118 if (tag != kTag_ESDescriptor) { 181 uint8_t tag; local 184 offset, size, &tag, &sub_offset, &sub_size); 190 if (tag ! 71 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument 228 uint8_t tag; local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Spanned.java | 176 public int getSpanStart(Object tag); argument 182 public int getSpanEnd(Object tag); argument 189 public int getSpanFlags(Object tag); argument
|
/frameworks/rs/script_api/ |
H A D | Scanner.h | 32 // The tag of the current entry to be processed. See FindTag(). 36 // Was the current tag processed? 55 * This line is parsed into a tag and a value. 57 * a null tag and all but the first character are the value. 59 * separate the tag from the value. 75 /* Finds the next unprocessed tag. This entry should start with the specified tag. 76 * Returns false if the tag is not found and prints an error. 78 bool findTag(const char* tag); 79 // Same as findTag but does not print an error if the tag i [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.cpp | 151 ACameraMetadata::isVendorTag(const uint32_t tag) { argument 152 uint32_t tag_section = tag >> 16; 160 ACameraMetadata::getConstEntry(uint32_t tag, ACameraMetadata_const_entry* entry) const { argument 167 camera_metadata_ro_entry rawEntry = mData.find(tag); 169 ALOGE("%s: cannot find metadata tag %d", __FUNCTION__, tag); 172 entry->tag = tag; 180 ACameraMetadata::update(uint32_t tag, uint32_t count, const uint8_t* data) { argument 181 return updateImpl<uint8_t>(tag, coun 185 update(uint32_t tag, uint32_t count, const int32_t* data) argument 190 update(uint32_t tag, uint32_t count, const float* data) argument 195 update(uint32_t tag, uint32_t count, const double* data) argument 200 update(uint32_t tag, uint32_t count, const int64_t* data) argument 205 update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data) argument 251 isCaptureRequestTag(const uint32_t tag) argument [all...] |
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | AndroidHandler.java | 35 * the log tag. Only the log levels need to be converted appropriately. For 127 String tag = DalvikLogging.loggerNameToTag(record.getLoggerName()); 128 if (!Log.isLoggable(tag, level)) { 134 Log.println(level, tag, message); 140 public void publish(Logger source, String tag, Level level, String message) { argument 143 if (!Log.isLoggable(tag, priority)) { 148 Log.println(priority, tag, message);
|
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | NotificationCompatSideChannelService.java | 61 public abstract void notify(String packageName, int id, String tag, Notification notification); argument 66 public abstract void cancel(String packageName, int id, String tag); argument 78 public void notify(String packageName, int id, String tag, Notification notification) argument 83 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification); 90 public void cancel(String packageName, int id, String tag) throws RemoteException { argument 94 NotificationCompatSideChannelService.this.cancel(packageName, id, tag);
|
/frameworks/av/media/img_utils/src/ |
H A D | SortedEntryVector.cpp | 27 ssize_t SortedEntryVector::indexOfTag(uint16_t tag) const { 30 if (itemAt(i)->getTag() == tag) {
|