Home
last modified time | relevance | path

Searched refs:mOppManager (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBtEnableActivity.java50 @VisibleForTesting BluetoothOppManager mOppManager; field in BluetoothOppBtEnableActivity
58 mOppManager = BluetoothOppManager.getInstance(this); in onCreate()
59 mOppManager.mSendingFlag = false; in onCreate()
83 mOppManager.enableBluetooth(); // this is an asyn call in onEnableBluetooth()
84 mOppManager.mSendingFlag = true; in onEnableBluetooth()
100 if (!mOppManager.mSendingFlag) { in onPause()
101 mOppManager.cleanUpSendingFileInfo(); in onPause()
DBluetoothOppReceiver.java71 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(context); in onReceive() local
76 mOppManager.cleanUpSendingFileInfo(); in onReceive()
89 mOppManager.startTransfer(remoteDevice); in onReceive()
92 String deviceName = mOppManager.getDeviceName(remoteDevice); in onReceive()
94 int batchSize = mOppManager.getBatchSize(); in onReceive()
95 if (mOppManager.mMultipleFlag) { in onReceive()
DBluetoothOppBtEnablingActivity.java155 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(this); in cancelSendingProgress() local
156 if (mOppManager.mSendingFlag) { in cancelSendingProgress()
157 mOppManager.mSendingFlag = false; in cancelSendingProgress()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivityTest.java108 final BluetoothOppManager[] mOppManager = new BluetoothOppManager[1]; in onCreate_bluetoothEnableTimeout_finishAfterTimeout() local
112 mOppManager[0] = BluetoothOppManager.getInstance(activity); in onCreate_bluetoothEnableTimeout_finishAfterTimeout()
115 assertThat(mOppManager[0].mSendingFlag).isEqualTo(false); in onCreate_bluetoothEnableTimeout_finishAfterTimeout()
133 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(activity); in onKeyDown_cancelProgress()
134 assertThat(mOppManager.mSendingFlag).isEqualTo(false); in onKeyDown_cancelProgress()
DBluetoothOppBtEnableActivityTest.java83 activity -> activity.mOppManager = mock(BluetoothOppManager.class)); in onCreate_clickOnEnable_launchEnablingActivity()