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.java118 private ArrayList<BluetoothOppShareInfo> mShares; field in BluetoothOppService
197 mShares = new ArrayList(); in create()
268 if (mShares.size() > 0) { in dump()
270 for (BluetoothOppShareInfo info : mShares) { in dump()
489 if (mShares != null) { in cleanup()
490 mShares.clear(); in cleanup()
646 while (!isAfterLast || arrayPos < mShares.size() && mListenStarted) { in run()
650 if (mShares.size() != 0) { in run()
652 Log.v(TAG, "Array update: trimming " + mShares.get(arrayPos).mId in run()
661 if (arrayPos == mShares.size()) { in run()
[all …]