Home
last modified time | relevance | path

Searched refs:getCategory (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/metrics/
DMetricsReaderTest.java77 assertEquals(i, log.getCategory()); in testNonBlockingRead()
90 assertEquals(i, log.getCategory()); in testReset()
113 assertEquals(i, log.getCategory()); in testWriteCheckpoint()
DLogMakerTest.java58 assertEquals(category, parsed.getCategory()); in testSerializeDeserialize()
137 assertEquals(MetricsEvent.MAIN_SETTINGS, builder.getCategory()); in testSetAndClearCategory()
139 assertEquals(MetricsEvent.VIEW_UNKNOWN, builder.getCategory()); in testSetAndClearCategory()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb20ACHeader.java36 public byte getCategory() { in getCategory() method in Usb20ACHeader
58 canvas.writeListItem("Category: " + ReportCanvas.getHexString(getCategory())); in report()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java415 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast()
472 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV, cmasInfo.getCategory()); in testCmasExtremeAlertType1Elements()
527 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in testCmasNoRecordType0()
652 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, programData.getCategory()); in testServiceCategoryProgramDataAddCategory()
710 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
719 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
757 assertEquals("category", cmasInfo.getCategory(), SmsCbCmasInfo.CMAS_CATEGORY_OTHER); in testDecodeRawBearerData()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/
DVideoInfo.java67 public String getCategory() { in getCategory() method in VideoInfo
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java96 public int getCategory() { in getCategory() method in CdmaSmsCbProgramResults
DCdmaSmsCbProgramData.java145 public int getCategory() { in getCategory() method in CdmaSmsCbProgramData
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java97 mCategory = th.getCategory(); in TelephonyHistogram()
109 public int getCategory() { in getCategory() method in TelephonyHistogram
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java146 if (arg.getCategory() != mCategory) { in matches()
147 mInvalid = "Expected category " + mCategory + " but was " + arg.getCategory(); in matches()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyHistogramTest.java44 assertEquals(TelephonyHistogram.TELEPHONY_CATEGORY_RIL, mHistogram.getCategory()); in testTelephonyHistogramConstructor()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbCmasInfo.java245 public int getCategory() { in getCategory() method in SmsCbCmasInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java70 return checkField("category", argument.getCategory(), ACTION_NAV_BUTTON_EVENT) in testMetrics()
/frameworks/base/media/java/android/media/
DMediaRouter.java1066 final RouteCategory cat = info.getCategory(); in addRouteStatic()
1072 final RouteGroup group = new RouteGroup(info.getCategory()); in addRouteStatic()
1122 final RouteCategory removingCat = info.getCategory(); in removeRouteStatic()
1126 final RouteCategory cat = sStatic.mRoutes.get(i).getCategory(); in removeRouteStatic()
1816 public RouteCategory getCategory() { in getCategory() method in MediaRouter.RouteInfo
2113 ", category=" + getCategory() + in toString()
2437 if (route.getCategory() != mCategory) { in addRoute()
2440 "(Route category=" + route.getCategory() + in addRoute()
2462 if (route.getCategory() != mCategory) { in addRoute()
2465 "(Route category=" + route.getCategory() + in addRoute()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java98 if (log.getCategory() == MetricsEvent.METRICS_CHECKPOINT) { in read()
DLogMaker.java284 public int getCategory() { in getCategory() method in LogMaker
/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java91 public String getCategory() { in getCategory() method in AidGroup
DApduServiceInfo.java394 mDynamicAidGroups.put(aidGroup.getCategory(), aidGroup); in setOrReplaceDynamicAidGroup()
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
DMediaRouterJellybean.java148 public static Object getCategory(Object routeObj) { in getCategory() method in MediaRouterJellybean.RouteInfo
149 return ((android.media.MediaRouter.RouteInfo)routeObj).getCategory(); in getCategory()
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java284 cv.put(Telephony.CellBroadcasts.CMAS_CATEGORY, cmasInfo.getCategory()); in getContentValues()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java90 if (!f2.hasCategory(f1.getCategory(i))) { in filterEquals()
/frameworks/base/core/java/android/content/
DIntentFilter.java1430 public final String getCategory(int index) { in getCategory() method in IntentFilter
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java492 histogramProto.category = rilHistogram.getCategory(); in buildProto()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java872 int category = result.getCategory(); in encodeScpResults()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompat.java4617 public static String getCategory(Notification notification) { in getCategory() method in NotificationCompat
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java3368 String cat = tmpPa.getCategory(i); in applyDefaultPreferredActivityLPw()

123