Home
last modified time | relevance | path

Searched refs:timeUnit (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DDuration.java33 public TimeUnit timeUnit; field in Duration
55 public Duration(int timeInterval, TimeUnit timeUnit) { in Duration() argument
57 this.timeUnit = timeUnit; in Duration()
62 timeUnit = TimeUnit.values()[in.readInt()]; in Duration()
68 dest.writeInt(timeUnit.ordinal()); in writeToParcel()
DValueParser.java92 TimeUnit timeUnit = TimeUnit.SECOND; in retrieveDuration() local
98 timeUnit = TimeUnit.values()[(rawValue[valueIndex] & 0xff)]; in retrieveDuration()
103 return new Duration(timeInterval, timeUnit); in retrieveDuration()
DCatService.java672 buf.write(cmdInput.duration.timeUnit.SECOND.value()); // Time (Unit,Seconds) in getInKeyResponse()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java648 long timeLimit, @NonNull TimeUnit timeUnit, @NonNull PendingIntent callbackIntent) { in registerAppUsageObserver() argument
651 timeUnit.toMillis(timeLimit), callbackIntent, mContext.getOpPackageName()); in registerAppUsageObserver()