Searched defs:tag (Results 1 - 25 of 159) sorted by last modified time

1234567

/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DAndroidJUnitRunner.java203 private boolean getBooleanArgument(Bundle arguments, String tag) { argument
204 String tagString = arguments.getString(tag);
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java54 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 DTrafficStatsCompatIcs.java40 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 DBackStackRecord.java378 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 DDialogFragment.java114 * 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 DFragmentManager.java167 * Finds a fragment that was identified by the given tag either when inflated
174 public abstract Fragment findFragmentByTag(String tag); argument
1291 public Fragment findFragmentByTag(String tag) { argument
1292 if (mAdded != null && tag != null) {
1296 if (f != null && tag.equals(f.mTag)) {
1301 if (mActive != null && tag != null) {
1305 if (f != null && tag.equals(f.mTag)) {
H A DFragmentTabHost.java62 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 DFragmentTransaction.java30 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 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/support/v4/java/android/support/v4/util/
H A DLogWriter.java35 * 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/volley/src/com/android/volley/
H A DRequest.java96 * Set a tag on this request. Can be used to cancel all requests with this
97 * tag by {@link RequestQueue#cancelAll(Object)}.
99 public void setTag(Object tag) { argument
100 mTag = tag;
104 * Returns this request's tag.
121 public void addMarker(String tag) { argument
123 mEventLog.add(tag, Thread.currentThread().getId());
134 void finish(final String tag) { argument
147 mEventLog.add(tag, threadId);
154 mEventLog.add(tag, threadI
[all...]
H A DRequestQueue.java190 * 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/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnection.java86 public int tag; field in class:DataConnection.ConnectionParams
99 public int tag; field in class:DataConnection.DisconnectParams
563 } else if (cp.tag != mTag) {
565 log("BUG: onSetupConnectionCompleted is stale cp.tag=" + cp.tag + ", mtag=" + mTag);
883 cp.tag = mTag;
988 if (cp.tag == mTag) {
1000 log("DcActivatingState EVENT_GET_LAST_FAIL_DONE is stale cp.tag="
1001 + cp.tag + ", mTag=" + mTag);
1074 dp.tag
[all...]
H A DDataConnectionTracker.java148 protected static final String DATA_STALL_ALARM_TAG_EXTRA = "data.stall.alram.tag";
1343 protected void onDataStallAlarm(int tag) { argument
1344 if (mDataStallAlarmTag != tag) {
1346 log("onDataStallAlarm: ignore, tag=" + tag + " expecting " + mDataStallAlarmTag);
1359 log("onDataStallAlarm: tag=" + tag + " do recovery action=" + getRecoveryAction());
1365 log("onDataStallAlarm: tag=" + tag + " Sent " + String.valueOf(mSentSinceLastRecv) +
1390 log("startDataStallAlarm: tag
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DBerTlv.java37 private BerTlv(int tag, List<ComprehensionTlv> ctlvs) { argument
38 mTag = tag;
52 * Gets a tag id of the BER-TLV object.
54 * @return A tag integer.
70 int tag, length = 0;
73 /* tag */
74 tag = data[curIndex++] & 0xff;
75 if (tag == BER_PROACTIVE_COMMAND_TAG) {
93 "Expected first byte to be length or a length tag and < 0x81" +
98 if (ComprehensionTlvTag.COMMAND_DETAILS.value() == (tag
[all...]
H A DCommandParamsFactory.java228 * Search for a COMPREHENSION-TLV object with the given tag from a list
230 * @param tag A tag to search for
233 * @return A ComprehensionTlv object that has the tag value of {@code tag}.
234 * If no object is found with the tag, null is returned.
236 private ComprehensionTlv searchForTag(ComprehensionTlvTag tag, argument
239 return searchForNextTag(tag, iter);
243 * Search for the next COMPREHENSION-TLV object with the given tag from a
248 * @param tag
254 searchForNextTag(ComprehensionTlvTag tag, Iterator<ComprehensionTlv> iter) argument
[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 Log.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/native/include/utils/
H A DTrace.h33 // following ATRACE_TAG_* macros. The trace tag is used to filter tracing in
43 #define ATRACE_TAG_NEVER 0 // The "never" tag is never enabled.
44 #define ATRACE_TAG_ALWAYS (1<<0) // The "always" tag is always enabled.
79 // ATRACE_ENABLED returns true if the trace tag is enabled. It can be used as a
94 static inline bool isTagEnabled(uint64_t tag) { argument
96 return sEnabledTags & tag;
99 static inline void traceCounter(uint64_t tag, const char* name, argument
101 if (CC_UNLIKELY(isTagEnabled(tag))) {
108 static inline void traceBegin(uint64_t tag, const char* name) { argument
109 if (CC_UNLIKELY(isTagEnabled(tag))) {
116 traceEnd(uint64_t tag) argument
177 ScopedTrace(uint64_t tag, const char* name) argument
[all...]
/frameworks/native/libs/utils/
H A DLog.cpp24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument
26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp142 char tag[256]; local
161 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {
162 //ALOGD(">>> %u %u %s", dpy, impl, tag);
164 if (tag != String8("android")) {
165 mDriverTag = tag;
183 char const* tag = mDriverTag.string(); local
184 if (tag) {
185 dso = load_driver("GLES", tag, cnx, EGL | GLESv1_CM | GLESv2);
190 dso = load_driver("EGL", tag, cnx, EGL);
194 hnd->set( load_driver("GLESv1_CM", tag, cn
270 load_driver(const char* kind, const char *tag, egl_connection_t* cnx, uint32_t mask) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1124 ::google::protobuf::uint32 tag; local
1125 while ((tag = input->ReadTag()) != 0) {
1126 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1129 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1147 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1163 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1169 } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1185 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1191 } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1207 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1495 ::google::protobuf::uint32 tag; local
1744 ::google::protobuf::uint32 tag; local
[all...]
/frameworks/native/services/powermanager/
H A DIPowerManager.cpp44 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) argument
51 data.writeString16(tag);
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp233 BCHeaderField::FixedSubfield tag; member in struct:IntFieldHelper
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java79 protected String tag() { method in class:NotificationTestList
H A DPowerTest.java39 protected String tag() { method in class:PowerTest

Completed in 2948 milliseconds

1234567