Searched defs:tag (Results 76 - 100 of 313) sorted by relevance

1234567891011>>

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifModifier.java41 TagOffset(ExifTag tag, int offset) { argument
42 mTag = tag;
147 private void writeTagValue(ExifTag tag, int offset) { argument
149 Log.v(TAG, "modifying tag to: \n" + tag.toString());
153 switch (tag.getDataType()) {
155 byte buf[] = tag.getStringByte();
156 if (buf.length == tag.getComponentCount()) {
166 for (int i = 0, n = tag.getComponentCount(); i < n; i++) {
167 mByteBuffer.putInt((int) tag
192 modifyTag(ExifTag tag) argument
[all...]
H A DIfdData.java75 * Gets the {@link ExifTag} with given tag id. Return null if there is no
76 * such tag.
85 protected ExifTag setTag(ExifTag tag) { argument
86 tag.setIfd(mIfdId);
87 return mExifTags.put(tag.getTagId(), tag);
95 * Removes the tag of the given ID
138 for (ExifTag tag : tags) {
139 if (ExifInterface.isOffsetTag(tag.getTagId())) {
142 ExifTag tag2 = mExifTags.get(tag
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java46 LockWatcher(Handler h, String tag) { argument
47 super(h, tag);
88 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument
90 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag));
94 mLocks.acquire(token, makeTag(tag));
107 private String makeTag(String tag) { argument
108 return "{tag=" + tag
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DDropBoxTest.java411 // Specifying a tag name skips tombstone records.
738 private void addRandomEntry(DropBoxManager dropbox, String tag, int size) throws Exception { argument
747 dropbox.addFile(tag, f, 0);
/frameworks/base/test-runner/src/android/test/
H A DTestPrinter.java44 public TestPrinter(String tag, boolean onlyFailures) { argument
45 mTag = tag;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java90 public void writeEntry(String tag, String logMsg) { argument
91 writeEntry(TrackerEntry.createEntry(tag, logMsg));
103 * Query tracker data, filtering by given tag
105 * @param tag
108 public Cursor query(String tag, int limit) { argument
109 String selection = (tag == null ? null : TrackerEntry.TAG + "=?");
110 String[] selectionArgs = (tag == null ? null : new String[] {tag});
133 * Query tracker data, filtering by given tag. mo limit to number of rows
136 * @param tag
139 query(String tag) argument
[all...]
/frameworks/base/tools/aapt2/
H A DDiagnostics.h96 const char* tag; variable
104 tag = "error";
108 tag = "warn";
112 tag = "note";
119 std::cerr << tag << ": " << actualMsg.message << "." << std::endl;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
H A DLog.java21 * All Camera logging using this class will use this tag prefix.
26 * adb shell setprop log.tag.CAM2PORT_ VERBOSE
27 * adb shell setprop log.tag.CAM2PORT_ ""
33 * This class restricts the length of the log tag to be less than the
34 * framework limit and also prepends the common tag prefix defined by
44 public Tag(String tag) { argument
45 final int lenDiff = tag.length() - MAX_TAG_LEN;
47 w(TAG, "Tag " + tag + " is " + lenDiff + " chars longer than limit.");
49 mValue = CAMERA_LOGTAG_PREFIX + (lenDiff > 0 ? tag.substring(0, MAX_TAG_LEN) : tag);
58 d(Tag tag, String msg) argument
64 d(Tag tag, String msg, Throwable tr) argument
70 e(Tag tag, String msg) argument
76 e(Tag tag, String msg, Throwable tr) argument
82 i(Tag tag, String msg) argument
88 i(Tag tag, String msg, Throwable tr) argument
94 v(Tag tag, String msg) argument
100 v(Tag tag, String msg, Throwable tr) argument
106 w(Tag tag, String msg) argument
112 w(Tag tag, String msg, Throwable tr) argument
118 isLoggable(Tag tag, int level) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DMinikinFontFreeType.cpp55 const void* MinikinFontFreeType::GetTable(uint32_t tag, size_t* size, MinikinDestroyFunc* destroy) { argument
57 FT_Error error = FT_Load_Sfnt_Table(mTypeface, tag, 0, nullptr, &ftsize);
65 error = FT_Load_Sfnt_Table(mTypeface, tag, 0, buf, &ftsize);
/frameworks/multidex/library/test/src/android/util/
H A DLog.java63 * @param tag Used to identify the source of a log message. It usually identifies
67 public static int v(String tag, String msg) { argument
68 return println(LOG_ID_MAIN, VERBOSE, tag, msg);
73 * @param tag Used to identify the source of a log message. It usually identifies
78 public static int v(String tag, String msg, Throwable tr) { argument
79 return println(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr));
84 * @param tag Used to identify the source of a log message. It usually identifies
88 public static int d(String tag, String msg) { argument
89 return println(LOG_ID_MAIN, DEBUG, tag, msg);
94 * @param tag Use
99 d(String tag, String msg, Throwable tr) argument
109 i(String tag, String msg) argument
120 i(String tag, String msg, Throwable tr) argument
130 w(String tag, String msg) argument
141 w(String tag, String msg, Throwable tr) argument
151 w(String tag, Throwable tr) argument
161 e(String tag, String msg) argument
172 e(String tag, String msg, Throwable tr) argument
210 println(int priority, String tag, String msg) argument
221 println(int bufID, int priority, String tag, String msg) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java43 byte tag = raw[i++];
53 this.add(tag, val);
99 public boolean exists(byte tag) { argument
100 return mParams.containsKey(tag);
103 public void add(byte tag, byte val) { argument
105 mParams.put(tag, bval);
108 public void add(byte tag, short val) { argument
110 mParams.put(tag, bval);
113 public void add(byte tag, int val) { argument
115 mParams.put(tag, bva
118 add(byte tag, long val) argument
123 add(byte tag, String val) argument
128 add(byte tag, byte[] bval) argument
132 getByte(byte tag) argument
142 getShort(byte tag) argument
152 getInt(byte tag) argument
162 getString(byte tag) argument
172 getByteArray(byte tag) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DBerTlv.java38 private BerTlv(int tag, List<ComprehensionTlv> ctlvs, boolean lengthValid) { argument
39 mTag = tag;
54 * Gets a tag id of the BER-TLV object.
56 * @return A tag integer.
81 int tag, length = 0;
85 /* tag */
86 tag = data[curIndex++] & 0xff;
87 if (tag == BER_PROACTIVE_COMMAND_TAG) {
105 "Expected first byte to be length or a length tag and < 0x81" +
110 if (ComprehensionTlvTag.COMMAND_DETAILS.value() == (tag
[all...]
H A DComprehensionTlv.java45 * @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/support/v4/java/android/support/v4/net/
H A DTrafficStatsCompat.java35 void incrementOperationCount(int tag, int operationCount); argument
36 void setThreadStatsTag(int tag); argument
70 public void incrementOperationCount(int tag, int operationCount) { argument
74 public void setThreadStatsTag(int tag) { argument
75 mThreadSocketTags.get().statsTag = tag;
112 public void incrementOperationCount(int tag, int operationCount) { argument
113 TrafficStatsCompatIcs.incrementOperationCount(tag, operationCount);
117 public void setThreadStatsTag(int tag) { argument
118 TrafficStatsCompatIcs.setThreadStatsTag(tag);
167 * Clear active tag use
201 incrementOperationCount(int tag, int operationCount) argument
216 setThreadStatsTag(int tag) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp151 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/av/camera/tests/
H A DVendorTagDescriptorTests.cpp41 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/av/media/img_utils/include/img_utils/
H A DTiffWriter.h59 * 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/media/libstagefright/
H A DESDS.cpp73 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/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp354 bool FrameProcessor::updatePendingState(const CameraMetadata& result, int32_t tag, argument
363 // Already got the value for this tag.
368 entry = result.find(tag);
372 get_camera_metadata_tag_name(tag), frameNumber);
/frameworks/base/core/java/android/app/
H A DActivityManagerInternal.java67 * Acquires a sleep token with the specified tag.
69 * @param tag A string identifying the purpose of the token (eg. "Dream").
71 public abstract SleepToken acquireSleepToken(@NonNull String tag); argument
H A DKeyguardManager.java130 KeyguardLock(String tag) { argument
131 mTag = tag;
212 * @param tag A tag that informally identifies who you are (for debugging who
219 public KeyguardLock newKeyguardLock(String tag) { argument
220 return new KeyguardLock(tag);
/frameworks/base/core/java/android/app/admin/
H A DSecurityLog.java70 * seinfo tag (String), SHA-256 hash of the base APK in hexadecimal (String)
135 * Returns the tag of this log entry, which specifies entry's semantics.
211 public static native int writeEvent(int tag, String str); argument
218 public static native int writeEvent(int tag, Object... payloads); argument
/frameworks/base/core/java/android/os/
H A DPersistableBundle.java226 public Object readThisUnknownObjectXml(XmlPullParser in, String tag) argument
228 if (TAG_PERSISTABLEMAP.equals(tag)) {
231 throw new XmlPullParserException("Unknown tag=" + tag);
/frameworks/base/core/java/android/text/
H A DSpanned.java176 public int getSpanStart(Object tag); argument
182 public int getSpanEnd(Object tag); argument
189 public int getSpanFlags(Object tag); argument
/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java187 public int getSpanStart(Object tag) { argument
188 return mSpanned.getSpanStart(tag);
191 public int getSpanEnd(Object tag) { argument
192 return mSpanned.getSpanEnd(tag);
195 public int getSpanFlags(Object tag) { argument
196 return mSpanned.getSpanFlags(tag);

Completed in 449 milliseconds

1234567891011>>