Searched refs:STATE_MASTER (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp60 if (ICommonClock::STATE_MASTER == mState)
185 if (ICommonClock::STATE_MASTER == mState) {
327 int32_t est = (ICommonClock::STATE_MASTER != mState)
H A Dcommon_time_server.cpp301 case CommonClockService::STATE_MASTER:
343 (mState != ICommonClock::STATE_MASTER)) {
690 case ICommonClock::STATE_MASTER:
767 if (mState == ICommonClock::STATE_MASTER) {
881 if ((mState == ICommonClock::STATE_MASTER) &&
1042 } else if (mState == ICommonClock::STATE_MASTER) {
1141 assert(mState == ICommonClock::STATE_MASTER);
1268 setState(ICommonClock::STATE_MASTER);
1379 case ICommonClock::STATE_MASTER:
H A Dcommon_time_server.h225 if (mState == ICommonClock::STATE_MASTER)
/frameworks/av/include/common_time/
H A DICommonClock.h62 STATE_MASTER, enumerator in enum:android::ICommonClock::State
/frameworks/base/core/java/android/os/
H A DCommonClock.java62 * {@link #STATE_MASTER} if no active master is found and this client becomes the master of a
78 public static final int STATE_MASTER = 2; field in class:CommonClock
88 * {@link #STATE_MASTER} state. During the election, all clients will allow their timeline to

Completed in 236 milliseconds