Searched refs:WifiP2pPeer (Results 1 – 4 of 4) sorted by relevance
45 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()
83 private WifiP2pPeer mWifiP2pPeer;
31 public class WifiP2pPeer extends Preference { class43 public WifiP2pPeer(Context context, WifiP2pDevice dev) { in WifiP2pPeer() method in WifiP2pPeer72 if (!(preference instanceof WifiP2pPeer)) { in compareTo()75 WifiP2pPeer other = (WifiP2pPeer) preference; in compareTo()
84 @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()