/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/services/BuiltInPrintService/src/com/android/bips/util/ |
D | WifiMonitor.java | 41 void onConnectionStateChanged(boolean isConnected); in onConnectionStateChanged() argument 48 boolean isConnected = isConnected(context); 49 if (mConnected == null || mConnected != isConnected) { 50 mConnected = isConnected; 71 public static boolean isConnected(Context context) { in isConnected() method in WifiMonitor 77 if (networkInfo != null && networkInfo.isConnected() && in isConnected()
|
/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/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarTest.java | 66 assertFalse(car.isConnected()); in testCarConnection() 72 assertTrue(car.isConnected()); in testCarConnection() 85 assertFalse(car.isConnected()); in testCarConnection() 91 assertFalse(car.isConnected()); in testDoubleConnect() 109 assertTrue(car2.isConnected()); in testConstructorWithICar()
|
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
D | CarTest.java | 60 assertFalse(car.isConnected()); in testCarConnection() 66 assertTrue(car.isConnected()); in testCarConnection() 79 assertFalse(car.isConnected()); in testCarConnection() 85 assertFalse(car.isConnected()); in testDoubleConnect()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 146 void onLocationChanged(Location location, boolean isConnected) { in onLocationChanged() argument 184 if (apiClient.isConnected()) { in close() 229 LocationHelper.this.onLocationChanged(location, isConnected()); in onLocationChanged() 235 private boolean isConnected() { in isConnected() method in LocationHelper.LocationHelperInternal
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | BluetoothManager.java | 210 boolean isConnected = false; in isBluetoothAvailable() 215 isConnected = true; in isBluetoothAvailable() 224 Log.v(this, " ==> " + isConnected); in isBluetoothAvailable() 225 return isConnected; in isBluetoothAvailable()
|
D | InCallController.java | 90 public boolean isConnected() { return false; } in isConnected() method in InCallController.InCallServiceConnection 266 public boolean isConnected() { in isConnected() method in InCallController.InCallServiceBindingConnection 494 public boolean isConnected() { in isConnected() method in InCallController.CarSwappingInCallServiceConnection 556 if (subConnection.isConnected()) { in disconnect() 563 public boolean isConnected() { in isConnected() method in InCallController.NonUIInCallServiceConnectionCollection 566 connected = connected || subConnection.isConnected(); in isConnected() 764 mInCallServiceConnection.isConnected()); in onCallAdded() 1396 return mInCallServiceConnection != null && mInCallServiceConnection.isConnected(); in isBoundAndConnectedToServices()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | RefreshStatusMonitor.java | 85 private boolean isConnected() { in isConnected() method in RefreshStatusMonitor 89 return (networkInfo != null) && networkInfo.isConnected(); in isConnected() 116 } else if (!isConnected()) { in run()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 69 when(mCachedBluetoothDevice.isConnected()).thenReturn(true); in onClicked_deviceConnected_shouldLogBluetoothDisconnectEvent() 79 when(mCachedBluetoothDevice.isConnected()).thenReturn(false); in onClicked_deviceBonded_shouldLogBluetoothConnectEvent() 90 when(mCachedBluetoothDevice.isConnected()).thenReturn(false); in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent()
|
D | BluetoothSummaryUpdaterTest.java | 140 when(devices.get(0).isConnected()).thenReturn(true); in onConnectionStateChanged_connected_shouldSendConnectedMessage() 207 doReturn(true).when(mConnectedDevice).isConnected(); in prepareConnectedDevice() 212 doReturn(true).when(mConnectedKeyBoardDevice).isConnected(); in prepareConnectedDevice()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 155 if (shouldConnect && !isConnected(profile) && in onClick() 249 if (!isConnected(profile)) { in disconnect() 259 private boolean isConnected(VpnProfile profile) throws RemoteException { in isConnected() method in ConfigDialogFragment
|
/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/services/Car/service/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicy.java | 998 boolean isConnected; in notifyConnectionStatus() 1001 isConnected = false; in notifyConnectionStatus() 1006 isConnected = true; in notifyConnectionStatus() 1019 boolean updateSuccessful = updateDeviceConnectionStatus(params, isConnected); in notifyConnectionStatus() 1021 if (isConnected) { in notifyConnectionStatus()
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
D | CarServiceLoaderEmbedded.java | 68 public boolean isConnected() { in isConnected() method in CarServiceLoaderEmbedded 69 return mEmbeddedCar.isConnected(); in isConnected()
|
D | Car.java | 335 if (!serviceLoader.isConnected()) { in Car() 382 public boolean isConnected() { in isConnected() method in Car
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionarySettingsFragment.java | 228 boolean isConnected = null == info ? false : info.isConnected(); in refreshNetworkState() 229 if (null != mUpdateNowMenu) mUpdateNowMenu.setEnabled(isConnected); in refreshNetworkState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMnsObexClient.java | 155 public boolean isConnected() { in isConnected() method in BluetoothMnsObexClient 236 if (isConnected() == false) { in handleRegistration() 240 sendObserverRegistration = isConnected(); in handleRegistration()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | UsbModePreferenceController.java | 104 if (mUsbReceiver.isConnected()) { in updataSummary() 145 public boolean isConnected() { in isConnected() method in UsbModePreferenceController.UsbConnectionBroadcastReceiver
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdater.java | 137 if (device.isConnected()) { in updateConnected() 166 if (device.isConnected()) { in getConnectedDeviceSummary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 475 if (!mStateMachine.isConnected()) { in connectAudio() 551 if (!mStateMachine.isConnected()) { in enableWBS() 568 if (!mStateMachine.isConnected()) { in disableWBS()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 558 boolean isConnected = (currentConnection != null) && currentConnection.isConnected(); in addSummaryPage() 559 if (isConnected) { in addSummaryPage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 615 private boolean isConnected; field in BluetoothOppTransfer.SocketConnectThread 633 isConnected = false; in SocketConnectThread() 645 isConnected = false; in SocketConnectThread()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiSettingsUiTest.java | 207 when(mWifiTracker.isConnected()).thenReturn(true); in onConnected_shouldSeeConnectedMessage() 218 when(mWifiTracker.isConnected()).thenReturn(true); in resumingAp_shouldNotForceUpdateWhenExistingAPsAreListed()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | MockedCarTestBase.java | 226 if (!car.isConnected()) { in releaseRealCarService() 231 if (car.isConnected()) { in releaseRealCarService()
|