Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DCredentials.java23 public class Credentials { class
31 public Credentials (int pid, int uid, int gid) { in Credentials() method in Credentials
DLocalSocketImpl.java170 private native Credentials getPeerCredentials_native( in getPeerCredentials_native()
553 public Credentials getPeerCredentials() throws IOException { in getPeerCredentials()
DLocalSocket.java346 public Credentials getPeerCredentials() throws IOException { in getPeerCredentials()
DIkev2VpnProfile.java46 import android.security.Credentials;
682 return new String(Credentials.convertToPem(cert), StandardCharsets.US_ASCII); in certificateToPemString()
699 Credentials.convertFromPem(certStr.getBytes(StandardCharsets.US_ASCII)); in certificateFromPemString()
/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnManagerServiceTest.java48 import android.security.Credentials;
296 doReturn(profileTag).when(mVpnProfileStore).get(Credentials.LOCKDOWN_VPN); in setupLockdownVpn()
306 doReturn(encodedProfile).when(mVpnProfileStore).get(Credentials.VPN + profileName); in setupVpnProfile()
403 final String name = Credentials.VPN + TEST_VPN_PKG; in testGetFromVpnProfileStore()
410 final String name = Credentials.VPN + TEST_VPN_PKG; in testPutIntoVpnProfileStore()
420 final String name = Credentials.VPN + TEST_VPN_PKG; in testRemoveFromVpnProfileStore()
427 final String name = Credentials.VPN + TEST_VPN_PKG; in testListFromVpnProfileStore()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java29 import android.net.Credentials;
780 Credentials peerCredentials = sessionSocket.getPeerCredentials(); in childMain()
993 static int minChildUid(Credentials peer) { in minChildUid()
1012 static void applyUidSecurityPolicy(ZygoteArguments args, Credentials peer) in applyUidSecurityPolicy()
1087 static void applyInvokeWithSecurityPolicy(ZygoteArguments args, Credentials peer) in applyInvokeWithSecurityPolicy()
DZygoteConnection.java28 import android.net.Credentials;
70 private final Credentials peer;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java34 import android.security.Credentials;
82 pemCert = Credentials.convertToPem(cert); in installCaCert()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java54 import android.security.Credentials;
475 return mVpnProfileStore.get(Credentials.LOCKDOWN_VPN) != null; in isLockdownVpnEnabled()
497 byte[] profileTag = mVpnProfileStore.get(Credentials.LOCKDOWN_VPN); in updateLockdownVpn()
504 profileName, mVpnProfileStore.get(Credentials.VPN + profileName)); in updateLockdownVpn()
985 mVpnProfileStore.remove(Credentials.LOCKDOWN_VPN); in factoryReset()
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java64 Credentials c = ls1.getPeerCredentials(); in testBasic()
/frameworks/base/keystore/java/android/security/
DCredentials.java45 public class Credentials { class
DKeyChain.java18 import static android.security.Credentials.ACTION_MANAGE_CREDENTIALS;
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java122 import android.security.Credentials;
2467 return new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in getCaCertificateFromKeystoreAsPem()
2478 return new String(Credentials.convertToPem( in getCaCertificateFromKeystoreAsPem()
2510 : new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
2518 : new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
3995 return Credentials.PLATFORM_VPN + mUserId + "_" + packageName; in getProfileNameForPackage()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java56 import android.security.Credentials;
673 getDefaultSystemHandlerActivityPackage(pm, Credentials.INSTALL_ACTION, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java140 import android.security.Credentials;
7766 final byte[] pemCert = Credentials.convertToPem(certs[0]); in installKeyPair()
7769 pemChain = Credentials.convertToPem(Arrays.copyOfRange(certs, 1, certs.length)); in installKeyPair()
8246 final byte[] pemCert = Credentials.convertToPem(certs.get(0)); in setKeyPairCertificate()
8249 pemChain = Credentials.convertToPem( in setKeyPairCertificate()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java160 import android.security.Credentials;
1041 final String expected = Credentials.PLATFORM_VPN + PRIMARY_USER.id + "_" + TEST_VPN_PKG; in testGetProfileNameForPackage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32460 Landroid/net/Credentials;->gid:I
32461 Landroid/net/Credentials;->pid:I
32462 Landroid/net/Credentials;->uid:I
32967 Landroid/net/LocalSocketImpl;->getPeerCredentials()Landroid/net/Credentials;
32968 …/net/LocalSocketImpl;->getPeerCredentials_native(Ljava/io/FileDescriptor;)Landroid/net/Credentials;
46635 Landroid/security/Credentials;-><init>()V
46636 Landroid/security/Credentials;->CA_CERTIFICATE:Ljava/lang/String;
46637 Landroid/security/Credentials;->convertFromPem([B)Ljava/util/List;
46638 Landroid/security/Credentials;->deleteAllTypesForAlias(Landroid/security/KeyStore;Ljava/lang/String…
46639 Landroid/security/Credentials;->deleteAllTypesForAlias(Landroid/security/KeyStore;Ljava/lang/String…
[all …]
/frameworks/base/boot/
Dpreloaded-classes5607 android.net.Credentials
6726 android.security.Credentials
13593 gov.nist.javax.sip.header.Credentials
Dboot-image-profile.txt11284 HSPLandroid/net/Credentials;-><init>(III)V
11285 HSPLandroid/net/Credentials;->getPid()I
11286 HSPLandroid/net/Credentials;->getUid()I
11309 HSPLandroid/net/LocalSocket;->getPeerCredentials()Landroid/net/Credentials;
11337 HSPLandroid/net/LocalSocketImpl;->getPeerCredentials()Landroid/net/Credentials;
21555 …>applyInvokeWithSecurityPolicy(Lcom/android/internal/os/ZygoteArguments;Landroid/net/Credentials;)V
21557 …ygote;->applyUidSecurityPolicy(Lcom/android/internal/os/ZygoteArguments;Landroid/net/Credentials;)V
21567 HSPLcom/android/internal/os/Zygote;->minChildUid(Landroid/net/Credentials;)I
28003 Landroid/net/Credentials;
29127 Landroid/security/Credentials;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16976 public class Credentials {
16977 ctor public Credentials(int, int, int);
17048 method public android.net.Credentials getPeerCredentials() throws java.io.IOException;
54552 …method public abstract org.apache.http.Header authenticate(org.apache.http.auth.Credentials, org.a…
54595 method public org.apache.http.auth.Credentials getCredentials();
54600 method public void setCredentials(org.apache.http.auth.Credentials);
54614 public abstract deprecated interface Credentials {
54631 public deprecated class NTCredentials implements org.apache.http.auth.Credentials {
54648 public deprecated class UsernamePasswordCredentials implements org.apache.http.auth.Credentials {
54706 …method public abstract org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthSc…
[all …]
/frameworks/base/config/
Dpreloaded-classes5611 android.net.Credentials
6730 android.security.Credentials
14082 gov.nist.javax.sip.header.Credentials
Dboot-image-profile.txt11287 HSPLandroid/net/Credentials;-><init>(III)V
11288 HSPLandroid/net/Credentials;->getPid()I
11289 HSPLandroid/net/Credentials;->getUid()I
11312 HSPLandroid/net/LocalSocket;->getPeerCredentials()Landroid/net/Credentials;
11340 HSPLandroid/net/LocalSocketImpl;->getPeerCredentials()Landroid/net/Credentials;
21619 …>applyInvokeWithSecurityPolicy(Lcom/android/internal/os/ZygoteArguments;Landroid/net/Credentials;)V
21621 …ygote;->applyUidSecurityPolicy(Lcom/android/internal/os/ZygoteArguments;Landroid/net/Credentials;)V
21631 HSPLcom/android/internal/os/Zygote;->minChildUid(Landroid/net/Credentials;)I
38137 Landroid/net/Credentials;
39261 Landroid/security/Credentials;
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt28699 public class Credentials {
28700 ctor public Credentials(int, int, int);
28764 method public android.net.Credentials getPeerCredentials() throws java.io.IOException;