/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 143 public boolean isConnected() { in isConnected() method in RichInputConnection 195 if (isConnected()) { in beginBatchEdit() 210 if (--mNestLevel == 0 && isConnected()) { in endBatchEdit() 242 if (isConnected() && shouldFinishComposition) { in resetCachesUponCursorMoveAndReturnSuccess() 291 if (isConnected()) { in finishComposingText() 312 if (isConnected()) { in commitText() 340 return isConnected() ? mIC.getSelectedText(flags) : null; in getSelectedText() 365 if (!isConnected()) { in getCursorCapsMode() 435 if (!isConnected()) { in getTextBeforeCursorAndDetectLaggyConnection() 454 if (!isConnected()) { in getTextAfterCursorAndDetectLaggyConnection() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpBipClient.java | 149 if (!isConnected()) { in refreshSession() 191 public boolean isConnected() { in isConnected() method in AvrcpBipClient 211 error("Adding messages failed, connection state: " + isConnected()); in getImageProperties() 224 error("Adding messages failed, connection state: " + isConnected()); in getImage() 249 if (isConnected()) { in connect() 351 if (!isConnected()) { in executeRequest() 406 if (!inst.isConnected()) { in handleMessage() 412 if (inst.isConnected()) { in handleMessage() 418 if (inst.isConnected()) { in handleMessage() 424 if (inst.isConnected()) { in handleMessage()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
D | BluetoothConnection.java | 75 return mSocket.isConnected(); in connect() 79 public boolean isConnected() { in isConnected() method in BluetoothConnection 80 return mSocket != null && mSocket.isConnected(); in isConnected() 84 if (isConnected()) { in close() 104 if (isConnected()) { in getInputStream() 116 if (isConnected()) { in getOutputStream()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | WifiMonitor.java | 58 boolean isConnected = info != null && info.isConnected(); in WifiMonitor() 59 if (mListener != null && (mConnected == null || mConnected != isConnected)) { in WifiMonitor() 60 mConnected = isConnected; in WifiMonitor() 80 void onConnectionStateChanged(boolean isConnected); in onConnectionStateChanged() argument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | CarApiTestFragment.java | 54 + mCarForCreateAndConnect.isConnected() 61 + mCarForCreateAndConnect.isConnected()); 81 mTextForCreateCar.setText("isConnected:" + mCarForCreateCar.isConnected()); in onCreateView() 92 + car.isConnected() in onCreateView() 98 + car.isConnected()); in onCreateView()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 65 assertFalse(car.isConnected()); in testCarConnection() 71 assertTrue(car.isConnected()); in testCarConnection() 84 assertFalse(car.isConnected()); in testCarConnection() 90 assertFalse(car.isConnected()); in testDoubleConnect() 108 assertTrue(car2.isConnected()); in testConstructorWithICar()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | WifiConnectionPreferenceControllerTest.java | 90 when(mWifiTracker.isConnected()).thenReturn(false); in isAvailable_noWiFiConnection_availableIsFalse() 96 when(mWifiTracker.isConnected()).thenReturn(false); in displayPreference_noWiFiConnection_noPreferenceAdded() 104 when(mWifiTracker.isConnected()).thenReturn(true); in displayPreference_hasWiFiConnection_preferenceAdded() 114 when(mWifiTracker.isConnected()).thenReturn(true); in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved() 125 when(mWifiTracker.isConnected()).thenReturn(false); in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved() 136 when(mWifiTracker.isConnected()).thenReturn(true); in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | SavedBluetoothDeviceUpdaterTest.java | 83 doReturn(false).when(mBluetoothDevice).isConnected(); in update_filterMatch_addPreference() 93 doReturn(true).when(mBluetoothDevice).isConnected(); in update_filterNotMatch_removePreference() 102 when(mBluetoothDevice.isConnected()).thenReturn(true); in onProfileConnectionStateChanged_deviceConnected_removePreference() 112 when(mBluetoothDevice.isConnected()).thenReturn(false); in onProfileConnectionStateChanged_deviceDisconnected_addPreference()
|
D | BluetoothDevicePreferenceTest.java | 79 when(mCachedBluetoothDevice.isConnected()).thenReturn(true); in onClicked_deviceConnected_shouldLogBluetoothDisconnectEvent() 89 when(mCachedBluetoothDevice.isConnected()).thenReturn(false); in onClicked_deviceBonded_shouldLogBluetoothConnectEvent() 100 when(mCachedBluetoothDevice.isConnected()).thenReturn(false); in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent() 116 when(mCachedBluetoothDevice.isConnected()).thenReturn(false); in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
|
D | BluetoothDetailsButtonsControllerTest.java | 99 when(mCachedDevice.isConnected()).thenReturn(false); in clickOnConnect() 115 when(mCachedDevice.isConnected()).thenReturn(false); in becomeDisconnected() 127 when(mCachedDevice.isConnected()).thenReturn(false); in becomeConnected() 134 when(mCachedDevice.isConnected()).thenReturn(true); in becomeConnected()
|
D | BluetoothDetailsControllerTestBase.java | 128 boolean isConnected() { in isConnected() method in BluetoothDetailsControllerTestBase.DeviceConfig 152 when(mCachedDevice.isConnected()).thenReturn(config.isConnected()); in setupDevice()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/ |
D | AssociatedDeviceDetails.java | 36 AssociatedDeviceDetails(@NonNull AssociatedDevice device, boolean isConnected) { in AssociatedDeviceDetails() argument 41 mIsConnected = isConnected; in AssociatedDeviceDetails() 68 boolean isConnected() { in isConnected() method in AssociatedDeviceDetails
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | SavedBluetoothDeviceUpdater.java | 46 ", is connected : " + device.isConnected() + ", is profile connected : " in isFilterMatched() 47 + cachedDevice.isConnected()); in isFilterMatched() 49 return device.getBondState() == BluetoothDevice.BOND_BONDED && !device.isConnected(); in isFilterMatched()
|
D | BluetoothDeviceUpdater.java | 294 ", is connected : " + device.isConnected() + " , is profile connected : " in isDeviceConnected() 295 + cachedDevice.isConnected()); in isDeviceConnected() 297 return device.getBondState() == BluetoothDevice.BOND_BONDED && device.isConnected(); in isDeviceConnected()
|
D | BluetoothDetailsButtonsController.java | 43 mIsConnected = device.isConnected(); in BluetoothDetailsButtonsController() 67 mIsConnected = mCachedDevice.isConnected(); in refresh()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | SavedBluetoothDeviceUpdater.java | 46 ", is connected : " + device.isConnected() + ", is profile connected : " in isFilterMatched() 47 + cachedDevice.isConnected()); in isFilterMatched() 49 return device.getBondState() == BluetoothDevice.BOND_BONDED && !device.isConnected(); in isFilterMatched()
|
D | BluetoothDeviceUpdater.java | 284 ", is connected : " + device.isConnected() + " , is profile connected : " in isDeviceConnected() 285 + cachedDevice.isConnected()); in isDeviceConnected() 287 return device.getBondState() == BluetoothDevice.BOND_BONDED && device.isConnected(); in isDeviceConnected()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 152 void onLocationChanged(Location location, boolean isConnected) { in onLocationChanged() argument 214 LocationHelper.this.onLocationChanged(location, isConnected()); in getLocation() 228 LocationHelper.this.onLocationChanged(location, isConnected()); in onLocationChanged() 243 private boolean isConnected() { in isConnected() method in LocationHelper.LocationHelperInternal
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragmentTest.java | 116 when(mCachedDevice.isConnected()).thenReturn(true); in connectionButtonClicked_deviceConnected_disconnectsDevice() 126 when(mCachedDevice.isConnected()).thenReturn(false); in connectionButtonClicked_deviceNotConnected_connectsDevice() 136 when(mCachedDevice.isConnected()).thenReturn(true); in deviceConnected_connectionButtonShowsDisconnect() 145 when(mCachedDevice.isConnected()).thenReturn(false); in deviceNotConnected_connectionButtonShowsConnect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | MediaOutputPreferenceControllerTest.java | 136 when(mBluetoothDevice.isConnected()).thenReturn(true); in setUp() 140 when(mSecondBluetoothDevice.isConnected()).thenReturn(true); in setUp() 144 when(mLeftBluetoothHapDevice.isConnected()).thenReturn(true); in setUp() 148 when(mRightBluetoothHapDevice.isConnected()).thenReturn(true); in setUp()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 135 if (shouldConnect && !isConnected(profile) && in onClick() 229 if (!isConnected(profile)) { in disconnect() 239 private boolean isConnected(VpnProfile profile) throws RemoteException { in isConnected() method in ConfigDialogFragment
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialogFragment.java | 131 if (shouldConnect && !isConnected(profile) && in onClick() 225 if (!isConnected(profile)) { in disconnect() 235 private boolean isConnected(VpnProfile profile) throws RemoteException { in isConnected() method in ConfigDialogFragment
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2Connection.java | 43 boolean isConnected(); in isConnected() method 79 public boolean isConnected() { in isConnected() method in Obd2Connection 80 return mConnection.isConnected(); in isConnected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapObexTransport.java | 79 public boolean isConnected() throws IOException { in isConnected() method in BluetoothPbapObexTransport 81 return mSocket.isConnected(); in isConnected()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | CarUxRestrictionsHelper.java | 63 if (mCar != null && !mCar.isConnected()) { in start() 80 if (mCar != null && mCar.isConnected()) { in stop()
|