Searched refs:timeInMSec (Results 1 – 6 of 6) sorted by relevance
164 public static double calcRatePerSec(double change, double timeInMSec) { in calcRatePerSec() argument165 if (timeInMSec == 0) { in calcRatePerSec()168 return change * 1000.0 / timeInMSec; in calcRatePerSec()175 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { in calcRatePerSecArray() argument176 double[] result = new double[timeInMSec.length]; in calcRatePerSecArray()178 for (int i = 0; i < timeInMSec.length; i++) { in calcRatePerSecArray()179 if (timeInMSec[i] == 0) { in calcRatePerSecArray()182 result[i] = change / timeInMSec[i]; in calcRatePerSecArray()
174 public static double calcRatePerSec(double change, double timeInMSec) { in calcRatePerSec() argument175 if (timeInMSec == 0) { in calcRatePerSec()178 return change * 1000.0 / timeInMSec; in calcRatePerSec()185 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { in calcRatePerSecArray() argument186 double[] result = new double[timeInMSec.length]; in calcRatePerSecArray()188 for (int i = 0; i < timeInMSec.length; i++) { in calcRatePerSecArray()189 if (timeInMSec[i] == 0) { in calcRatePerSecArray()192 result[i] = change / timeInMSec[i]; in calcRatePerSecArray()
46 bool Semaphore::timedWait(int timeInMSec) in timedWait() argument55 int secToGo = timeInMSec / ONE_SEC_IN_MSEC; in timedWait()56 int msecToGo = timeInMSec - (ONE_SEC_IN_MSEC * secToGo); in timedWait()
79 bool waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec);121 bool timedWait(int timeInMSec) { in timedWait() argument122 return mClientWait.timedWait(timeInMSec); in timedWait()
39 bool timedWait(int timeInMSec);
156 bool RemoteAudio::waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec) in waitForCompletion() argument158 LOGV("waitForCompletion %d", timeInMSec); in waitForCompletion()159 return toCommandHandler(command)->timedWait(timeInMSec); in waitForCompletion()