Searched refs:timeInMSec (Results 1 – 5 of 5) sorted by relevance
146 public static double calcRatePerSec(double change, double timeInMSec) { in calcRatePerSec() argument147 if (timeInMSec == 0) { in calcRatePerSec()150 return change * 1000.0 / timeInMSec; in calcRatePerSec()157 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { in calcRatePerSecArray() argument158 double[] result = new double[timeInMSec.length]; in calcRatePerSecArray()160 for (int i = 0; i < timeInMSec.length; i++) { in calcRatePerSecArray()161 if (timeInMSec[i] == 0) { in calcRatePerSecArray()164 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()