Home
last modified time | relevance | path

Searched refs:creds (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/core/libsysutils/src/
H A DSocketClient.cpp55 struct ucred creds; in init() local
56 socklen_t szCreds = sizeof(creds); in init()
57 memset(&creds, 0, szCreds); in init()
59 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in init()
61 mPid = creds.pid; in init()
62 mUid = creds.uid; in init()
63 mGid = creds.gid; in init()
/aosp12/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp394 struct ucred creds; in socket_get_peer_credentials() local
396 memset(&creds, 0, sizeof(creds)); in socket_get_peer_credentials()
397 socklen_t szCreds = sizeof(creds); in socket_get_peer_credentials()
399 err = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in socket_get_peer_credentials()
411 creds.pid, creds.uid, creds.gid); in socket_get_peer_credentials()
/aosp12/packages/services/Telephony/src/com/android/phone/callcomposer/
H A DCallComposerPictureManager.java332 GbaCredentials creds = new GbaCredentials(transactionId, gbaKey); in getGbaCredentials()
334 mCachedCredentials = creds; in getGbaCredentials()
336 resultFuture.complete(creds); in getGbaCredentials()
/aosp12/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
H A DPictureManagerTest.java290 GbaCredentials creds = credsFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testGbaCredLookup() local
291 assertEquals(fakeTxId, creds.getTransactionId()); in testGbaCredLookup()
292 assertArrayEquals(fakeKey, creds.getKey()); in testGbaCredLookup()
/aosp12/packages/services/Car/cpp/computepipe/runner/graph/
H A DGrpcGraph.cpp89 std::shared_ptr<::grpc::ChannelCredentials> creds = ::grpc::InsecureChannelCredentials(); in initialize() local
90 std::shared_ptr<::grpc::Channel> channel = ::grpc::CreateChannel(address, creds); in initialize()
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...