Home
last modified time | relevance | path

Searched refs:StatsManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java23 import android.app.StatsManager;
65 private final StatsManager mStatsManager;
70 mStatsManager = (StatsManager) context.getSystemService(Context.STATS_MANAGER); in MetricsCollector()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java22 import android.app.StatsManager;
179 private StatsManager mStatsManager;
307 mStatsManager = (StatsManager) getSystemService("stats"); in onCreate()
361 } catch (StatsManager.StatsUnavailableException e) { in getMetadata()
387 } catch (StatsManager.StatsUnavailableException e) { in getData()
581 } catch (StatsManager.StatsUnavailableException e) { in clearConfigs()
595 } catch (StatsManager.StatsUnavailableException | IllegalArgumentException e) { in setConfig()
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java21 import android.app.StatsManager;
22 import android.app.StatsManager.StatsUnavailableException;
44 StatsManager mStatsManager;
267 mStatsManager = (StatsManager) getSystemService("stats"); in onCreate()
/frameworks/base/core/java/android/app/
DStatsManager.java40 public final class StatsManager { class
95 public StatsManager(Context context) { in StatsManager() method in StatsManager
DSystemServiceRegistry.java600 registerService(Context.STATS_MANAGER, StatsManager.class, in registerService()
601 new CachedServiceFetcher<StatsManager>() { in registerService()
603 public StatsManager createService(ContextImpl ctx) { in registerService()
604 return new StatsManager(ctx.getOuterContext()); in registerService()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java46 import android.app.StatsManager;
400 intent.putExtra(StatsManager.EXTRA_STATS_ACTIVE_CONFIG_KEYS, configIds); in sendActiveConfigsChangedBroadcast()
419 .putExtra(StatsManager.EXTRA_STATS_CONFIG_UID, configUid) in sendSubscriberBroadcast()
420 .putExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, configKey) in sendSubscriberBroadcast()
421 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID, subscriptionId) in sendSubscriberBroadcast()
422 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_RULE_ID, subscriptionRuleId) in sendSubscriberBroadcast()
423 .putExtra(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE, dimensionsValue); in sendSubscriberBroadcast()
430 StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookieList); in sendSubscriberBroadcast()
2539 mContext.sendBroadcastAsUser(new Intent(StatsManager.ACTION_STATSD_STARTED) in statsdReady()
/frameworks/base/api/
Dsystem-current.txt573 public final class StatsManager {
574 …_USAGE_STATS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailabl…
578 …STATS}) public long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailabl…
579 …CKAGE_USAGE_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailabl…
580 …AGE_USAGE_STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailabl…
581 …CKAGE_USAGE_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailabl…
583 …ngedOperation(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailabl…
584 …tSubscriber(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailabl…
587 …hReportsOperation(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailabl…
598 public static class StatsManager.StatsUnavailableException extends android.util.AndroidException {
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt573 public final class StatsManager {
574 …_USAGE_STATS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailabl…
578 …STATS}) public long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailabl…
579 …CKAGE_USAGE_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailabl…
580 …AGE_USAGE_STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailabl…
581 …CKAGE_USAGE_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailabl…
583 …ngedOperation(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailabl…
584 …tSubscriber(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailabl…
587 …hReportsOperation(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailabl…
598 public static class StatsManager.StatsUnavailableException extends android.util.AndroidException {
[all …]
/frameworks/base/config/
Dpreloaded-classes356 android.app.StatsManager$StatsUnavailableException
357 android.app.StatsManager
Dboot-image-profile.txt2165 HSPLandroid/app/StatsManager;->getIStatsManagerLocked()Landroid/os/IStatsManager;
2283 …d/app/SystemServiceRegistry$40;->createService(Landroid/app/ContextImpl;)Landroid/app/StatsManager;
32413 Landroid/app/StatsManager$StatsUnavailableException;
32414 Landroid/app/StatsManager;
41042 HSPLandroid/app/StatsManager;->addConfig(J[B)V
41043 HSPLandroid/app/StatsManager;->getReports(J)[B
41044 HSPLandroid/app/StatsManager;->setFetchReportsOperation(Landroid/app/PendingIntent;J)V
41045 HSPLandroid/app/StatsManager;->setPullerCallback(ILandroid/os/IStatsPullerCallback;)V
Dhiddenapi-greylist-max-o.txt8967 Landroid/app/StatsManager;-><init>(Landroid/content/Context;)V
8968 Landroid/app/StatsManager;->DEBUG:Z
8969 Landroid/app/StatsManager;->getIStatsManagerLocked()Landroid/os/IStatsManager;
8970 Landroid/app/StatsManager;->mContext:Landroid/content/Context;
8971 Landroid/app/StatsManager;->mService:Landroid/os/IStatsManager;
8972 Landroid/app/StatsManager;->TAG:Ljava/lang/String;