Searched refs:curSlot (Results 1 – 1 of 1) sorted by relevance
105 int curSlot = mNextSlot; in claimStorageSlot() local106 for (int i = 0; i < NUM_OF_SLOTS; ++i, curSlot = (curSlot + 1) % NUM_OF_SLOTS) { in claimStorageSlot()107 createSlotFileObject(curSlot); in claimStorageSlot()109 if (!mSlots[curSlot].exists()) { in claimStorageSlot()114 if (mSlots[curSlot].list().length <= 1) { in claimStorageSlot()119 else if (checkStaleFiles(curSlot)) { in claimStorageSlot()124 prepareSlot(curSlot); in claimStorageSlot()126 mNextSlot = (curSlot + 1) % NUM_OF_SLOTS; in claimStorageSlot()128 return curSlot; in claimStorageSlot()