Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DMessageDigestPerfTest.java99 public void time(Algorithm algorithm) throws Exception { in time()
110 public void timeLargeArray(Algorithm algorithm) throws Exception { in timeLargeArray()
121 public void timeSmallChunkOfLargeArray(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeArray()
132 public void timeSmallByteBuffer(Algorithm algorithm) throws Exception { in timeSmallByteBuffer()
145 public void timeSmallDirectByteBuffer(Algorithm algorithm) throws Exception { in timeSmallDirectByteBuffer()
158 public void timeLargeByteBuffer(Algorithm algorithm) throws Exception { in timeLargeByteBuffer()
171 public void timeLargeDirectByteBuffer(Algorithm algorithm) throws Exception { in timeLargeDirectByteBuffer()
184 public void timeSmallChunkOfLargeByteBuffer(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeByteBuffer()
197 public void timeSmallChunkOfLargeDirectByteBuffer(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeDirectByteBuffer()
DSignaturePerfTest.java91 public void setUp(Algorithm algorithm) throws Exception { in setUp()
118 public void timeSign(Algorithm algorithm, Implementation implementation) throws Exception { in timeSign()
141 public void timeVerify(Algorithm algorithm, Implementation implementation) throws Exception { in timeVerify()
DKeyPairGeneratorPerfTest.java63 public void setUp(Algorithm algorithm, Implementation implementation) throws Exception { in setUp()
79 public void time(Algorithm algorithm, Implementation implementation) throws Exception { in time()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java53 public static SecretKey buildPasswordKey(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordKey()
67 public static String buildPasswordHash(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordHash()
109 public static byte[] makeKeyChecksum(String algorithm, byte[] pwBytes, byte[] salt, in makeKeyChecksum()
120 private static SecretKey buildCharArrayKey(String algorithm, char[] pwArray, byte[] salt, in buildCharArrayKey()
/frameworks/base/core/java/android/security/net/config/
DPin.java39 public static boolean isSupportedDigestAlgorithm(String algorithm) { in isSupportedDigestAlgorithm()
48 public static int getDigestLength(String algorithm) { in getDigestLength()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreProvider.java154 private void putSecretKeyFactoryImpl(String algorithm) { in putSecretKeyFactoryImpl()
158 private void putKeyFactoryImpl(String algorithm) { in putKeyFactoryImpl()
222 @NonNull KeyStoreSecurityLevel iSecurityLevel, int algorithm) in makeAndroidKeyStorePublicKeyFromKeyEntryResponse()
321 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
DAndroidKeyStoreBCWorkaroundProvider.java246 private void putMacImpl(String algorithm, String implClass) { in putMacImpl()
262 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
DAndroidKeyStoreSecretKey.java34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
DAndroidKeyStorePrivateKey.java34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
DAndroidKeyStoreEdECPrivateKey.java37 @NonNull String algorithm, in AndroidKeyStoreEdECPrivateKey()
DAndroidKeyStoreXDHPrivateKey.java40 @NonNull String algorithm, in AndroidKeyStoreXDHPrivateKey()
DAndroidKeyStorePublicKey.java40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
DAndroidKeyStoreXDHPublicKey.java58 @NonNull String algorithm, in AndroidKeyStoreXDHPublicKey()
DAndroidKeyStoreKey.java58 @NonNull String algorithm, in AndroidKeyStoreKey()
DAndroidKeyStoreEdECPublicKey.java70 @NonNull String algorithm, in AndroidKeyStoreEdECPublicKey()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyDerivationParams.java101 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams()
108 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java62 @NonNull public final String algorithm; field in BlobHandle
92 private BlobHandle(String algorithm, byte[] digest, CharSequence label, long expiryTimeMillis, in BlobHandle()
110 public static @NonNull BlobHandle create(@NonNull String algorithm, @NonNull byte[] digest, in create()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h178 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm()
186 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm()
249 const String8& algorithm, in signRSA()
/frameworks/av/media/ndk/fuzzer/
Dndk_drm_fuzzer.cpp265 std::string algorithm = kMacAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local
275 std::string algorithm = kMacAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local
286 std::string algorithm = kCipherAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local
300 std::string algorithm = kCipherAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl()
178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
/frameworks/base/media/java/android/media/tv/ad/
DITvAdSessionCallback.aidl34 void onRequestSigning(in String id, in String algorithm, in String alias, in byte[] data); in onRequestSigning()
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java131 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm()
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppSessionCallback.aidl63 void onRequestSigning(in String id, in String algorithm, in String alias, in byte[] data); in onRequestSigning()
64 …void onRequestSigning2(in String id, in String algorithm, in String host, int port, in byte[] data… in onRequestSigning2()
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp213 DrmStatus DrmHal::setCipherAlgorithm(Vector<uint8_t> const& sessionId, String8 const& algorithm) { in setCipherAlgorithm()
219 DrmStatus DrmHal::setMacAlgorithm(Vector<uint8_t> const& sessionId, String8 const& algorithm) { in setMacAlgorithm()
255 DrmStatus DrmHal::signRSA(Vector<uint8_t> const& sessionId, String8 const& algorithm, in signRSA()

123