OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UsageStats
(Results
1 - 25
of
27
) sorted by null
1
2
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
CustomUsageStats.java
19
import android.app.usage.
UsageStats
;
26
public
UsageStats
usageStats
;
AppUsageStatisticsFragment.java
19
import android.app.usage.
UsageStats
;
81
.getSystemService("
usagestats
"); //Context.USAGE_STATS_SERVICE
114
List<
UsageStats
> usageStatsList =
136
* @return A list of {@link android.app.usage.
UsageStats
}.
138
public List<
UsageStats
> getUsageStatistics(int intervalType) {
143
List<
UsageStats
> queryUsageStats = mUsageStatsManager
164
* Updates the {@link #mRecyclerView} with the list of {@link
UsageStats
} passed as an argument.
166
* @param usageStatsList A list of {@link
UsageStats
} from which update the
170
void updateAppsList(List<
UsageStats
> usageStatsList) {
174
customUsageStats.
usageStats
= usageStatsList.get(i)
[
all
...]
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
CustomUsageStats.java
19
import android.app.usage.
UsageStats
;
26
public
UsageStats
usageStats
;
AppUsageStatisticsFragment.java
19
import android.app.usage.
UsageStats
;
81
.getSystemService("
usagestats
"); //Context.USAGE_STATS_SERVICE
114
List<
UsageStats
> usageStatsList =
136
* @return A list of {@link android.app.usage.
UsageStats
}.
138
public List<
UsageStats
> getUsageStatistics(int intervalType) {
143
List<
UsageStats
> queryUsageStats = mUsageStatsManager
164
* Updates the {@link #mRecyclerView} with the list of {@link
UsageStats
} passed as an argument.
166
* @param usageStatsList A list of {@link
UsageStats
} from which update the
170
void updateAppsList(List<
UsageStats
> usageStatsList) {
174
customUsageStats.
usageStats
= usageStatsList.get(i)
[
all
...]
/frameworks/base/core/java/android/app/usage/
UsageStats.java
26
public final class
UsageStats
implements Parcelable {
66
public
UsageStats
() {
69
public
UsageStats
(
UsageStats
stats) {
84
* Get the beginning of the time range this {@link android.app.usage.
UsageStats
} represents,
94
* Get the end of the time range this {@link android.app.usage.
UsageStats
} represents,
120
* Add the statistics from the right {@link
UsageStats
} to the left. The package name for
121
* both {@link
UsageStats
} objects must be the same.
122
* @param right The {@link
UsageStats
} object to merge into this one.
124
* {@link
UsageStats
} objects are different
[
all
...]
UsageStatsManager.java
102
* <p>The returned list will contain a {@link
UsageStats
} object for each package that
120
* @return A list of {@link
UsageStats
} or null if none are available.
128
public List<
UsageStats
> queryUsageStats(int intervalType, long beginTime, long endTime) {
131
ParceledListSlice<
UsageStats
> slice = mService.queryUsageStats(intervalType, beginTime,
201
public Map<String,
UsageStats
> queryAndAggregateUsageStats(long beginTime, long endTime) {
202
List<
UsageStats
> stats = queryUsageStats(INTERVAL_BEST, beginTime, endTime);
207
ArrayMap<String,
UsageStats
> aggregatedStats = new ArrayMap<>();
210
UsageStats
newStat = stats.get(i);
211
UsageStats
existingStat = aggregatedStats.get(newStat.getPackageName());
/external/chromium_org/third_party/WebKit/public/web/
WebCache.h
41
struct
UsageStats
{
80
BLINK_EXPORT static void getUsageStats(
UsageStats
*);
/packages/apps/Settings/src/com/android/settings/
UsageStatsActivity.java
20
import android.app.usage.
UsageStats
;
60
public static class AppNameComparator implements Comparator<
UsageStats
> {
68
public final int compare(
UsageStats
a,
UsageStats
b) {
75
public static class LastTimeUsedComparator implements Comparator<
UsageStats
> {
77
public final int compare(
UsageStats
a,
UsageStats
b) {
83
public static class UsageTimeComparator implements Comparator<
UsageStats
> {
85
public final int compare(
UsageStats
a,
UsageStats
b)
[
all
...]
/external/chromium_org/components/web_cache/browser/
web_cache_manager.h
78
int renderer_id, const blink::WebCache::
UsageStats
& stats);
107
struct RendererInfo : blink::WebCache::
UsageStats
{
169
blink::WebCache::
UsageStats
* stats);
175
const blink::WebCache::
UsageStats
& stats);
185
const blink::WebCache::
UsageStats
& active_stats,
187
const blink::WebCache::
UsageStats
& inactive_stats,
web_cache_manager_unittest.cc
27
static const WebCache::
UsageStats
kStats;
28
static const WebCache::
UsageStats
kStats2;
54
WebCache::
UsageStats
* stats) {
58
const WebCache::
UsageStats
& stats) {
64
const WebCache::
UsageStats
& active_stats,
66
const WebCache::
UsageStats
& inactive_stats,
109
const WebCache::
UsageStats
WebCacheManagerTest::kStats = {
118
const WebCache::
UsageStats
WebCacheManagerTest::kStats2 = {
126
static bool operator==(const WebCache::
UsageStats
& lhs,
127
const WebCache::
UsageStats
& rhs)
[
all
...]
web_cache_manager.cc
125
const WebCache::
UsageStats
& stats) {
184
WebCache::
UsageStats
* stats) {
187
memset(stats, 0, sizeof(WebCache::
UsageStats
));
205
const WebCache::
UsageStats
& stats) {
230
const WebCache::
UsageStats
& active_stats,
232
const WebCache::
UsageStats
& inactive_stats,
347
WebCache::
UsageStats
active;
348
WebCache::
UsageStats
inactive;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
UsageStatsActivity.java
17
package com.android.tests.
usagestats
;
20
import android.app.usage.
UsageStats
;
44
private Comparator<
UsageStats
> mComparator = new Comparator<
UsageStats
>() {
46
public int compare(
UsageStats
o1,
UsageStats
o2) {
87
Map<String,
UsageStats
> stats = mUsageStatsManager.queryAndAggregateUsageStats(
93
private ArrayList<
UsageStats
> mStats = new ArrayList<>();
95
public void update(Map<String,
UsageStats
> stats) {