Searched refs:mCacheIndex (Results 1 – 1 of 1) sorted by relevance
1047 private final int mCacheIndex; field in SystemServiceRegistry.CachedServiceFetcher1053 mCacheIndex = sServiceCacheSize++; in CachedServiceFetcher()1066 T service = (T) cache[mCacheIndex]; in getService()1067 if (service != null || gates[mCacheIndex] == ContextImpl.STATE_NOT_FOUND) { in getService()1076 if (gates[mCacheIndex] == ContextImpl.STATE_READY) { in getService()1077 gates[mCacheIndex] = ContextImpl.STATE_UNINITIALIZED; in getService()1084 if (gates[mCacheIndex] == ContextImpl.STATE_UNINITIALIZED) { in getService()1086 gates[mCacheIndex] = ContextImpl.STATE_INITIALIZING; in getService()1106 cache[mCacheIndex] = service; in getService()1107 gates[mCacheIndex] = newState; in getService()[all …]