/frameworks/volley/src/com/android/volley/ |
H A D | Request.java | 65 /** Default tag for {@link TrafficStats}. */ 140 * Set a tag on this request. Can be used to cancel all requests with this 141 * tag by {@link RequestQueue#cancelAll(Object)}. 143 public void setTag(Object tag) { argument 144 mTag = tag; 148 * Returns this request's tag. 156 * @return A tag for use with {@link TrafficStats#setThreadStatsTag(int)} 172 public void addMarker(String tag) { argument 174 mEventLog.add(tag, Thread.currentThread().getId()); 185 void finish(final String tag) { argument [all...] |
H A D | RequestQueue.java | 197 * Cancels all requests in this queue with the given tag. Tag must be non-null 200 public void cancelAll(final Object tag) { argument 201 if (tag == null) { 202 throw new IllegalArgumentException("Cannot cancelAll with a null tag"); 207 return request.getTag() == tag;
|
H A D | VolleyLog.java | 33 * Customize the log tag for your application, so that other apps 36 * Enable the log property for your tag before starting your app: 38 * {@code adb shell setprop log.tag.<tag>} 40 public static void setTag(String tag) { argument 41 d("Changing log tag to %s", tag); 42 TAG = tag;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 94 private FromHeader createFromHeader(SipProfile profile, String tag) argument 96 return mHeaderFactory.createFromHeader(profile.getSipAddress(), tag); 103 private ToHeader createToHeader(SipProfile profile, String tag) argument 105 return mHeaderFactory.createToHeader(profile.getSipAddress(), tag); 196 String tag) throws SipException { 199 ? createRequest(Request.OPTIONS, caller, tag) 200 : createRequest(Request.OPTIONS, caller, callee, tag); 211 public ClientTransaction sendRegister(SipProfile userProfile, String tag, argument 214 Request request = createRequest(Request.REGISTER, userProfile, tag); 234 String tag) throw 195 sendOptions(SipProfile caller, SipProfile callee, String tag) argument 233 createRequest(String requestType, SipProfile userProfile, String tag) argument 269 createRequest(String requestType, SipProfile caller, SipProfile callee, String tag) argument 287 sendInvite(SipProfile caller, SipProfile callee, String sessionDescription, String tag, ReferredByHeader referredBy, String replaces) argument 349 sendRinging(RequestEvent event, String tag) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | BerTlv.java | 38 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 D | CommandParamsFactory.java | 236 * Search for a COMPREHENSION-TLV object with the given tag from a list 238 * @param tag A tag to search for 241 * @return A ComprehensionTlv object that has the tag value of {@code tag}. 242 * If no object is found with the tag, null is returned. 244 private ComprehensionTlv searchForTag(ComprehensionTlvTag tag, argument 247 return searchForNextTag(tag, iter); 251 * Search for the next COMPREHENSION-TLV object with the given tag from a 256 * @param tag 262 searchForNextTag(ComprehensionTlvTag tag, Iterator<ComprehensionTlv> iter) argument [all...] |
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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcRetryAlarmController.java | 46 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);
|
H A D | DcTrackerBase.java | 157 protected static final String DATA_STALL_ALARM_TAG_EXTRA = "data.stall.alram.tag"; 1408 protected void onDataStallAlarm(int tag) { argument 1409 if (mDataStallAlarmTag != tag) { 1411 log("onDataStallAlarm: ignore, tag=" + tag + " expecting " + mDataStallAlarmTag); 1424 log("onDataStallAlarm: tag=" + tag + " do recovery action=" + getRecoveryAction()); 1430 log("onDataStallAlarm: tag=" + tag + " Sent " + String.valueOf(mSentSinceLastRecv) + 1456 log("startDataStallAlarm: tag [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentTabHost.java | 54 private final String tag; field in class:FragmentTabHost.TabInfo 60 tag = _tag; 74 public View createTabContent(String tag) { argument 216 String tag = tabSpec.getTag(); 218 TabInfo info = new TabInfo(tag, clss, args); 224 info.fragment = mFragmentManager.findFragmentByTag(tag); 247 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 249 if (tab.tag.equals(currentTab)) { 313 if (tab.tag.equals(tabId)) { 318 throw new IllegalStateException("No tab known for tag " [all...] |
/frameworks/support/v4/ics/android/support/v4/net/ |
H A D | TrafficStatsCompatIcs.java | 40 public static void incrementOperationCount(int tag, int operationCount) { argument 41 TrafficStats.incrementOperationCount(tag, operationCount); 44 public static void setThreadStatsTag(int tag) { argument 45 TrafficStats.setThreadStatsTag(tag);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | BackStackRecord.java | 378 public FragmentTransaction add(Fragment fragment, String tag) { argument 379 doAddOp(0, fragment, tag, OP_ADD); 388 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { argument 389 doAddOp(containerViewId, fragment, tag, OP_ADD); 393 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { argument 396 if (tag != null) { 397 if (fragment.mTag != null && !tag.equals(fragment.mTag)) { 398 throw new IllegalStateException("Can't change tag of fragment " 400 + " now " + tag); 402 fragment.mTag = tag; 424 replace(int containerViewId, Fragment fragment, String tag) argument [all...] |
H A D | DialogFragment.java | 114 * fragment to it with the given tag, and committing it. This does 119 * @param tag The tag for this fragment, as per 122 public void show(FragmentManager manager, String tag) { argument 126 ft.add(this, tag); 134 * @param tag The tag for this fragment, as per 139 public int show(FragmentTransaction transaction, String tag) { argument 142 transaction.add(this, tag);
|
H A D | FragmentManager.java | 168 * Finds a fragment that was identified by the given tag either when inflated 175 public abstract Fragment findFragmentByTag(String tag); argument 1305 public Fragment findFragmentByTag(String tag) { argument 1306 if (mAdded != null && tag != null) { 1310 if (f != null && tag.equals(f.mTag)) { 1315 if (mActive != null && tag != null) { 1319 if (f != null && tag.equals(f.mTag)) {
|
H A D | FragmentTabHost.java | 62 private final String tag; field in class:FragmentTabHost.TabInfo 68 tag = _tag; 82 public View createTabContent(String tag) { argument 224 String tag = tabSpec.getTag(); 226 TabInfo info = new TabInfo(tag, clss, args); 232 info.fragment = mFragmentManager.findFragmentByTag(tag); 255 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag); 257 if (tab.tag.equals(currentTab)) { 321 if (tab.tag.equals(tabId)) { 326 throw new IllegalStateException("No tab known for tag " [all...] |
H A D | FragmentTransaction.java | 30 public abstract FragmentTransaction add(Fragment fragment, String tag); argument 33 * Calls {@link #add(int, Fragment, String)} with a null tag. 46 * @param tag Optional tag name for the fragment, to later retrieve the 52 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); argument 55 * Calls {@link #replace(int, Fragment, String)} with a null tag. 69 * @param tag Optional tag name for the fragment, to later retrieve the 75 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); argument
|
/frameworks/support/v4/java/android/support/v4/net/ |
H A D | TrafficStatsCompat.java | 34 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/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 35 * and tag. 37 * @param tag A string tag to associate with each printed log statement. 39 public LogWriter(String tag) { argument 40 mTag = tag;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarImplBase.java | 623 public Tab setTag(Object tag) { argument 624 mTag = tag;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ActionModeWrapper.java | 45 public void setTag(Object tag) { argument 46 mWrappedObject.setTag(tag);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionMode.java | 45 * Set a tag object associated with this ActionMode. 47 * <p>Like the tag available to views, this allows applications to associate arbitrary data with 50 * @param tag Tag to associate with this ActionMode 53 public void setTag(Object tag) { argument 54 mTag = tag; 58 * Retrieve the tag object associated with this ActionMode. 60 * <p>Like the tag available to views, this allows applications to associate arbitrary data with
|
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
H A D | MediaRouterJellybean.java | 159 public static void setTag(Object routeObj, Object tag) { argument 160 ((android.media.MediaRouter.RouteInfo)routeObj).setTag(tag);
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
H A D | AndroidJUnitRunner.java | 170 private boolean getBooleanArgument(String tag) { argument 171 String tagString = getArguments().getString(tag);
|
/frameworks/native/include/utils/ |
H A D | Trace.h | 45 inline ScopedTrace(uint64_t tag, const char* name) argument 46 : mTag(tag) {
|
/frameworks/native/libs/utils/ |
H A D | Log.cpp | 24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument 26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
|