Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java68 SliceAuthority auth = provider.getOrCreateAuthority("some_auth"); in testDirty_addPkg() local
71 auth.addPkg(new PkgUser("pkg", 0)); in testDirty_addPkg()
121 SliceAuthority auth = provider.getOrCreateAuthority("com.android.pkg.slices"); in createProvider() local
122 auth.addPkg(new PkgUser("com.example.pkg", 0)); in createProvider()
123 auth.addPkg(new PkgUser("example.pkg.com", 10)); in createProvider()
125 auth = provider.getOrCreateAuthority("com.android.pkg"); in createProvider()
126 auth.addPkg(new PkgUser("com.example.pkg", 2)); in createProvider()
DSliceClientPermissionsTest.java184 SliceAuthority auth = client.getOrCreateAuthority( in testDirty_addPkg() local
189 auth.addPath(Arrays.asList("/something/")); in testDirty_addPkg()
261 SliceAuthority auth = client.getOrCreateAuthority( in createClient() local
264 auth.addPath(Arrays.asList("/something/")); in createClient()
265 auth.addPath(Arrays.asList("/something/else")); in createClient()
267 auth = client.getOrCreateAuthority( in createClient()
270 auth.addPath(Arrays.asList("/somewhere")); in createClient()
/frameworks/proto_logging/stats/atoms/adaptiveauth/
Dadaptiveauth_extension_atoms.proto32 * Logs unlock and lock info when a successful primary auth or biometric auth happens after the
33 * device is locked by adaptive auth
40 // The last time that the device is locked by adaptive auth in milliseconds since boot
44 // The time that a successful primary or biometric auth happens in milliseconds since boot
45 // (See SystemClock.elapsedRealtime()) and since the last locked time by adaptive auth
/frameworks/base/core/java/android/adaptiveauth/
Dflags.aconfig7 description: "Feature flag for enabling the new adaptive auth service"
14 description: "Control the usage of the biometric auth signal in adaptive auth"
/frameworks/native/libs/binder/include_tls/binder/
DRpcTransportTls.h39 std::unique_ptr<RpcAuth> auth) in RpcTransportCtxFactoryTls() argument
40 : mCertVerifier(std::move(verifier)), mAuth(std::move(auth)){}; in RpcTransportCtxFactoryTls()
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java31 import org.apache.http.auth.AuthenticationException;
32 import org.apache.http.auth.UsernamePasswordCredentials;
34 import org.apache.http.impl.auth.DigestScheme;
/frameworks/native/libs/binder/
DRpcTransportTls.cpp455 std::shared_ptr<RpcCertificateVerifier> verifier, RpcAuth* auth);
497 std::shared_ptr<RpcCertificateVerifier> verifier, RpcAuth* auth) { in create() argument
501 if (status_t authStatus = auth->configure(ctx.get()); authStatus != OK) { in create()
567 std::shared_ptr<RpcCertificateVerifier> verifier, std::unique_ptr<RpcAuth> auth) { in make() argument
572 if (auth == nullptr) { in make()
577 new RpcTransportCtxFactoryTls(std::move(verifier), std::move(auth))); in make()
/frameworks/proto_logging/stats/atoms/credentials/
Dcredentials_extension_atoms.proto148 // All deduped entries across providers, including get calls and auth entries
158 // All deduped class types for cred responses across all auth entries
160 // All deduped class types counts for cred responses across all auth entries
162 // All deduped entries across providers, for auth entries
166 // Sum across all auth entries; 1 = fail, 0 = success. Average retrievable.
168 // The deduped exception class types for auth entries
171 // for auth entries
173 // The number of auth entries visited
175 // Indicates if at least one auth entry returned with data
343 // The deduped set of response classtypes for this clicked auth entry
[all …]
/frameworks/base/core/java/android/content/
DContentProvider.java2768 String auth = uri.getAuthority(); in validateIncomingUri() local
2770 int userId = getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in validateIncomingUri()
2785 validateIncomingAuthority(auth); in validateIncomingUri()
2812 public static int getUserIdFromAuthority(String auth, int defaultUserId) { in getUserIdFromAuthority() argument
2813 if (auth == null) return defaultUserId; in getUserIdFromAuthority()
2814 int end = auth.lastIndexOf('@'); in getUserIdFromAuthority()
2816 String userIdString = auth.substring(0, end); in getUserIdFromAuthority()
2827 public static int getUserIdFromAuthority(String auth) { in getUserIdFromAuthority() argument
2828 return getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in getUserIdFromAuthority()
2862 public static String getAuthorityWithoutUserId(String auth) { in getAuthorityWithoutUserId() argument
[all …]
DContentResolver.java2491 final String auth = uri.getAuthority();
2492 if (auth != null) {
2493 return acquireProvider(mContext, auth);
2511 final String auth = uri.getAuthority();
2512 if (auth != null) {
2513 return acquireExistingProvider(mContext, auth);
2540 String auth = uri.getAuthority();
2541 if (auth != null) {
/frameworks/native/libs/binder/tests/
DbinderRpcTestCommon.h212 std::unique_ptr<RpcAuth> auth = nullptr) {
220 if (auth == nullptr) {
221 auth = std::make_unique<RpcAuthSelfSigned>();
223 return RpcTransportCtxFactoryTls::make(std::move(verifier), std::move(auth));
DbinderRpcBenchmark.cpp138 auto auth = std::make_unique<RpcAuthPreSigned>(std::move(pkey), std::move(cert)); in makeFactoryTls() local
139 return RpcTransportCtxFactoryTls::make(verifier, std::move(auth)); in makeFactoryTls()
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DIkeIdentificationUtilsTest.java40 import javax.security.auth.x500.X500Principal;
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java25 import javax.security.auth.Destroyable;
/frameworks/base/core/java/android/security/
Dflags.aconfig93 description: "Report primary auth attempts from LockSettingsService"
/frameworks/base/keystore/java/android/security/keystore/
DDelegatingX509Certificate.java37 import javax.security.auth.x500.X500Principal;
DParcelableKeyGenParameterSpec.java32 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DIkeIdentificationUtils.java39 import javax.security.auth.x500.X500Principal;
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java34 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java37 import javax.security.auth.x500.X500Principal;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DContentObserverController.java103 for (String auth : taskStatus.changedAuthorities) { in maybeStartTrackingJobLocked()
104 taskStatus.contentObserverJobInstance.mChangedAuthorities.add(auth); in maybeStartTrackingJobLocked()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAndroidDistinguishedNameParser.java23 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/app/
DContextImpl.java3756 protected IContentProvider acquireProvider(Context context, String auth) { in acquireProvider() argument
3758 ContentProvider.getAuthorityWithoutUserId(auth), in acquireProvider()
3759 resolveUserIdFromAuthority(auth), true); in acquireProvider()
3763 protected IContentProvider acquireExistingProvider(Context context, String auth) { in acquireExistingProvider() argument
3765 ContentProvider.getAuthorityWithoutUserId(auth), in acquireExistingProvider()
3766 resolveUserIdFromAuthority(auth), true); in acquireExistingProvider()
3775 protected IContentProvider acquireUnstableProvider(Context c, String auth) { in acquireUnstableProvider() argument
3777 ContentProvider.getAuthorityWithoutUserId(auth), in acquireUnstableProvider()
3778 resolveUserIdFromAuthority(auth), false); in acquireUnstableProvider()
3797 protected int resolveUserIdFromAuthority(String auth) { in resolveUserIdFromAuthority() argument
[all …]
/frameworks/av/media/module/extractors/fuzzers/
Dmp4_extractor_fuzzer.dict100 kw99="auth"
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java39 import javax.security.auth.x500.X500Principal;

12