HomeSort by relevance Sort by last modified time
    Searched full:absolutetime (Results 1 - 14 of 14) sorted by null

  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
CondVar.cpp 101 struct timespec absoluteTime;
103 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1)
109 absoluteTime.tv_sec += millisec / 1000;
110 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000);
113 absoluteTime.tv_sec++;
114 absoluteTime.tv_nsec = ns - 1000000000;
117 absoluteTime.tv_nsec = ns;
124 int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &absoluteTime);
  /packages/apps/Nfc/nci/jni/
CondVar.cpp 99 struct timespec absoluteTime;
101 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1)
107 absoluteTime.tv_sec += millisec / 1000;
108 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000);
111 absoluteTime.tv_sec++;
112 absoluteTime.tv_nsec = ns - 1000000000;
115 absoluteTime.tv_nsec = ns;
122 int waitResult = pthread_cond_timedwait_monotonic_np (&mCondition, mutex.nativeHandle(), &absoluteTime);