Home
last modified time | relevance | path

Searched refs:mTransport (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Bluetooth/system/audio_hal_interface/
Dhal_version_manager.h59 : mTransport(transport), mMajor(major), mMinor(minor) {} in mTransport() function
61 bool isHIDL() const { return mTransport == BluetoothAudioHalTransport::HIDL; } in isHIDL()
62 bool isAIDL() const { return mTransport == BluetoothAudioHalTransport::AIDL; } in isAIDL()
64 BluetoothAudioHalTransport getTransport() const { return mTransport; } in getTransport()
67 return std::tie(mTransport, mMajor, mMinor) !=
68 std::tie(rhs.mTransport, rhs.mMajor, rhs.mMinor);
71 return std::tie(mTransport, mMajor, mMinor) <
72 std::tie(rhs.mTransport, rhs.mMajor, rhs.mMinor);
75 return std::tie(mTransport, mMajor, mMinor) <=
76 std::tie(rhs.mTransport, rhs.mMajor, rhs.mMinor);
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSessionTest.java67 @Mock BluetoothObexTransport mTransport; field in BluetoothOppObexClientSessionTest
74 mClientSession = new BluetoothOppObexClientSession(mTargetContext, mTransport); in setUp()
79 doReturn(input).when(mTransport).openInputStream(); in setUp()
80 doReturn(output).when(mTransport).openOutputStream(); in setUp()
126 doThrow(new IOException()).when(mTransport).openInputStream(); in startThenStop_startsAndStopsClientThread()
127 doThrow(new IOException()).when(mTransport).openOutputStream(); in startThenStop_startsAndStopsClientThread()
147 verify(mTransport, timeout(3_000)).openInputStream(); in startThenStop_startsAndStopsClientThread()
195 mTargetContext, mTransport, 0, new Handler(Looper.getMainLooper())); in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
198 doReturn(is).when(mTransport).openInputStream(); in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
199 doReturn(os).when(mTransport).openOutputStream(); in clientThreadSendFile_clientSessionDisconnected_returnsObexDataError()
[all …]
DBluetoothOppObexServerSessionTest.java68 @Mock BluetoothObexTransport mTransport; field in BluetoothOppObexServerSessionTest
82 new BluetoothOppObexServerSession(mTargetContext, mTransport, mBluetoothOppService); in setUp()
88 doReturn(input).when(mTransport).openInputStream(); in setUp()
89 doReturn(output).when(mTransport).openOutputStream(); in setUp()
102 new BluetoothOppObexServerSession(mTargetContext, mTransport, mBluetoothOppService); in constructor_createInstanceCorrectly()
104 assertThat(mServerSession.mTransport).isEqualTo(mTransport); in constructor_createInstanceCorrectly()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransportService.java24 private KitchenSinkBackupTransport mTransport; field in KitchenSinkBackupTransportService
28 if (mTransport == null) { in onCreate()
29 mTransport = new KitchenSinkBackupTransport(this); in onCreate()
35 return mTransport.getBinder(); in onBind()
/packages/services/Car/car-lib/src/android/car/projection/
DProjectionStatus.java108 private final int mTransport; field in ProjectionStatus
128 mTransport = builder.mTransport; in ProjectionStatus()
136 mTransport = source.readInt(); in ProjectionStatus()
152 dest.writeInt(mTransport); in writeToParcel()
184 return mTransport; in getTransport()
207 private int mTransport = PROJECTION_TRANSPORT_NONE; field in ProjectionStatus.Builder
230 mTransport = transport; in setProjectionTransport()
274 + ", mTransport=" + mTransport in toString()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java96 final int mTransport; field in BluetoothPeripheralHandover
130 mTransport = transport; in BluetoothPeripheralHandover()
165 || (mProvisioning && mTransport != BluetoothDevice.TRANSPORT_LE)) { in start()
222 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepInit()
269 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepDisconnect()
301 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepDisconnect()
330 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in getProfileProxys()
354 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
374 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
420 if (mTransport == BluetoothDevice.TRANSPORT_LE) { in nextStepConnect()
[all …]
DPeripheralHandoverService.java221 int transport = mBluetoothPeripheralHandover.mTransport; in onBluetoothPeripheralHandoverComplete()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java84 private BluetoothObexTransport mTransport; field in AvrcpBipClient
253 mTransport = new BluetoothObexTransport(mSocket); in connect()
254 mSession = new ClientSession(mTransport); in connect()
331 mTransport.close(); in disconnect()
339 mTransport = null; in disconnect()
/packages/apps/Settings/src/com/android/settings/network/
DInternetUpdater.java136 int mTransport; field in InternetUpdater
237 mTransport = transport; in updateInternetAvailable()
240 + mTransport); in updateInternetAvailable()
253 internetType = sTransportMap.get(mTransport); in updateInternetType()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java78 @VisibleForTesting public ObexTransport mTransport; field in BluetoothOppObexServerSession
114 mTransport = transport; in BluetoothOppObexServerSession()
132 Log.d(TAG, "Create ServerSession with transport " + mTransport.toString()); in preStart()
133 mSession = new ServerSession(mTransport, this, null); in preStart()
166 mTransport.close(); in stop()
197 if (mTransport instanceof BluetoothObexTransport) { in onPut()
198 destination = ((BluetoothObexTransport) mTransport).getRemoteAddress(); in onPut()
656 if (mTransport instanceof BluetoothObexTransport) { in onConnect()
657 destination = ((BluetoothObexTransport) mTransport).getRemoteAddress(); in onConnect()
DBluetoothOppTransfer.java98 private ObexTransport mTransport; field in BluetoothOppTransfer
292 mTransport = (ObexTransport) msg.obj; in handleMessage()
369 if (mTransport == null) { in handleMessage()
372 mTransport.close(); in handleMessage()
401 if (mTransport == null) { in handleMessage()
404 mTransport.close(); in handleMessage()
629 Log.v(TAG, "Create Client session with transport " + mTransport.toString()); in startObexSession()
630 mSession = new BluetoothOppObexClientSession(mContext, mTransport); in startObexSession()
DBluetoothOppObexClientSession.java74 private ObexTransport mTransport; field in BluetoothOppObexClientSession
89 mTransport = transport; in BluetoothOppObexClientSession()
95 mThread = new ClientThread(mContext, mTransport, numShares, handler); in start()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetUpdaterTest.java171 mInternetUpdater.mTransport = TRANSPORT_WIFI; in updateInternetType_apmOnWifiConnected_getInternetWifi()
182 mInternetUpdater.mTransport = TRANSPORT_CELLULAR; in updateInternetType_apmOnCellularConnected_getInternetCellular()
193 mInternetUpdater.mTransport = TRANSPORT_ETHERNET; in updateInternetType_apmOnEthernetConnected_getInternetEthernet()
206 mInternetUpdater.mTransport = TRANSPORT_WIFI; in updateInternetType_carrierWifiConnected_getInternetCellular()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java52 private ObexTransport mTransport; field in BluetoothMnsObexClient
190 if (mTransport != null) { in disconnect()
193 mTransport.close(); in disconnect()
194 mTransport = null; in disconnect()
350 mTransport = new BluetoothObexTransport(btSocket); in connect()
353 mClientSession = new ClientSession(mTransport); in connect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMasClient.java83 private BluetoothObexTransport mTransport; field in MasClient
124 mTransport = new BluetoothObexTransport(mSocket); in connect()
126 mSession = new ClientSession(mTransport); in connect()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java65 private final Transport mTransport; field in FiRaSecureChannel
111 this.mTransport = transport; in FiRaSecureChannel()
142 mTransport.registerDataReceiver(mDataReceiver); in handleScMessage()
152 mTransport.sendData( in handleScMessage()
/packages/modules/Bluetooth/android/pandora/server/src/
DGattInstance.kt37 class GattInstance(val mDevice: BluetoothDevice, val mTransport: Int, val mContext: Context) { constant in com.android.pandora.GattInstance
185 mGatt = mDevice.connectGatt(mContext, false, mCallback, mTransport)
204 return mTransport == BluetoothDevice.TRANSPORT_LE in isBLETransport()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DResponderSecureChannelTest.java62 private Transport mTransport; field in ResponderSecureChannelTest
82 mTransport, in doInit()
DInitiatorSecureChannelTest.java73 private Transport mTransport; field in InitiatorSecureChannelTest
93 mTransport, in doInit()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattServer.java60 private int mTransport; field in BluetoothGattServer
513 mTransport = transport; in BluetoothGattServer()
730 mTransport, in connect()
DBluetoothGatt.java78 private int mTransport; field in BluetoothGatt
281 mTransport,
965 mTransport = transport; in BluetoothGatt()
1229 mTransport, in connect()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java761 config.mCapabilities, config.mTransport).build(); in parseEthernetConfig()
1046 final String mTransport; field in EthernetTracker.EthernetTrackerConfig
1053 mTransport = tokens.length > 3 ? tokens[3] : null; in EthernetTrackerConfig()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java320 assertEquals(transport, config.mTransport); in testCreateEthernetTrackerConfigReturnsCorrectValue()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt420 Landroid/bluetooth/BluetoothGattServer;->mTransport:I