Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java106 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
116 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
127 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
142 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
148 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
153 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
158 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
179 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
190 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
211 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
89 return STATE_DISCONNECTED; in stateFromNetworkInfo()
95 return STATE_DISCONNECTED; in stateFromNetworkInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java58 int STATE_DISCONNECTED = 0; field
68 STATE_DISCONNECTED,
315 case STATE_DISCONNECTED: in getConnectionStateName()
DBluetoothA2dpSink.java283 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
287 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
408 case STATE_DISCONNECTED: in stateToString()
DBluetoothAvrcpController.java165 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
169 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
DBluetoothPan.java281 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
285 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java90 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
93 BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
101 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDefaultConnectionState()
137 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testAsyncConnectionState()
161 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testNullAsync_DoesNotCrash()
196 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;
120 case BluetoothAdapter.STATE_DISCONNECTED: in stateToString()
236 state = BluetoothAdapter.STATE_DISCONNECTED; in updateConnected()
332 private int mMaxConnectionState = BluetoothProfile.STATE_DISCONNECTED;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidDeviceProfile.java121 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
128 return getConnectionStatus(device) != BluetoothProfile.STATE_DISCONNECTED; in isPreferred()
163 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DPbapServerProfile.java101 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
106 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
DHearingAidProfile.java135 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
164 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
250 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DPanProfile.java104 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
140 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DMapClientProfile.java134 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
191 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DHidProfile.java113 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
155 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DHfpClientProfile.java147 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
201 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DA2dpSinkProfile.java135 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
196 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DSapProfile.java130 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DMapProfile.java130 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DA2dpProfile.java137 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
166 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
318 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DOppProfile.java52 return BluetoothProfile.STATE_DISCONNECTED; // Settings app doesn't handle OPP in getConnectionStatus()
/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/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java48 MediaDeviceState.STATE_DISCONNECTED})
52 int STATE_DISCONNECTED = 3; field
141 : MediaDeviceState.STATE_DISCONNECTED; in connectDevice()
/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()

1234