Home
last modified time | relevance | path

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

123

/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/services/core/java/com/android/server/utils/quota/
DCategorizer.java37 Category getCategory(int userId, @NonNull String packageName, @Nullable String tag); in getCategory() method
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationAttributesTest.java35 assertEquals(VibrationAttributes.CATEGORY_KEYBOARD, attr.getCategory()); in testSimple()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java417 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast()
474 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV, cmasInfo.getCategory()); in testCmasExtremeAlertType1Elements()
529 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in testCmasNoRecordType0()
654 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, programData.getCategory()); in testServiceCategoryProgramDataAddCategory()
712 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
721 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories()
759 assertEquals("category", cmasInfo.getCategory(), SmsCbCmasInfo.CMAS_CATEGORY_OTHER); in testDecodeRawBearerData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplication.java229 default int getCategory() { in getCategory() method
DComplicationHostViewController.java163 viewHolder.getLayoutParams(), viewHolder.getCategory()); in updateComplications()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java96 public int getCategory() { in getCategory() method in CdmaSmsCbProgramResults
DCdmaSmsCbProgramData.java207 public @Category int getCategory() { in getCategory() method in CdmaSmsCbProgramData
/frameworks/base/nfc/java/android/nfc/cardemulation/
DApduServiceInfo.java207 this.mStaticAidGroups.put(aidGroup.getCategory(), aidGroup); in ApduServiceInfo()
210 this.mDynamicAidGroups.put(aidGroup.getCategory(), aidGroup); in ApduServiceInfo()
356 if (!mStaticAidGroups.containsKey(currentGroup.getCategory())) { in ApduServiceInfo()
357 mStaticAidGroups.put(currentGroup.getCategory(), currentGroup); in ApduServiceInfo()
641 return group.getCategory(); in getCategoryForAid()
728 mDynamicAidGroups.put(aidGroup.getCategory(), aidGroup); in setDynamicAidGroup()
1014 pw.println(" Category: " + group.getCategory() in dump()
1022 pw.println(" Category: " + group.getCategory() in dump()
DAidGroup.java117 public String getCategory() { in getCategory() method in AidGroup
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java96 mCategory = th.getCategory(); in TelephonyHistogram()
108 public int getCategory() { in getCategory() method in TelephonyHistogram
DSmsCbCmasInfo.java335 public @Category int getCategory() { in getCategory() method in SmsCbCmasInfo
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/
DEventsTest.java102 assertEquals(mExpectedMetrics[0], logs.remove().getCategory()); in testLogEvent()
105 assertEquals(mExpectedMetrics[1], logs.remove().getCategory()); in testLogEvent()
/frameworks/base/core/tests/coretests/src/com/android/internal/logging/
DMetricsLoggerTest.java56 assertThat(event.getCategory()).isEqualTo(TEST_ACTION); in testAction()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyHistogramTest.java45 assertEquals(TelephonyHistogram.TELEPHONY_CATEGORY_RIL, mHistogram.getCategory()); in testTelephonyHistogramConstructor()
/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/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackVibrationProviderTest.java358 .that(attrs.getCategory()).isEqualTo(CATEGORY_UNKNOWN); in testVibrationAttribute_keyboardCategoryOff_isIme_notUseKeyboardCategory()
373 .that(attrs.getCategory()).isEqualTo(CATEGORY_UNKNOWN); in testVibrationAttribute_keyboardCategoryOn_notIme_notUseKeyboardCategory()
388 .that(attrs.getCategory()).isEqualTo(CATEGORY_KEYBOARD); in testVibrationAttribute_keyboardCategoryOn_isIme_useKeyboardCategory()
/frameworks/base/media/java/android/media/
DMediaRouter.java1176 final RouteCategory cat = info.getCategory(); in addRouteStatic()
1182 final RouteGroup group = new RouteGroup(info.getCategory()); in addRouteStatic()
1234 final RouteCategory removingCat = info.getCategory(); in removeRouteStatic()
1238 final RouteCategory cat = sStatic.mRoutes.get(i).getCategory(); in removeRouteStatic()
1946 public RouteCategory getCategory() { in getCategory() method in MediaRouter.RouteInfo
2283 ", category=" + getCategory() + in toString()
2605 if (route.getCategory() != mCategory) { in addRoute()
2608 "(Route category=" + route.getCategory() + in addRoute()
2630 if (route.getCategory() != mCategory) { in addRoute()
2633 "(Route category=" + route.getCategory() + in addRoute()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibration.java289 mCallerInfo.attrs.getCategory() != VibrationAttributes.CATEGORY_UNKNOWN in dumpCompact()
291 mCallerInfo.attrs.getCategory()) in dumpCompact()
342 proto.write(VibrationAttributesProto.CATEGORY, attrs.getCategory()); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentFilter.java597 public final String getCategory(int index) { in getCategory() method in WatchedIntentFilter
598 return mFilter.getCategory(index); in getCategory()
/frameworks/base/core/java/android/metrics/
DMetricsReader.java98 if (log.getCategory() == MetricsEvent.METRICS_CHECKPOINT) { in read()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationHostViewControllerTest.java112 when(mViewHolder.getCategory()).thenReturn(COMPLICATION_CATEGORY); in setup()

123