Home
last modified time | relevance | path

Searched refs:BluetoothMethodProxy (Results 1 – 25 of 76) sorted by relevance

1234

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppPreferenceTest.java36 import com.android.bluetooth.BluetoothMethodProxy;
47 BluetoothMethodProxy mCallProxy;
56 mCallProxy = spy(BluetoothMethodProxy.getInstance()); in setUp()
57 BluetoothMethodProxy.setInstanceForTesting(mCallProxy); in setUp()
66 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppBatchTest.java31 import com.android.bluetooth.BluetoothMethodProxy;
122 BluetoothMethodProxy proxy = spy(BluetoothMethodProxy.getInstance()); in cancelBatch_cancelSuccessfully()
123 BluetoothMethodProxy.setInstanceForTesting(proxy); in cancelBatch_cancelSuccessfully()
132 BluetoothMethodProxy.setInstanceForTesting(null); in cancelBatch_cancelSuccessfully()
DBluetoothOppHandoverReceiverTest.java38 import com.android.bluetooth.BluetoothMethodProxy;
59 @Spy BluetoothMethodProxy mCallProxy = BluetoothMethodProxy.getInstance();
64 BluetoothMethodProxy.setInstanceForTesting(mCallProxy); in setUp()
73 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppBtEnablingActivityTest.java42 import com.android.bluetooth.BluetoothMethodProxy;
63 @Spy BluetoothMethodProxy mBluetoothMethodProxy;
79 mBluetoothMethodProxy = Mockito.spy(BluetoothMethodProxy.getInstance()); in setUp()
80 BluetoothMethodProxy.setInstanceForTesting(mBluetoothMethodProxy); in setUp()
94 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppLauncherActivityTest.java50 import com.android.bluetooth.BluetoothMethodProxy;
73 BluetoothMethodProxy mMethodProxy;
88 mMethodProxy = spy(BluetoothMethodProxy.getInstance()); in setUp()
89 BluetoothMethodProxy.setInstanceForTesting(mMethodProxy); in setUp()
106 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppTransferHistoryTest.java44 import com.android.bluetooth.BluetoothMethodProxy;
73 @Spy BluetoothMethodProxy mBluetoothMethodProxy;
87 mBluetoothMethodProxy = Mockito.spy(BluetoothMethodProxy.getInstance()); in setUp()
88 BluetoothMethodProxy.setInstanceForTesting(mBluetoothMethodProxy); in setUp()
147 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppReceiveFileInfoTest.java36 import com.android.bluetooth.BluetoothMethodProxy;
47 BluetoothMethodProxy mCallProxy;
58 mCallProxy = spy(BluetoothMethodProxy.getInstance()); in setUp()
59 BluetoothMethodProxy.setInstanceForTesting(mCallProxy); in setUp()
68 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppServiceTest.java41 import com.android.bluetooth.BluetoothMethodProxy;
60 @Mock private BluetoothMethodProxy mBluetoothMethodProxy;
70 BluetoothMethodProxy.setInstanceForTesting(mBluetoothMethodProxy); in setUp()
112 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DIncomingFileConfirmActivityTest.java51 import com.android.bluetooth.BluetoothMethodProxy;
78 @Spy BluetoothMethodProxy mBluetoothMethodProxy;
94 mBluetoothMethodProxy = Mockito.spy(BluetoothMethodProxy.getInstance()); in setUp()
95 BluetoothMethodProxy.setInstanceForTesting(mBluetoothMethodProxy); in setUp()
159 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppTransferActivityTest.java42 import com.android.bluetooth.BluetoothMethodProxy;
65 @Spy BluetoothMethodProxy mBluetoothMethodProxy;
79 mBluetoothMethodProxy = Mockito.spy(BluetoothMethodProxy.getInstance()); in setUp()
80 BluetoothMethodProxy.setInstanceForTesting(mBluetoothMethodProxy); in setUp()
126 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppManagerTest.java47 import com.android.bluetooth.BluetoothMethodProxy;
63 BluetoothMethodProxy mCallProxy;
72 mCallProxy = spy(BluetoothMethodProxy.getInstance()); in setUp()
73 BluetoothMethodProxy.setInstanceForTesting(mCallProxy); in setUp()
84 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothOppObexClientSessionTest.java41 import com.android.bluetooth.BluetoothMethodProxy;
64 @Mock BluetoothMethodProxy mMethodProxy;
82 BluetoothMethodProxy.setInstanceForTesting(mMethodProxy); in setUp()
87 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothMethodProxy.java61 public class BluetoothMethodProxy { class
62 private static final String TAG = BluetoothMethodProxy.class.getSimpleName();
64 private static BluetoothMethodProxy sInstance;
66 private BluetoothMethodProxy() {} in BluetoothMethodProxy() method in BluetoothMethodProxy
73 public static BluetoothMethodProxy getInstance() { in getInstance()
76 sInstance = new BluetoothMethodProxy(); in getInstance()
88 public static void setInstanceForTesting(BluetoothMethodProxy proxy) { in setInstanceForTesting()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppReceiver.java50 import com.android.bluetooth.BluetoothMethodProxy;
118 BluetoothMethodProxy.getInstance() in onReceive()
129 BluetoothMethodProxy.getInstance() in onReceive()
186 BluetoothMethodProxy.getInstance() in onReceive()
205 BluetoothMethodProxy.getInstance() in onReceive()
222 BluetoothMethodProxy.getInstance() in onReceive()
234 BluetoothMethodProxy.getInstance() in onReceive()
246 BluetoothMethodProxy.getInstance() in onReceive()
DBluetoothOppSendFileInfo.java47 import com.android.bluetooth.BluetoothMethodProxy;
131 BluetoothMethodProxy.getInstance() in generateFileInfo()
220 BluetoothMethodProxy.getInstance() in generateFileInfo()
259 BluetoothMethodProxy.getInstance() in generateFileInfo()
304 BluetoothMethodProxy.getInstance() in generateFileInfo()
314 BluetoothMethodProxy.getInstance() in generateFileInfo()
DBluetoothOppIncomingFileConfirmActivity.java57 import com.android.bluetooth.BluetoothMethodProxy;
159 BluetoothMethodProxy.getInstance() in onIncomingFileConfirmOk()
172 BluetoothMethodProxy.getInstance() in onIncomingFileConfirmCancel()
221 BluetoothMethodProxy.getInstance() in onTimeout()
DBluetoothOppObexServerSession.java49 import com.android.bluetooth.BluetoothMethodProxy;
315 BluetoothMethodProxy.getInstance() in onPut()
397 BluetoothMethodProxy.getInstance() in onPut()
431 BluetoothMethodProxy.getInstance() in onPut()
451 BluetoothMethodProxy.getInstance() in onPut()
495 BluetoothMethodProxy.getInstance() in receiveFile()
507 BluetoothMethodProxy.getInstance() in receiveFile()
561 BluetoothMethodProxy.getInstance() in receiveFile()
DBluetoothOppTransfer.java60 import com.android.bluetooth.BluetoothMethodProxy;
158 BluetoothMethodProxy.getInstance() in onReceive()
442 BluetoothMethodProxy.getInstance() in markShareTimeout()
469 BluetoothMethodProxy.getInstance() in markBatchFailed()
497 BluetoothMethodProxy.getInstance() in markBatchFailed()
502 BluetoothMethodProxy.getInstance() in markBatchFailed()
540 if (!BluetoothMethodProxy.getInstance().bluetoothAdapterIsEnabled(mAdapter)) { in start()
928 BluetoothMethodProxy.getInstance() in markConnectionFailed()
941 BluetoothMethodProxy.getInstance() in tickShareStatus()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapActivityTest.java49 import com.android.bluetooth.BluetoothMethodProxy;
67 BluetoothMethodProxy mMethodProxy;
71 mMethodProxy = spy(BluetoothMethodProxy.getInstance()); in setUp()
72 BluetoothMethodProxy.setInstanceForTesting(mMethodProxy); in setUp()
90 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothPbapCallLogComposerTest.java41 import com.android.bluetooth.BluetoothMethodProxy;
67 @Spy BluetoothMethodProxy mPbapCallProxy = BluetoothMethodProxy.getInstance();
75 BluetoothMethodProxy.setInstanceForTesting(mPbapCallProxy); in setUp()
89 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
DBluetoothPbapServiceTest.java40 import com.android.bluetooth.BluetoothMethodProxy;
72 @Spy private BluetoothMethodProxy mMethodProxy = BluetoothMethodProxy.getInstance();
78 BluetoothMethodProxy.setInstanceForTesting(mMethodProxy); in setUp()
98 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DCallLogPullRequestTest.java35 import com.android.bluetooth.BluetoothMethodProxy;
63 @Spy private BluetoothMethodProxy mMapMethodProxy = BluetoothMethodProxy.getInstance();
67 BluetoothMethodProxy.setInstanceForTesting(mMapMethodProxy); in setUp()
73 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DContextMapTest.java35 import com.android.bluetooth.BluetoothMethodProxy;
68 @Spy private BluetoothMethodProxy mMapMethodProxy = BluetoothMethodProxy.getInstance();
72 BluetoothMethodProxy.setInstanceForTesting(mMapMethodProxy); in setUp()
82 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DSmsMmsContactsTest.java30 import com.android.bluetooth.BluetoothMethodProxy;
54 @Spy private BluetoothMethodProxy mMapMethodProxy = BluetoothMethodProxy.getInstance();
60 BluetoothMethodProxy.setInstanceForTesting(mMapMethodProxy); in setUp()
66 BluetoothMethodProxy.setInstanceForTesting(null); in tearDown()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DSmsMmsContacts.java30 import com.android.bluetooth.BluetoothMethodProxy;
95 BluetoothMethodProxy.getInstance() in getPhoneNumberUncached()
137 BluetoothMethodProxy.getInstance() in fillPhoneCache()
218 BluetoothMethodProxy.getInstance() in getContactNameFromPhone()

1234