/frameworks/base/core/java/android/app/ |
H A D | FragmentTransaction.java | 16 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 19 * Calls {@link #add(int, Fragment, String)} with a null tag. 32 * @param tag Optional tag name for the fragment, to later retrieve the 38 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); argument 41 * Calls {@link #replace(int, Fragment, String)} with a null tag. 55 * @param tag Optional tag name for the fragment, to later retrieve the 61 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); argument
|
H A D | DialogFragment.java | 217 * fragment to it with the given tag, and committing it. This does 222 * @param tag The tag for this fragment, as per 225 public void show(FragmentManager manager, String tag) { argument 229 ft.add(this, tag); 237 * @param tag The tag for this fragment, as per 242 public int show(FragmentTransaction transaction, String tag) { argument 245 transaction.add(this, tag);
|
/frameworks/base/core/java/android/os/ |
H A D | Trace.java | 63 private static native void nativeTraceCounter(long tag, String name, int value); argument 64 private static native void nativeTraceBegin(long tag, String name); argument 65 private static native void nativeTraceEnd(long tag); argument 87 * Caches a copy of the enabled-tag bits. The "master" copy is held by the native code, 111 * Returns true if a trace tag is enabled. 113 * @param traceTag The trace tag to check. 114 * @return True if the trace tag is valid. 127 * @param traceTag The trace tag. 139 * Must be followed by a call to {@link #traceEnd} using the same tag. 141 * @param traceTag The trace tag [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Spanned.java | 174 public int getSpanStart(Object tag); argument 180 public int getSpanEnd(Object tag); argument 187 public int getSpanFlags(Object tag); argument
|
/frameworks/base/core/java/android/text/method/ |
H A D | ReplacementTransformationMethod.java | 187 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);
|
/frameworks/base/core/java/android/util/ |
H A D | Log.java | 98 void onTerribleFailure(String tag, TerribleFailure what); argument 102 public void onTerribleFailure(String tag, TerribleFailure what) { 103 RuntimeInit.wtf(tag, what); 112 * @param tag Used to identify the source of a log message. It usually identifies 116 public static int v(String tag, String msg) { argument 117 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg); 122 * @param tag Used to identify the source of a log message. It usually identifies 127 public static int v(String tag, String msg, Throwable tr) { argument 128 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr)); 133 * @param tag Use 137 d(String tag, String msg) argument 148 d(String tag, String msg, Throwable tr) argument 158 i(String tag, String msg) argument 169 i(String tag, String msg, Throwable tr) argument 179 w(String tag, String msg) argument 190 w(String tag, String msg, Throwable tr) argument 212 isLoggable(String tag, int level) argument 220 w(String tag, Throwable tr) argument 230 e(String tag, String msg) argument 241 e(String tag, String msg, Throwable tr) argument 254 wtf(String tag, String msg) argument 264 wtf(String tag, Throwable tr) argument 275 wtf(String tag, String msg, Throwable tr) argument 331 println(int priority, String tag, String msg) argument 340 println_native(int bufID, int priority, String tag, String msg) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 36 * Set a tag object associated with this ActionMode. 38 * <p>Like the tag available to views, this allows applications to associate arbitrary 41 * @param tag Tag to associate with this ActionMode 45 public void setTag(Object tag) { argument 46 mTag = tag; 50 * Retrieve the tag object associated with this ActionMode. 52 * <p>Like the tag available to views, this allows applications to associate arbitrary
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RuntimeInit.java | 324 * @param tag to record with the error 327 public static void wtf(String tag, Throwable t) { argument 330 mApplicationObject, tag, new ApplicationErrorReport.CrashInfo(t))) {
|
/frameworks/base/core/java/com/android/server/ |
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." 60 static jboolean isLoggable(const char* tag, jint level) { argument 63 key.append(tag); 74 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) argument 76 if (tag == NULL) { 80 const char* chars = env->GetStringUTFChars(tag, NULL); 88 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %d characters\n", 96 env->ReleaseStringUTFChars(tag, chars); 100 bool android_util_Log_isVerboseLogEnabled(const char* tag) { argument 101 return isLoggable(tag, level 111 const char* tag = NULL; local [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 314 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 316 assertValues(entry, iface, uid, set, tag); 321 NetworkStats.Entry entry, String iface, int uid, int set, int tag) { 325 assertEquals(tag, entry.tag); 313 assertValues(NetworkStats stats, int index, String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 320 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag) argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 158 int tag, long rxBytes, long txBytes) { 159 final int i = stats.findIndex(iface, uid, set, tag); 166 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { 167 final int i = stats.findIndex(iface, uid, set, tag); 157 assertStatsEntry(NetworkStats stats, String iface, int uid, int set, int tag, long rxBytes, long txBytes) argument 165 assertStatsEntry(NetworkStats stats, String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) argument
|
/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/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsDialog.java | 169 RecentTag tag = null; 175 tag = (RecentTag) mIcons[i].getTag(); 181 if (tag != null) { 182 switchTo(tag); 193 RecentTag tag = (RecentTag)b.getTag(); 194 switchTo(tag); 201 private void switchTo(RecentTag tag) { argument 202 if (tag.info.id >= 0) { 206 am.moveTaskToFront(tag.info.id, ActivityManager.MOVE_TASK_WITH_HOME); 207 } else if (tag [all...] |
/frameworks/base/services/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/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 | 79 protected String tag() { method in class:NotificationTestList
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | RequestQueue.java | 190 * Cancels all requests in this queue with the given tag. Tag must be non-null 193 public void cancelAll(final Object tag) { argument 194 if (tag == null) { 195 throw new IllegalArgumentException("Cannot cancelAll with a null tag"); 200 return request.getTag() == tag;
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 142 * @param tag a string to use for debugging 144 public AsyncPlayer(String tag) { argument 145 if (tag != null) { 146 mTag = tag;
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CameraMetadata.cpp | 95 status_t CameraMetadata::checkType(uint32_t tag, uint8_t expectedType) { argument 96 int tagType = get_camera_metadata_tag_type(tag); 98 ALOGE("Update metadata entry: Unknown tag %d", tag); 102 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; " 104 get_camera_metadata_tag_name(tag), tag, 112 status_t CameraMetadata::update(uint32_t tag, argument 115 if ( (res = checkType(tag, TYPE_INT32)) != OK) { 118 return update(tag, (cons 121 update(uint32_t tag, const uint8_t *data, size_t data_count) argument 130 update(uint32_t tag, const float *data, size_t data_count) argument 139 update(uint32_t tag, const int64_t *data, size_t data_count) argument 148 update(uint32_t tag, const double *data, size_t data_count) argument 157 update(uint32_t tag, const camera_metadata_rational_t *data, size_t data_count) argument 166 update(uint32_t tag, const String8 &string) argument 175 update(uint32_t tag, const void *data, size_t data_count) argument 208 find(uint32_t tag) argument 230 erase(uint32_t tag) argument [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminInfo.java | 60 * tag in the "uses-policies" section of its meta-data. 71 * tag in the "uses-policies" section of its meta-data. 81 * tag in the "uses-policies" section of its meta-data. 92 * tag in the "uses-policies" section of its meta-data. 102 * tag in the "uses-policies" section of its meta-data. 111 * tag in the "uses-policies" section of its meta-data. 121 * tag in the "uses-policies" section of its meta-data. 129 * tag in the "uses-policies" section of its meta-data. 137 * tag in the "uses-policies" section of its meta-data. 145 * tag i 152 final public String tag; field in class:DeviceAdminInfo.PolicyInfo [all...] |
/frameworks/base/core/java/android/net/ |
H A D | DummyDataStateTracker.java | 53 * @param tag the name of this network 55 public DummyDataStateTracker(int netType, String tag) { argument
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 328 * Logging tag and level. 332 private final String tag; field in class:AndroidHttpClient.LoggingConfiguration 335 private LoggingConfiguration(String tag, int level) { argument 336 this.tag = tag; 344 return Log.isLoggable(tag, level); 351 Log.println(level, tag, message);
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 67 * {@link NfcA} will also be enumerated on the tag, because all MIFARE Classic tags are also 96 /** A MIFARE Classic tag */ 98 /** A MIFARE Plus tag */ 100 /** A MIFARE Pro tag */ 126 * Get an instance of {@link MifareClassic} for the given tag. 129 * This indicates the tag is not MIFARE Classic compatible, or this Android 132 * @param tag an MIFARE Classic compatible tag 135 public static MifareClassic get(Tag tag) { argument 136 if (!tag 145 MifareClassic(Tag tag) argument [all...] |
H A D | Ndef.java | 41 * on a tag. 43 * <p>There are currently four NFC Forum standardized tag types that can be 134 * Get an instance of {@link Ndef} for the given tag. 137 * This indicates the tag is not NDEF formatted, or that this tag 143 * @param tag an NDEF compatible tag 146 public static Ndef get(Tag tag) { argument 147 if (!tag.hasTech(TagTechnology.NDEF)) return null; 149 return new Ndef(tag); 159 Ndef(Tag tag) argument [all...] |