Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapperTest.java113 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_NoSeekbar()
118 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_NoSeekbar()
129 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_HasSeekbarNoScrubber()
137 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_HasSeekbarNoScrubber()
148 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_HasSeekbarAndScrubber()
153 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_HasSeekbarAndScrubber()
170 logMaker.getCategory() == MetricsEvent.MEDIA_NOTIFICATION_SEEKBAR in testLogging_UpdateSeekbar()
/frameworks/base/core/tests/coretests/src/android/metrics/
DMetricsReaderTest.java81 assertEquals(i, log.getCategory()); in testNonBlockingRead()
94 assertEquals(i, log.getCategory()); in testReset()
117 assertEquals(i, log.getCategory()); in testWriteCheckpoint()
DLogMakerTest.java63 assertEquals(category, parsed.getCategory()); in testSerializeDeserialize()
142 assertEquals(MetricsEvent.MAIN_SETTINGS, builder.getCategory()); in testSetAndClearCategory()
144 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/base/core/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java60 int category = getCategory(event); in writeEvent()
102 private static int getCategory(TextClassifierEvent event) { in getCategory() method in TextClassifierEventTronLogger
156 final String categoryName = toCategoryName(log.getCategory()); in debugLog()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java416 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast()
473 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV, cmasInfo.getCategory()); in testCmasExtremeAlertType1Elements()
528 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in testCmasNoRecordType0()
653 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, programData.getCategory()); in testServiceCategoryProgramDataAddCategory()
711 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
720 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
758 assertEquals("category", cmasInfo.getCategory(), SmsCbCmasInfo.CMAS_CATEGORY_OTHER); in testDecodeRawBearerData()
/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/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/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkGroup.java65 public @BenchmarkCategory int getCategory() { return mCategory; } in getCategory() method in BenchmarkGroup.Benchmark
DBenchmarkRegistry.java97 @BenchmarkCategory int getCategory(int category) { in getCategory() method in BenchmarkRegistry
139 int category = getCategory(testCategory); in parseBenchmarkGroup()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java564 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()
590 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLoggingFromWorkProfile()
617 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testEmptyPreviewLogging()
639 assertThat(logMakerCaptor.getAllValues().get(1).getCategory(), in testTitlePreviewLogging()
669 assertThat(logMakerCaptor.getAllValues().get(1).getCategory(), in testImagePreviewLogging()
828 assertThat(logMakerCaptor.getAllValues().get(2).getCategory(), in testDirectTargetSelectionLogging()
894 assertThat(logMakerCaptor.getAllValues().get(2).getCategory(), in testDirectTargetLoggingWithRankedAppTarget()
955 assertThat(logMakerCaptor.getAllValues().get(2).getCategory(), in testDirectTargetLoggingWithAppTargetNotRanked()
DIntentForwarderActivityTest.java557 logMakerCaptor.getValue().getCategory()); in forwardToManagedProfile_LoggingTest()
584 logMakerCaptor.getValue().getCategory()); in forwardToParent_LoggingTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java202 if (arg.getCategory() != mCategory) { in matches()
203 mInvalid = "Expected category " + mCategory + " but was " + arg.getCategory(); in matches()
/frameworks/base/media/java/android/media/
DMediaRouter.java1124 final RouteCategory cat = info.getCategory(); in addRouteStatic()
1130 final RouteGroup group = new RouteGroup(info.getCategory()); in addRouteStatic()
1182 final RouteCategory removingCat = info.getCategory(); in removeRouteStatic()
1186 final RouteCategory cat = sStatic.mRoutes.get(i).getCategory(); in removeRouteStatic()
1882 public RouteCategory getCategory() { in getCategory() method in MediaRouter.RouteInfo
2183 ", category=" + getCategory() + in toString()
2505 if (route.getCategory() != mCategory) { in addRoute()
2508 "(Route category=" + route.getCategory() + in addRoute()
2530 if (route.getCategory() != mCategory) { in addRoute()
2533 "(Route category=" + route.getCategory() + in addRoute()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DTextClassifierEventTronLoggerTest.java82 assertThat(logMaker.getCategory()).isEqualTo(CONVERSATION_ACTIONS); in testWriteEvent()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java100 if (log.getCategory() == MetricsEvent.METRICS_CHECKPOINT) { in read()
DLogMaker.java286 public int getCategory() { in getCategory() method in LogMaker
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java89 return checkField("category", argument.getCategory(), ACTION_NAV_BUTTON_EVENT) in testMetrics()
/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java97 public String getCategory() { in getCategory() method in AidGroup
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java270 public String getCategory() { in getCategory() method in OverlayInfo
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java235 final String categoryKey = tile.getCategory(); in getCategories()
DTile.java136 public String getCategory() { in getCategory() method in Tile

12