/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 29 public final class UsageStats implements Parcelable { class 80 public UsageStats() { in UsageStats() method in UsageStats 83 public UsageStats(UsageStats stats) { in UsageStats() method in UsageStats 98 public UsageStats getObfuscatedForInstantApp() { in getObfuscatedForInstantApp() 99 final UsageStats ret = new UsageStats(this); in getObfuscatedForInstantApp() 163 public void add(UsageStats right) { in add() 236 public static final Creator<UsageStats> CREATOR = new Creator<UsageStats>() { 238 public UsageStats createFromParcel(Parcel in) { 239 UsageStats stats = new UsageStats(); 271 public UsageStats[] newArray(int size) { [all …]
|
D | CacheQuotaHint.java | 40 private final UsageStats mUsageStats; 66 public UsageStats getUsageStats() { in getUsageStats() 103 private UsageStats mUsageStats; 127 public @NonNull Builder setUsageStats(@Nullable UsageStats stats) { in setUsageStats() 151 .setUsageStats(in.readParcelable(UsageStats.class.getClassLoader()))
|
D | UsageStatsManager.java | 277 public List<UsageStats> queryUsageStats(int intervalType, long beginTime, long endTime) { in queryUsageStats() 280 ParceledListSlice<UsageStats> slice = mService.queryUsageStats(intervalType, beginTime, in queryUsageStats() 411 public Map<String, UsageStats> queryAndAggregateUsageStats(long beginTime, long endTime) { in queryAndAggregateUsageStats() 412 List<UsageStats> stats = queryUsageStats(INTERVAL_BEST, beginTime, endTime); in queryAndAggregateUsageStats() 417 ArrayMap<String, UsageStats> aggregatedStats = new ArrayMap<>(); in queryAndAggregateUsageStats() 420 UsageStats newStat = stats.get(i); in queryAndAggregateUsageStats() 421 UsageStats existingStat = aggregatedStats.get(newStat.getPackageName()); in queryAndAggregateUsageStats()
|
D | UsageStatsManagerInternal.java | 208 public abstract List<UsageStats> queryUsageStatsForUser(@UserIdInt int userId, int interval, in queryUsageStatsForUser()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverListControllerTest.java | 39 import android.app.usage.UsageStats; 97 UsageStats packageStats = initStats(packageName, action, annotation, initialCount); in reportChooserSelection() 98 UsageStats oneClickStats = initStats(packageName, action, annotation, 1); in reportChooserSelection() 99 final List<UsageStats> slices = new ArrayList<>(); in reportChooserSelection() 101 ParceledListSlice<UsageStats> stats = new ParceledListSlice<>(slices); in reportChooserSelection() 125 private UsageStats initStats(String packageName, String action, in initStats() 131 UsageStats packageStats = new UsageStats(); in initStats() 153 Map<String, UsageStats> stats = in getCount() 155 UsageStats packageStats = stats.get(packageName); in getCount()
|
D | ResolverActivityTest.java | 29 import android.app.usage.UsageStats;
|
D | ChooserActivityTest.java | 28 import android.app.usage.UsageStats;
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 31 private UsageStats left; 32 private UsageStats right; 36 left = new UsageStats(); in setUp() 37 right = new UsageStats(); in setUp()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 23 import android.app.usage.UsageStats; 38 public final ArrayMap<String, UsageStats> packageStats = new ArrayMap<>(); 90 UsageStats getOrCreateUsageStats(String packageName) { in getOrCreateUsageStats() 91 UsageStats usageStats = packageStats.get(packageName); in getOrCreateUsageStats() 93 usageStats = new UsageStats(); in getOrCreateUsageStats() 153 UsageStats usageStats = getOrCreateUsageStats(packageName); in update() 182 UsageStats usageStats = getOrCreateUsageStats(packageName); in updateChooserCounts() 216 UsageStats usageStats = getOrCreateUsageStats(packageName); in incrementAppLaunchCount()
|
D | UserUsageStatsService.java | 23 import android.app.usage.UsageStats; 129 UsageStats pkgStats = stat.packageStats.valueAt(i); in init() 231 private static final StatCombiner<UsageStats> sUsageStatsCombiner = 232 new StatCombiner<UsageStats>() { 235 List<UsageStats> accResult) { 243 accResult.add(new UsageStats(stats.packageStats.valueAt(i))); 345 List<UsageStats> queryUsageStats(int bucketType, long beginTime, long endTime) { in queryUsageStats() 461 UsageStats pkgStats = stat.packageStats.valueAt(i); in rolloverStats() 691 final ArrayMap<String, UsageStats> pkgStats = stats.packageStats; in printIntervalStats() 694 final UsageStats usageStats = pkgStats.valueAt(i); in printIntervalStats() [all …]
|
D | UsageStatsXmlV1.java | 27 import android.app.usage.UsageStats; 83 final UsageStats stats = statsOut.getOrCreateUsageStats(pkg); in loadUsageStats() 116 XmlPullParser parser, UsageStats usageStats, String action) in loadChooserCounts() 201 final UsageStats usageStats) throws IOException { in writeUsageStats() 226 private static void writeChooserCounts(XmlSerializer xml, final UsageStats usageStats) in writeChooserCounts()
|
D | UsageStatsService.java | 34 import android.app.usage.UsageStats; 451 List<UsageStats> queryUsageStats(int userId, int bucketType, long beginTime, long endTime, in queryUsageStats() 461 List<UsageStats> list = service.queryUsageStats(bucketType, beginTime, endTime); in queryUsageStats() 470 final UsageStats stats = list.get(i); in queryUsageStats() 726 public ParceledListSlice<UsageStats> queryUsageStats(int bucketType, long beginTime, in queryUsageStats() 738 final List<UsageStats> results = UsageStatsService.this.queryUsageStats( in queryUsageStats() 1335 public List<UsageStats> queryUsageStatsForUser( in queryUsageStatsForUser()
|
D | UsageStatsDatabase.java | 20 import android.app.usage.UsageStats; 568 UsageStats pkgStats = stats.packageStats.valueAt(i); in pruneChooserCountsOlderThan()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 22 import android.app.usage.UsageStats; 53 private Comparator<UsageStats> mComparator = new Comparator<UsageStats>() { 55 public int compare(UsageStats o1, UsageStats o2) { 184 Map<String, UsageStats> stats = mUsageStatsManager.queryAndAggregateUsageStats( in updateAdapter() 190 private ArrayList<UsageStats> mStats = new ArrayList<>(); 192 public void update(Map<String, UsageStats> stats) { in update()
|
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/storage/ |
D | CacheQuotaServiceImplTest.java | 24 import android.app.usage.UsageStats; 144 UsageStats stats = new UsageStats(); in makeNewRequest()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 23 import android.app.usage.UsageStats; 178 List<UsageStats> stats = in getUnfulfilledRequests() 185 for (UsageStats stat : stats) { in getUnfulfilledRequests()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 20 import android.app.usage.UsageStats; 95 private final Map<String, UsageStats> mStats; 223 final UsageStats pkStats = mStats.get(target.name.getPackageName()); in compute()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 996 Landroid/app/usage/UsageStats;->mBeginTimeStamp:J 997 Landroid/app/usage/UsageStats;->mEndTimeStamp:J 998 Landroid/app/usage/UsageStats;->mLastEvent:I 999 Landroid/app/usage/UsageStats;->mLastTimeUsed:J 1000 Landroid/app/usage/UsageStats;->mLaunchCount:I 1001 Landroid/app/usage/UsageStats;->mPackageName:Ljava/lang/String; 1002 Landroid/app/usage/UsageStats;->mTotalTimeInForeground:J
|
D | preloaded-classes | 573 android.app.usage.UsageStats 574 android.app.usage.UsageStats$1
|
D | boot-image-profile.txt | 1145 HPLandroid/app/usage/CacheQuotaHint;->getUsageStats()Landroid/app/usage/UsageStats; 1186 HPLandroid/app/usage/UsageStats;-><init>(Landroid/app/usage/UsageStats;)V 1187 HPLandroid/app/usage/UsageStats;->add(Landroid/app/usage/UsageStats;)V 1188 HPLandroid/app/usage/UsageStats;->getFirstTimeStamp()J 1189 HPLandroid/app/usage/UsageStats;->getLastTimeStamp()J 1190 HPLandroid/app/usage/UsageStats;->getLastTimeUsed()J 1191 HPLandroid/app/usage/UsageStats;->getPackageName()Ljava/lang/String; 1192 HPLandroid/app/usage/UsageStats;->getTotalTimeInForeground()J 1193 HPLandroid/app/usage/UsageStats;->writeToParcel(Landroid/os/Parcel;I)V 16369 HSPLandroid/app/usage/UsageStats$1;-><init>()V [all …]
|
D | hiddenapi-public-dex.txt | 4527 Landroid/app/usage/CacheQuotaHint$Builder;->setUsageStats(Landroid/app/usage/UsageStats;)Landroid/a… 4536 Landroid/app/usage/CacheQuotaHint;->getUsageStats()Landroid/app/usage/UsageStats; 4677 Landroid/app/usage/UsageStats; 4678 Landroid/app/usage/UsageStats;-><init>(Landroid/app/usage/UsageStats;)V 4679 Landroid/app/usage/UsageStats;->add(Landroid/app/usage/UsageStats;)V 4680 Landroid/app/usage/UsageStats;->CREATOR:Landroid/os/Parcelable$Creator; 4681 Landroid/app/usage/UsageStats;->describeContents()I 4682 Landroid/app/usage/UsageStats;->getAppLaunchCount()I 4683 Landroid/app/usage/UsageStats;->getFirstTimeStamp()J 4684 Landroid/app/usage/UsageStats;->getLastTimeStamp()J [all …]
|
/frameworks/base/api/ |
D | system-current.txt | 717 method public android.app.usage.UsageStats getUsageStats(); 730 …method public android.app.usage.CacheQuotaHint.Builder setUsageStats(android.app.usage.UsageStats); 750 public final class UsageStats implements android.os.Parcelable {
|
D | current.txt | 7487 public final class UsageStats implements android.os.Parcelable { 7488 ctor public UsageStats(android.app.usage.UsageStats); 7489 method public void add(android.app.usage.UsageStats); 7497 field public static final android.os.Parcelable.Creator<android.app.usage.UsageStats> CREATOR; 7503 …method public java.util.Map<java.lang.String, android.app.usage.UsageStats> queryAndAggregateUsage… 7508 method public java.util.List<android.app.usage.UsageStats> queryUsageStats(int, long, long);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5638 public final class UsageStats implements android.os.Parcelable { 5639 ctor public UsageStats(android.app.usage.UsageStats); 5640 method public void add(android.app.usage.UsageStats); 5648 field public static final android.os.Parcelable.Creator<android.app.usage.UsageStats> CREATOR; 5652 …method public java.util.Map<java.lang.String, android.app.usage.UsageStats> queryAndAggregateUsage… 5655 method public java.util.List<android.app.usage.UsageStats> queryUsageStats(int, long, long);
|