Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppBatch.java76 private final ArrayList<BluetoothOppShareInfo> mShares; field in BluetoothOppBatch
109 mShares = Lists.newArrayList(); in BluetoothOppBatch()
114 mShares.add(info); in BluetoothOppBatch()
127 mShares.add(info); in addShare()
166 for (int i = mShares.size() - 1; i >= 0; i--) { in cancelBatch()
167 BluetoothOppShareInfo info = mShares.get(i); in cancelBatch()
178 mShares.clear(); in cancelBatch()
183 return mShares.contains(info); in hasShare()
188 return (mShares.size() == 0); in isEmpty()
207 for (int i = 0; i < mShares.size(); i++) { in getPendingShare()
[all …]
DBluetoothOppService.java102 private ArrayList<BluetoothOppShareInfo> mShares; field in BluetoothOppService
154 mShares = Lists.newArrayList(); in onCreate()
432 while (!isAfterLast || arrayPos < mShares.size()) { in run()
438 mShares.get(arrayPos).mId + " @ " + arrayPos); in run()
447 if (arrayPos == mShares.size()) { in run()
464 int arrayId = mShares.get(arrayPos).mId; in run()
557 mShares.add(arrayPos, info); in insertShare()
653 BluetoothOppShareInfo info = mShares.get(arrayPos); in updateShare()
745 BluetoothOppShareInfo info = mShares.get(arrayPos); in deleteShare()
765 mShares.remove(arrayPos); in deleteShare()
[all …]