Searched refs:mCacheIndex (Results 1 – 1 of 1) sorted by relevance
1418 private final int mCacheIndex; field in SystemServiceRegistry.CachedServiceFetcher1424 mCacheIndex = sServiceCacheSize++; in CachedServiceFetcher()1437 T service = (T) cache[mCacheIndex]; in getService()1438 if (service != null || gates[mCacheIndex] == ContextImpl.STATE_NOT_FOUND) { in getService()1447 if (gates[mCacheIndex] == ContextImpl.STATE_READY) { in getService()1448 gates[mCacheIndex] = ContextImpl.STATE_UNINITIALIZED; in getService()1455 if (gates[mCacheIndex] == ContextImpl.STATE_UNINITIALIZED) { in getService()1457 gates[mCacheIndex] = ContextImpl.STATE_INITIALIZING; in getService()1477 cache[mCacheIndex] = service; in getService()1478 gates[mCacheIndex] = newState; in getService()[all …]