Searched defs:tag (Results 51 - 75 of 242) sorted by relevance

12345678910

/frameworks/base/core/java/com/android/server/
H A DBootReceiver.java187 String headers, String filename, int maxSize, String tag) throws IOException {
189 tag);
195 String tag) throws IOException {
196 if (db == null || !db.isTagEnabled(tag)) return; // Logging disabled
210 Slog.i(TAG, "Copying " + filename + " to DropBox (" + tag + ")");
211 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n") + footers);
215 String headers, int maxSize, String tag) throws IOException {
216 if (db == null || !db.isTagEnabled(tag)) return; // Logging disabled
229 long lastTime = prefs.getLong(tag, 0);
233 prefs.edit().putLong(tag, fileTim
185 addFileToDropBox( DropBoxManager db, SharedPreferences prefs, String headers, String filename, int maxSize, String tag) argument
192 addFileWithFootersToDropBox( DropBoxManager db, SharedPreferences prefs, String headers, String footers, String filename, int maxSize, String tag) argument
214 addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument
247 addFsckErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp48 jlong tag, jstring nameStr, jint value) {
51 ALOGV("%s: %lld %s %d", __FUNCTION__, tag, name.c_str(), value);
52 atrace_int(tag, name.c_str(), value);
56 jlong tag, jstring nameStr) {
62 ALOGV("%s: %lld %s", __FUNCTION__, tag, utf8Chars.string());
63 atrace_begin(tag, utf8Chars.string());
67 jlong tag) {
69 ALOGV("%s: %lld", __FUNCTION__, tag);
70 atrace_end(tag);
74 jlong tag, jstrin
47 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
55 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
84 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCastController.java43 public Object tag; field in class:CastController.CastDevice
/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.java407 // 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.java43 public TestPrinter(String tag, boolean onlyFailures) { argument
44 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/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/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/native/services/powermanager/
H A DIPowerManager.cpp47 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, argument
55 data.writeString16(tag);
58 data.writeString16(NULL, 0); // no history tag
63 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, argument
71 data.writeString16(tag);
/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/bluetooth/src/android/bluetooth/client/pbap/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcRetryAlarmController.java46 private static final String INTENT_RETRY_ALARM_TAG = "tag";
65 int tag = intent.getIntExtra(INTENT_RETRY_ALARM_TAG, Integer.MAX_VALUE);
69 + ", tag:" + tag + ")");
71 mDc.sendMessage(mDc.obtainMessage(what, tag, 0));
139 public void startRetryAlarm(int what, int tag, int delay) { argument
142 intent.putExtra(INTENT_RETRY_ALARM_TAG, tag);
146 " what=" + what + " tag=" + tag);
/frameworks/support/v4/java/android/support/v4/net/
H A DTrafficStatsCompat.java34 void incrementOperationCount(int tag, int operationCount); argument
35 void setThreadStatsTag(int tag); argument
67 public void incrementOperationCount(int tag, int operationCount) { argument
71 public void setThreadStatsTag(int tag) { argument
72 mThreadSocketTags.get().statsTag = tag;
101 public void incrementOperationCount(int tag, int operationCount) { argument
102 TrafficStatsCompatIcs.incrementOperationCount(tag, operationCount);
106 public void setThreadStatsTag(int tag) { argument
107 TrafficStatsCompatIcs.setThreadStatsTag(tag);
132 * Clear active tag use
166 incrementOperationCount(int tag, int operationCount) argument
181 setThreadStatsTag(int 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;
64 static const char* default_get_section_name(const vendor_tag_ops_t* vOps, uint32_t tag) { argument
68 static const char* default_get_tag_name(const vendor_tag_ops_t* vOps, uint32_t tag) { argument
72 static int default_get_tag_type(const vendor_tag_ops_t* vOps, uint32_t tag) { argument
99 // Ensure reasonable tag count
106 // Get all tag ids
113 uint32_t tag; local
115 // For each tag id, check whether type, section name, tag nam
156 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 DStagefrightMediaScanner.cpp171 const char *tag; member in struct:android::KeyMap
196 status = client.addStringTag(kKeyMap[i].tag, value);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp329 bool FrameProcessor::get3aResult(const CameraMetadata& result, int32_t tag, argument
338 entry = result.find(tag);
342 get_camera_metadata_tag_name(tag), frameNumber);
/frameworks/base/core/java/android/os/
H A DPersistableBundle.java201 public Object readThisUnknownObjectXml(XmlPullParser in, String tag) argument
203 if (TAG_PERSISTABLEMAP.equals(tag)) {
206 throw new XmlPullParserException("Unknown tag=" + tag);
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java283 * Sets a tag that is valid in the context of a {@link PrintService}
285 * may set as a tag the key of the print job returned by a remote
288 * @param tag The tag.
289 * @return True if the tag was set, false otherwise.
291 public boolean setTag(String tag) { argument
297 return mPrintServiceClient.setPrintJobTag(mCachedInfo.getId(), tag);
299 Log.e(LOG_TAG, "Error setting tag for job: " + mCachedInfo.getId(), re);
305 * Gets the print job tag.
307 * @return The tag o
[all...]
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java31 private final String tag; field in class:StatusBarNotification
45 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument
47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user,
51 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument
60 this.tag = tag;
76 this.tag = in.readString();
78 this.tag = null;
91 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid;
111 if (this.tag !
[all...]

Completed in 6948 milliseconds

12345678910