Searched refs:mCacheIndex (Results 1 – 1 of 1) sorted by relevance
1791 private final int mCacheIndex; field in SystemServiceRegistry.CachedServiceFetcher1797 mCacheIndex = sServiceCacheSize++; in CachedServiceFetcher()1813 T service = (T) cache[mCacheIndex]; in getService()1825 if (gates[mCacheIndex] == ContextImpl.STATE_READY in getService()1826 || gates[mCacheIndex] == ContextImpl.STATE_NOT_FOUND) { in getService()1827 gates[mCacheIndex] = ContextImpl.STATE_UNINITIALIZED; in getService()1834 if (gates[mCacheIndex] == ContextImpl.STATE_UNINITIALIZED) { in getService()1836 gates[mCacheIndex] = ContextImpl.STATE_INITIALIZING; in getService()1856 cache[mCacheIndex] = service; in getService()1857 gates[mCacheIndex] = newState; in getService()[all …]