Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 1118) sorted by relevance

12345678910>>...45

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DStatsdAdServicesLogger.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdServicesStatsLog.ADSERVICES_SHELL_COMMAND_CALL…
20 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_COUNTER_HISTOGRAM_UPDATER_…
21 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_FILTERING_PROCESS_AD_SELEC…
22 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_FILTERING_PROCESS_JOIN_CA_…
23 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED;
24 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED__API_C…
25 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
26 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_GET_T…
27 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_CONSENT_MIGRATED;
[all …]
DAdServicesLoggerImpl.java17 package com.android.adservices.service.stats;
25 import com.android.adservices.service.stats.kanon.KAnonBackgroundJobStatusStats;
26 import com.android.adservices.service.stats.kanon.KAnonGetChallengeStatusStats;
27 import com.android.adservices.service.stats.kanon.KAnonImmediateSignJoinStatusStats;
28 import com.android.adservices.service.stats.kanon.KAnonInitializeStatusStats;
29 import com.android.adservices.service.stats.kanon.KAnonJoinStatusStats;
30 import com.android.adservices.service.stats.kanon.KAnonSignStatusStats;
31 import com.android.adservices.service.stats.pas.EncodingFetchStats;
32 import com.android.adservices.service.stats.pas.EncodingJobRunStats;
33 import com.android.adservices.service.stats.pas.EncodingJsExecutionStats;
[all …]
DAdServicesLogger.java17 package com.android.adservices.service.stats;
21 import com.android.adservices.service.stats.kanon.KAnonBackgroundJobStatusStats;
22 import com.android.adservices.service.stats.kanon.KAnonGetChallengeStatusStats;
23 import com.android.adservices.service.stats.kanon.KAnonImmediateSignJoinStatusStats;
24 import com.android.adservices.service.stats.kanon.KAnonInitializeStatusStats;
25 import com.android.adservices.service.stats.kanon.KAnonJoinStatusStats;
26 import com.android.adservices.service.stats.kanon.KAnonSignStatusStats;
27 import com.android.adservices.service.stats.pas.EncodingFetchStats;
28 import com.android.adservices.service.stats.pas.EncodingJobRunStats;
29 import com.android.adservices.service.stats.pas.EncodingJsExecutionStats;
[all …]
DNoOpLoggerImpl.java17 package com.android.adservices.service.stats;
20 import com.android.adservices.service.stats.kanon.KAnonBackgroundJobStatusStats;
21 import com.android.adservices.service.stats.kanon.KAnonGetChallengeStatusStats;
22 import com.android.adservices.service.stats.kanon.KAnonImmediateSignJoinStatusStats;
23 import com.android.adservices.service.stats.kanon.KAnonInitializeStatusStats;
24 import com.android.adservices.service.stats.kanon.KAnonJoinStatusStats;
25 import com.android.adservices.service.stats.kanon.KAnonSignStatusStats;
26 import com.android.adservices.service.stats.pas.EncodingFetchStats;
27 import com.android.adservices.service.stats.pas.EncodingJobRunStats;
28 import com.android.adservices.service.stats.pas.EncodingJsExecutionStats;
[all …]
DUiStatsLogger.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
20 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
21 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
22 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
23 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
24 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
25 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
26 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
27 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_SETTINGS_USAGE_RE…
[all …]
DEpochComputationClassifierStats.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
20 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
21 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
22 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
23 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
24 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
25 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
26 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
27 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_BACK_COMPAT_EPOCH…
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/
DPlatformLogger.java17 package com.android.server.appsearch.stats;
23 import android.app.appsearch.stats.SchemaMigrationStats;
36 import com.android.server.appsearch.external.localstorage.stats.CallStats;
37 import com.android.server.appsearch.external.localstorage.stats.ClickStats;
38 import com.android.server.appsearch.external.localstorage.stats.InitializeStats;
39 import com.android.server.appsearch.external.localstorage.stats.OptimizeStats;
40 import com.android.server.appsearch.external.localstorage.stats.PutDocumentStats;
41 import com.android.server.appsearch.external.localstorage.stats.RemoveStats;
42 import com.android.server.appsearch.external.localstorage.stats.SearchIntentStats;
43 import com.android.server.appsearch.external.localstorage.stats.SearchSessionStats;
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsHistoryTest.java77 private NetworkStatsHistory stats; field in NetworkStatsHistoryTest
81 if (stats != null) { in tearDown()
82 assertConsistent(stats); in tearDown()
117 stats = new NetworkStatsHistory(BUCKET_SIZE); in testRecordSingleBucket()
120 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, in testRecordSingleBucket()
124 assertEquals(1, stats.size()); in testRecordSingleBucket()
125 assertValues(stats, 0, SECOND_IN_MILLIS, 1024L, 10L, 2048L, 20L, 2L); in testRecordSingleBucket()
131 stats = new NetworkStatsHistory(bucketDuration); in testRecordEqualBuckets()
135 stats.recordData(recordStart, recordStart + bucketDuration, in testRecordEqualBuckets()
139 assertEquals(2, stats.size()); in testRecordEqualBuckets()
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DStatsProcessorTest.java58 StatsProcessor.PoolStats stats = prepareStats(total, unassigned, expiring, extra); in testMinUnassignedBoundary() local
59 assertEquals(7, stats.keysInUse); in testMinUnassignedBoundary()
60 assertEquals(12, stats.idealTotalSignedKeys); in testMinUnassignedBoundary()
61 assertEquals(0, stats.keysToGenerate); in testMinUnassignedBoundary()
67 stats = prepareStats(total, unassigned, expiring, extra); in testMinUnassignedBoundary()
68 assertEquals(8, stats.keysInUse); in testMinUnassignedBoundary()
69 assertEquals(13, stats.idealTotalSignedKeys); in testMinUnassignedBoundary()
70 assertEquals(13, stats.keysToGenerate); in testMinUnassignedBoundary()
82 StatsProcessor.PoolStats stats = prepareStats(total, unassigned, expiring, extra); in testStatsNoProvisioning() local
83 assertEquals(7, stats.keysInUse); in testStatsNoProvisioning()
[all …]
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp69 StatsdStats stats; in TEST() local
75 stats.noteConfigReceived(key, metricsCount, conditionsCount, matchersCount, alertsCount, {}, in TEST()
78 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST()
93 StatsdStats stats; in TEST() local
95 stats.noteConfigReceived(key, /*metricsCount=*/0, /*conditionsCount=*/0, /*matchersCount=*/0, in TEST()
98 stats.noteConfigMetadataProviderPromotionFailed(key); in TEST()
100 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST()
107 StatsdStats stats; in TEST() local
124 stats.noteConfigReceived(key, metricsCount, conditionsCount, matchersCount, alertsCount, {}, in TEST()
127 StatsdStatsReport report = getStatsdStatsReport(stats, /* reset stats */ false); in TEST()
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DProcDiskStatsCollectorTest.cpp35 std::string getDiskStatsLine(const DiskStats& stats) { in getDiskStatsLine() argument
42 StringAppendF(&buffer, " %d %d %s", stats.major, stats.minor, stats.deviceName.c_str()); in getDiskStatsLine()
43 StringAppendF(&buffer, " %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64, stats.numReadsCompleted, in getDiskStatsLine()
44 stats.numReadsMerged, stats.numKibRead * 2, stats.readTimeInMillis); in getDiskStatsLine()
46 stats.numWritesCompleted, stats.numWritesMerged, stats.numKibWritten * 2, in getDiskStatsLine()
47 stats.writeTimeInMillis); in getDiskStatsLine()
49 stats.totalIoTimeInMillis, stats.weightedTotalIoTimeInMillis, in getDiskStatsLine()
50 stats.numFlushCompleted, stats.flushTimeInMillis); in getDiskStatsLine()
57 for (const auto& stats : allStats) { in getDiskStatsFile() local
58 StringAppendF(&buffer, "%s", getDiskStatsLine(stats).c_str()); in getDiskStatsFile()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DAdFilteringProcessAdSelectionReportedStatsTest.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdsRelevanceStatusUtils.FILTER_PROCESS_TYPE_CUST…
45 AdFilteringProcessAdSelectionReportedStats stats = in testBuildAdFilteringProcessAdSelectionReportedStats() local
71 expect.that(stats.getLatencyInMillisOfAllAdFiltering()) in testBuildAdFilteringProcessAdSelectionReportedStats()
73 expect.that(stats.getLatencyInMillisOfAppInstallFiltering()) in testBuildAdFilteringProcessAdSelectionReportedStats()
75 expect.that(stats.getLatencyInMillisOfFcapFilters()) in testBuildAdFilteringProcessAdSelectionReportedStats()
77 expect.that(stats.getStatusCode()).isEqualTo(STATUS_CODE); in testBuildAdFilteringProcessAdSelectionReportedStats()
78 expect.that(stats.getNumOfAdsFilteredOutOfBidding()) in testBuildAdFilteringProcessAdSelectionReportedStats()
80 expect.that(stats.getNumOfCustomAudiencesFilteredOutOfBidding()) in testBuildAdFilteringProcessAdSelectionReportedStats()
82 expect.that(stats.getTotalNumOfAdsBeforeFiltering()) in testBuildAdFilteringProcessAdSelectionReportedStats()
[all …]
DAdServicesLoggerImplTest.java17 package com.android.adservices.service.stats;
22 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.D…
23 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.D…
24 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.M…
25 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchJobType…
26 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus.…
27 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED;
28 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED__API_C…
29 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED__API_N…
30 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_SERVICES_API_CALLED__API_N…
[all …]
DAdFilteringLoggerImplTest.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdSelectionExecutionLoggerTest.START_ELAPSED_TIM…
20 import static com.android.adservices.service.stats.AdsRelevanceExecutionLoggerImplTest.BINDER_ELAPS…
21 import static com.android.adservices.service.stats.AdsRelevanceStatusUtils.FILTER_PROCESS_TYPE_CONT…
22 import static com.android.adservices.service.stats.AdsRelevanceStatusUtils.FILTER_PROCESS_TYPE_CUST…
118 AdFilteringProcessAdSelectionReportedStats stats = mAdFilteringLoggerCaptor.getValue(); in testContextualAdsFiltering_success() local
120 assertThat(stats.getLatencyInMillisOfAppInstallFiltering()) in testContextualAdsFiltering_success()
122 assertThat(stats.getLatencyInMillisOfFcapFilters()) in testContextualAdsFiltering_success()
124 assertThat(stats.getLatencyInMillisOfAllAdFiltering()) in testContextualAdsFiltering_success()
126 assertThat(stats.getFilterProcessType()).isEqualTo(FILTER_PROCESS_TYPE_CONTEXTUAL_ADS); in testContextualAdsFiltering_success()
[all …]
DSignatureVerificationStatsTest.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.SignatureVerificationStats.EMPTY_STRING;
20 import static com.android.adservices.service.stats.SignatureVerificationStats.UNSET;
29 SignatureVerificationStats stats = SignatureVerificationStats.builder().build(); in testSignatureVerificationStats_valuesUnset_success() local
33 stats.getSignatureVerificationStatus()); in testSignatureVerificationStats_valuesUnset_success()
34 assertEquals(UNSET, stats.getKeyFetchLatency()); in testSignatureVerificationStats_valuesUnset_success()
35 assertEquals(UNSET, stats.getSerializationLatency()); in testSignatureVerificationStats_valuesUnset_success()
36 assertEquals(UNSET, stats.getVerificationLatency()); in testSignatureVerificationStats_valuesUnset_success()
37 assertEquals(UNSET, stats.getNumOfKeysFetched()); in testSignatureVerificationStats_valuesUnset_success()
38 assertEquals(EMPTY_STRING, stats.getFailedSignatureSellerEnrollmentId()); in testSignatureVerificationStats_valuesUnset_success()
[all …]
DReportImpressionExecutionLoggerImplTest.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdsRelevanceStatusUtils.JS_RUN_STATUS_UNSET;
52 ReportImpressionApiCalledStats stats = argumentCaptor.getValue(); in testReportImpressionStatsLogger_successLogging() local
54 expect.that(stats.getReportWinBuyerAdditionalSignalsContainedAdCost()).isEqualTo(true); in testReportImpressionStatsLogger_successLogging()
55 expect.that(stats.getReportWinBuyerAdditionalSignalsContainedDataVersion()).isEqualTo(true); in testReportImpressionStatsLogger_successLogging()
56 expect.that(stats.getReportResultSellerAdditionalSignalsContainedDataVersion()) in testReportImpressionStatsLogger_successLogging()
58 expect.that(stats.getReportWinJsScriptResultCode()).isEqualTo(1); in testReportImpressionStatsLogger_successLogging()
59 expect.that(stats.getReportResultJsScriptResultCode()).isEqualTo(2); in testReportImpressionStatsLogger_successLogging()
74 ReportImpressionApiCalledStats stats = argumentCaptor.getValue(); in testReportImpressionStatsLogger_default() local
76 expect.that(stats.getReportWinBuyerAdditionalSignalsContainedAdCost()).isEqualTo(false); in testReportImpressionStatsLogger_default()
[all …]
DRunAdBiddingPerCAProcessReportedStatsTest.java17 package com.android.adservices.service.stats;
19 import static com.android.adservices.service.stats.AdServicesStatsLog.RUN_AD_BIDDING_PER_CAPROCESS_…
20 import static com.android.adservices.service.stats.AdsRelevanceStatusUtils.JS_RUN_STATUS_SUCCESS;
57 RunAdBiddingPerCAProcessReportedStats stats = in testBuilderCreateSuccess() local
84 assertEquals(NUM_OF_ADS_FOR_BIDDING, stats.getNumOfAdsForBidding()); in testBuilderCreateSuccess()
87 stats.getRunAdBiddingPerCaLatencyInMillis()); in testBuilderCreateSuccess()
88 assertEquals(RUN_AD_BIDDING_PER_CA_RESULT_CODE, stats.getRunAdBiddingPerCaResultCode()); in testBuilderCreateSuccess()
91 stats.getGetBuyerDecisionLogicLatencyInMillis()); in testBuilderCreateSuccess()
93 GET_BUYER_DECISION_LOGIC_RESULT_CODE, stats.getGetBuyerDecisionLogicResultCode()); in testBuilderCreateSuccess()
94 assertEquals(BUYER_DECISION_LOGIC_SCRIPT_TYPE, stats.getBuyerDecisionLogicScriptType()); in testBuilderCreateSuccess()
[all …]
DRunAdScoringProcessReportedStatsTest.java17 package com.android.adservices.service.stats;
53 RunAdScoringProcessReportedStats stats = in testBuilderCreateSuccess() local
83 stats.getGetAdSelectionLogicLatencyInMillis()); in testBuilderCreateSuccess()
84 assertEquals(GET_AD_SELECTION_LOGIC_RESULT_CODE, stats.getGetAdSelectionLogicResultCode()); in testBuilderCreateSuccess()
85 assertEquals(GET_AD_SELECTION_LOGIC_SCRIPT_TYPE, stats.getGetAdSelectionLogicScriptType()); in testBuilderCreateSuccess()
88 stats.getFetchedAdSelectionLogicScriptSizeInBytes()); in testBuilderCreateSuccess()
91 stats.getGetTrustedScoringSignalsLatencyInMillis()); in testBuilderCreateSuccess()
94 stats.getGetTrustedScoringSignalsResultCode()); in testBuilderCreateSuccess()
97 stats.getFetchedTrustedScoringSignalsDataSizeInBytes()); in testBuilderCreateSuccess()
98 assertEquals(SCORE_ADS_LATENCY_IN_MILLIS, stats.getScoreAdsLatencyInMillis()); in testBuilderCreateSuccess()
[all …]
DStatsdAdServicesLoggerTest.java17 package com.android.adservices.service.stats;
22 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.D…
23 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.D…
24 import static com.android.adservices.service.stats.AdServicesEncryptionKeyDbTransactionEndedStats.M…
25 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchJobType…
26 import static com.android.adservices.service.stats.AdServicesEncryptionKeyFetchedStats.FetchStatus.…
27 import static com.android.adservices.service.stats.AdServicesStatsLog.ADSERVICES_SHELL_COMMAND_CALL…
28 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_COUNTER_HISTOGRAM_UPDATER_…
29 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_FILTERING_PROCESS_AD_SELEC…
30 import static com.android.adservices.service.stats.AdServicesStatsLog.AD_FILTERING_PROCESS_JOIN_CA_…
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DRtpReceptionStats.cpp43 RtpReceptionStats::RtpReceptionStats(const RtpReceptionStats& stats) in RtpReceptionStats() argument
45 mRtpTimestamp = stats.mRtpTimestamp; in RtpReceptionStats()
46 mRtcpSrTimestamp = stats.mRtcpSrTimestamp; in RtpReceptionStats()
47 mRtcpSrNtpTimestamp = stats.mRtcpSrNtpTimestamp; in RtpReceptionStats()
48 mJitterBufferMs = stats.mJitterBufferMs; in RtpReceptionStats()
49 mRoundTripTimeMs = stats.mRoundTripTimeMs; in RtpReceptionStats()
54 RtpReceptionStats& RtpReceptionStats::operator=(const RtpReceptionStats& stats) in operator =() argument
56 if (this != &stats) in operator =()
58 mRtpTimestamp = stats.mRtpTimestamp; in operator =()
59 mRtcpSrTimestamp = stats.mRtcpSrTimestamp; in operator =()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java83 NotificationsSentState stats = in loadAllExtraInfo() local
85 if (stats == null) { in loadAllExtraInfo()
86 stats = new NotificationsSentState(); in loadAllExtraInfo()
88 calculateAvgSentCounts(stats); in loadAllExtraInfo()
89 addBlockStatus(entry, stats); in loadAllExtraInfo()
90 entry.extraInfo = stats; in loadAllExtraInfo()
96 NotificationsSentState stats = getAggregatedUsageEvents( in updateExtraInfo() local
98 calculateAvgSentCounts(stats); in updateExtraInfo()
99 addBlockStatus(entry, stats); in updateExtraInfo()
100 entry.extraInfo = stats; in updateExtraInfo()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java190 StorageStats stats = new StorageStats(); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() local
191 stats.codeBytes = 100; in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
192 stats.dataBytes = 50; in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
193 stats.cacheBytes = 0; in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
195 new StorageStatsSource.AppStorageStatsImpl(stats); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()
214 StorageStats stats = new StorageStats(); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() local
215 stats.codeBytes = 100; in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
216 stats.dataBytes = 50; in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
217 stats.cacheBytes = 0; in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
219 new StorageStatsSource.AppStorageStatsImpl(stats); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java89 WifiP2pStats stats; in startAndEndConnectionEventSucceeds() local
97 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
99 assertEquals(1, stats.connectionEvent.length); in startAndEndConnectionEventSucceeds()
118 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
119 assertEquals(2, stats.connectionEvent.length); in startAndEndConnectionEventSucceeds()
132 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
133 assertEquals(3, stats.connectionEvent.length); in startAndEndConnectionEventSucceeds()
139 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
140 assertEquals(3, stats.connectionEvent.length); in startAndEndConnectionEventSucceeds()
146 stats = mWifiP2pMetrics.consolidateProto(); in startAndEndConnectionEventSucceeds()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
DStorageAccessMetricsTest.java57 PackageStorageAccessStats stats = statsList.get(0); in testLogMimeType() local
58 assertThat(stats.getUid()).isEqualTo(3); in testLogMimeType()
59 assertThat(stats.mTotalAccesses).isEqualTo(0); in testLogMimeType()
60 assertThat(stats.mFilePathAccesses).isEqualTo(0); in testLogMimeType()
61 assertThat(stats.mSecondaryStorageAccesses).isEqualTo(0); in testLogMimeType()
62 assertThat(stats.mMimeTypes.stream().toArray()) in testLogMimeType()
75 PackageStorageAccessStats stats = statsList.get(0); in testIncrementAccessViaFuse() local
76 assertThat(stats.getUid()).isEqualTo(3); in testIncrementAccessViaFuse()
77 assertThat(stats.mTotalAccesses).isEqualTo(0); in testIncrementAccessViaFuse()
78 assertThat(stats.mFilePathAccesses).isEqualTo(1); in testIncrementAccessViaFuse()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchLogger.java20 import android.app.appsearch.stats.SchemaMigrationStats;
22 import com.android.server.appsearch.external.localstorage.stats.CallStats;
23 import com.android.server.appsearch.external.localstorage.stats.InitializeStats;
24 import com.android.server.appsearch.external.localstorage.stats.OptimizeStats;
25 import com.android.server.appsearch.external.localstorage.stats.PutDocumentStats;
26 import com.android.server.appsearch.external.localstorage.stats.RemoveStats;
27 import com.android.server.appsearch.external.localstorage.stats.SearchSessionStats;
28 import com.android.server.appsearch.external.localstorage.stats.SearchStats;
29 import com.android.server.appsearch.external.localstorage.stats.SetSchemaStats;
45 void logStats(@NonNull CallStats stats); in logStats() argument
[all …]

12345678910>>...45