/frameworks/base/core/tests/coretests/src/android/metrics/ |
D | MetricsReaderTest.java | 81 assertEquals(i, log.getCategory()); in testNonBlockingRead() 94 assertEquals(i, log.getCategory()); in testReset() 117 assertEquals(i, log.getCategory()); in testWriteCheckpoint()
|
D | LogMakerTest.java | 63 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/ |
D | Usb20ACHeader.java | 36 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/ |
D | Categorizer.java | 37 Category getCategory(int userId, @NonNull String packageName, @Nullable String tag); in getCategory() method
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationAttributesTest.java | 35 assertEquals(VibrationAttributes.CATEGORY_KEYBOARD, attr.getCategory()); in testSimple()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 417 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/ |
D | Complication.java | 229 default int getCategory() { in getCategory() method
|
D | ComplicationHostViewController.java | 163 viewHolder.getLayoutParams(), viewHolder.getCategory()); in updateComplications()
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaSmsCbProgramResults.java | 96 public int getCategory() { in getCategory() method in CdmaSmsCbProgramResults
|
D | CdmaSmsCbProgramData.java | 207 public @Category int getCategory() { in getCategory() method in CdmaSmsCbProgramData
|
/frameworks/base/nfc/java/android/nfc/cardemulation/ |
D | ApduServiceInfo.java | 207 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()
|
D | AidGroup.java | 117 public String getCategory() { in getCategory() method in AidGroup
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyHistogram.java | 96 mCategory = th.getCategory(); in TelephonyHistogram() 108 public int getCategory() { in getCategory() method in TelephonyHistogram
|
D | SmsCbCmasInfo.java | 335 public @Category int getCategory() { in getCategory() method in SmsCbCmasInfo
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/ |
D | EventsTest.java | 102 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/ |
D | MetricsLoggerTest.java | 56 assertThat(event.getCategory()).isEqualTo(TEST_ACTION); in testAction()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyHistogramTest.java | 45 assertEquals(TelephonyHistogram.TELEPHONY_CATEGORY_RIL, mHistogram.getCategory()); in testTelephonyHistogramConstructor()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkGroup.java | 65 public @BenchmarkCategory int getCategory() { return mCategory; } in getCategory() method in BenchmarkGroup.Benchmark
|
D | BenchmarkRegistry.java | 97 @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/ |
D | HapticFeedbackVibrationProviderTest.java | 358 .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/ |
D | MediaRouter.java | 1176 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/ |
D | Vibration.java | 289 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/ |
D | WatchedIntentFilter.java | 597 public final String getCategory(int index) { in getCategory() method in WatchedIntentFilter 598 return mFilter.getCategory(index); in getCategory()
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 98 if (log.getCategory() == MetricsEvent.METRICS_CHECKPOINT) { in read()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | ComplicationHostViewControllerTest.java | 112 when(mViewHolder.getCategory()).thenReturn(COMPLICATION_CATEGORY); in setup()
|