Home
last modified time | relevance | path

Searched refs:SapServer (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapServerTest.java32 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY;
33 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT;
34 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND;
35 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_REQ;
36 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD;
37 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED;
107 private SapServer mSapServer;
116 mSapServer = spy(new SapServer(mHandler, mTargetContext, mInputStream, mOutputStream)); in setUp()
135 verify(notificationManager).notify(eq(SapServer.NOTIFICATION_ID), captor.capture()); in setNotification()
137 assertThat(notification.getChannelId()).isEqualTo(SapServer.SAP_NOTIFICATION_CHANNEL); in setNotification()
[all …]
DSapRilReceiverHidlTest.java38 import static com.android.bluetooth.sap.SapServer.ISAP_GET_SERVICE_DELAY_MILLIS;
39 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY;
40 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT;
41 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND;
42 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD;
43 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED;
DSapRilReceiverTest.java38 import static com.android.bluetooth.sap.SapServer.ISAP_GET_SERVICE_DELAY_MILLIS;
39 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY;
40 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT;
41 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND;
42 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD;
43 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapRilReceiver.java173 mSapServerMsgHandler.obtainMessage(SapServer.SAP_PROXY_DEAD, (long) 0), in binderDied()
174 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in binderDied()
393 SapServer.SAP_PROXY_DEAD, mSapProxyCookie.get()), in getSapProxy()
394 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in getSapProxy()
444 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_MSG_RIL_CONNECT); in sendRilConnectMessage()
454 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RFC_REPLY, sapMsg); in sendClientMessage()
461 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_RIL_SOCK_CLOSED); in sendShutdownMessage()
471 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RIL_IND, sapMsg); in sendRilIndMessage()
DSapRilReceiverHidl.java183 mSapServerMsgHandler.obtainMessage(SapServer.SAP_PROXY_DEAD, cookie), in serviceDied()
184 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in serviceDied()
401 SapServer.SAP_PROXY_DEAD, mSapProxyCookie.get()), in getSapProxy()
402 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in getSapProxy()
452 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_MSG_RIL_CONNECT); in sendRilConnectMessage()
462 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RFC_REPLY, sapMsg); in sendClientMessage()
469 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_RIL_SOCK_CLOSED); in sendShutdownMessage()
479 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RIL_IND, sapMsg); in sendRilIndMessage()
DSapServer.java46 public class SapServer extends Thread implements Handler.Callback { class
47 private static final String TAG = SapServer.class.getSimpleName();
114 public SapServer( in SapServer() method in SapServer
160 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_GRACEFUL); in onReceive()
243 Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION); in setNotification()
256 sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, type); in setNotification()
284 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_GRACEFUL); in setNotification()
285 Intent sapForceDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION); in setNotification()
287 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_IMMEDIATE); in setNotification()
340 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification()
[all …]
DSapService.java110 private SapServer mSapServer = null;
306 new SapServer( in startSapServerSession()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dsdp.rs27 SapServer, enumerator
47 BtSdpRecord::SapServer(record) => record.hdr.sdp_type.clone(), in from()
298 SapServer(BtSdpSapRecord), enumerator
318 BtSdpType::SapServer => unsafe { in from()
319 BtSdpRecord::SapServer(BtSdpSapRecord::from(item.sap)) in from()
386 BtSdpRecord::SapServer(sap) => bindings::bluetooth_sdp_record { in get_unsafe_record()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs390 BtSdpType::SapServer => { in from_dbus()
392 BtSdpRecord::SapServer(arg_0) in from_dbus()
432 BtSdpRecord::SapServer(sap_record) => { in to_dbus()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs297 BtSdpType::SapServer => { in from_dbus()
299 BtSdpRecord::SapServer(arg_0) in from_dbus()
339 BtSdpRecord::SapServer(sap_record) => { in to_dbus()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs2995 BtSdpRecord::SapServer(record) => record.hdr.uuid = uuid, in sdp_search()