/frameworks/base/keystore/java/android/security/ |
D | KeyStoreAuthorization.java | 61 public int addAuthToken(@NonNull HardwareAuthToken authToken) { in addAuthToken() argument 64 getService().addAuthToken(authToken); in addAuthToken() 79 public int addAuthToken(@NonNull byte[] authToken) { in addAuthToken() argument 80 return addAuthToken(AuthTokenUtils.toHardwareAuthToken(authToken)); in addAuthToken()
|
/frameworks/base/core/java/android/security/ |
D | FileIntegrityManager.java | 118 IFsveritySetupAuthToken authToken; in setupFsVerity() local 122 authToken = mService.createAuthToken(authFd); in setupFsVerity() 128 int errno = mService.setupFsverity(authToken, file.getPath(), in setupFsVerity()
|
D | IFileIntegrityService.aidl | 33 int setupFsverity(IInstalld.IFsveritySetupAuthToken authToken, in String filePath, in setupFsverity() argument
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | FileIntegrityService.java | 165 var authToken = getStorageManagerInternal().createFsveritySetupAuthToken(authFd, in createAuthToken() local 170 return authToken; in createAuthToken() 178 public int setupFsverity(android.os.IInstalld.IFsveritySetupAuthToken authToken, in setupFsverity() argument 181 Objects.requireNonNull(authToken); in setupFsverity() 187 return getStorageManagerInternal().enableFsverity(authToken, filePath, packageName); in setupFsverity()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 567 sp<IFsveritySetupAuthToken> authToken; in TEST_F() local 568 binder::Status status = createFsveritySetupAuthToken(path, O_RDWR, &authToken); in TEST_F() 570 EXPECT_TRUE(authToken != nullptr); in TEST_F() 574 status = service->enableFsverity(authToken, path, "fake.package.name", &errno_local); in TEST_F() 585 sp<IFsveritySetupAuthToken> authToken; in TEST_F() local 588 service->enableFsverity(authToken, path, "fake.package.name", &errno_local); in TEST_F() 598 sp<IFsveritySetupAuthToken> authToken; in TEST_F() local 599 binder::Status status = createFsveritySetupAuthToken(path, O_RDWR, &authToken); in TEST_F() 601 EXPECT_TRUE(authToken != nullptr); in TEST_F() 608 status = service->enableFsverity(authToken, anotherPath, "fake.package.name", &errno_local); in TEST_F() [all …]
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | Ts43Authentication.java | 231 String authToken = ts43XmlDoc.get( in getAuthToken() local 233 if (TextUtils.isEmpty(authToken)) { in getAuthToken() 249 return Ts43AuthToken.create(authToken, cookies, validity); in getAuthToken()
|
D | Ts43Operation.java | 147 @NonNull String authToken, in Ts43Operation() argument 158 mAuthToken = authToken; in Ts43Operation() 160 mTemporaryToken = authToken; in Ts43Operation()
|
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/ |
D | Ts43AuthenticationLibrary.java | 533 Ts43Authentication.Ts43AuthToken authToken = authLibrary.getAuthToken( in onRequestEapAkaAuthentication() local 535 request.mCallback.onResult(authToken); in onRequestEapAkaAuthentication() 569 Ts43Authentication.Ts43AuthToken authToken = authLibrary.getAuthToken( in onRequestOidcAuthentication() local 571 request.mCallback.onResult(authToken); in onRequestOidcAuthentication()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 52 void invalidateAuthToken(String accountType, String authToken); in invalidateAuthToken() argument 54 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
|
D | AccountManager.java | 1444 public void invalidateAuthToken(final String accountType, final String authToken) { 1447 if (authToken != null) { 1448 mService.invalidateAuthToken(accountType, authToken); 1590 public void setAuthToken(Account account, final String authTokenType, final String authToken) { 1594 mService.setAuthToken(account, authTokenType, authToken);
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManagerInternal.java | 204 public abstract int enableFsverity(IInstalld.IFsveritySetupAuthToken authToken, String filePath, in enableFsverity() argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 332 Cursor findAuthtokenForAllAccounts(String accountType, String authToken) { in findAuthtokenForAllAccounts() argument 344 new String[]{authToken, accountType}); in findAuthtokenForAllAccounts() 358 final String authToken = cursor.getString(1); in findAuthTokensByAccount() local 359 authTokensForAccount.put(type, authToken); in findAuthTokensByAccount() 381 long insertAuthToken(long accountId, String authTokenType, String authToken) { in insertAuthToken() argument 386 values.put(AUTHTOKENS_AUTHTOKEN, authToken); in insertAuthToken()
|
D | AccountManagerService.java | 2599 public void invalidateAuthToken(String accountType, String authToken) { in invalidateAuthToken() argument 2602 Objects.requireNonNull(authToken, "authToken cannot be null"); in invalidateAuthToken() 2616 deletedTokens = invalidateAuthTokenLocked(accounts, accountType, authToken); in invalidateAuthToken() 2628 accounts.accountTokenCaches.remove(accountType, authToken); in invalidateAuthToken() 2637 String authToken) { in invalidateAuthTokenLocked() argument 2640 Cursor cursor = accounts.accountsDb.findAuthtokenForAllAccounts(accountType, authToken); in invalidateAuthTokenLocked() 2676 String authToken) { in saveAuthTokenToDatabase() argument 2690 if (accounts.accountsDb.insertAuthToken(accountId, type, authToken) >= 0) { in saveAuthTokenToDatabase() 2700 writeAuthTokenIntoCacheLocked(accounts, account, type, authToken); in saveAuthTokenToDatabase() 2741 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument [all …]
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 147 int enableFsverity(in IFsveritySetupAuthToken authToken, @utf8InCpp String filePath, in enableFsverity() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 929 public int enableFsverity(IInstalld.IFsveritySetupAuthToken authToken, String filePath, in enableFsverity() argument 936 return mInstalld.enableFsverity(authToken, filePath, packageName); in enableFsverity()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 214 binder::Status enableFsverity(const android::sp<IFsveritySetupAuthToken>& authToken,
|
D | InstalldNativeService.cpp | 4008 binder::Status InstalldNativeService::enableFsverity(const sp<IFsveritySetupAuthToken>& authToken, in enableFsverity() argument 4016 if (authToken == nullptr) { in enableFsverity() 4023 sp<IBinder> authTokenBinder = IInterface::asBinder(authToken)->localBinder(); in enableFsverity()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 5083 public int enableFsverity(IFsveritySetupAuthToken authToken, String filePath, in enableFsverity() argument 5086 return mInstaller.enableFsverity(authToken, filePath, packageName); in enableFsverity()
|