/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | LongPressWifiEntryPreferenceTest.java | 63 when(mWifiEntry.canConnect()).thenReturn(true); in setUp() 73 when(mWifiEntry.canConnect()).thenReturn(true); in shouldEnabled_canConnect_returnTrue() 81 when(mWifiEntry.canConnect()).thenReturn(false); in shouldEnabled_canNotConnect_returnFalse() 89 when(mWifiEntry.canConnect()).thenReturn(false); in shouldEnabled_canNotConnectButCanDisconnect_returnTrue() 98 when(mWifiEntry.canConnect()).thenReturn(false); in shouldEnabled_canNotConnectButIsSaved_returnTrue() 107 when(mWifiEntry.canConnect()).thenReturn(false); in shouldEnabled_canNotConnectButCanDisconnectAndIsSaved_returnTrue()
|
D | WifiDialogActivityTest.java | 102 when(mWifiEntry.canConnect()).thenReturn(true); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragmentTest.java | 83 when(mWifiEntry.canConnect()).thenReturn(false); in canConnectWifi_noAvailableWifiMatch_returnTrue() 90 when(mWifiEntry.canConnect()).thenReturn(true); in canConnectWifi_wifiCanConnect_returnTrue() 97 when(mWifiEntry.canConnect()).thenReturn(false); in canConnectWifi_wifiCanNotConnect_returnFalseAndShowError()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiPickerTrackerHelperTest.java | 172 when(mMergedCarrierEntry.canConnect()).thenReturn(true); in connectCarrierNetwork_returnTrueAndConnect() 187 when(mMergedCarrierEntry.canConnect()).thenReturn(false); in connectCarrierNetwork_canConnectIsFalse_returnFalseAndNeverConnect()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | LongPressWifiEntryPreference.java | 62 boolean enabled = wifiEntry.canConnect(); in shouldEnabled()
|
D | WifiPickerTrackerHelper.java | 145 if (mergedCarrierEntry == null || !mergedCarrierEntry.canConnect()) { in connectCarrierNetwork()
|
D | WifiDialogActivity.java | 293 if (config == null && wifiEntry != null && wifiEntry.canConnect()) { in onSubmit()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsActionButtonsPreferenceController.java | 63 boolean canConnectOrDisconnect = getWifiEntry().canConnect() in updateState()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsActionButtonsPreferenceControllerTest.java | 108 when(mMockWifiEntry.canConnect()).thenReturn(true); in updateState_needConnect_connectButtonShown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 1456 when(mMockWifiEntry.canConnect()).thenReturn(true); in testConnectButton_disconnectedNetwork_shouldVisibleIfReachable() 1486 when(mMockWifiEntry.canConnect()).thenReturn(true); in testConnectButton_clickConnect_displayAsSuccess() 1500 when(mMockWifiEntry.canConnect()).thenReturn(false); in testConnectButton_clickConnect_displayAsSuccess() 1540 when(mMockWifiEntry.canConnect()).thenReturn(false); in testConnectButton_clickConnectButFailed_displayFailMessage() 1552 when(mMockWifiEntry.canConnect()).thenReturn(true); in testConnectButton_clickConnectButFailed_displayFailMessage()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceTest.java | 282 Assert.assertEquals(expected, mService.canConnect(device)); in testCanConnectCase()
|
D | BatteryStateMachineTest.java | 118 when(mBatteryService.canConnect(any(BluetoothDevice.class))).thenReturn(allow); in allowConnection()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkProviderSettings.java | 624 if (mSelectedWifiEntry.canConnect()) { in onCreateContextMenu() 738 if (selectedEntry.canConnect()) { in onSelectedWifiPreferenceClick() 1228 || (dialogMode == WifiConfigUiBase2.MODE_VIEW && wifiEntry.canConnect())) { in onSubmit()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 577 if (display.canConnect()) { in pairWifiDisplay() 760 setEnabled(display.canConnect()); in UnpairedWifiDisplayPreference()
|
/packages/modules/Bluetooth/tools/rootcanal/test/ |
D | posix_socket_unittest.cc | 110 TEST_F(PosixSocketTest, canConnect) { in TEST_F() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkProviderSettingsTest.java | 485 when(mWifiEntry.canConnect()).thenReturn(true); in createWifiDialog2() 721 when(mWifiEntry.canConnect()).thenReturn(true); in onSelectedWifiPreferenceClick_canConnect_connectWifi()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryService.java | 258 public boolean canConnect(BluetoothDevice device) { in canConnect() method in BatteryService
|
D | BatteryStateMachine.java | 307 if (service != null && service.canConnect(mDevice)) { in processMessage()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 279 if (!wifiEntry.canConnect()) { in canConnectWifi()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 773 final boolean canConnectDisconnectNetwork = mWifiEntry.canConnect() in refreshButtons()
|
/packages/apps/TvSettings/ |
D | two-panel-baseline-profile.txt | 4589 SPLcom/android/wifitrackerlib/StandardWifiEntry;->canConnect()Z
|