Searched refs:wifiP2pDevice (Results 1 – 6 of 6) sorted by relevance
114 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in setupOneOtherP2pPeer() local115 wifiP2pDevice.status = WifiP2pDevice.CONNECTED; in setupOneOtherP2pPeer()116 wifiP2pDevice.deviceAddress = address; in setupOneOtherP2pPeer()117 wifiP2pDevice.deviceName = name; in setupOneOtherP2pPeer()118 mOtherWifiP2pPeer.device = wifiP2pDevice; in setupOneOtherP2pPeer()
485 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in peersCategoryController_withOnePeerDevice_shouldBeAvailable() local487 deviceList.add(wifiP2pDevice); in peersCategoryController_withOnePeerDevice_shouldBeAvailable()509 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName() local514 mFragment.onDeviceInfoAvailable(wifiP2pDevice); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName()569 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in setupOneP2pPeer() local570 wifiP2pDevice.status = status; in setupOneP2pPeer()571 wifiP2pDevice.deviceAddress = "testAddress"; in setupOneP2pPeer()572 wifiP2pDevice.deviceName = "testName"; in setupOneP2pPeer()573 mWifiP2pPeer.device = wifiP2pDevice; in setupOneP2pPeer()
608 public void onDeviceInfoAvailable(WifiP2pDevice wifiP2pDevice) { in onDeviceInfoAvailable() argument609 mThisDevice = wifiP2pDevice; in onDeviceInfoAvailable()612 if (wifiP2pDevice.status == WifiP2pDevice.UNAVAILABLE in onDeviceInfoAvailable()613 || wifiP2pDevice.status == WifiP2pDevice.FAILED) { in onDeviceInfoAvailable()
3994 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoSuccessWhenP2pEnabled() local3995 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoSuccessWhenP2pEnabled()3996 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoSuccessWhenP2pEnabled()4019 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled() local4020 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()4021 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()4045 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp() local4046 assertEquals(thisDeviceMac, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()4047 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()4111 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in verifyCustomizeDefaultDeviceName() local[all …]
1133 void onDeviceInfoAvailable(@Nullable WifiP2pDevice wifiP2pDevice); in onDeviceInfoAvailable() argument
1424 field public static final String EXTRA_WIFI_P2P_DEVICE = "wifiP2pDevice";