/frameworks/base/core/java/com/android/server/ |
H A D | BootReceiver.java | 207 String headers, String filename, int maxSize, String tag) throws IOException { 208 addFileWithFootersToDropBox(db, timestamps, headers, "", filename, maxSize, tag); 214 String tag) throws IOException { 215 if (db == null || !db.isTagEnabled(tag)) return; // Logging disabled 227 Slog.i(TAG, "Copying " + filename + " to DropBox (" + tag + ")"); 228 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n") + 233 HashMap<String, Long> timestamps, String headers, int maxSize, String tag) 235 if (db == null || !db.isTagEnabled(tag)) return; // Logging disabled 247 if (timestamps.containsKey(tag) && timestamps.get(tag) 205 addFileToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String filename, int maxSize, String tag) argument 211 addFileWithFootersToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String footers, String filename, int maxSize, String tag) argument 232 addAuditErrorsToDropBox(DropBoxManager db, HashMap<String, Long> timestamps, String headers, int maxSize, String tag) argument 264 addFsckErrorsToDropBox(DropBoxManager db, HashMap<String, Long> timestamps, String headers, int maxSize, String tag) argument [all...] |
H A D | NetworkManagementSocketTagger.java | 53 public static void setThreadSocketStatsTag(int tag) { argument 54 threadSocketTags.get().statsTag = tag; 66 public void tag(FileDescriptor fd) throws SocketException { method in class:NetworkManagementSocketTagger 76 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { argument 77 if (tag == -1 && uid == -1) return; 80 final int errno = native_tagSocketFd(fd, tag, uid); 83 + tag + ", " + 134 * Convert {@code /proc/} tag format to {@link Integer}. Assumes incoming 146 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); argument 149 private static native int native_deleteTagData(int tag, in argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Log.cpp | 18 #define LOG_NAMESPACE "log.tag." 46 static jboolean isLoggable(const char* tag, jint level) { argument 47 return __android_log_is_loggable(level, tag, ANDROID_LOG_INFO); 50 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) argument 52 if (tag == NULL) { 56 const char* chars = env->GetStringUTFChars(tag, NULL); 64 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %zu characters\n", 72 env->ReleaseStringUTFChars(tag, chars); 76 bool android_util_Log_isVerboseLogEnabled(const char* tag) { argument 77 return isLoggable(tag, level 87 const char* tag = NULL; local [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 514 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, 516 int index = stats.findIndex(iface, uid, set, tag, roaming); 518 assertValues(stats, index, iface, uid, set, tag, roaming, 523 int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, 526 assertValues(entry, iface, uid, set, tag, roaming); 531 NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) { 535 assertEquals(tag, entry.tag); 513 assertContains(NetworkStats stats, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 522 assertValues(NetworkStats stats, int index, String iface, int uid, int set, int tag, int roaming, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 530 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag, int roaming) argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 159 int tag, long rxBytes, long txBytes) { 160 final int i = stats.findIndex(iface, uid, set, tag, ROAMING_NO); 167 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { 168 final int i = stats.findIndex(iface, uid, set, tag, ROAMING_NO); 158 assertStatsEntry(NetworkStats stats, String iface, int uid, int set, int tag, long rxBytes, long txBytes) argument 166 assertStatsEntry(NetworkStats stats, String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | FontListParser.java | 47 Axis(int tag, float styleValue) { argument 48 this.tag = tag; 51 public final int tag; field in class:FontListParser.Axis 108 String tag = parser.getName(); 109 if (tag.equals("family")) { 111 } else if (tag.equals("alias")) { 128 String tag = parser.getName(); 129 if (tag.equals("font")) { 156 String tag [all...] |
/frameworks/base/libs/common_time/ |
H A D | utils.cpp | 67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { argument 70 internalLog(prio, tag, fmt, argp); 82 const char* tag, 109 if (NULL != tag) 110 LOG_PRI_VA(prio, tag, fmt, argp); 81 internalLog(int prio, const char* tag, const char* fmt, va_list argp) argument
|
/frameworks/base/libs/hwui/hwui/ |
H A D | MinikinSkia.cpp | 71 const void* MinikinFontSkia::GetTable(uint32_t tag, size_t* size, MinikinDestroyFunc* destroy) { argument 73 const size_t tableSize = mTypeface->getTableSize(tag); 82 mTypeface->getTableData(tag, 0, tableSize, buf);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProviderBase.java | 115 public LocationProviderBase(String tag, ProviderPropertiesUnbundled properties) { argument 116 TAG = tag;
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 141 * @param tag a string to use for debugging 143 public AsyncPlayer(String tag) { argument 144 if (tag != null) { 145 mTag = tag;
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionManager.java | 74 * @param tag A short name for debugging purposes. 79 @NonNull String tag, int userId) throws RemoteException { 80 return mService.createSession(mContext.getPackageName(), cbStub, tag, userId); 78 createSession(@onNull MediaSession.CallbackStub cbStub, @NonNull String tag, int userId) argument
|
/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();
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiUtils.java | 132 * @param tag the tag of caller module (for log message) 135 static boolean checkCommandSource(HdmiCecMessage cmd, int expectedAddress, String tag) { argument 138 Slog.w(tag, "Invalid source [Expected:" + expectedAddress + ", Actual:" + src + "]");
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationDelegate.java | 27 String pkg, String tag, int id, int userId); 29 String pkg, String tag, int id, 26 onNotificationClear(int callingUid, int callingPid, String pkg, String tag, int id, int userId) argument 28 onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id, int uid, int initialPid, String message, int userId) argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DisplayListLayersActivity.java | 94 LayerView(Context context, int color, int layerType, String tag) { argument 97 mTag = tag; 103 private void log(String tag) { argument 104 Log.d(LOG_TAG, mTag + ": " + tag);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 78 protected String tag() { method in class:NotificationTestList
|
/frameworks/minikin/libs/minikin/ |
H A D | HbFontCache.cpp | 31 static hb_blob_t* referenceTable(hb_face_t* /* face */, hb_tag_t tag, void* userData) { argument 35 const void* buffer = font->GetTable(tag, &size, &destroy); 41 (tag >>24)&0xff, (tag>>16)&0xff, (tag>>8)&0xff, tag&0xff, size);
|
/frameworks/native/services/powermanager/ |
H A D | IPowerManager.cpp | 38 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, argument 46 data.writeString16(tag); 49 data.writeString16(NULL, 0); // no history tag 54 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, argument 62 data.writeString16(tag);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | MockAlarmManager.java | 65 * Dispatch a pending alarm with the given tag 68 public boolean dispatch(String tag) { argument 71 if (Objects.equals(tag, alarm.getTag())) { 81 * @return if an alarm with the given tag is pending 83 public boolean isPending(String tag) { argument 86 if (Objects.equals(tag, alarm.getTag())) { 94 * @return trigger time of an pending alarm with the given tag 95 * -1 if no pending alram with the given tag 97 public long getTriggerTimeMillis(String tag) { argument 100 if (Objects.equals(tag, alar 113 PendingAlarm(int type, long triggerAtMillis, String tag, Runnable callback) argument 140 answer(int type, long triggerAtMillis, String tag, AlarmManager.OnAlarmListener listener, Handler handler) argument [all...] |
/frameworks/rs/api/ |
H A D | Scanner.cpp | 117 bool Scanner::findTag(const char* tag) { argument 118 bool found = findOptionalTag(tag); 120 error() << "Found \"" << mTag << "\" while looking for \"" << tag << "\".\n"; local 126 bool Scanner::findOptionalTag(const char* tag) { argument 132 mTagConsumed = (mTag == tag); 136 void Scanner::skipUntilTag(const char* tag) { argument 137 while(!findOptionalTag(tag)) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionMode.java | 43 * Set a tag object associated with this ActionMode. 45 * <p>Like the tag available to views, this allows applications to associate arbitrary 48 * @param tag Tag to associate with this ActionMode 52 public void setTag(Object tag) { argument 53 mTag = tag; 57 * Retrieve the tag object associated with this ActionMode. 59 * <p>Like the tag available to views, this allows applications to associate arbitrary
|
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | RequestQueue.java | 207 * Cancels all requests in this queue with the given tag. Tag must be non-null 210 public void cancelAll(final Object tag) { argument 211 if (tag == null) { 212 throw new IllegalArgumentException("Cannot cancelAll with a null tag"); 217 return request.getTag() == tag;
|
H A D | VolleyLog.java | 30 * {@code <android-sdk>/platform-tools/adb shell setprop log.tag.Volley VERBOSE} 38 * Customize the log tag for your application, so that other apps 41 * Enable the log property for your tag before starting your app: 43 * {@code adb shell setprop log.tag.<tag>} 45 public static void setTag(String tag) { argument 46 d("Changing log tag to %s", tag); 47 TAG = tag;
|
/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 39 static const char* vendor_tag_descriptor_get_section_name(const vendor_tag_ops_t* v, uint32_t tag); 40 static const char* vendor_tag_descriptor_get_tag_name(const vendor_tag_ops_t* v, uint32_t tag); 41 static int vendor_tag_descriptor_get_tag_type(const vendor_tag_ops_t* v, uint32_t tag); 108 ALOGE("%s: could not read tag count from parcel", __FUNCTION__); 113 ALOGE("%s: tag count %d from vendor ops is invalid.", __FUNCTION__, tagCount); 119 uint32_t tag, sectionIndex; local 124 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) { 125 ALOGE("%s: could not read tag id from parcel for index %d", __FUNCTION__, i); 128 if (tag < CAMERA_METADATA_VENDOR_TAG_BOUNDARY) { 129 ALOGE("%s: vendor tag 194 uint32_t tag = allTags[i]; local 259 uint32_t tag, sectionIndex; local 318 uint32_t tag = mTagToNameMap.keyAt(i); local 368 uint32_t tag = tagArray[i]; local 401 uint32_t tag = tagArray[i]; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 272 AString tag = "feature-"; local 273 tag.append(key); 274 mCurrentCaps->mDetails->setInt32(tag.c_str(), value); 278 AString tag = "feature-"; local 279 tag.append(key); 280 mCurrentCaps->mDetails->setString(tag.c_str(), value);
|