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.java72 private final ArrayList<BluetoothOppShareInfo> mShares; field in BluetoothOppBatch
105 mShares = new ArrayList(); in BluetoothOppBatch()
110 mShares.add(info); in BluetoothOppBatch()
124 mShares.add(info); in addShare()
146 for (int i = mShares.size() - 1; i >= 0; i--) { in cancelBatch()
147 BluetoothOppShareInfo info = mShares.get(i); in cancelBatch()
160 mShares.clear(); in cancelBatch()
165 return mShares.contains(info); in hasShare()
170 return (mShares.size() == 0); in isEmpty()
174 return mShares.size(); in getNumShares()
[all …]
DBluetoothOppService.java119 private ArrayList<BluetoothOppShareInfo> mShares; field in BluetoothOppService
198 mShares = new ArrayList(); in create()
264 if (mShares.size() > 0) { in dump()
266 for (BluetoothOppShareInfo info : mShares) { in dump()
485 if (mShares != null) { in cleanup()
486 mShares.clear(); in cleanup()
642 while (!isAfterLast || arrayPos < mShares.size() && mListenStarted) { in run()
646 if (mShares.size() != 0) { in run()
648 Log.v(TAG, "Array update: trimming " + mShares.get(arrayPos).mId in run()
657 if (arrayPos == mShares.size()) { in run()
[all …]