Home
last modified time | relevance | path

Searched refs:getConnectionStatus (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapServerTest.java187 && sapMsg.getConnectionStatus() in onConnectRequest_whenStateIsConnected_sendsErrorConnectionClientMessage()
203 && sapMsg.getConnectionStatus() in onConnectRequest_whenStateIsCallOngoing_sendsErrorConnectionClientMessage()
353 when(msg.getConnectionStatus()).thenReturn(CON_STATUS_OK); in handleRfcommReply_connectRespMsg_whenInCallOngoingState()
365 when(msg.getConnectionStatus()).thenReturn(CON_STATUS_OK); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_okStatus()
377 when(msg.getConnectionStatus()).thenReturn(CON_STATUS_OK_ONGOING_CALL); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_ongoingCallStatus()
391 when(msg.getConnectionStatus()).thenReturn(CON_STATUS_ERROR_CONNECTION); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_errorStatus()
538 when(sapMsg.getConnectionStatus()).thenReturn(CON_STATUS_OK); in handleMessage_forRfcReplyMsg_callsHandleRfcommReply()
DSapMessageTest.java105 assertThat(mMessage.getConnectionStatus()).isEqualTo(connectionStatus); in settersAndGetters()
179 assertThat(msgFromInputStream.getConnectionStatus()).isEqualTo(connectionStatus); in writeAndRead()
DSapRilReceiverTest.java173 && sapMsg.getConnectionStatus() == sapConnectRsp; in callback_connectResponse()
DSapRilReceiverHidlTest.java168 && sapMsg.getConnectionStatus() == sapConnectRsp; in callback_connectResponse()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreferenceTest.java125 when(mProfile.getConnectionStatus(mDevice)).thenReturn(STATE_CONNECTED); in onAttached_panProfile_connected_setsChecked()
138 when(mProfile.getConnectionStatus(mDevice)).thenReturn(STATE_DISCONNECTED); in onAttached_panProfile_notConnected_setsUnchecked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java31 static int getConnectionStatus(WifiEntry wifiEntry) { in getConnectionStatus() method in WifiUtils
DWifiDetailsFragment.java158 WifiUtils.getConnectionStatus(mAccessPoint.getWifiEntry())); in update()
DNetworkFragment.java453 pref.setSummary(WifiUtils.getConnectionStatus(accessPoint.getWifiEntry())); in updateWifiList()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreference.java80 mProfile.getConnectionStatus(mCachedDevice.getDevice()) == STATE_CONNECTED); in refreshUi()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java812 if (sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK) { in handleRfcommReply()
821 } else if (sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK) { in handleRfcommReply()
824 } else if (sapMsg.getConnectionStatus() in handleRfcommReply()
827 } else if (sapMsg.getConnectionStatus() != SapMessage.CON_STATUS_OK) { in handleRfcommReply()
DSapMessage.java227 public int getConnectionStatus() { in getConnectionStatus() method in SapMessage
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java119 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in BluetoothTestUtils.TestLocalBluetoothProfile
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFindBroadcastsHeaderController.java112 && broadcastAssistant.getConnectionStatus(mCachedDevice.getDevice()) in updateHeaderLayout()
DBluetoothDetailsProfilesController.java196 profilePref.setChecked(profile.getConnectionStatus(device) == in refreshProfilePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java149 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
197 return Utils.getConnectionStateSummary(getConnectionStatus(device)); in getSummaryResourceForDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDevicePreferenceControllerTest.java383 when(mHeadsetProfile.getConnectionStatus(mDevice)) in onProfileConnectionStateChanged_nonLeaNotFirstProfileConnected_doNothing()
398 when(mHeadsetProfile.getConnectionStatus(mDevice)) in onProfileConnectionStateChanged_nonLeaFirstProfileConnected_handle()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDevicePreferenceController.java442 && profile.getConnectionStatus(cachedDevice.getDevice()) in isFirstConnectedProfile()