Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DResourcesKey.java145 ResourcesKey peer = (ResourcesKey) obj; in equals() local
146 if (mHash != peer.mHash) { in equals()
151 if (!Objects.equals(mResDir, peer.mResDir)) { in equals()
154 if (!Arrays.equals(mSplitResDirs, peer.mSplitResDirs)) { in equals()
157 if (!Arrays.equals(mOverlayPaths, peer.mOverlayPaths)) { in equals()
160 if (!Arrays.equals(mLibDirs, peer.mLibDirs)) { in equals()
163 if (mDisplayId != peer.mDisplayId) { in equals()
166 if (!Objects.equals(mOverrideConfiguration, peer.mOverrideConfiguration)) { in equals()
169 if (!Objects.equals(mCompatInfo, peer.mCompatInfo)) { in equals()
172 if (!Arrays.equals(mLoaders, peer.mLoaders)) { in equals()
/frameworks/native/libs/binder/trusty/
DRpcServerTrusty.cpp97 int RpcServerTrusty::handleConnect(const tipc_port* port, handle_t chan, const uuid* peer, in handleConnect() argument
100 return handleConnectInternal(server->mRpcServer.get(), chan, peer, ctx_p); in handleConnect()
103 int RpcServerTrusty::handleConnectInternal(RpcServer* rpcServer, handle_t chan, const uuid* peer, in handleConnectInternal() argument
140 constexpr size_t addrLen = sizeof(*peer); in handleConnectInternal()
141 memcpy(addr.data(), peer, addrLen); in handleConnectInternal()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java70 private final Credentials peer; field in ZygoteConnection
90 peer = mSocket.getPeerCredentials(); in ZygoteConnection()
96 if (peer.getUid() != Process.SYSTEM_UID) { in ZygoteConnection()
200 Zygote.applyUidSecurityPolicy(parsedArgs, peer); in processCommand()
201 Zygote.applyInvokeWithSecurityPolicy(parsedArgs, peer); in processCommand()
254 || !multipleOK || peer.getUid() != Process.SYSTEM_UID) { in processCommand()
293 peer.getUid(), Zygote.minChildUid(peer), parsedArgs.mNiceName); in processCommand()
654 Os.setpgid(pid, Os.getpgid(peer.getPid())); in setChildPgid()
DZygote.java993 static int minChildUid(Credentials peer) { in minChildUid() argument
994 if (peer.getUid() == Process.SYSTEM_UID in minChildUid()
1012 static void applyUidSecurityPolicy(ZygoteArguments args, Credentials peer) in applyUidSecurityPolicy() argument
1015 if (args.mUidSpecified && (args.mUid < minChildUid(peer))) { in applyUidSecurityPolicy()
1023 args.mUid = peer.getUid(); in applyUidSecurityPolicy()
1027 args.mGid = peer.getGid(); in applyUidSecurityPolicy()
1087 static void applyInvokeWithSecurityPolicy(ZygoteArguments args, Credentials peer) in applyInvokeWithSecurityPolicy() argument
1089 int peerUid = peer.getUid(); in applyInvokeWithSecurityPolicy()
/frameworks/native/libs/binder/trusty/rust/binder_rpc_server_bindgen/cpp/
DARpcServerTrusty.cpp75 int ARpcServerTrusty_handleConnect(ARpcServerTrusty* rstr, handle_t chan, const uuid* peer, in ARpcServerTrusty_handleConnect() argument
77 return RpcServerTrusty::handleConnectInternal(rstr->mRpcServer.get(), chan, peer, ctx_p); in ARpcServerTrusty_handleConnect()
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryExemptionTracker.java416 @Nullable UidStateEventWithBattery peer) { in UidStateEventWithBattery() argument
420 mPeer = peer; in UidStateEventWithBattery()
421 if (peer != null) { in UidStateEventWithBattery()
422 peer.mPeer = this; in UidStateEventWithBattery()
452 void update(@NonNull UidStateEventWithBattery peer, in update() argument
454 mPeer = peer; in update()
455 peer.mPeer = this; in update()
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dtrusty.rs125 peer: &Uuid, in on_connect()
132 peer.as_ptr().cast(), in on_connect()
/frameworks/native/libs/binder/trusty/include/binder/
DRpcServerTrusty.h120 static int handleConnect(const tipc_port* port, handle_t chan, const uuid* peer, void** ctx_p);
125 static int handleConnectInternal(RpcServer* rpcServer, handle_t chan, const uuid* peer,
/frameworks/native/libs/binder/trusty/include_mock/lib/tipc/
Dtipc_srv.h38 int (*on_connect)(const struct tipc_port* port, handle_t chan, const struct uuid* peer,
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java807 KeyCharacterMap peer = (KeyCharacterMap) obj; in equals() local
808 if (mPtr == 0 || peer.mPtr == 0) { in equals()
809 return mPtr == peer.mPtr; in equals()
811 return nativeEquals(mPtr, peer.mPtr); in equals()
/frameworks/base/graphics/java/android/graphics/
DRegion.java392 Region peer = (Region) obj; in equals() local
393 return nativeEquals(mNativeRegion, peer.mNativeRegion); in equals()
/frameworks/av/services/audioflinger/
DIAfPatchPanel.h163 void setTrackAndPeer(const sp<TrackType>& track, const sp<T>& peer, bool holdReference) { in setTrackAndPeer() argument
166 mTrack->setPeerProxy(peer, holdReference); in setTrackAndPeer()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto54 // direct peer.
/frameworks/proto_logging/stats/enums/wifi/
Denums.proto149 // Invalid peer id
/frameworks/proto_logging/stats/enums/stats/dnsresolver/
Ddns_resolver.proto320 SYS_ECONNRESET = 104; // Connection reset by peer
/frameworks/proto_logging/stats/
Datoms.proto2150 * Logged when wifi peer to peer connection happens
2173 // Provision discovery failure, e.g. no pin code, timeout, rejected by the peer.
2175 // Invitation failure, e.g. rejected by the peer.