Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java101 mCachedDevice.onProfileStateChanged(mHidProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
113 mCachedDevice.onProfileStateChanged(mHidProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
125 mCachedDevice.onProfileStateChanged(mHidProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testSingleProfileConnectDisconnect()
142 mCachedDevice.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
149 mCachedDevice.onProfileStateChanged(mA2dpProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
155 mCachedDevice.onProfileStateChanged(mHfpProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
161 mCachedDevice.onProfileStateChanged(mHidProfile, BluetoothProfile.STATE_DISCONNECTED); in testGetConnectionSummary_testMultipleProfileConnectDisconnect()
/frameworks/base/core/java/com/android/internal/net/
DLegacyVpnInfo.java34 public static final int STATE_DISCONNECTED = 0; field in LegacyVpnInfo
85 return STATE_DISCONNECTED; in stateFromNetworkInfo()
91 return STATE_DISCONNECTED; in stateFromNetworkInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java82 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
85 BluetoothAdapter.STATE_DISCONNECTED); in testNoConnectionWithDevices()
93 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testDefaultConnectionState()
129 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testAsyncConnectionState()
153 assertEquals(BluetoothProfile.STATE_DISCONNECTED, in testNullAsync_DoesNotCrash()
/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.java56 private int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED;
106 case BluetoothAdapter.STATE_DISCONNECTED: in stateToString()
223 state = BluetoothAdapter.STATE_DISCONNECTED; in updateConnected()
295 private int mMaxConnectionState = BluetoothProfile.STATE_DISCONNECTED;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHidProfile.java113 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
119 : BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
159 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DSapProfile.java137 if (mService == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
142 : BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
189 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DMapProfile.java133 if (mService == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
139 : BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
186 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DPbapServerProfile.java99 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
104 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
DHeadsetProfile.java144 if (mService == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
153 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
200 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DPanProfile.java103 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
139 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DHfpClientProfile.java152 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
200 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DMapClientProfile.java136 if (mService == null) return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
185 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DA2dpSinkProfile.java140 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
193 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
DOppProfile.java52 return BluetoothProfile.STATE_DISCONNECTED; // Settings app doesn't handle OPP in getConnectionStatus()
DUtils.java20 case BluetoothProfile.STATE_DISCONNECTED: in getConnectionStateSummary()
DCachedBluetoothDevice.java149 newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
153 newProfileState == BluetoothProfile.STATE_DISCONNECTED) { in onProfileStateChanged()
354 mProfileConnectionState.put(profile, BluetoothProfile.STATE_DISCONNECTED); in clearProfileConnectionState()
843 int maxState = BluetoothProfile.STATE_DISCONNECTED; in getMaxConnectionState()
873 case BluetoothProfile.STATE_DISCONNECTED: in getConnectionSummary()
/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()
DCall.java77 public static final int STATE_DISCONNECTED = 7; field in Call
1591 if (callback != null && handler != null && mState != STATE_DISCONNECTED) { in registerCallback()
1603 if (callback != null && mState != STATE_DISCONNECTED) { in unregisterCallback()
1641 case STATE_DISCONNECTED: in stateToString()
1829 if (mState == STATE_DISCONNECTED) { in internalUpdate()
1842 if (mState != Call.STATE_DISCONNECTED) { in internalSetDisconnected()
1843 mState = Call.STATE_DISCONNECTED; in internalSetDisconnected()
DRemoteConnectionService.java68 || parcel.getState() != Connection.STATE_DISCONNECTED) {
72 || parcel.getState() != Connection.STATE_DISCONNECTED) {
78 if (parcel.getState() == Connection.STATE_DISCONNECTED) {
91 if (connection.getState() == Connection.STATE_DISCONNECTED) {
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dpSink.java343 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
347 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionState()
467 case STATE_DISCONNECTED: in stateToString()
DBluetoothProfile.java52 public static final int STATE_DISCONNECTED = 0; field
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java251 case BluetoothProfile.STATE_DISCONNECTED: in onReceive()
931 case BluetoothProfile.STATE_DISCONNECTED: in connectProfile()
1017 case BluetoothProfile.STATE_DISCONNECTED: in disconnectProfile()
1031 if (state == BluetoothProfile.STATE_DISCONNECTED in disconnectProfile()
1049 methodName, state, BluetoothProfile.STATE_DISCONNECTED, firedFlags, mask)); in disconnectProfile()
1120 case BluetoothPan.STATE_DISCONNECTED: in connectPanOrIncomingPanConnection()
1226 case BluetoothPan.STATE_DISCONNECTED: in disconnectFromRemoteOrVerifyConnectNap()
1240 if (state == BluetoothInputDevice.STATE_DISCONNECTED in disconnectFromRemoteOrVerifyConnectNap()
1258 methodName, state, BluetoothInputDevice.STATE_DISCONNECTED, firedFlags, mask)); in disconnectFromRemoteOrVerifyConnectNap()

123