Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java120 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
130 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
141 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
156 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
162 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
167 updateProfileStatus(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
172 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testMultipleProfileConnectDisconnect()
193 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
204 updateProfileStatus(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
225 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()
98 return STATE_DISCONNECTED; in stateFromNetworkInfo()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java59 int STATE_DISCONNECTED = 0; field
69 STATE_DISCONNECTED,
361 case STATE_DISCONNECTED: in getConnectionStateName()
DBluetoothA2dpSink.java262 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
266 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
446 case STATE_DISCONNECTED: in stateToString()
DBluetoothLeAudio.java282 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
285 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
456 case STATE_DISCONNECTED: in stateToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java95 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
98 BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
106 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDefaultConnectionState()
134 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testAsyncConnectionState()
152 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testNullAsync_DoesNotCrash()
183 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.java74 private int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED;
137 case BluetoothAdapter.STATE_DISCONNECTED: in stateToString()
269 state = BluetoothAdapter.STATE_DISCONNECTED; in updateConnected()
433 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()
DMapClientProfile.java117 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
180 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()
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()
DCachedBluetoothDevice.java205 case BluetoothProfile.STATE_DISCONNECTED: in onProfileStateChanged()
232 && newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
236 && newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
422 : BluetoothProfile.STATE_DISCONNECTED; in getProfileConnectionState()
906 int maxState = BluetoothProfile.STATE_DISCONNECTED; in getMaxConnectionState()
960 case BluetoothProfile.STATE_DISCONNECTED: in getConnectionSummary()
1073 case BluetoothProfile.STATE_DISCONNECTED: in getCarConnectionSummary()
/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/telecomm/java/android/telecom/
DRemoteConference.java161 mState = Connection.STATE_DISCONNECTED; in RemoteConference()
191 newState != Connection.STATE_DISCONNECTED) { in setState()
304 if (mState != Connection.STATE_DISCONNECTED) { in setDisconnected()
306 setState(Connection.STATE_DISCONNECTED); in setDisconnected()
/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/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java21 import static android.bluetooth.BluetoothAdapter.STATE_DISCONNECTED;
343 setRouteConnectionState(btRoute, STATE_DISCONNECTED); in removeActiveRoute()
356 setRouteConnectionState(btRoute, STATE_DISCONNECTED); in clearActiveRoutesWithType()
517 || state == BluetoothProfile.STATE_DISCONNECTED) { in handleConnectionStateChanged()

1234