/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | JsonWebKeyUnittest.cpp | 53 void verifyKeys(const KeyMap& keys, const String8* clearKeys) { argument 54 if (keys.isEmpty()) { 59 for (size_t i = 0; i < keys.size(); ++i) { 60 stringFromVector(keys.valueAt(i), &keyString); 76 KeyMap keys; local 77 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); 78 EXPECT_TRUE(keys.isEmpty()); 98 KeyMap keys; local 99 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys)); 100 EXPECT_TRUE(keys 120 KeyMap keys; local 145 KeyMap keys; local 183 KeyMap keys; local 193 KeyMap keys; local 212 KeyMap keys; local 241 KeyMap keys; local 272 KeyMap keys; local 311 KeyMap keys; local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Session.cpp | 48 KeyMap keys; local 52 if (parser.extractKeysFromJsonWebKeySet(responseString, &keys)) { 53 for (size_t i = 0; i < keys.size(); ++i) { 54 const KeyMap::key_type& keyId = keys.keyAt(i); 55 const KeyMap::value_type& key = keys.valueAt(i);
|
H A D | JsonWebKey.cpp | 26 const android::String8 kKeysTag("keys"); 47 * pairs from the JSON Web Key Set. Both key ids and keys are base64url 53 KeyMap* keys) { 55 keys->clear(); 61 // all the base64 encoded keys. Each key is also stored separately as 63 // number of keys in the set. 95 keys->add(decodedKeyId, decodedKey); 172 ALOGE("JSON Web Key does not contain keys."); 52 extractKeysFromJsonWebKeySet(const String8& jsonWebKeySet, KeyMap* keys) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | WallpaperBackupHelper.java | 65 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 91 public WallpaperBackupHelper(Context context, String[] files, String[] keys) { argument 96 mKeys = keys;
|
H A D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { 64 // the length of files and keys must be the same 65 if (files.length != keys.length) { 67 + " keys.length=" + keys.length); 76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys); 122 long data, FileDescriptor newState, String[] files, String[] keys); 53 performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, String[] files, String[] keys) argument 121 performBackup_native(FileDescriptor oldState, long data, FileDescriptor newState, String[] files, String[] keys) argument
|
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationRankingUpdate.java | 32 public NotificationRankingUpdate(String[] keys, String[] interceptedKeys, argument 34 mKeys = keys;
|
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 240 * of keys is a string containing the key names as specified in KeyEvent, without the 245 * @param keysSequence The sequence of keys. 248 final String[] keys = keysSequence.split(" "); 249 final int count = keys.length; 254 String key = keys[i]; 297 * @param keys The series of key codes to send through instrumentation. 299 public void sendKeys(int... keys) { argument 300 final int count = keys.length; 305 instrumentation.sendKeyDownUpSync(keys[i]); 321 * @param keys Th 323 sendRepeatedKeys(int... keys) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 42 jobject newState, jobjectArray files, jobjectArray keys) 57 const int keyCount = env->GetArrayLength(keys); 60 keysUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), NULL); 71 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), keysUTF[i]); 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
H A D | StochasticLinearRanker.java | 64 * keys and values. The first sample should have higher rank than the second 79 public float scoreSample(String[] keys, float[] values) { argument 80 return nativeScoreSample(keys, values, mNativeClassifier); 129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ argument 130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier); 178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); argument 180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, argument 183 private native void nativeGetParameterClassifier(String [] keys, String[] values, argument 188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, argument
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyClientImpl.cpp | 152 const String8& keys) 154 String8 result = AudioSystem::getParameters(io_handle, keys); 151 getParameters(audio_io_handle_t io_handle, const String8& keys) argument
|
H A D | AudioPolicyClientImplLegacy.cpp | 268 const char *keys) 270 String8 result = AudioSystem::getParameters(io_handle, String8(keys)); 267 aps_get_parameters(void *service __unused, audio_io_handle_t io_handle, const char *keys) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 128 String[] keys = null; 132 keys = new String[headers.size()]; 137 keys[i] = entry.getKey(); 146 keys, 153 String[] keys, 150 nativeSetDataSource( IBinder httpServiceBinder, String path, String[] keys, String[] values) argument
|
H A D | MediaMetadataRetriever.java | 97 String[] keys = new String[headers.size()]; 100 keys[i] = entry.getKey(); 108 keys, 113 IBinder httpServiceBinder, String uri, String[] keys, String[] values) 112 _setDataSource( IBinder httpServiceBinder, String uri, String[] keys, String[] values) argument
|
H A D | MediaMuxer.java | 88 private static native int nativeAddTrack(long nativeObject, String[] keys, argument 267 String[] keys = null; 271 keys = new String[mapSize]; 275 keys[i] = entry.getKey(); 279 trackIndex = nativeAddTrack(mNativeObject, keys, values);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 44 JNIEnv *env, jclass clazz, jlong nativeObject, jobjectArray keys, 54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, 43 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass clazz, jlong nativeObject, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_Utils.cpp | 32 JNIEnv *env, jobjectArray keys, jobjectArray values, 37 if (keys != NULL && values != NULL) { 38 nKeyValuePairs = env->GetArrayLength(keys); 43 failed = ((keys != NULL && values == NULL) || 44 (keys == NULL && values != NULL)); 48 ALOGE("keys and values arrays have different length"); 56 jstring key = (jstring) env->GetObjectArrayElement(keys, i); 283 JNIEnv *env, jobjectArray keys, jobjectArray values, 300 if (keys != NULL) { 305 numEntries = env->GetArrayLength(keys); 31 ConvertKeyValueArraysToKeyedVector( JNIEnv *env, jobjectArray keys, jobjectArray values, KeyedVector<String8, String8>* keyedVector) argument 282 ConvertKeyValueArraysToMessage( JNIEnv *env, jobjectArray keys, jobjectArray values, sp<AMessage> *out) argument [all...] |
H A D | android_media_MediaMetadataRetriever.cpp | 87 jobjectArray keys, jobjectArray values) { 125 env, keys, values, &headersVector)) { 85 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | KeySetManagerService.java | 77 * keys in the KeySet. 80 * keys in the given KeySet. 103 * keys in the KeySet, or if the package was signed by keys 124 * in its manifest that a) contains the given keys and b) is named 128 ArraySet<PublicKey> keys, String alias) { 129 if ((packageName == null) || (keys == null) || (alias == null)) { 138 KeySetHandle ks = addKeySetLPw(keys); 236 * Fetches the {@link PublicKey public keys} which belong to the specified 296 * Creates a new KeySet corresponding to the given keys 127 addDefinedKeySetToPackageLPw(String packageName, ArraySet<PublicKey> keys, String alias) argument 309 addKeySetLPw(ArraySet<PublicKey> keys) argument [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | StochasticLinearRankerWithPrior.java | 88 public float scoreSample(String[] keys, float[] values) { argument 90 return super.scoreSample(keys, values); 94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) + 95 mAutoAlpha * priorScoreSample(keys,values); 97 return priorScoreSample(keys,values); 99 return (1 - mAlpha) * super.scoreSample(keys,values) + 100 mAlpha * priorScoreSample(keys,values); 104 public float priorScoreSample(String[] keys, float[] values) { argument 106 for (int i=0; i< keys.length; i++){ 107 if (mPriorWeights.get(keys[ [all...] |
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 129 virtual String8 getParameters(const String8& keys) { return String8::empty(); }; argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyMetadataMapper.java | 701 // Note: We only list public keys. Native HALs should list ALL keys regardless of visibility. 742 * Add the conditional keys 1365 private static int[] getTagsForKeys(Key<?>[] keys) { argument 1366 int[] tags = new int[keys.length]; 1368 for (int i = 0; i < keys.length; ++i) { 1369 tags[i] = keys[i].getNativeKey().getTag(); 1375 private static int[] getTagsForKeys(CaptureRequest.Key<?>[] keys) { argument 1376 int[] tags = new int[keys.length]; 1378 for (int i = 0; i < keys 1385 getTagsForKeys(CaptureResult.Key<?>[] keys) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 454 // replace the references to the base64-encoded keys by the JKS versions. 767 private KeyManager[] getKeyManagers(String keys) throws Exception { argument 768 byte[] bytes = new Base64().decode(keys.getBytes());
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter.java | 427 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument 429 mOrgWriter.visitLookupSwitchInsn(dflt, keys, labels);
|
H A D | StubMethodAdapter.java | 342 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument 344 mParentVisitor.visitLookupSwitchInsn(dflt, keys, labels);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 30 void CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, argument 35 jstring s = (jstring) env->GetObjectArrayElement(keys, i); 42 void ConvertParameter2Object(JNIEnv* env, jobjectArray *keys, jobjectArray *values, argument 47 env->SetObjectArrayElement(*keys, index, jstrK); 51 void DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, argument 61 env->SetObjectArrayElement(*keys, i, jstr);
|