/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | MetricActivationTests.java | 179 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), metric1MatcherId); in testCancellation() 184 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), act1CancelMatcherId); in testCancellation() 189 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), act1MatcherId); in testCancellation() 194 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), metric1MatcherId); in testCancellation() 199 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), metric1MatcherId); in testCancellation() 204 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), act1CancelMatcherId); in testCancellation() 209 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), metric1MatcherId); in testCancellation() 214 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), act1MatcherId); in testCancellation() 219 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), act2MatcherId); in testCancellation() 224 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), metric1MatcherId); in testCancellation() [all …]
|
D | DurationMetricsTests.java | 102 AppBreadcrumbReported.State.START.getNumber(), label); in testDurationMetric() 105 AppBreadcrumbReported.State.STOP.getNumber(), label); in testDurationMetric() 178 AppBreadcrumbReported.State.START.getNumber(), durationLabel); in testDurationMetricWithCondition() 185 AppBreadcrumbReported.State.STOP.getNumber(), durationLabel); in testDurationMetricWithCondition() 190 AppBreadcrumbReported.State.START.getNumber(), conditionLabel); in testDurationMetricWithCondition() 195 AppBreadcrumbReported.State.START.getNumber(), durationLabel); in testDurationMetricWithCondition() 202 AppBreadcrumbReported.State.STOP.getNumber(), durationLabel); in testDurationMetricWithCondition() 207 AppBreadcrumbReported.State.STOP.getNumber(), conditionLabel); in testDurationMetricWithCondition() 212 AppBreadcrumbReported.State.START.getNumber(), durationLabel); in testDurationMetricWithCondition() 219 AppBreadcrumbReported.State.STOP.getNumber(), durationLabel); in testDurationMetricWithCondition() [all …]
|
D | GaugeMetricsTests.java | 127 AppBreadcrumbReported.State.START.getNumber(), 0); in testGaugeMetric() 130 AppBreadcrumbReported.State.START.getNumber(), 1); in testGaugeMetric() 133 AppBreadcrumbReported.State.START.getNumber(), 2); in testGaugeMetric() 136 AppBreadcrumbReported.State.STOP.getNumber(), 2); in testGaugeMetric() 139 AppBreadcrumbReported.State.STOP.getNumber(), 0); in testGaugeMetric() 142 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testGaugeMetric() 144 AppBreadcrumbReported.State.START.getNumber(), 2); in testGaugeMetric() 147 AppBreadcrumbReported.State.START.getNumber(), 1); in testGaugeMetric() 150 AppBreadcrumbReported.State.STOP.getNumber(), 2); in testGaugeMetric() 153 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testGaugeMetric() [all …]
|
D | CountMetricsTests.java | 90 AppBreadcrumbReported.State.START.getNumber(), 0); in testSimpleEventCountMetric() 93 AppBreadcrumbReported.State.STOP.getNumber(), 0); in testSimpleEventCountMetric() 146 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 0); in testEventCountWithCondition() 149 AppBreadcrumbReported.State.START.getNumber(), 0); in testEventCountWithCondition() 152 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 0); in testEventCountWithCondition() 155 AppBreadcrumbReported.State.STOP.getNumber(), 0); in testEventCountWithCondition() 158 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 0); in testEventCountWithCondition() 229 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), activationMatcherLabel); in testEventCountWithConditionAndActivation() 234 AppBreadcrumbReported.State.START.getNumber(), startMatcherLabel); in testEventCountWithConditionAndActivation() 239 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), whatMatcherLabel); in testEventCountWithConditionAndActivation() [all …]
|
D | ValueMetricsTests.java | 104 AppBreadcrumbReported.State.START.getNumber(), 1); in testValueMetric() 107 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testValueMetric() 109 AppBreadcrumbReported.State.START.getNumber(), 3); in testValueMetric() 111 AppBreadcrumbReported.State.STOP.getNumber(), 3); in testValueMetric() 186 AppBreadcrumbReported.State.START.getNumber(), 1); in testPullerAcrossBuckets() 190 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testPullerAcrossBuckets() 270 AppBreadcrumbReported.State.START.getNumber(), 1); in testMultipleEventsPerBucket() 273 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testMultipleEventsPerBucket() 421 AppBreadcrumbReported.State.START.getNumber(), activationMatcherLabel); in testValueMetricWithConditionAndActivation() 426 AppBreadcrumbReported.State.START.getNumber(), conditionLabel); in testValueMetricWithConditionAndActivation() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardProtoTest.java | 63 WifiScoreCardProto.SecurityType.OPEN.getNumber()); in testSecurityTypeValues() 65 WifiScoreCardProto.SecurityType.WEP.getNumber()); in testSecurityTypeValues() 67 WifiScoreCardProto.SecurityType.PSK.getNumber()); in testSecurityTypeValues() 69 WifiScoreCardProto.SecurityType.EAP.getNumber()); in testSecurityTypeValues() 71 WifiScoreCardProto.SecurityType.SAE.getNumber()); in testSecurityTypeValues() 73 WifiScoreCardProto.SecurityType.EAP_SUITE_B.getNumber()); in testSecurityTypeValues() 75 WifiScoreCardProto.SecurityType.OWE.getNumber()); in testSecurityTypeValues()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 154 AppBreadcrumbReported.State.START.getNumber(), 6); in testCountAnomalyDetection() 164 AppBreadcrumbReported.State.START.getNumber(), 6); in testCountAnomalyDetection() 174 AppBreadcrumbReported.State.START.getNumber(), 12); in testCountAnomalyDetection() 183 AppBreadcrumbReported.State.START.getNumber(), in testCountAnomalyDetection() 221 AppBreadcrumbReported.State.START.getNumber(), 1); in testDurationAnomalyDetection() 227 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testDurationAnomalyDetection() 234 AppBreadcrumbReported.State.START.getNumber(), 1); in testDurationAnomalyDetection() 237 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 2); in testDurationAnomalyDetection() 245 AppBreadcrumbReported.State.STOP.getNumber(), 1); in testDurationAnomalyDetection() 247 AppBreadcrumbReported.State.START.getNumber(), 1); in testDurationAnomalyDetection() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SchemaToProtoConverter.java | 199 .setCardinality(proto.getCardinality().getNumber()) in toPropertyConfig() 204 .setCardinality(proto.getCardinality().getNumber()) in toPropertyConfig() 209 .setCardinality(proto.getCardinality().getNumber()) in toPropertyConfig() 217 "Invalid dataType code: " + proto.getDataType().getNumber()); in toPropertyConfig() 227 .setCardinality(proto.getCardinality().getNumber()) in toStringPropertyConfig() 232 proto.getStringIndexingConfig().getTokenizerType().getNumber()); in toStringPropertyConfig() 248 .setCardinality(proto.getCardinality().getNumber()) in toDocumentPropertyConfig() 262 .setCardinality(proto.getCardinality().getNumber()); in toLongPropertyConfig() 277 .setCardinality(proto.getCardinality().getNumber()); in toEmbeddingPropertyConfig() 312 Log.w(TAG, "Invalid joinableValueType: " + joinableValueType.getNumber()); in convertJoinableValueTypeFromProto() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryTipsCardPreferenceTest.java | 131 PowerAnomalyKey.KEY_BRIGHTNESS.getNumber()); in onClick_mainBtnOfSettingsAnomalyLaunchPage_getAdaptiveBrightnessLauncher() 138 PowerAnomalyKey.KEY_BRIGHTNESS.getNumber()); in onClick_mainBtnOfSettingsAnomalyLaunchPage_getAdaptiveBrightnessLauncher() 172 PowerAnomalyKey.KEY_BRIGHTNESS.getNumber()); in onClick_mainBtnOfSettingsAnomalyChangeSettings_settingsChanged() 179 PowerAnomalyKey.KEY_BRIGHTNESS.getNumber()); in onClick_mainBtnOfSettingsAnomalyChangeSettings_settingsChanged() 204 PowerAnomalyKey.KEY_SCREEN_TIMEOUT.getNumber()); in onClick_dismissBtnOfSettingsAnomaly_cardDismissAndLogged() 211 PowerAnomalyKey.KEY_SCREEN_TIMEOUT.getNumber()); in onClick_dismissBtnOfSettingsAnomaly_cardDismissAndLogged() 236 PowerAnomalyKey.KEY_APP_TOTAL_HIGHER_THAN_USUAL.getNumber()); in onClick_mainBtnOfAppsAnomaly_selectHighlightSlot() 243 PowerAnomalyKey.KEY_APP_TOTAL_HIGHER_THAN_USUAL.getNumber()); in onClick_mainBtnOfAppsAnomaly_selectHighlightSlot() 267 PowerAnomalyKey.KEY_APP_TOTAL_HIGHER_THAN_USUAL.getNumber()); in onClick_dismissBtnOfAppsAnomaly_keepHighlightSlotIndex() 274 PowerAnomalyKey.KEY_APP_TOTAL_HIGHER_THAN_USUAL.getNumber()); in onClick_dismissBtnOfAppsAnomaly_keepHighlightSlotIndex()
|
D | BatteryTipsControllerTest.java | 98 PowerAnomalyKey.KEY_BRIGHTNESS.getNumber()); in handleBatteryTipsCardUpdated_adaptiveBrightnessAnomaly_showAnomaly() 121 PowerAnomalyKey.KEY_SCREEN_TIMEOUT.getNumber()); in handleBatteryTipsCardUpdated_screenTimeoutAnomaly_showAnomaly() 152 PowerAnomalyKey.KEY_SCREEN_TIMEOUT.getNumber()); in handleBatteryTipsCardUpdated_screenTimeoutAnomalyHasTitle_showAnomaly() 178 PowerAnomalyKey.KEY_APP_TOTAL_HIGHER_THAN_USUAL.getNumber()); in handleBatteryTipsCardUpdated_appAnomaly_showAnomaly()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 254 reported.getErrorCode().getNumber(), in write() 255 reported.getDownstreamType().getNumber(), in write() 256 reported.getUpstreamType().getNumber(), in write() 257 reported.getUserType().getNumber(), in write() 264 + reported.getErrorCode().getNumber() in write() 266 + reported.getDownstreamType().getNumber() in write() 268 + reported.getUpstreamType().getNumber() in write() 270 + reported.getUserType().getNumber() in write()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchLoggerHelper.java | 88 fromNativeStats.getDocumentStoreRecoveryCause().getNumber()) in copyNativeStats() 89 .setIndexRestorationCause(fromNativeStats.getIndexRestorationCause().getNumber()) in copyNativeStats() 91 fromNativeStats.getSchemaStoreRecoveryCause().getNumber()) in copyNativeStats() 98 fromNativeStats.getDocumentStoreDataStatus().getNumber()) in copyNativeStats() 124 .setRankingStrategy(fromNativeStats.getRankingStrategy().getNumber()) in copyNativeStats() 152 .setDeleteType(fromNativeStats.getDeleteType().getNumber()) in copyNativeStats()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | IpReachabilityMonitorMetrics.java | 61 stats.getEventType().getNumber(), in statsWrite() 62 stats.getIpType().getNumber(), in statsWrite() 63 stats.getNeighborType().getNumber()); in statsWrite()
|
D | IpProvisioningMetrics.java | 175 stats.getTransportType().getNumber(), in statsWrite() 179 stats.getDisconnectCode().getNumber(), in statsWrite() 182 stats.getIpv6ProvisioningMode().getNumber()); in statsWrite()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | PhoneDataItem.java | 36 public String getNumber() { in getNumber() method in PhoneDataItem 54 final String phoneNumber = getNumber(); in computeFormattedPhoneNumber() 73 return getNumber(); in buildDataStringForDisplay()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/ |
D | Modules.java | 51 row.getNumber().getNormalizedNumber(), row.getNumberPresentation())) { in fromRow() 90 .setDialerPhoneNumber(row.getNumber()) in createCallDetailsHeaderInfoFromRow() 104 .setNormalizedNumber(row.getNumber().getNormalizedNumber()) in buildModuleInfo() 105 .setCountryIso(row.getNumber().getCountryIso()) in buildModuleInfo()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | PhoneDataItem.java | 43 public String getNumber() { in getNumber() method in PhoneDataItem 79 final String phoneNumber = getNumber(); in computeFormattedPhoneNumber() 97 return getNumber(); in buildDataStringForDisplay()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | CallDetailsAdapterCommon.java | 64 protected abstract String getNumber(); in getNumber() method in CallDetailsAdapterCommon 116 ((CallDetailsFooterViewHolder) holder).setPhoneNumber(getNumber()); in onBindViewHolder() 121 getNumber(), in onBindViewHolder() 166 getNumber(), entry.getFeatures(), entry.getIsDuoCall()); in getCallbackAction()
|
D | OldCallDetailsAdapter.java | 63 container, contact.getNumber(), contact.getPostDialDigits(), callDetailsHeaderListener); in createCallDetailsHeaderViewHolder() 75 protected String getNumber() { in getNumber() method in OldCallDetailsAdapter 76 return contact.getNumber(); in getNumber()
|
/packages/apps/Dialer/java/com/android/dialer/telecom/ |
D | TelecomCallUtil.java | 51 public static String getNumber(@Nullable Call call) { in getNumber() method in TelecomCallUtil 87 String rawNumber = getNumber(call); in getNormalizedNumber() 105 String rawNumber = getNumber(call); in getValidE164Number()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/ |
D | ProcessStartTimeConverter.java | 51 a -> a.getType().getNumber() 86 a -> a.getHostingTypeId().getNumber() 91 a -> a.getTriggerType().getNumber()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | RealtimeRowProcessor.java | 104 PhoneLookupInfo cachedPhoneLookupInfo = cache.get(row.getNumber()); in applyRealtimeProcessing() 110 compositePhoneLookup.lookup(row.getNumber()); in applyRealtimeProcessing() 114 queuePhoneLookupHistoryWrite(row.getNumber(), phoneLookupInfo); in applyRealtimeProcessing() 115 cache.put(row.getNumber(), phoneLookupInfo); in applyRealtimeProcessing()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/historyquery/ |
D | HistoryQuery.java | 34 public abstract String getNumber(); in getNumber() method in HistoryQuery 44 LogUtil.sanitizePhoneNumber(getNumber()), getCallStartTimestamp(), getCallEndTimestamp()); in toString()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 155 info.getItemCase().getNumber() /* target_id */, in writeSnapshot() 179 itemInfo.getItemAttributesList().stream().map(Attribute::getNumber).forEach( in getAttributes() 193 info.getItemCase().getNumber(), // item_id = 2; in buildStatsEvent() 500 atomInfo.getItemCase().getNumber() /* target_id */, in write() 514 atomInfo.getFolderIcon().getFromLabelState().getNumber() /* fromState */, in write() 515 atomInfo.getFolderIcon().getToLabelState().getNumber() /* toState */, in write() 843 return info.getContainerInfo().getFolder().getParentContainerCase().getNumber() 847 .getNumber() + SEARCH_RESULT_HIERARCHY_OFFSET; 849 return info.getContainerInfo().getExtendedContainers().getContainerCase().getNumber() 853 .getNumber() + ALL_APPS_HIERARCHY_OFFSET; [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/ |
D | DataBrokerTest.java | 182 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in setUp() 188 TelemetryProto.Publisher.PublisherCase.MEMORY.getNumber()); in setUp() 316 mFakeScriptExecutor.notifyScriptError(errorType.getNumber(), errorMessage); in testScheduleNextTask_onScriptError_shouldStoreErrorObject() 372 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in testScheduleNextTask_whenScriptExecutorBypassed_shouldStoreFinalResult() 406 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in testScheduleNextTask_withLargeDataFlag_shouldPipeData() 423 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in testScheduleNextTask_withoutLargeDataFlag_doesNotPipeData() 441 TelemetryProto.Publisher.PublisherCase.STATS.getNumber())); in testScheduleNextTask_largeInputPipeIOException_shouldIgnoreCurrentTask() 447 TelemetryProto.Publisher.PublisherCase.STATS.getNumber())); in testScheduleNextTask_largeInputPipeIOException_shouldIgnoreCurrentTask() 469 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in testScheduleNextTask_withBundleList_shouldPassData() 657 TelemetryProto.Publisher.PublisherCase.STATS.getNumber()); in testRemoveMetricsConfiguration_shouldRemoveAllAssociatedTasks()
|