HomeSort by relevance Sort by last modified time
    Searched full:statsmanager (Results 1 - 24 of 24) sorted by null

  /packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
AnomalyConfigReceiver.java 20 import android.app.StatsManager;
29 * Receive broadcast when {@link StatsManager} restart, then check the anomaly config and
30 * prepare info for {@link StatsManager}
37 if (StatsManager.ACTION_STATSD_STARTED.equals(intent.getAction())
39 final StatsManager statsManager = context.getSystemService(StatsManager.class);
45 BatteryTipUtils.uploadAnomalyPendingIntent(context, statsManager);
46 } catch (StatsManager.StatsUnavailableException e) {
AnomalyConfigJobService.java 19 import android.app.StatsManager;
72 final StatsManager statsManager = getSystemService(StatsManager.class);
73 checkAnomalyConfig(statsManager);
75 BatteryTipUtils.uploadAnomalyPendingIntent(this, statsManager);
76 } catch (StatsManager.StatsUnavailableException e) {
91 synchronized void checkAnomalyConfig(StatsManager statsManager) {
104 statsManager.removeConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY)
    [all...]
AnomalyDetectionReceiver.java 19 import android.app.StatsManager;
27 * Receive the anomaly info from {@link StatsManager}
36 final long configUid = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_UID, -1);
37 final long configKey = intent.getLongExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, -1);
38 final long subscriptionId = intent.getLongExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID,
BatteryTipUtils.java 21 import android.app.StatsManager;
117 * Upload the {@link PendingIntent} to {@link StatsManager} for anomaly detection
118 * @throws StatsManager.StatsUnavailableException if failed to communicate with stats service
120 public static void uploadAnomalyPendingIntent(Context context, StatsManager statsManager)
121 throws StatsManager.StatsUnavailableException {
125 statsManager.setBroadcastSubscriber(pendingIntent,
AnomalyDetectionJobService.java 23 import android.app.StatsManager;
135 bundle.getParcelable(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE);
139 StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES);
StatsManagerConfig.java 28 * This class provides all the configs needed if we want to use {@link android.app.StatsManager}
33 * This value is used in {@link android.app.StatsManager#addConfiguration(long, byte[])}
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
AnomalyConfigJobServiceTest.java 33 import android.app.StatsManager;
61 private StatsManager mStatsManager;
108 throws StatsManager.StatsUnavailableException{
121 throws StatsManager.StatsUnavailableException{
AnomalyDetectionJobServiceTest.java 41 import android.app.StatsManager;
119 mBundle.putParcelable(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE, mStatsDimensionsValue);
163 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies);
219 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies);
244 mBundle.putStringArrayList(StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookies);
  /packages/apps/Settings/src/com/android/settings/
SettingsDumpService.java 88 ProcStatsData statsManager = new ProcStatsData(this, false);
89 statsManager.refreshStats(true);
90 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo();
95 obj.put("state", statsManager.getMemState());
  /packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsSummary.java 143 ProcStatsData statsManager = new ProcStatsData(mContext, false);
144 statsManager.setDuration(sDurations[0]);
145 MemInfo memInfo = statsManager.getMemInfo();
  /frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
MainActivity.java 21 import android.app.StatsManager;
22 import android.app.StatsManager.StatsUnavailableException;
44 StatsManager mStatsManager;
267 mStatsManager = (StatsManager) getSystemService("stats");
  /frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
LoadtestActivity.java 22 import android.app.StatsManager;
179 private StatsManager mStatsManager;
307 mStatsManager = (StatsManager) getSystemService("stats");
361 } catch (StatsManager.StatsUnavailableException e) {
387 } catch (StatsManager.StatsUnavailableException e) {
581 } catch (StatsManager.StatsUnavailableException e) {
595 } catch (StatsManager.StatsUnavailableException | IllegalArgumentException e) {
  /frameworks/base/services/core/java/com/android/server/stats/
StatsCompanionService.java 23 import android.app.StatsManager;
112 * StatsManager#setFetchReportsOperation. This allows easy de-duping in the receiver if
229 .putExtra(StatsManager.EXTRA_STATS_CONFIG_UID, configUid)
230 .putExtra(StatsManager.EXTRA_STATS_CONFIG_KEY, configKey)
231 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID, subscriptionId)
232 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_RULE_ID, subscriptionRuleId)
233 .putExtra(StatsManager.EXTRA_STATS_DIMENSIONS_VALUE, dimensionsValue);
238 StatsManager.EXTRA_STATS_BROADCAST_SUBSCRIBER_COOKIES, cookieList);
    [all...]
  /frameworks/base/core/java/android/app/
StatsManager.java 38 public final class StatsManager {
39 private static final String TAG = "StatsManager";
88 public StatsManager(Context context) {
SystemServiceRegistry.java 460 registerService(Context.STATS_MANAGER, StatsManager.class,
461 new CachedServiceFetcher<StatsManager>() {
463 public StatsManager createService(ContextImpl ctx) {
464 return new StatsManager(ctx.getOuterContext());
    [all...]
  /frameworks/base/cmds/statsd/src/guardrail/
StatsdStats.h 178 * The report may be requested via StatsManager API, or through adb cmd.
  /frameworks/base/config/
hiddenapi-public-dex.txt     [all...]
boot-image-profile.txt     [all...]
preloaded-classes 345 android.app.StatsManager
346 android.app.StatsManager$StatsUnavailableException
    [all...]
  /frameworks/base/api/
system-current.txt     [all...]
  /prebuilts/sdk/system-api/
28.txt     [all...]
  /prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar 
  /frameworks/base/core/java/android/content/
Context.java     [all...]
  /frameworks/base/core/java/android/provider/
Settings.java     [all...]

Completed in 802 milliseconds