Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/content/res/
DResourcesKey.java111 ResourcesKey peer = (ResourcesKey) obj; in equals() local
112 if (mHash != peer.mHash) { in equals()
117 if (!Objects.equals(mResDir, peer.mResDir)) { in equals()
120 if (!Arrays.equals(mSplitResDirs, peer.mSplitResDirs)) { in equals()
123 if (!Arrays.equals(mOverlayDirs, peer.mOverlayDirs)) { in equals()
126 if (!Arrays.equals(mLibDirs, peer.mLibDirs)) { in equals()
129 if (mDisplayId != peer.mDisplayId) { in equals()
132 if (!Objects.equals(mOverrideConfiguration, peer.mOverrideConfiguration)) { in equals()
135 if (!Objects.equals(mCompatInfo, peer.mCompatInfo)) { in equals()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java79 private final Credentials peer; field in ZygoteConnection
102 peer = mSocket.getPeerCredentials(); in ZygoteConnection()
178 applyUidSecurityPolicy(parsedArgs, peer); in runOnce()
179 applyInvokeWithSecurityPolicy(parsedArgs, peer); in runOnce()
613 private static void applyUidSecurityPolicy(Arguments args, Credentials peer) in applyUidSecurityPolicy() argument
616 if (peer.getUid() == Process.SYSTEM_UID) { in applyUidSecurityPolicy()
634 args.uid = peer.getUid(); in applyUidSecurityPolicy()
638 args.gid = peer.getGid(); in applyUidSecurityPolicy()
671 private static void applyInvokeWithSecurityPolicy(Arguments args, Credentials peer) in applyInvokeWithSecurityPolicy() argument
673 int peerUid = peer.getUid(); in applyInvokeWithSecurityPolicy()
[all …]
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd25 <p>The Wi-Fi peer-to-peer (P2P) APIs allow applications to connect to nearby devices without
71 <dd>Indicates that the available peer list has changed.</dd>
140 // The peer list has changed! We should probably do something about
187 received back when you initialized the peer-to-peer mManager</li>
199 // can often be left blank. Code for peer discovery goes in the
211 <p>Keep in mind that this only <em>initiates</em> peer discovery. The
214 immediately returns. The system notifies you if the peer discovery process is
276 trigger a request for an updated peer list. </p>
279 <p>In order to connect to a peer, create a new {@link
Dindex.jd46 Peer-to-Peer (P2P) API for doing peer-to-peer wireless connections. This class also
59 <dd>Learn how to fetch a list of nearby peer devices, create an access point
Dnsd.jd38 requests. This is useful for a variety of peer-to-peer applications such as file
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd37 <p>Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with the appropriate
57 such as a dropped connection or a newly discovered peer.</li>
91 <td>Starts a peer-to-peer connection with a device with the specified configuration.</td>
96 <td>Cancels any ongoing peer-to-peer group negotiation.</td>
106 <td>Creates a peer-to-peer group with the current device as the group owner.</td>
111 <td>Removes the current peer-to-peer group.</td>
116 <td>Requests peer-to-peer group information.</td>
121 <td>Initiates peer discovery </td>
175 such as when a new peer is discovered or when a device's Wi-Fi state changes. You can register
276 broadcast receiver for your application, discovering peers, connecting to a peer, and
[all …]
Dsip.jd221 <em>peer profile</em>. When your SIP application logs into the SIP server with
294 &quot;peer profile&quot;).
328 <li>A peer SIP profile (the user being called).</li>
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanHalTest.java225 final byte[] peer = HexEncoding.decode("000102030405".toCharArray(), false); in testSendMessage()
228 mDut.sendMessage(transactionId, pubSubId, reqInstanceId, peer, msg.getBytes(), in testSendMessage()
239 collector.checkThat("addr", argsData.getByteArray("addr"), equalTo(peer)); in testSendMessage()
513 final byte[] peer = HexEncoding.decode("0A0B0C0D0E0F".toCharArray(), false); in testFollowup()
519 args.putByteArray("addr", peer); in testFollowup()
526 verify(mNanStateManager).onMessageReceived(pubSubId, reqInstanceId, peer, in testFollowup()
534 final byte[] peer = HexEncoding.decode("010203040506".toCharArray(), false); in testMatch()
541 args.putByteArray("addr", peer); in testMatch()
549 verify(mNanStateManager).onMatch(pubSubId, reqInstanceId, peer, ssi.getBytes(), in testMatch()
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DPeerActivity.java39 setContentView(R.layout.peer); in onCreate()
/frameworks/base/graphics/java/android/graphics/
DRegion.java376 Region peer = (Region) obj; in equals() local
377 return nativeEquals(mNativeRegion, peer.mNativeRegion); in equals()
/frameworks/base/core/java/android/net/
DNetwork.java331 final SocketAddress peer = Os.getpeername(fd); in bindSocket() local
332 final InetAddress inetPeer = ((InetSocketAddress) peer).getAddress(); in bindSocket()
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.3.jd68 <p>The platform also provides a limited peer-to-peer communication protocol
Dandroid-4.0-highlights.jd615 <p>Support for <strong>Wi-Fi peer-to-peer (P2P)</strong> lets users connect directly to nearby peer
877 high-performance, secure Wi-Fi peer-to-peer (P2P) connection. No internet connection or hotspot is
883 <p>Wi-Fi peer-to-peer (P2P) opens new opportunities for developers to add innovative
887 media content from a peer device such as a digital television or audio player,
Dandroid-2.3-highlights.jd344 set up peer-to-peer connections with other NFC devices.</p>
Djelly-bean.jd865 Wi-Fi, using Wi-Fi Display (a peer-to-peer wireless display solution that complies with the
1451 …/strong>, which lets applications find and connect to services offered by peer devices over Wi-Fi …
1457 …am, a printer, or an app on another mobile device that supports Wi-Fi peer-to-peer connections. <…
1463 directly</strong>, over a high-bandwidth peer-to-peer connection (in compliance with the Wi-Fi
Dandroid-4.0.jd622 <p>Android now supports Wi-Fi peer-to-peer (P2P) connections between Android-powered devices and
631 <p>A new package, {@link android.net.wifi.p2p}, contains all the APIs for performing peer-to-peer
694 <li>{@link android.net.wifi.p2p.WifiP2pManager#WIFI_P2P_PEERS_CHANGED_ACTION}: The list of peer
1655 Wi-Fi for peer-to-peer communications.</li>
Dandroid-4.1.jd477 find and connect to services offered by peer devices over Wi-Fi, such as mobile devices,
535 {@link android.net.wifi.p2p.WifiP2pDevice} object representing the peer device.</p>
/frameworks/base/docs/html/distribute/essentials/quality/
Dauto.jd496 Apps are peer-to-peer messaging services and not notification service apps such as weather,
/frameworks/base/docs/html/training/
Dtraining_toc.cs584 Discovery and how to create peer-to-peer connections with Wi-Fi."
/frameworks/base/docs/html/topic/performance/
Dperformance_toc.cs584 Discovery and how to create peer-to-peer connections with Wi-Fi."
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1770 WifiP2pDevice peer = mPeers.get(groupOwner.deviceAddress); in processMessage() local
1771 if (peer != null) { in processMessage()
1773 groupOwner.updateSupplicantDetails(peer); in processMessage()
/frameworks/base/docs/html/training/articles/
Dwear-location-detection.jd285 public void onPeerDisconnected(Node peer) {
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp1233 config.peer = (rtt_peer_type)helper.getIntField(param, "deviceType"); in android_net_wifi_requestRange()
1252 config.type,config.peer, config.channel.width, config.channel.center_freq); in android_net_wifi_requestRange()
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dnfc.jd762 <p>Android Beam allows simple peer-to-peer data exchange between two Android-powered devices. The