Searched refs:BluetoothOppManager (Results 1 – 20 of 20) sorted by relevance
23 import static com.android.bluetooth.opp.BluetoothOppManager.ALLOWED_INSERT_SHARE_THREAD_NUMBER;24 import static com.android.bluetooth.opp.BluetoothOppManager.OPP_PREFERENCE_FILE;87 BluetoothOppManager.sInstance = null; in tearDown()95 BluetoothOppManager bluetoothOppManager = BluetoothOppManager.getInstance(mContext); in restoreApplicationData_afterSavingSingleSendingFileInfo_containsSendingFileInfoSaved()100 BluetoothOppManager.sInstance = null; in restoreApplicationData_afterSavingSingleSendingFileInfo_containsSendingFileInfoSaved()101 BluetoothOppManager restartedBluetoothOppManager = in restoreApplicationData_afterSavingSingleSendingFileInfo_containsSendingFileInfoSaved()102 BluetoothOppManager.getInstance(mContext); in restoreApplicationData_afterSavingSingleSendingFileInfo_containsSendingFileInfoSaved()120 BluetoothOppManager bluetoothOppManager = BluetoothOppManager.getInstance(mContext); in restoreApplicationData_afterSavingMultipleSendingFileInfo_containsSendingFileInfoSaved()131 BluetoothOppManager.sInstance = null; in restoreApplicationData_afterSavingMultipleSendingFileInfo_containsSendingFileInfoSaved()132 BluetoothOppManager restartedBluetoothOppManager = in restoreApplicationData_afterSavingMultipleSendingFileInfo_containsSendingFileInfoSaved()[all …]
89 BluetoothOppManager spyManager = spy(new BluetoothOppManager()); in onReceive_withActionHandoverSend_startTransfer()90 BluetoothOppManager.setInstance(spyManager); in onReceive_withActionHandoverSend_startTransfer()100 BluetoothOppManager.setInstance(null); in onReceive_withActionHandoverSend_startTransfer()121 BluetoothOppManager spyManager = spy(new BluetoothOppManager()); in onReceive_withActionHandoverSendMultiple_startTransfer()122 BluetoothOppManager.setInstance(spyManager); in onReceive_withActionHandoverSendMultiple_startTransfer()132 BluetoothOppManager.setInstance(null); in onReceive_withActionHandoverSendMultiple_startTransfer()
108 final BluetoothOppManager[] mOppManager = new BluetoothOppManager[1]; in onCreate_bluetoothEnableTimeout_finishAfterTimeout()112 mOppManager[0] = BluetoothOppManager.getInstance(activity); in onCreate_bluetoothEnableTimeout_finishAfterTimeout()133 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(activity); in onKeyDown_cancelProgress()
19 import static com.android.bluetooth.opp.BluetoothOppManager.OPP_PREFERENCE_FILE;69 BluetoothOppManager.sInstance = null; in tearDown()
330 BluetoothOppManager bluetoothOppManager = in onConnect_returnsObexHttpOk()331 spy(BluetoothOppManager.getInstance(mTargetContext)); in onConnect_returnsObexHttpOk()332 BluetoothOppManager.setInstance(bluetoothOppManager); in onConnect_returnsObexHttpOk()339 BluetoothOppManager.setInstance(null); in onConnect_returnsObexHttpOk()
76 @Mock BluetoothOppManager mBluetoothOppManager;96 BluetoothOppManager.setInstance(mBluetoothOppManager); in setUp()107 BluetoothOppManager.setInstance(null); in tearDown()
111 BluetoothOppManager bluetoothOppManager = spy(BluetoothOppManager.getInstance(mContext)); in onReceive_withActionDeviceSelected_callsStartTransfer()112 BluetoothOppManager.setInstance(bluetoothOppManager); in onReceive_withActionDeviceSelected_callsStartTransfer()127 BluetoothOppManager.setInstance(null); in onReceive_withActionDeviceSelected_callsStartTransfer()
83 activity -> activity.mOppManager = mock(BluetoothOppManager.class)); in onCreate_clickOnEnable_launchEnablingActivity()
69 BluetoothOppManager.sInstance = null; in tearDown()
297 BluetoothOppManager.getInstance(mContext).getDeviceName(remoteDevice); in fillRecord_filledAllProperties()
69 public class BluetoothOppManager { class72 @VisibleForTesting static BluetoothOppManager sInstance;129 public static BluetoothOppManager getInstance(Context context) { in getInstance()132 sInstance = new BluetoothOppManager(); in getInstance()142 static void setInstance(BluetoothOppManager instance) { in setInstance()267 synchronized (BluetoothOppManager.this) { in saveSendingFileInfo()285 synchronized (BluetoothOppManager.this) { in saveSendingFileInfo()349 synchronized (BluetoothOppManager.this) { in getBatchSize()358 synchronized (BluetoothOppManager.this) { in startTransfer()432 synchronized (BluetoothOppManager.this) { in InsertShareInfoThread()[all …]
68 BluetoothOppManager.getInstance(finalContext) in onReceive()74 BluetoothOppManager.getInstance(finalContext) in onReceive()94 BluetoothOppManager.getInstance(context).addToAcceptlist(brEdrAddress); in onReceive()
50 @VisibleForTesting BluetoothOppManager mOppManager;58 mOppManager = BluetoothOppManager.getInstance(this); in onCreate()
155 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(this); in cancelSendingProgress()
206 BluetoothOppManager.getInstance( in onCreate()272 if (!BluetoothOppManager.getInstance(this).isEnabled()) { in launchDevicePicker()491 BluetoothOppManager manager = BluetoothOppManager.getInstance(getApplicationContext()); in sendFileInfo()
71 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(context); in onReceive()
96 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView()
203 BluetoothOppManager.getInstance(mContext).isAcceptlisted(destination); in onPut()661 boolean isHandover = BluetoothOppManager.getInstance(mContext).isAcceptlisted(destination); in onConnect()
650 if (BluetoothOppManager.getInstance(context).mSendingFlag) {652 BluetoothOppManager.getInstance(context).mSendingFlag =
148 info.mDeviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in fillRecord()