OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:intervalType
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/core/java/android/app/usage/
UsageStatsManager.java
107
*
intervalType
= INTERVAL_YEARLY
119
* @param
intervalType
The time interval by which the stats are aggregated.
130
public List<UsageStats> queryUsageStats(int
intervalType
, long beginTime, long endTime) {
133
ParceledListSlice<UsageStats> slice = mService.queryUsageStats(
intervalType
, beginTime,
149
* @param
intervalType
The time interval by which the stats are aggregated.
154
public List<ConfigurationStats> queryConfigurations(int
intervalType
, long beginTime,
159
intervalType
, beginTime, endTime, mContext.getOpPackageName());
/frameworks/base/services/usage/java/com/android/server/usage/
UserUsageStatsService.java
233
private <T> List<T> queryStats(int
intervalType
, final long beginTime, final long endTime,
235
if (
intervalType
== UsageStatsManager.INTERVAL_BEST) {
236
intervalType
= mDatabase.findBestFitBucket(beginTime, endTime);
237
if (
intervalType
< 0) {
240
intervalType
= UsageStatsManager.INTERVAL_DAILY;
244
if (
intervalType
< 0 ||
intervalType
>= mCurrentStats.length) {
246
Slog.d(TAG, mLogPrefix + "Bad
intervalType
used " +
intervalType
);
251
final IntervalStats currentStats = mCurrentStats[
intervalType
];
[
all
...]
UsageStatsDatabase.java
341
public IntervalStats getLatestUsageStats(int
intervalType
) {
343
if (
intervalType
< 0 ||
intervalType
>= mIntervalDirs.length) {
344
throw new IllegalArgumentException("Bad interval type " +
intervalType
);
347
final int fileCount = mSortedStatFiles[
intervalType
].size();
353
final AtomicFile f = mSortedStatFiles[
intervalType
].valueAt(fileCount - 1);
387
public <T> List<T> queryUsageStats(int
intervalType
, long beginTime, long endTime,
390
if (
intervalType
< 0 ||
intervalType
>= mIntervalDirs.length) {
391
throw new IllegalArgumentException("Bad interval type " +
intervalType
);
[
all
...]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
UsageStatsTest.java
284
final int
intervalType
= intervalLengths.keyAt(i);
287
final List<UsageStats> statsList = mUsageStatsManager.queryUsageStats(
intervalType
, startTime, endTime);
300
assertTrue("Did not find package " + mTargetPackage + " in interval " +
intervalType
, foundPackage);
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java
127
*
intervalType
argument.
129
* @param
intervalType
The time interval by which the stats are aggregated.
136
public List<UsageStats> getUsageStatistics(int
intervalType
) {
142
.queryUsageStats(
intervalType
, cal.getTimeInMillis(),
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java
127
*
intervalType
argument.
129
* @param
intervalType
The time interval by which the stats are aggregated.
136
public List<UsageStats> getUsageStatistics(int
intervalType
) {
142
.queryUsageStats(
intervalType
, cal.getTimeInMillis(),
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
AppUsageStatisticsFragment.java
127
*
intervalType
argument.
129
* @param
intervalType
The time interval by which the stats are aggregated.
136
public List<UsageStats> getUsageStatistics(int
intervalType
) {
142
.queryUsageStats(
intervalType
, cal.getTimeInMillis(),
/external/skia/src/gpu/effects/
GrDashingEffect.cpp
[
all
...]
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/22/
android.jar
/prebuilts/sdk/23/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 337 milliseconds