Searched refs:gates (Results 1 – 1 of 1) sorted by relevance
1352 final int[] gates = ctx.mServiceInitializationStateArray; in getService() local1359 if (service != null || gates[mCacheIndex] == ContextImpl.STATE_NOT_FOUND) { in getService()1368 if (gates[mCacheIndex] == ContextImpl.STATE_READY) { in getService()1369 gates[mCacheIndex] = ContextImpl.STATE_UNINITIALIZED; in getService()1376 if (gates[mCacheIndex] == ContextImpl.STATE_UNINITIALIZED) { in getService()1378 gates[mCacheIndex] = ContextImpl.STATE_INITIALIZING; in getService()1399 gates[mCacheIndex] = newState; in getService()1408 while (gates[mCacheIndex] < ContextImpl.STATE_READY) { in getService()