Searched refs:timeUnit (Results 1 – 4 of 4) sorted by relevance
33 public TimeUnit timeUnit; field in Duration55 public Duration(int timeInterval, TimeUnit timeUnit) { in Duration() argument57 this.timeUnit = timeUnit; in Duration()62 timeUnit = TimeUnit.values()[in.readInt()]; in Duration()68 dest.writeInt(timeUnit.ordinal()); in writeToParcel()
90 TimeUnit timeUnit = TimeUnit.SECOND; in retrieveDuration() local96 timeUnit = TimeUnit.values()[(rawValue[valueIndex] & 0xff)]; in retrieveDuration()101 return new Duration(timeInterval, timeUnit); in retrieveDuration()
674 buf.write(cmdInput.duration.timeUnit.SECOND.value()); // Time (Unit,Seconds) in getInKeyResponse()
648 long timeLimit, @NonNull TimeUnit timeUnit, @NonNull PendingIntent callbackIntent) { in registerAppUsageObserver() argument651 timeUnit.toMillis(timeLimit), callbackIntent, mContext.getOpPackageName()); in registerAppUsageObserver()