Searched refs:SapServer (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServerTest.java | 31 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY; 32 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT; 33 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND; 34 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_REQ; 35 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD; 36 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED; 108 private SapServer mSapServer; 117 mSapServer = spy(new SapServer(mHandler, mTargetContext, mInputStream, mOutputStream)); in setUp() 136 verify(notificationManager).notify(eq(SapServer.NOTIFICATION_ID), captor.capture()); in setNotification() 138 assertThat(notification.getChannelId()).isEqualTo(SapServer.SAP_NOTIFICATION_CHANNEL); in setNotification() [all …]
|
D | SapRilReceiverTest.java | 37 import static com.android.bluetooth.sap.SapServer.ISAP_GET_SERVICE_DELAY_MILLIS; 38 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY; 39 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT; 40 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND; 41 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD; 42 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED;
|
D | SapRilReceiverHidlTest.java | 37 import static com.android.bluetooth.sap.SapServer.ISAP_GET_SERVICE_DELAY_MILLIS; 38 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RFC_REPLY; 39 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_CONNECT; 40 import static com.android.bluetooth.sap.SapServer.SAP_MSG_RIL_IND; 41 import static com.android.bluetooth.sap.SapServer.SAP_PROXY_DEAD; 42 import static com.android.bluetooth.sap.SapServer.SAP_RIL_SOCK_CLOSED;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/ |
D | SapRilReceiverHidl.java | 182 mSapServerMsgHandler.obtainMessage(SapServer.SAP_PROXY_DEAD, cookie), in serviceDied() 183 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in serviceDied() 400 SapServer.SAP_PROXY_DEAD, mSapProxyCookie.get()), in getSapProxy() 401 SapServer.ISAP_GET_SERVICE_DELAY_MILLIS); in getSapProxy() 451 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_MSG_RIL_CONNECT); in sendRilConnectMessage() 461 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RFC_REPLY, sapMsg); in sendClientMessage() 468 mSapServerMsgHandler.sendEmptyMessage(SapServer.SAP_RIL_SOCK_CLOSED); in sendShutdownMessage() 478 Message newMsg = mSapServerMsgHandler.obtainMessage(SapServer.SAP_MSG_RIL_IND, sapMsg); in sendRilIndMessage()
|
D | SapRilReceiver.java | 173 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()
|
D | SapServer.java | 46 public class SapServer extends Thread implements Handler.Callback { class 113 public SapServer( in SapServer() method in SapServer 159 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_GRACEFULL); in onReceive() 246 Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION); in setNotification() 259 sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, type); in setNotification() 283 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_GRACEFULL); in setNotification() 284 Intent sapForceDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION); in setNotification() 286 SapServer.SAP_DISCONNECT_TYPE_EXTRA, SapMessage.DISC_IMMEDIATE); in setNotification() 333 notificationManager.cancel(SapServer.NOTIFICATION_ID); in clearNotification() 755 Intent sapDisconnectIntent = new Intent(SapServer.SAP_DISCONNECT_ACTION); in startDisconnectTimer()
|
D | SapService.java | 95 private SapServer mSapServer = null; 282 new SapServer( in startSapServerSession()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | sdp.rs | 26 SapServer, enumerator 46 BtSdpRecord::SapServer(record) => record.hdr.sdp_type.clone(), in from() 297 SapServer(BtSdpSapRecord), enumerator 317 BtSdpType::SapServer => unsafe { in from() 318 BtSdpRecord::SapServer(BtSdpSapRecord::from(item.sap)) in from() 385 BtSdpRecord::SapServer(sap) => bindings::bluetooth_sdp_record { in get_unsafe_record()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 381 BtSdpType::SapServer => { in from_dbus() 383 BtSdpRecord::SapServer(arg_0) in from_dbus() 423 BtSdpRecord::SapServer(sap_record) => { in to_dbus()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | dbus_iface.rs | 293 BtSdpType::SapServer => { in from_dbus() 295 BtSdpRecord::SapServer(arg_0) in from_dbus() 335 BtSdpRecord::SapServer(sap_record) => { in to_dbus()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 3043 BtSdpRecord::SapServer(record) => record.hdr.uuid = uuid, in sdp_search()
|