Home
last modified time | relevance | path

Searched refs:WifiP2pPeer (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pPeerTest.java45 private WifiP2pPeer mPreference;
50 private WifiP2pPeer mOtherWifiP2pPeer;
62 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in compareTo_withSameDeviceName_shouldBeZero()
71 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in compareTo_withDifferentDeviceName_shouldNotZero()
80 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in compareTo_withSameDeviceAddress_shouldBeZero()
89 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in compareTo_withLowerDeviceStatus_shouldBeOne()
98 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in compareTo_withNotPeerParameter_shouldBeOne()
105 mPreference = new WifiP2pPeer(mContext, mWifiP2pDevice); in signalLevel_afterNewPreference_shouldBeExpected()
108 WifiP2pPeer.SIGNAL_LEVELS); in signalLevel_afterNewPreference_shouldBeExpected()
DWifiP2pSettingsTest.java83 private WifiP2pPeer mWifiP2pPeer;
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java31 public class WifiP2pPeer extends Preference { class
43 public WifiP2pPeer(Context context, WifiP2pDevice dev) { in WifiP2pPeer() method in WifiP2pPeer
72 if (!(preference instanceof WifiP2pPeer)) { in compareTo()
75 WifiP2pPeer other = (WifiP2pPeer) preference; in compareTo()
DWifiP2pSettings.java84 @VisibleForTesting WifiP2pPeer mSelectedWifiPeer;
229 mSelectedWifiPeer = new WifiP2pPeer(getPrefContext(), device); in onCreateView()
425 if (preference instanceof WifiP2pPeer) { in onPreferenceTreeClick()
426 mSelectedWifiPeer = (WifiP2pPeer) preference; in onPreferenceTreeClick()
571 mPeerCategoryController.addChild(new WifiP2pPeer(getPrefContext(), peer)); in handlePeersChanged()