/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigValidTest.kt | 46 .setId("dynamic") in validConfig_matchesExpected() 52 .setId("dynamic_barebone") in validConfig_matchesExpected() 62 .setId("dynamic_all_optional") in validConfig_matchesExpected() 89 .setId("dynamic_all_references") in validConfig_matchesExpected() 116 .setId("dynamic_disabled") in validConfig_matchesExpected() 126 .setId("dynamic_hidden") in validConfig_matchesExpected() 134 .setId("dynamic_hidden_with_search") in validConfig_matchesExpected() 154 .setId("static") in validConfig_matchesExpected() 158 .setId("static_barebone") in validConfig_matchesExpected() 166 .setId("static_all_optional") in validConfig_matchesExpected() [all …]
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourcesGroupTest.kt | 202 .setId(STATEFUL_INFERRED_WITH_SUMMARY_ID) in builder_addSafetySource_doesNotMutatePreviouslyBuiltInstance() 219 .setId(HIDDEN_BAREBONE_ID) in build_hiddenGroupWithDynamicSource_throwsIllegalStateException() 236 .setId(HIDDEN_BAREBONE_ID) in build_hiddenGroupWithStaticSource_throwsIllegalStateException() 253 .setId(STATEFUL_BAREBONE_ID) in build_statefulGroupWithIssueOnlySource_throwsIllegalStateException() 272 .setId(STATELESS_BAREBONE_ID) in build_statelessGroupWithIssueOnlySource_throwsIllegalStateException() 336 .setId(STATEFUL_INFERRED_WITH_BOTH_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 360 .setId("other") in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 369 .setId(STATEFUL_INFERRED_WITH_BOTH_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 378 .setId(STATEFUL_INFERRED_WITH_BOTH_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 387 .setId(STATEFUL_INFERRED_WITH_BOTH_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
D | SafetySourceTest.kt | 377 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 410 .setId("other") in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 436 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 462 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 488 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 514 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 540 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 566 .setId(DYNAMIC_HIDDEN_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 574 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 600 .setId(DYNAMIC_ALL_OPTIONAL_ID) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/ |
D | ValidationTests.java | 441 .setId(partialWakelockAcquireId) in uploadWakelockDurationBatteryStatsConfig() 452 .setId(partialWakelockChangeAcquireId) in uploadWakelockDurationBatteryStatsConfig() 463 .setId(partialWakelockReleaseId) in uploadWakelockDurationBatteryStatsConfig() 474 .setId(partialWakelockChangeReleaseId) in uploadWakelockDurationBatteryStatsConfig() 485 .setId(partialWakelockOnId) in uploadWakelockDurationBatteryStatsConfig() 492 .setId(partialWakelockOffId) in uploadWakelockDurationBatteryStatsConfig() 500 .setId(partialWakelockIsOnId) in uploadWakelockDurationBatteryStatsConfig() 508 .setId(pluggedStateBatteryPluggedNoneId) in uploadWakelockDurationBatteryStatsConfig() 516 .setId(pluggedStateBatteryPluggedAcId) in uploadWakelockDurationBatteryStatsConfig() 524 .setId(pluggedStateBatteryPluggedUsbId) in uploadWakelockDurationBatteryStatsConfig() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | SubscriptionRepositoryTest.kt | 103 setId(SUB_ID_IN_SLOT_0) in getSelectableSubscriptionInfoList_sortedBySimSlotIndex() 107 setId(SUB_ID_IN_SLOT_1) in getSelectableSubscriptionInfoList_sortedBySimSlotIndex() 124 setId(SUB_ID_3_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst() 128 setId(SUB_ID_IN_SLOT_1) in getSelectableSubscriptionInfoList_oneNotInSlot_inSlotSortedFirst() 145 setId(SUB_ID_3_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex() 150 setId(SUB_ID_IN_SLOT_0) in getSelectableSubscriptionInfoList_sameGroupAndOneHasSlot_returnTheOneWithSimSlotIndex() 166 setId(SUB_ID_4_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId() 170 setId(SUB_ID_3_NOT_IN_SLOT) in getSelectableSubscriptionInfoList_sameGroupAndNonHasSlot_returnTheOneWithMinimumSubId() 187 setId(SUB_ID_IN_SLOT_1) in <lambda>()
|
D | MobileNetworkSwitchControllerTest.kt | 74 setId(SUB_ID) in isVisible_pSimAndCanDisablePhysicalSubscription_returnTrue() 93 setId(SUB_ID) in isVisible_pSimAndCannotDisablePhysicalSubscription_returnFalse() 112 setId(SUB_ID) in isVisible_eSim_returnTrue() 164 setId(SUB_ID) in <lambda>()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
D | ScaledLayoutActivity.java | 43 view1.setId(R.id.view1); in createScaledLayoutTestcaseLayout() 47 view2.setId(R.id.view2); in createScaledLayoutTestcaseLayout() 51 view3.setId(R.id.view3); in createScaledLayoutTestcaseLayout() 55 view4.setId(R.id.view4); in createScaledLayoutTestcaseLayout() 71 view1.setId(R.id.view1); in createScaledLayoutTestcaseBounceY() 75 view2.setId(R.id.view2); in createScaledLayoutTestcaseBounceY()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | XnaSourceCreatorTest.java | 152 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 168 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 192 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 206 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 224 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 231 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 240 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 248 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 260 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() 267 .setId(UUID.randomUUID().toString()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources() [all …]
|
D | AttributionJobHandlerTest.java | 146 .setId(TRIGGER_ID) in createAPendingTriggerEventScopeOnly() 244 .setId("triggerId1") in shouldIgnoreNonPendingTrigger() 277 .setId("triggerId1") in shouldRejectBasedOnDedupKey() 322 .setId("triggerId1") in shouldRejectBasedOnDedupKey_dedupAlignFlagOff() 368 .setId("triggerId1") in shouldNotCreateEventReportAfterEventReportWindow() 378 .setId("source1") in shouldNotCreateEventReportAfterEventReportWindow() 408 .setId("triggerId1") in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger() 415 .setId("triggerId2") in shouldNotCreateEventReportAfterEventReportWindow_secondTrigger() 477 .setId("triggerId1") in shouldNotCreateEventReportAfterEventReportWindow_prioritisedSource() 484 .setId("source1") in shouldNotCreateEventReportAfterEventReportWindow_prioritisedSource() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/ |
D | DBProtectedSignalTest.java | 58 .setId(null) in testBuildSignal() 77 .setId(null) in testEqual() 86 .setId(null) in testEqual() 100 .setId(1L) in testNotEqual() 109 .setId(2L) in testNotEqual() 123 .setId(null) in testHashCode() 132 .setId(null) in testHashCode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | MeasurementDaoTest.java | 3015 .setId("S1") in deleteSource_providedId_deletesMatchingXnaIgnoredSource() 3107 .setId("S1") in prepareDataForFlexEventReportAndAttributionDeletion() 3112 .setId("S2") in prepareDataForFlexEventReportAndAttributionDeletion() 3117 .setId("T1") in prepareDataForFlexEventReportAndAttributionDeletion() 3122 .setId("T2") in prepareDataForFlexEventReportAndAttributionDeletion() 3127 .setId("T2") in prepareDataForFlexEventReportAndAttributionDeletion() 3201 .setId("S1") in prepareDataForSourceAndTriggerDeletion() 3206 .setId("S2") in prepareDataForSourceAndTriggerDeletion() 3211 .setId("S3") in prepareDataForSourceAndTriggerDeletion() 3216 .setId("S4") in prepareDataForSourceAndTriggerDeletion() [all …]
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/ |
D | CobaltLoggerImplTest.java | 98 .setId((int) ONE_REPORT.metricId()) 102 .setId((int) ONE_REPORT.reportId()) 109 .setId((int) MULTIPLE_REPORTS_1.metricId()) 113 .setId((int) MULTIPLE_REPORTS_1.reportId()) 118 .setId((int) MULTIPLE_REPORTS_2.reportId()) 125 .setId((int) STRING_REPORT.metricId()) 129 .setId((int) STRING_REPORT.reportId()) 136 .setId((int) MULTIPLE_STRING_REPORTS_1.metricId()) 140 .setId((int) MULTIPLE_STRING_REPORTS_1.reportId()) 145 .setId((int) MULTIPLE_STRING_REPORTS_2.reportId()) [all …]
|
D | CobaltPeriodicJobImplTest.java | 211 .setId((int) REPORT_1.metricId()) 217 .setId((int) REPORT_1.reportId()) 226 .setId((int) REPORT_2.metricId()) 230 .setId((int) REPORT_2.reportId()) 237 .setId((int) REPORT_3.reportId()) 244 .setId((int) REPORT_4.reportId()) 251 .setId(WRONG_TYPE_METRIC) 660 .setId((int) REPORT_1.metricId()) 666 .setId((int) REPORT_1.reportId()) 736 .setId((int) REPORT_1.metricId()) [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | StatsPublisher.java | 575 .setId(configId) in buildStatsdConfig() 608 .setId(APP_START_MEMORY_STATE_CAPTURED_ATOM_MATCHER_ID) in buildAppStartMemoryStateStatsdConfig() 613 .setId(APP_START_MEMORY_STATE_CAPTURED_EVENT_METRIC_ID) in buildAppStartMemoryStateStatsdConfig() 624 .setId(PROCESS_MEMORY_STATE_MATCHER_ID) in buildProcessMemoryStateStatsdConfig() 629 .setId(PROCESS_MEMORY_STATE_GAUGE_METRIC_ID) in buildProcessMemoryStateStatsdConfig() 657 .setId(ACTIVITY_FOREGROUND_STATE_CHANGED_ATOM_MATCHER_ID) in buildActivityForegroundStateStatsdConfig() 662 .setId(ACTIVITY_FOREGROUND_STATE_CHANGED_EVENT_METRIC_ID) in buildActivityForegroundStateStatsdConfig() 673 .setId(PROCESS_CPU_TIME_MATCHER_ID) in buildProcessCpuTimeStatsdConfig() 678 .setId(PROCESS_CPU_TIME_GAUGE_METRIC_ID) in buildProcessCpuTimeStatsdConfig() 706 .setId(APP_CRASH_OCCURRED_ATOM_MATCHER_ID) in buildAppCrashOccurredStatsdConfig() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleterTest.java | 115 .setId("reportId1") 123 .setId("reportId2") 205 .setId("source1") in resetAggregateContributions_hasMatchingReports_resetsContributions() 211 .setId("source2") in resetAggregateContributions_hasMatchingReports_resetsContributions() 242 .setId("source1") in resetAggregateContributions_withSourceContributionsGoingBelowZero_resetsToZero() 271 .setId("sourceId1") in resetDedupKeys_matchingReports_removesDedupKeysFromSource() 280 .setId("sourceId2") in resetDedupKeys_matchingReports_removesDedupKeysFromSource() 325 .setId("sourceId1") in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource() 335 .setId("sourceId2") in resetDedupKeys_matchingReportsDedupAlignFlagOff_removesDedupKeysFromSource() 409 .setId("sourceId1") in resetAggregateReportDedupKeys_matchingReports_removesDedupKeysFromSource() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 138 .setId(METRIC_ID) in testCountAnomalyDetection() 202 .setId(METRIC_ID) in testDurationAnomalyDetection() 208 .setId(APP_BREADCRUMB_REPORTED_IS_ON_PREDICATE) in testDurationAnomalyDetection() 280 .setId(METRIC_ID) in testDurationAnomalyDetectionForLateAlarms() 287 .setId(APP_BREADCRUMB_REPORTED_IS_ON_PREDICATE) in testDurationAnomalyDetectionForLateAlarms() 328 .setId(METRIC_ID) in testValueAnomalyDetection() 376 .setId(SUBSCRIPTION_ID_PERFETTO) in testPerfetto() 383 .setId(METRIC_ID) in testPerfetto() 433 .setId(METRIC_ID) in testGaugeAnomalyDetection() 484 .setId(ATOM_MATCHER_ID) in testPulledAnomalyDetection() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandlerTest.java | 180 .setId("eventReportId") in testSendReportForPendingReportSuccess() 225 .setId("eventReportId") in testSendReportForPendingDebugReportSuccess() 270 .setId("eventReportId") in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 300 .setId(SOURCE_ID) in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 341 .setId("eventReportId") in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 371 .setId(SOURCE_ID) in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 410 .setId("eventReportId") in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory() 440 .setId(SOURCE_ID) in testSendReportForPendingReportSuccess_coarseSource_doesNotPersistAppReportHistory() 479 .setId("eventReportId") in testSendReportForPendingReportSuccessSingleTriggerDebugKey() 523 .setId("eventReportId") in testSendReportForPendingReportSuccessSingleSourceDebugKey() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | MetricsUtils.java | 64 .setId(id) in startAtomMatcher() 79 .setId(id) in stopAtomMatcher() 94 .setId(id) in unspecifiedAtomMatcher() 105 .setId(id) in simpleAtomMatcher() 113 .setId(id) in appBreadcrumbMatcherWithLabel() 126 .setId(id) in appBreadcrumbMatcherWithLabelAndState() 140 .setId(id) in simpleAtomMatcher()
|
D | DurationMetricsTests.java | 85 .setId(MetricsUtils.StringToId("Predicate")) in testDurationMetric() 92 .setId(MetricsUtils.DURATION_METRIC_ID) in testDurationMetric() 149 .setId(MetricsUtils.StringToId("Predicate")) in testDurationMetricWithCondition() 158 .setId(MetricsUtils.StringToId("ConditionPredicate")) in testDurationMetricWithCondition() 166 .setId(MetricsUtils.DURATION_METRIC_ID) in testDurationMetricWithCondition() 265 .setId(MetricsUtils.StringToId("Predicate")) in testDurationMetricWithActivation() 272 .setId(MetricsUtils.DURATION_METRIC_ID) in testDurationMetricWithActivation() 366 .setId(MetricsUtils.StringToId("Predicate")) in testDurationMetricWithConditionAndActivation() 376 .setId(MetricsUtils.StringToId("ConditionPredicate")) in testDurationMetricWithConditionAndActivation() 383 .setId(MetricsUtils.DURATION_METRIC_ID) in testDurationMetricWithConditionAndActivation() [all …]
|
D | ValueMetricsTests.java | 87 .setId(MetricsUtils.VALUE_METRIC_ID) in testValueMetric() 154 .setId(predicateName.hashCode()) in testPullerAcrossBuckets() 166 .setId(atomName.hashCode()) in testPullerAcrossBuckets() 171 .setId(MetricsUtils.VALUE_METRIC_ID) in testPullerAcrossBuckets() 235 .setId(predicateName.hashCode()) in testMultipleEventsPerBucket() 247 .setId(atomName.hashCode()) in testMultipleEventsPerBucket() 252 .setId(MetricsUtils.VALUE_METRIC_ID) in testMultipleEventsPerBucket() 319 .setId(atomName.hashCode()) in testPullerAcrossBucketsWithActivation() 324 .setId(MetricsUtils.VALUE_METRIC_ID) in testPullerAcrossBucketsWithActivation() 390 .setId(MetricsUtils.StringToId("Predicate")) in testValueMetricWithConditionAndActivation() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationTest.java | 66 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppSource() 82 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppTrigger() 97 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForWebSource() 116 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForWebTrigger() 131 .setId(UUID.randomUUID().toString()) in createAsyncRegistrationForAppSources()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/ |
D | StatsPublisherTest.java | 133 .setId(SUBSCRIBER_1_HASH) 135 .setId(APP_START_MEMORY_STATE_CAPTURED_ATOM_MATCHER_ID) 141 .setId(APP_START_MEMORY_STATE_CAPTURED_EVENT_METRIC_ID) 149 .setId(SUBSCRIBER_2_HASH) 152 .setId(PROCESS_MEMORY_STATE_MATCHER_ID) 157 .setId(PROCESS_MEMORY_STATE_GAUGE_METRIC_ID) 181 .setId(SUBSCRIBER_3_HASH) 183 .setId(ACTIVITY_FOREGROUND_STATE_CHANGED_ATOM_MATCHER_ID) 190 .setId(ACTIVITY_FOREGROUND_STATE_CHANGED_EVENT_METRIC_ID) 243 .setId(SUBSCRIBER_1_HASH) // id is the same as configKey [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | SubscriptionInfoListViewModelTest.kt | 123 setId(1) in <lambda>() 127 setId(2) in <lambda>() 131 setId(3) in <lambda>() 138 setId(4) in <lambda>()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/ |
D | DBProtectedSignal.java | 80 return new AutoValue_DBProtectedSignal.Builder().setId(null); in builder() 93 .setId(id) in create() 105 public abstract Builder setId(Long id); in setId() method in DBProtectedSignal.Builder
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestConfigs.kt | 459 .setId("AndroidAdvancedSources") 463 .setId("AndroidWorkPolicyInfo") 618 .setId(ISSUE_ONLY_GROUP_ID) 719 .setId(ISSUE_ONLY_GROUP_ID) 785 .setId(id) in dynamicSafetySource() 807 .setId(id) in staticSafetySource() 831 .setId(id) in issueOnlySafetySourceWithDuplicationInfo() 841 .setId(id) in issueOnlySafetySourceWithDuplicationInfo() 846 SafetySourcesGroup.Builder().setId(id).setTitleResId(android.R.string.paste) in issueOnlySafetySourceWithDuplicationInfo()
|