/packages/modules/StatsD/framework/api/ |
D | system-current.txt | 4 public final class StatsManager { 5 …_USAGE_STATS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailabl… 10 …STATS}) public long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailabl… 11 …CKAGE_USAGE_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailabl… 12 …AGE_USAGE_STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailabl… 13 …CKAGE_USAGE_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailabl… 15 …ngedOperation(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailabl… 16 …tSubscriber(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailabl… 19 …hReportsOperation(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailabl… 20 …, @Nullable android.app.StatsManager.PullAtomMetadata, @NonNull java.util.concurrent.Executor, @No… [all …]
|
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/ |
D | LibStatsPullTests.java | 20 import android.app.StatsManager; 76 sPullReturnValue = StatsManager.PULL_SUCCESS; in setup() 89 StatsManager statsManager = (StatsManager) mContext.getSystemService( in tearDown() 99 StatsManager statsManager = (StatsManager) mContext.getSystemService( in testPullAtomCallbackRegistration() 133 StatsManager statsManager = (StatsManager) mContext.getSystemService( in testPullAtomCallbackFailure() 136 sPullReturnValue = StatsManager.PULL_SKIP; in testPullAtomCallbackFailure() 154 StatsManager statsManager = (StatsManager) mContext.getSystemService( in testPullAtomCallbackTimeout() 179 StatsManager statsManager = (StatsManager) mContext.getSystemService( in testPullAtomCallbackCache() 218 StatsManager statsManager = (StatsManager) mContext.getSystemService( in testPullAtomCallbackStress() 251 private void createAndAddConfigToStatsd(StatsManager statsManager) throws Exception { in createAndAddConfigToStatsd()
|
D | StatsConfigUtils.java | 20 import android.app.StatsManager; 56 public static boolean verifyValidConfigExists(StatsManager statsManager, long configId) { in verifyValidConfigExists() 88 public static ConfigMetricsReport getConfigMetricsReport(StatsManager statsManager, in getConfigMetricsReport() 119 public static List<Atom> getGaugeMetricDataList(StatsManager statsManager, long configId) { in getGaugeMetricDataList()
|
/packages/modules/StatsD/framework/test/src/android/app/ |
D | PullAtomMetadataTest.java | 21 import android.app.StatsManager.PullAtomMetadata; 36 assertThat(metadata.getTimeoutMillis()).isEqualTo(StatsManager.DEFAULT_TIMEOUT_MILLIS); in testEmpty() 37 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testEmpty() 47 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testSetTimeoutMillis() 56 assertThat(metadata.getTimeoutMillis()).isEqualTo(StatsManager.DEFAULT_TIMEOUT_MILLIS); in testSetCoolDownMillis() 66 assertThat(metadata.getTimeoutMillis()).isEqualTo(StatsManager.DEFAULT_TIMEOUT_MILLIS); in testSetAdditiveFields() 67 assertThat(metadata.getCoolDownMillis()).isEqualTo(StatsManager.DEFAULT_COOL_DOWN_MILLIS); in testSetAdditiveFields()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsCompanion.java | 20 import android.app.StatsManager; 140 intent.putExtra(StatsManager.EXTRA_STATS_ACTIVE_CONFIG_KEYS, configIds); in sendActiveConfigsChangedBroadcast() 159 .putExtra(StatsManager.EXTRA_STATS_CONFIG_UID, configUid) in sendSubscriberBroadcast() 160 .putExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, configId) in sendSubscriberBroadcast() 161 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID, subscriptionId) in sendSubscriberBroadcast() 162 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_RULE_ID, in sendSubscriberBroadcast() 164 .putExtra(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE, dimensionsValue); in sendSubscriberBroadcast() 169 StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookieList); in sendSubscriberBroadcast()
|
D | StatsCompanionService.java | 22 import android.app.StatsManager; 607 final Intent intent = new Intent(StatsManager.ACTION_STATSD_STARTED); in sendStatsdStartedDirectedBroadcast()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyConfigJobService.java | 19 import android.app.StatsManager; 73 final StatsManager statsManager = getSystemService(StatsManager.class); in onStartJob() 77 } catch (StatsManager.StatsUnavailableException e) { in onStartJob() 92 synchronized void checkAnomalyConfig(StatsManager statsManager) { in checkAnomalyConfig() 106 } catch (StatsManager.StatsUnavailableException e) { in checkAnomalyConfig() 121 } catch (StatsManager.StatsUnavailableException e) { in checkAnomalyConfig()
|
D | AnomalyConfigReceiver.java | 19 import android.app.StatsManager; 34 if (StatsManager.ACTION_STATSD_STARTED.equals(intent.getAction()) in onReceive() 36 final StatsManager statsManager = context.getSystemService(StatsManager.class); in onReceive() 43 } catch (StatsManager.StatsUnavailableException e) { in onReceive()
|
D | AnomalyDetectionReceiver.java | 19 import android.app.StatsManager; 36 final long configUid = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_UID, -1); in onReceive() 37 final long configKey = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, -1); in onReceive() 38 final long subscriptionId = intent.getLongExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID, in onReceive()
|
D | BatteryTipUtils.java | 21 import android.app.StatsManager; 121 public static void uploadAnomalyPendingIntent(Context context, StatsManager statsManager) in uploadAnomalyPendingIntent() 122 throws StatsManager.StatsUnavailableException { in uploadAnomalyPendingIntent()
|
D | AnomalyDetectionJobService.java | 23 import android.app.StatsManager; 135 bundle.getParcelable(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE); in saveAnomalyToDatabase() 139 StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES); in saveAnomalyToDatabase()
|
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/ |
D | PulledMetrics.java | 22 import android.app.StatsManager; 50 final StatsManager statsManager = context.getSystemService(StatsManager.class); in initialize() 117 private static class StatsPullCallbackHandler implements StatsManager.StatsPullAtomCallback { 123 return StatsManager.PULL_SKIP; in onPullAtom() 127 return StatsManager.PULL_SUCCESS; in onPullAtom()
|
D | TranscodeMetrics.java | 21 import android.app.StatsManager;
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | CarStatsService.java | 19 import android.app.StatsManager; 20 import android.app.StatsManager.PullAtomMetadata; 84 private final StatsManager mStatsManager; 92 mStatsManager = (StatsManager) mContext.getSystemService(Context.STATS_MANAGER); in CarStatsService() 158 return StatsManager.PULL_SKIP; in pullVmsClientStats() 177 return StatsManager.PULL_SUCCESS; in pullVmsClientStats()
|
/packages/modules/StatsD/framework/java/android/os/ |
D | StatsFrameworkInitializer.java | 21 import android.app.StatsManager; 73 StatsManager.class, in registerServiceWrappers() 74 context -> new StatsManager(context) in registerServiceWrappers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyConfigJobServiceTest.java | 34 import android.app.StatsManager; 61 private StatsManager mStatsManager; 107 throws StatsManager.StatsUnavailableException{ in checkAnomalyConfig_newConfigExist_removeOldConfig() 120 throws StatsManager.StatsUnavailableException{ in checkAnomalyConfig_newConfigExist_uploadNewConfig()
|
D | AnomalyDetectionJobServiceTest.java | 41 import android.app.StatsManager; 121 mBundle.putParcelable(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE, mStatsDimensionsValue); in setUp() 164 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies); in saveAnomalyToDatabase_systemApp_doNotSaveButLog() 220 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies); in saveAnomalyToDatabase_normalAppWithAutoRestriction_save() 245 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies); in saveAnomalyToDatabase_normalAppWithoutAutoRestriction_save()
|
/packages/modules/StatsD/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1 Landroid/app/StatsManager;-><init>(Landroid/content/Context;)V 2 Landroid/app/StatsManager;->DEBUG:Z 3 Landroid/app/StatsManager;->getIStatsManagerLocked()Landroid/os/IStatsManager; 4 Landroid/app/StatsManager;->mContext:Landroid/content/Context; 5 Landroid/app/StatsManager;->mService:Landroid/os/IStatsManager; 6 Landroid/app/StatsManager;->TAG:Ljava/lang/String;
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 51 public final class StatsManager { class 130 public StatsManager(Context context) { in StatsManager() method in StatsManager
|