Home
last modified time | relevance | path

Searched refs:STATE_DISCONNECTED (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java109 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
119 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
130 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
145 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
151 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
156 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
161 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
182 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
193 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
214 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_shortSummary_returnShortSummary()
[all …]
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java35 public static final int STATE_DISCONNECTED = 0; field in LegacyVpnInfo
93 return STATE_DISCONNECTED; in stateFromNetworkInfo()
99 return STATE_DISCONNECTED; in stateFromNetworkInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java60 int STATE_DISCONNECTED = 0; field
70 STATE_DISCONNECTED,
355 case STATE_DISCONNECTED: in getConnectionStateName()
DBluetoothA2dpSink.java234 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
238 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
397 case STATE_DISCONNECTED: in stateToString()
DBluetoothAvrcpController.java165 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
169 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
DBluetoothHearingAid.java276 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
279 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
456 case STATE_DISCONNECTED: in stateToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java91 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
94 BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
102 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDefaultConnectionState()
130 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testAsyncConnectionState()
148 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testNullAsync_DoesNotCrash()
179 BluetoothAdapter.STATE_DISCONNECTED); in testOnBluetoothStateChange_updatesConnectionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCastController.java36 public static final int STATE_DISCONNECTED = 0; field in CastController.CastDevice
43 public int state = STATE_DISCONNECTED;
DBluetoothControllerImpl.java68 private int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED;
125 case BluetoothAdapter.STATE_DISCONNECTED: in stateToString()
251 state = BluetoothAdapter.STATE_DISCONNECTED; in updateConnected()
411 private int mMaxConnectionState = BluetoothProfile.STATE_DISCONNECTED;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidDeviceProfile.java109 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
116 return getConnectionStatus(device) != BluetoothProfile.STATE_DISCONNECTED; in isEnabled()
154 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DHearingAidProfile.java141 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
156 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
237 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DPanProfile.java91 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
147 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DHidProfile.java106 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
160 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DSapProfile.java116 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
179 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DCachedBluetoothDevice.java182 case BluetoothProfile.STATE_DISCONNECTED: in onProfileStateChanged()
209 && newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
213 && newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
401 : BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
870 int maxState = BluetoothProfile.STATE_DISCONNECTED; in getMaxConnectionState()
924 case BluetoothProfile.STATE_DISCONNECTED: in getConnectionSummary()
1037 case BluetoothProfile.STATE_DISCONNECTED: in getCarConnectionSummary()
DHfpClientProfile.java130 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DMapProfile.java118 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
181 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DA2dpSinkProfile.java120 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DA2dpProfile.java143 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
158 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
339 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DOppProfile.java44 return BluetoothProfile.STATE_DISCONNECTED; // Settings app doesn't handle OPP in getConnectionStatus()
DHeadsetProfile.java119 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
213 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java41 public static final int STATE_DISCONNECTED = 0; field in PlayerController
78 mController == null ? STATE_DISCONNECTED : STATE_CONNECTED); in setListener()
171 mListener.onConnectionStateChange(STATE_DISCONNECTED);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java90 public static final int STATE_DISCONNECTED = 2; field in BlockingStateCallback
123 setCurrentState(STATE_DISCONNECTED); in onDisconnected()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConference.java183 newState != Connection.STATE_DISCONNECTED) { in setState()
296 if (mState != Connection.STATE_DISCONNECTED) { in setDisconnected()
298 setState(Connection.STATE_DISCONNECTED); in setDisconnected()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java249 case BluetoothProfile.STATE_DISCONNECTED: in onReceive()
935 case BluetoothProfile.STATE_DISCONNECTED: in connectProfile()
1021 case BluetoothProfile.STATE_DISCONNECTED: in disconnectProfile()
1035 if (state == BluetoothProfile.STATE_DISCONNECTED in disconnectProfile()
1053 methodName, state, BluetoothProfile.STATE_DISCONNECTED, firedFlags, mask)); in disconnectProfile()
1124 case BluetoothPan.STATE_DISCONNECTED: in connectPanOrIncomingPanConnection()
1230 case BluetoothPan.STATE_DISCONNECTED: in disconnectFromRemoteOrVerifyConnectNap()
1244 if (state == BluetoothHidHost.STATE_DISCONNECTED in disconnectFromRemoteOrVerifyConnectNap()
1262 methodName, state, BluetoothHidHost.STATE_DISCONNECTED, firedFlags, mask)); in disconnectFromRemoteOrVerifyConnectNap()

1234