OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:mstatsmanager
(Results
1 - 12
of
12
) sorted by null
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
AppMemoryPreferenceController.java
46
private ProcStatsData
mStatsManager
;
61
if (
mStatsManager
== null) {
62
mStatsManager
= new ProcStatsData(activity, false);
63
mStatsManager
.setDuration(ProcessStatsBase.sDurations[0]);
65
mStatsManager
.refreshStats(true);
66
for (ProcStatsPackageEntry pkgEntry :
mStatsManager
.getEntries()) {
86
*
mStatsManager
.getMemInfo().getWeightToRam();
125
mStatsManager
.getMemInfo(), mStats, false);
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
AnomalyConfigJobServiceTest.java
61
private StatsManager
mStatsManager
;
114
mJobService.checkAnomalyConfig(
mStatsManager
);
116
verify(
mStatsManager
).removeConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY);
127
mJobService.checkAnomalyConfig(
mStatsManager
);
129
verify(
mStatsManager
).addConfig(eq(StatsManagerConfig.ANOMALY_CONFIG_KEY), any());
/packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsBase.java
62
protected ProcStatsData
mStatsManager
;
70
mStatsManager
= new ProcStatsData(getActivity(), icicle != null
76
mStatsManager
.setDuration(icicle != null
83
outState.putLong(DURATION,
mStatsManager
.getDuration());
90
mStatsManager
.refreshStats(false);
98
mStatsManager
.xferStats();
121
mStatsManager
.setDuration(sDurations[position]);
ProcessStatsSummary.java
70
MemInfo memInfo =
mStatsManager
.getMemInfo();
81
int memState =
mStatsManager
.getMemState();
97
int numApps =
mStatsManager
.getEntries().size();
118
mStatsManager
.xferStats();
ProcessStatsUi.java
114
MemInfo memInfo =
mStatsManager
.getMemInfo();
158
MemInfo memInfo =
mStatsManager
.getMemInfo();
160
List<ProcStatsPackageEntry> pkgEntries =
mStatsManager
.getEntries();
/frameworks/base/tests/net/java/com/android/server/connectivity/
MultipathPolicyTrackerTest.java
99
@Mock private NetworkStatsManager
mStatsManager
;
144
mockService(Context.NETWORK_STATS_SERVICE, NetworkStatsManager.class,
mStatsManager
);
255
verify(
mStatsManager
, times(1)).registerUsageCallback(
272
verify(
mStatsManager
, times(1)).registerUsageCallback(
289
verify(
mStatsManager
, times(1)).registerUsageCallback(
306
verify(
mStatsManager
, times(1)).registerUsageCallback(
321
verify(
mStatsManager
, times(1)).registerUsageCallback(
330
verify(
mStatsManager
, times(1)).unregisterUsageCallback(any());
331
verify(
mStatsManager
, times(1)).registerUsageCallback(
346
verify(
mStatsManager
, times(1)).registerUsageCallback
[
all
...]
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
MainActivity.java
44
StatsManager
mStatsManager
;
174
if (
mStatsManager
!= null) {
176
byte[] data =
mStatsManager
.getReports(CONFIG_ID);
201
if (
mStatsManager
!= null) {
203
mStatsManager
.addConfig(CONFIG_ID, config);
226
if (
mStatsManager
!= null) {
228
mStatsManager
.setFetchReportsOperation(pi, CONFIG_ID);
250
if (
mStatsManager
!= null) {
252
mStatsManager
.setFetchReportsOperation(null, CONFIG_ID);
267
mStatsManager
= (StatsManager) getSystemService("stats")
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
StorageAsyncLoader.java
53
private StorageStatsSource
mStatsManager
;
62
mStatsManager
= source;
102
stats =
mStatsManager
.getStatsForPackage(mUuid, app.packageName, myUser);
110
final long cacheQuota =
mStatsManager
.getCacheQuotaBytes(mUuid, app.uid);
154
result.externalStats =
mStatsManager
.getExternalStorageStats(mUuid,
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
LoadtestActivity.java
179
private StatsManager
mStatsManager
;
307
mStatsManager
= (StatsManager) getSystemService("stats");
357
if (
mStatsManager
!= null) {
360
data =
mStatsManager
.getStatsMetadata();
383
if (
mStatsManager
!= null) {
386
data =
mStatsManager
.getReports(ConfigFactory.CONFIG_ID);
576
if (
mStatsManager
!= null) {
579
mStatsManager
.removeConfig(ConfigFactory.CONFIG_ID);
589
if (
mStatsManager
!= null) {
591
mStatsManager
.addConfig(ConfigFactory.CONFIG_ID, configData.bytes)
[
all
...]
/frameworks/base/services/core/java/com/android/server/connectivity/
MultipathPolicyTracker.java
110
private NetworkStatsManager
mStatsManager
;
148
mStatsManager
= mContext.getSystemService(NetworkStatsManager.class);
393
mStatsManager
.registerUsageCallback(mNetworkTemplate, TYPE_MOBILE, budget,
401
mStatsManager
.unregisterUsageCallback(mUsageCallback);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
AppMemoryPreferenceControllerTest.java
120
ReflectionHelpers.setField(mController, "
mStatsManager
", data);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
AppsAsyncLoader.java
72
private StorageStatsSource
mStatsManager
;
88
mStatsManager
= source;
126
appSpace =
mStatsManager
.getStatsForUid(app.volumeUuid, app.uid);
Completed in 337 milliseconds