Home
last modified time | relevance | path

Searched refs:wifiP2pDevice (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pPeerTest.java114 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in setupOneOtherP2pPeer() local
115 wifiP2pDevice.status = WifiP2pDevice.CONNECTED; in setupOneOtherP2pPeer()
116 wifiP2pDevice.deviceAddress = address; in setupOneOtherP2pPeer()
117 wifiP2pDevice.deviceName = name; in setupOneOtherP2pPeer()
118 mOtherWifiP2pPeer.device = wifiP2pDevice; in setupOneOtherP2pPeer()
DWifiP2pSettingsTest.java485 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in peersCategoryController_withOnePeerDevice_shouldBeAvailable() local
487 deviceList.add(wifiP2pDevice); in peersCategoryController_withOnePeerDevice_shouldBeAvailable()
509 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName() local
514 mFragment.onDeviceInfoAvailable(wifiP2pDevice); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName()
569 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in setupOneP2pPeer() local
570 wifiP2pDevice.status = status; in setupOneP2pPeer()
571 wifiP2pDevice.deviceAddress = "testAddress"; in setupOneP2pPeer()
572 wifiP2pDevice.deviceName = "testName"; in setupOneP2pPeer()
573 mWifiP2pPeer.device = wifiP2pDevice; in setupOneP2pPeer()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java608 public void onDeviceInfoAvailable(WifiP2pDevice wifiP2pDevice) { in onDeviceInfoAvailable() argument
609 mThisDevice = wifiP2pDevice; in onDeviceInfoAvailable()
612 if (wifiP2pDevice.status == WifiP2pDevice.UNAVAILABLE in onDeviceInfoAvailable()
613 || wifiP2pDevice.status == WifiP2pDevice.FAILED) { in onDeviceInfoAvailable()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java3994 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoSuccessWhenP2pEnabled() local
3995 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoSuccessWhenP2pEnabled()
3996 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoSuccessWhenP2pEnabled()
4019 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled() local
4020 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()
4021 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()
4045 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp() local
4046 assertEquals(thisDeviceMac, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()
4047 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()
4111 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in verifyCustomizeDefaultDeviceName() local
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java1133 void onDeviceInfoAvailable(@Nullable WifiP2pDevice wifiP2pDevice); in onDeviceInfoAvailable() argument
/packages/modules/Wifi/framework/api/
Dcurrent.txt1424 field public static final String EXTRA_WIFI_P2P_DEVICE = "wifiP2pDevice";