Searched refs:mCacheState (Results 1 – 1 of 1) sorted by relevance
58 private AtomicInteger mCacheState; field in ActiveSubsciptionsListener79 mCacheState = new AtomicInteger(STATE_NOT_LISTENING); in ActiveSubsciptionsListener()167 int cacheState = mCacheState.get();183 if (mCacheState.get() >= STATE_DATA_CACHED) {187 mCacheState.compareAndSet(STATE_LISTENING, STATE_DATA_CACHED);265 mCacheState.compareAndSet(STATE_DATA_CACHED, STATE_LISTENING);277 if (!mCacheState.compareAndSet(STATE_NOT_LISTENING, STATE_PREPARING)) {287 mCacheState.compareAndSet(STATE_PREPARING, STATE_LISTENING);291 final int currentState = mCacheState.getAndSet(STATE_STOPPING);293 mCacheState.compareAndSet(STATE_STOPPING, currentState);[all …]