HomeSort by relevance Sort by last modified time
    Searched refs:StatsUsageInterval (Results 1 - 5 of 5) sorted by null

  /developers/build/prebuilts/gradle/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
AppUsageStatisticsFragmentTests.java 19 import com.example.android.appusagestatistics.AppUsageStatisticsFragment.StatsUsageInterval;
68 assertTrue(StatsUsageInterval.DAILY == StatsUsageInterval.getValue("Daily"));
69 assertTrue(StatsUsageInterval.WEEKLY == StatsUsageInterval.getValue("Weekly"));
70 assertTrue(StatsUsageInterval.MONTHLY == StatsUsageInterval.getValue("Monthly"));
71 assertTrue(StatsUsageInterval.YEARLY == StatsUsageInterval.getValue("Yearly"));
72 assertNull(StatsUsageInterval.getValue("NonExistent"))
    [all...]
  /developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
AppUsageStatisticsFragmentTests.java 19 import com.example.android.appusagestatistics.AppUsageStatisticsFragment.StatsUsageInterval;
68 assertTrue(StatsUsageInterval.DAILY == StatsUsageInterval.getValue("Daily"));
69 assertTrue(StatsUsageInterval.WEEKLY == StatsUsageInterval.getValue("Weekly"));
70 assertTrue(StatsUsageInterval.MONTHLY == StatsUsageInterval.getValue("Monthly"));
71 assertTrue(StatsUsageInterval.YEARLY == StatsUsageInterval.getValue("Yearly"));
72 assertNull(StatsUsageInterval.getValue("NonExistent"))
    [all...]
  /developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 109 StatsUsageInterval statsUsageInterval = StatsUsageInterval
111 if (statsUsageInterval != null) {
113 getUsageStatistics(statsUsageInterval.mInterval);
208 static enum StatsUsageInterval {
217 StatsUsageInterval(String stringRepresentation, int interval) {
222 static StatsUsageInterval getValue(String stringRepresentation) {
223 for (StatsUsageInterval statsUsageInterval : values())
    [all...]
  /developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 109 StatsUsageInterval statsUsageInterval = StatsUsageInterval
111 if (statsUsageInterval != null) {
113 getUsageStatistics(statsUsageInterval.mInterval);
208 static enum StatsUsageInterval {
217 StatsUsageInterval(String stringRepresentation, int interval) {
222 static StatsUsageInterval getValue(String stringRepresentation) {
223 for (StatsUsageInterval statsUsageInterval : values())
    [all...]
  /development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
AppUsageStatisticsFragment.java 109 StatsUsageInterval statsUsageInterval = StatsUsageInterval
111 if (statsUsageInterval != null) {
113 getUsageStatistics(statsUsageInterval.mInterval);
208 static enum StatsUsageInterval {
217 StatsUsageInterval(String stringRepresentation, int interval) {
222 static StatsUsageInterval getValue(String stringRepresentation) {
223 for (StatsUsageInterval statsUsageInterval : values())
    [all...]

Completed in 799 milliseconds