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()
453 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in peersCategoryController_withOnePeerDevice_shouldBeAvailable() local455 deviceList.add(wifiP2pDevice); in peersCategoryController_withOnePeerDevice_shouldBeAvailable()477 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName() local482 mFragment.onDeviceInfoAvailable(wifiP2pDevice); in thisDeviceController_onDeviceInfoAvailable_shouldUpdateDeviceName()537 final WifiP2pDevice wifiP2pDevice = mock(WifiP2pDevice.class); in setupOneP2pPeer() local538 wifiP2pDevice.status = status; in setupOneP2pPeer()539 wifiP2pDevice.deviceAddress = "testAddress"; in setupOneP2pPeer()540 wifiP2pDevice.deviceName = "testName"; in setupOneP2pPeer()541 mWifiP2pPeer.device = wifiP2pDevice; in setupOneP2pPeer()
2314 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoSuccessWhenP2pEnabled() local2315 assertEquals(ANONYMIZED_DEVICE_ADDRESS, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoSuccessWhenP2pEnabled()2316 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoSuccessWhenP2pEnabled()2331 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled() local2332 assertEquals("", wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()2333 assertEquals("", wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnEmptyWifiP2pDeviceWhenP2pDisabled()2350 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp() local2351 assertEquals(thisDeviceMac, wifiP2pDevice.deviceAddress); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()2352 assertEquals(thisDeviceName, wifiP2pDevice.deviceName); in testRequestDeviceInfoReturnsActualMacForNetworkSettingsApp()2365 WifiP2pDevice wifiP2pDevice = (WifiP2pDevice) mMessageCaptor.getValue().obj; in verifyCustomizeDefaultDeviceName() local[all …]
615 public void onDeviceInfoAvailable(WifiP2pDevice wifiP2pDevice) { in onDeviceInfoAvailable() argument616 mThisDevice = wifiP2pDevice; in onDeviceInfoAvailable()
846 void onDeviceInfoAvailable(@Nullable WifiP2pDevice wifiP2pDevice); in onDeviceInfoAvailable() argument
1073 field public static final String EXTRA_WIFI_P2P_DEVICE = "wifiP2pDevice";