Searched refs:mCacheIndex (Results 1 – 1 of 1) sorted by relevance
2174 private final int mCacheIndex; field in SystemServiceRegistry.CachedServiceFetcher2180 mCacheIndex = sServiceCacheSize++; in CachedServiceFetcher()2196 T service = (T) cache[mCacheIndex]; in getService()2208 if (gates[mCacheIndex] == ContextImpl.STATE_READY in getService()2209 || gates[mCacheIndex] == ContextImpl.STATE_NOT_FOUND) { in getService()2210 gates[mCacheIndex] = ContextImpl.STATE_UNINITIALIZED; in getService()2217 if (gates[mCacheIndex] == ContextImpl.STATE_UNINITIALIZED) { in getService()2219 gates[mCacheIndex] = ContextImpl.STATE_INITIALIZING; in getService()2239 cache[mCacheIndex] = service; in getService()2240 gates[mCacheIndex] = newState; in getService()[all …]