Home
last modified time | relevance | path

Searched refs:foundIdx (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNfcTag.cpp1110 int foundIdx = -1; in selectFirstTag() local
1119 foundIdx = i; in selectFirstTag()
1124 if (foundIdx != -1) { in selectFirstTag()
1125 if (mTechLibNfcTypesDiscData[foundIdx] == NFA_PROTOCOL_ISO_DEP) { in selectFirstTag()
1127 } else if (mTechLibNfcTypesDiscData[foundIdx] == NFC_PROTOCOL_MIFARE) { in selectFirstTag()
1132 tNFA_STATUS stat = NFA_Select(mTechHandlesDiscData[foundIdx], in selectFirstTag()
1133 mTechLibNfcTypesDiscData[foundIdx], rf_intf); in selectFirstTag()
1152 int foundIdx = -1; in selectNextTagIfExists() local
1172 foundIdx = i; in selectNextTagIfExists()
1177 if (foundIdx != -1) { in selectNextTagIfExists()
[all …]
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java257 int foundIdx = 0; in maybeRebuildQueue() local
268 foundIdx = queue.size(); in maybeRebuildQueue()
287 mCurrentQueueIdx = foundIdx; // Resumes from beginning if last playing song was not found. in maybeRebuildQueue()
338 int foundIdx = -1; in startPlayback() local
341 foundIdx = idx; in startPlayback()
347 if (foundIdx == -1) { in startPlayback()
353 mCurrentQueueIdx = foundIdx; in startPlayback()