/ohos5.0/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_service_proxy_test.cpp | 276 uint64_t stats = 0; variable 288 uint64_t stats = 0; variable 301 uint64_t stats = 0; variable 315 uint64_t stats = 0; variable 327 uint64_t stats = 0; variable 340 uint64_t stats = 0; variable 354 uint64_t stats = 0; variable 366 uint64_t stats = 0; variable 379 uint64_t stats = 0; variable 393 uint64_t stats = 0; variable [all …]
|
H A D | net_stats_service_test.cpp | 129 uint64_t stats = 0; variable 142 uint64_t stats = 0; variable 156 uint64_t stats = 0; variable 174 uint64_t stats = 0; variable 191 uint64_t stats = 0; variable 204 uint64_t stats = 0; variable 217 uint64_t stats = 0; variable 230 uint64_t stats = 0; variable 317 uint64_t stats = 0; variable 324 uint64_t stats = 0; variable
|
H A D | net_stats_client_test.cpp | 105 uint64_t stats = 0; variable 118 uint64_t stats = 0; variable 132 uint64_t stats = 0; variable 150 uint64_t stats = 0; variable 167 uint64_t stats = 0; variable 180 uint64_t stats = 0; variable 193 uint64_t stats = 0; variable 206 uint64_t stats = 0; variable 305 uint64_t stats = 0; variable
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
H A D | EnergyConsumerStatsTest.java | 63 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testConstruction() local 98 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testReadWriteParcel() local 193 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel() local 235 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_configChange() local 291 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_nullConfig() local 320 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_boring() local 359 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testUpdateBucket() local 395 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testIsValidCustomBucket() local 418 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testGetAccumulatedCustomBucketCharges() local 437 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testGetAccumulatedCustomBucketCharges_empty() local [all …]
|
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
H A D | TransportStatsTest.java | 54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() local 67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() local 79 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testGetStatsForTransport() local 94 Stats stats = Stats.merge(stats1, stats2); in testMerge() local
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/utils/ |
H A D | js_heap_stats_dumper.cpp | 35 JSHeapStatus stats; in Dump() local 50 void JSHeapStatsDumper::HandleChange(const JSHeapStatus &stats) in HandleChange() 57 void JSHeapStatsDumper::UpdateStats(const JSHeapStatus &stats) in UpdateStats() 71 void JSHeapStatsDumper::SaveStats(const JSHeapStatus &stats) in SaveStats()
|
/ohos5.0/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/netsys_bpf_stats_test/ |
H A D | netsys_bpf_stats_test.cpp | 80 uint64_t stats = 0; variable 94 uint64_t stats = 0; variable 118 uint64_t stats = 0; variable 150 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable 177 uint64_t stats = 0; variable 217 uint64_t stats = 0; variable 264 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable 281 uint64_t stats = 0; variable 343 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable 370 std::vector<OHOS::NetManagerStandard::NetStatsInfo> stats; variable [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PulledStatsTest.java | 47 PulledStats stats = new PulledStats(0L); in testPulledStats_Empty() local 53 PulledStats stats = new PulledStats(0L); in testPulledStats_UnknownReport() local 72 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportPackages() local 104 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportEndTime() local
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | stream_msg_manager.cpp | 29 bool StreamMsgManager::Send(const HistoryStats &stats) in Send() 35 void StreamMsgManager::Update(const HistoryStats &stats) in Update() 40 void StreamMsgManager::Recv(const HistoryStats &stats) in Recv()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | AmbientDisplayPowerCalculatorTest.java | 48 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel() local 85 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_multiDisplay() local 143 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel() local 169 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel_multiDisplay() local
|
H A D | MobileRadioPowerCalculatorTest.java | 77 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel() local 197 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel_multipleDefinedRat() local 352 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel_legacyPowerProfile() local 472 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testTimerBasedModel_byProcessState() local 591 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel() local 671 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel() local 853 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile() local 958 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_byProcessState() local 1041 public void setInitialEmptyModemActivityInfo(BatteryStatsImpl stats) { in setInitialEmptyModemActivityInfo()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/ |
H A D | net_stats_client.cpp | 180 int32_t NetStatsClient::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes() 190 int32_t NetStatsClient::GetCellularTxBytes(uint64_t &stats) in GetCellularTxBytes() 200 int32_t NetStatsClient::GetAllRxBytes(uint64_t &stats) in GetAllRxBytes() 210 int32_t NetStatsClient::GetAllTxBytes(uint64_t &stats) in GetAllTxBytes() 220 int32_t NetStatsClient::GetUidRxBytes(uint64_t &stats, uint32_t uid) in GetUidRxBytes() 230 int32_t NetStatsClient::GetUidTxBytes(uint64_t &stats, uint32_t uid) in GetUidTxBytes() 263 const NetStatsInfo &stats) in UpdateIfacesStats() 369 int32_t NetStatsClient::GetSockfdRxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdRxBytes() 392 int32_t NetStatsClient::GetSockfdTxBytes(uint64_t &stats, int32_t sockfd) in GetSockfdTxBytes() 415 extern "C" int32_t GetUidTxBytesEx(uint64_t *stats, uint32_t uid) in GetUidTxBytesEx() [all …]
|
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 206 boolean checkin(IntervalStats stats); in checkin() 240 final IntervalStats stats = new IntervalStats(); in checkinDailyFiles() local 241 readLocked(files.valueAt(i), stats); in checkinDailyFiles() local 539 IntervalStats stats = new IntervalStats(); in continueUpgradeLocked() local 752 IntervalStats stats = new IntervalStats(); in getLatestUsageStats() local 766 void filterStats(IntervalStats stats) { in filterStats() 866 final IntervalStats stats = new IntervalStats(); in queryUsageStats() local 1220 final IntervalStats stats = currentStats[i]; in obfuscateCurrentStats() local 1427 IntervalStats stats = new IntervalStats(); in writeIntervalStatsToStream() local 1471 IntervalStats stats = new IntervalStats(); in deserializeIntervalStats() local [all …]
|
H A D | StorageStatsManagerLocal.java | 49 void augmentStatsForPackageForUser( in augmentStatsForPackageForUser() 66 void augmentStatsForUid( in augmentStatsForUid() 76 void augmentStatsForUser(@NonNull PackageStats stats, @NonNull UserHandle userHandle); in augmentStatsForUser()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | PssTable.java | 57 final long[] stats = getArrayForKey(key); in mergeStats() local 74 final long[] stats = getArrayForKey(key); in mergeStats() local 80 public static void mergeStats(final long[] stats, final int statsIndex, in mergeStats() 94 public static void mergeStats(final long[] stats, final int statsIndex, final int inCount, in mergeStats() 148 final long[] stats = getArrayForKey(key); in writeStatsToProtoForKey() local 153 public static void writeStatsToProto(ProtoOutputStream proto, final long[] stats, in writeStatsToProto() 171 final long[] stats = getArrayForKey(key); in getRssMeanAndMax() local
|
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
H A D | BenchmarkResults.java | 35 final Bundle stats = new Bundle(); in getStatsToReport() local 41 final Bundle stats = new Bundle(); in getStatsToLog() local 53 final Bundle stats = new Bundle(); in getFailedStatsToReport() local 63 final Bundle stats = new Bundle(); in getFailedStatsToLog() local
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bpf_stats.cpp | 32 int32_t NetsysBpfStats::GetNumberFromStatsValue(uint64_t &stats, StatsType statsType, const stats_v… in GetNumberFromStatsValue() 54 int32_t NetsysBpfStats::GetTotalStats(uint64_t &stats, StatsType statsType) in GetTotalStats() 80 int32_t NetsysBpfStats::GetUidStats(uint64_t &stats, StatsType statsType, uint32_t uid) in GetUidStats() 95 int32_t NetsysBpfStats::GetAllSimStatsInfo(std::vector<OHOS::NetManagerStandard::NetStatsInfo> &sta… in GetAllSimStatsInfo() 143 int32_t NetsysBpfStats::GetAllStatsInfo(std::vector<OHOS::NetManagerStandard::NetStatsInfo> &stats) in GetAllStatsInfo() 202 int32_t NetsysBpfStats::GetIfaceStats(uint64_t &stats, const StatsType statsType, const std::string… in GetIfaceStats() 222 int32_t NetsysBpfStats::GetCookieStats(uint64_t &stats, StatsType statsType, uint64_t cookie) in GetCookieStats()
|
/aosp14/frameworks/base/libs/hwui/tests/unit/ |
H A D | FrameMetricsReporterTests.cpp | 47 const int64_t* stats; in TEST() local 67 const int64_t* stats; in TEST() local 88 const int64_t* stats; in TEST() local 109 const int64_t* stats; in TEST() local 141 const int64_t* stats; in TEST() local 168 const int64_t* stats; in TEST() local 190 const int64_t* stats; in TEST() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/streammsgmanager_fuzzer/ |
H A D | streammsgmanager_fuzzer.cpp | 30 Communication::SoftBus::HistoryStats stats; in SendTest() local 42 Communication::SoftBus::HistoryStats stats; in RecvTest() local 54 Communication::SoftBus::HistoryStats stats; in UpdateTest() local
|
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
H A D | TransportStats.java | 35 Stats stats = mTransportStats.get(transportComponent); in registerConnectionTime() local 48 Stats stats = mTransportStats.get(transportComponent); in getStatsForTransport() local 66 Stats stats = mTransportStats.get(transportComponent); in dump() local 74 private static void dumpStats(PrintWriter pw, String prefix, Stats stats) { in dumpStats()
|
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/src/ |
H A D | battery_stats_module.cpp | 45 BatteryStats stats(env); in GetBatteryStats() local 59 BatteryStats stats(env); in GetAppStatsMah() local 65 BatteryStats stats(env); in GetAppStatsPercent() local 71 BatteryStats stats(env); in GetPartStatsMah() local 77 BatteryStats stats(env); in GetPartStatsPercent() local
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/proxy/ |
H A D | net_stats_service_proxy.cpp | 96 int32_t NetStatsServiceProxy::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() 124 int32_t NetStatsServiceProxy::GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceTxBytes() 152 int32_t NetStatsServiceProxy::GetCellularRxBytes(uint64_t &stats) in GetCellularRxBytes() 176 int32_t NetStatsServiceProxy::GetCellularTxBytes(uint64_t &stats) in GetCellularTxBytes() 200 int32_t NetStatsServiceProxy::GetAllRxBytes(uint64_t &stats) in GetAllRxBytes() 222 int32_t NetStatsServiceProxy::GetAllTxBytes(uint64_t &stats) in GetAllTxBytes() 245 int32_t NetStatsServiceProxy::GetUidRxBytes(uint64_t &stats, uint32_t uid) in GetUidRxBytes() 273 int32_t NetStatsServiceProxy::GetUidTxBytes(uint64_t &stats, uint32_t uid) in GetUidTxBytes() 352 const NetStatsInfo &stats) in UpdateIfacesStats() 526 int32_t NetStatsServiceProxy::GetCookieRxBytes(uint64_t &stats, uint64_t cookie) in GetCookieRxBytes() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/ |
H A D | NetworkStatsExt.java | 36 public final NetworkStats stats; field in NetworkStatsExt 46 public NetworkStatsExt(@NonNull NetworkStats stats, int[] transports, boolean slicedByFgbg) { in NetworkStatsExt() 51 public NetworkStatsExt(@NonNull NetworkStats stats, int[] transports, boolean slicedByFgbg, in NetworkStatsExt()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | InstallerTest.java | 117 final PackageStats stats = new PackageStats(app.packageName); in testGetAppSize() local 130 checkEquals(Arrays.toString(packageNames) + " UID=" + app.uid, stats, quotaStats); in testGetAppSize() local 139 final PackageStats stats = new PackageStats("android"); in testGetUserSize() local 152 checkEquals(Arrays.toString(appIds), stats, quotaStats); in testGetUserSize() local 161 final long[] stats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, 0, appIds); in testGetExternalSize() local
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
H A D | StorageVolumeProvider.java | 50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getTotalBytes() 57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getFreeBytes()
|