Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/keystore/java/android/security/
DAndroidKeyStore.java78 public Key engineGetKey(String alias, char[] password) throws NoSuchAlgorithmException, in engineGetKey() argument
80 if (!isKeyEntry(alias)) { in engineGetKey()
86 return engine.getPrivateKeyById(Credentials.USER_PRIVATE_KEY + alias); in engineGetKey()
95 public Certificate[] engineGetCertificateChain(String alias) { in engineGetCertificateChain() argument
96 if (alias == null) { in engineGetCertificateChain()
100 final X509Certificate leaf = (X509Certificate) engineGetCertificate(alias); in engineGetCertificateChain()
107 final byte[] caBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias); in engineGetCertificateChain()
128 public Certificate engineGetCertificate(String alias) { in engineGetCertificate() argument
129 if (alias == null) { in engineGetCertificate()
133 byte[] certificate = mKeyStore.get(Credentials.USER_CERTIFICATE + alias); in engineGetCertificate()
[all …]
DIKeyChainService.aidl28 String requestPrivateKey(String alias); in requestPrivateKey() argument
29 byte[] getCertificate(String alias); in getCertificate() argument
35 boolean installKeyPair(in byte[] privateKey, in byte[] userCert, String alias); in installKeyPair() argument
38 boolean deleteCaCertificate(String alias); in deleteCaCertificate() argument
42 boolean containsCaAlias(String alias); in containsCaAlias() argument
43 byte[] getEncodedCaCertificate(String alias, boolean includeDeletedSystem); in getEncodedCaCertificate() argument
47 void setGrant(int uid, String alias, boolean value); in setGrant() argument
48 boolean hasGrant(int uid, String alias); in hasGrant() argument
DKeyChain.java258 String alias) { in choosePrivateKeyAlias() argument
286 intent.putExtra(EXTRA_ALIAS, alias); in choosePrivateKeyAlias()
297 @Override public void alias(String alias) { in alias() argument
298 keyChainAliasResponse.alias(alias); in alias()
310 public static PrivateKey getPrivateKey(Context context, String alias) in getPrivateKey() argument
312 if (alias == null) { in getPrivateKey()
318 final String keyId = keyChainService.requestPrivateKey(alias); in getPrivateKey()
345 public static X509Certificate[] getCertificateChain(Context context, String alias) in getCertificateChain() argument
347 if (alias == null) { in getCertificateChain()
354 final byte[] certificateBytes = keyChainService.getCertificate(alias); in getCertificateChain()
DAndroidKeyPairGenerator.java89 final String alias = mSpec.getKeystoreAlias(); in generateKeyPair() local
91 Credentials.deleteAllTypesForAlias(mKeyStore, alias); in generateKeyPair()
96 final String privateKeyAlias = Credentials.USER_PRIVATE_KEY + alias; in generateKeyPair()
135 Credentials.deleteAllTypesForAlias(mKeyStore, alias); in generateKeyPair()
143 Credentials.deleteAllTypesForAlias(mKeyStore, alias); in generateKeyPair()
147 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, certBytes, KeyStore.UID_SELF, in generateKeyPair()
149 Credentials.deleteAllTypesForAlias(mKeyStore, alias); in generateKeyPair()
DCredentials.java216 static boolean deleteAllTypesForAlias(KeyStore keystore, String alias) { in deleteAllTypesForAlias() argument
221 return keystore.delKey(Credentials.USER_PRIVATE_KEY + alias) in deleteAllTypesForAlias()
222 | deleteCertificateTypesForAlias(keystore, alias); in deleteAllTypesForAlias()
230 static boolean deleteCertificateTypesForAlias(KeyStore keystore, String alias) { in deleteCertificateTypesForAlias() argument
235 return keystore.delete(Credentials.USER_CERTIFICATE + alias) in deleteCertificateTypesForAlias()
236 | keystore.delete(Credentials.CA_CERTIFICATE + alias); in deleteCertificateTypesForAlias()
DKeyChainAliasCallback.java28 public void alias(String alias); in alias() method
DIKeyChainAliasCallback.aidl25 void alias(String alias); in alias() argument
DKeyPairGeneratorSpec.java365 public Builder setAlias(String alias) { in setAlias() argument
366 if (alias == null) { in setAlias()
369 mKeystoreAlias = alias; in setAlias()
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-alias-element.jd1 page.title=<activity-alias>
8 <dd><pre class="stx">&lt;activity-alias android:<a href="#enabled">enabled</a>=["true" | "false"]
16 &lt;/activity-alias&gt;</pre></dd>
26 <dd itemprop="description">An alias for an activity, named by the {@code targetActivity}
28 alias and it must be declared before the alias in the manifest.
31 The alias presents the target activity as a independent entity.
34 can activate the target through the alias and how the system
35 treats the alias. For example, the intent filters on the alias may
45 With the exception of {@code targetActivity}, {@code &lt;activity-alias&gt;}
48 to the alias. However, for attributes not in the subset, the values set for
[all …]
/frameworks/ex/common/java/com/android/common/content/
DProjectionMap.java37 public Builder add(String alias, String expression) { in add() argument
38 mMap.putColumn(alias, expression + " AS " + alias); in add()
79 private void putColumn(String alias, String column) { in putColumn() argument
80 super.put(alias, column); in putColumn()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageKeySetData.java77 protected void addUpgradeKeySet(String alias) { in addUpgradeKeySet() argument
80 Long ks = mKeySetAliases.get(alias); in addUpgradeKeySet()
84 throw new IllegalArgumentException("Upgrade keyset alias " + alias in addUpgradeKeySet()
97 protected void addDefinedKeySet(long ks, String alias) { in addDefinedKeySet() argument
99 mKeySetAliases.put(alias, ks); in addDefinedKeySet()
DKeySetManagerService.java128 ArraySet<PublicKey> keys, String alias) { in addDefinedKeySetToPackageLPw() argument
129 if ((packageName == null) || (keys == null) || (alias == null)) { in addDefinedKeySetToPackageLPw()
140 pkg.keySetData.addDefinedKeySet(id, alias); in addDefinedKeySetToPackageLPw()
148 public void addUpgradeKeySetToPackageLPw(String packageName, String alias) { in addUpgradeKeySetToPackageLPw() argument
149 if ((packageName == null) || (alias == null)) { in addUpgradeKeySetToPackageLPw()
157 pkg.keySetData.addUpgradeKeySet(alias); in addUpgradeKeySetToPackageLPw()
223 public KeySetHandle getKeySetByAliasAndPackageNameLPr(String packageName, String alias) { in getKeySetByAliasAndPackageNameLPr() argument
228 Long keySetId = p.keySetData.getAliases().get(alias); in getKeySetByAliasAndPackageNameLPr()
230 throw new IllegalArgumentException("Unknown KeySet alias: " + alias); in getKeySetByAliasAndPackageNameLPr()
/frameworks/compile/mclinker/tools/mcld/lib/
DOutputFormatOptions.cpp21 llvm::cl::alias AliasOutputFilename("output",
56 llvm::cl::alias ArgSharedAlias("Bshareable",
68 llvm::cl::alias ArgRelocatableAlias("r",
81 llvm::cl::alias ArgFormatAlias("format",
89 llvm::cl::alias ArgStripDebugAlias("S",
97 llvm::cl::alias ArgStripAllAlias("s",
105 llvm::cl::alias ArgDiscardAllAlias("x",
113 llvm::cl::alias ArgDiscardLocalsAlias("X",
127 llvm::cl::alias ArgNMagicAlias("n",
135 llvm::cl::alias ArgOMagicAlias("N",
[all …]
DSymbolOptions.cpp20 llvm::cl::alias ArgForceUndefinedAlias("undefined",
38 llvm::cl::alias ArgDefineCommonAlias1("dc",
43 llvm::cl::alias ArgDefineCommonAlias2("dp",
DPositionalOptions.cpp42 llvm::cl::alias ArgNameSpecListAlias("library",
86 llvm::cl::alias ArgBDynamicListAlias1("dy",
90 llvm::cl::alias ArgBDynamicListAlias2("call_shared",
98 llvm::cl::alias ArgBStaticListAlias1("dn",
102 llvm::cl::alias ArgBStaticListAlias2("static",
106 llvm::cl::alias ArgBStaticListAlias3("non_shared",
117 llvm::cl::alias ArgStartGroupListAlias("(",
125 llvm::cl::alias ArgEndGroupListAlias(")",
DDynamicSectionOptions.cpp21 llvm::cl::alias ArgEntryAlias("entry",
68 llvm::cl::alias ArgAuxiliaryAlias("auxiliary",
76 llvm::cl::alias ArgFilterAlias("filter",
DSearchPathOptions.cpp31 llvm::cl::alias ArgSearchDirListAlias("library-path",
46 llvm::cl::alias ArgRuntimePathAlias("R",
DPreferenceOptions.cpp37 llvm::cl::alias ArgTraceAlias("trace",
75 llvm::cl::alias ArgPrintMapAlias("print-map",
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java130 Alias alias = new Alias(); in readAlias() local
131 alias.name = parser.getAttributeValue(null, "name"); in readAlias()
132 alias.toName = parser.getAttributeValue(null, "to"); in readAlias()
135 alias.weight = 400; in readAlias()
137 alias.weight = Integer.parseInt(weightStr); in readAlias()
140 return alias; in readAlias()
DTypeface.java312 for (FontListParser.Alias alias : fontConfig.aliases) { in init()
313 Typeface base = systemFonts.get(alias.toName); in init()
315 int weight = alias.weight; in init()
319 systemFonts.put(alias.name, newFace); in init()
/frameworks/compile/mclinker/lib/CodeGen/
DMCLinker.cpp83 static cl::alias
135 static cl::alias
140 static cl::alias
150 static cl::alias
155 static cl::alias
160 static cl::alias
173 static cl::alias
183 static cl::alias
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java235 public void requestRenameLocked(String address, String alias) { in requestRenameLocked() argument
237 Slog.d(TAG, "requestRenameLocked: address=" + address + ", alias=" + alias); in requestRenameLocked()
240 if (alias != null) { in requestRenameLocked()
241 alias = alias.trim(); in requestRenameLocked()
242 if (alias.isEmpty() || alias.equals(address)) { in requestRenameLocked()
243 alias = null; in requestRenameLocked()
248 if (display != null && !Objects.equal(display.getDeviceAlias(), alias)) { in requestRenameLocked()
249 display = new WifiDisplay(address, display.getDeviceName(), alias, in requestRenameLocked()
DPersistentDataStore.java102 String alias = null; in applyWifiDisplayAlias() local
105 alias = mRememberedWifiDisplays.get(index).getDeviceAlias(); in applyWifiDisplayAlias()
107 if (!Objects.equal(display.getDeviceAlias(), alias)) { in applyWifiDisplayAlias()
109 alias, display.isAvailable(), display.canConnect(), display.isRemembered()); in applyWifiDisplayAlias()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java398 public void setCaCertificateAlias(String alias) { in setCaCertificateAlias() argument
399 setFieldValue(CA_CERT_KEY, alias, CA_CERT_PREFIX); in setCaCertificateAlias()
457 public void setClientCertificateAlias(String alias) { in setClientCertificateAlias() argument
458 setFieldValue(CLIENT_CERT_KEY, alias, CLIENT_CERT_PREFIX); in setClientCertificateAlias()
459 setFieldValue(PRIVATE_KEY_ID_KEY, alias, Credentials.USER_PRIVATE_KEY); in setClientCertificateAlias()
461 if (TextUtils.isEmpty(alias)) { in setClientCertificateAlias()
/frameworks/native/libs/input/
DInputDevice.cpp145 const InputDeviceIdentifier& identifier, const String8& alias, bool isExternal) { in initialize() argument
150 mAlias = alias; in initialize()

1234