Home
last modified time | relevance | path

Searched refs:peerHandle (Results 1 – 2 of 2) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiAwareManagerFacade.java598 PeerHandle peerHandle = null; in wifiAwareCreateNetworkSpecifier() local
600 peerHandle = new PeerHandle(peerId); in wifiAwareCreateNetworkSpecifier()
608 (peerHandle == null) ? WifiAwareNetworkSpecifier.NETWORK_SPECIFIER_TYPE_IB_ANY_PEER in wifiAwareCreateNetworkSpecifier()
615 peerHandle != null ? peerHandle.peerId : 0, // 0 is an invalid peer ID in wifiAwareCreateNetworkSpecifier()
812 private Bundle createServiceDiscoveredBaseBundle(PeerHandle peerHandle, in createServiceDiscoveredBaseBundle() argument
816 mResults.putInt("peerId", peerHandle.peerId); in createServiceDiscoveredBaseBundle()
830 public void onServiceDiscovered(PeerHandle peerHandle, in onServiceDiscovered() argument
832 Bundle mResults = createServiceDiscoveredBaseBundle(peerHandle, serviceSpecificInfo, in onServiceDiscovered()
838 public void onServiceDiscoveredWithinRange(PeerHandle peerHandle, in onServiceDiscoveredWithinRange() argument
841 Bundle mResults = createServiceDiscoveredBaseBundle(peerHandle, serviceSpecificInfo, in onServiceDiscoveredWithinRange()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPeerHandleTest.java19 PeerHandle peerHandle = ShadowPeerHandle.newInstance(); in canCreatePeerHandleViaNewInstance() local
20 assertThat(peerHandle).isNotNull(); in canCreatePeerHandleViaNewInstance()