Searched refs:mCacheState (Results 1 – 1 of 1) sorted by relevance
59 private AtomicInteger mCacheState; field in ActiveSubscriptionsListener94 mCacheState = new AtomicInteger(STATE_NOT_LISTENING); in ActiveSubscriptionsListener()189 int cacheState = mCacheState.get();205 if (mCacheState.get() >= STATE_DATA_CACHED) {209 mCacheState.compareAndSet(STATE_LISTENING, STATE_DATA_CACHED);296 mCacheState.compareAndSet(STATE_DATA_CACHED, STATE_LISTENING);308 if (!mCacheState.compareAndSet(STATE_NOT_LISTENING, STATE_PREPARING)) {319 mCacheState.compareAndSet(STATE_PREPARING, STATE_LISTENING);323 final int currentState = mCacheState.getAndSet(STATE_STOPPING);325 mCacheState.compareAndSet(STATE_STOPPING, currentState);[all …]