Searched defs:keys (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DJsonWebKeyUnittest.cpp53 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/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockUtils.java85 public static Bundle checkUserRestrictions(String... keys) { argument
86 final Bundle expected = DpmTestUtils.newRestrictions(Preconditions.checkNotNull(keys));
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSession.cpp48 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 DJsonWebKey.cpp26 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 DWallpaperBackupHelper.java66 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers
93 public WallpaperBackupHelper(Context context, String[] files, String[] keys) { argument
98 mKeys = keys;
H A DBlobBackupHelper.java49 public BlobBackupHelper(int currentBlobVersion, String... keys) { argument
51 mKeys = keys;
70 * for restore in lexical order by key, <i>not</i> in the order in which the keys
84 * [Int=N] : number of keys represented in the state blob
101 Log.i(TAG, " " + numKeys + " keys in state record");
H A DFileBackupHelperBase.java54 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/test/
H A DInstrumentationTestCase.java246 * of keys is a string containing the key names as specified in KeyEvent, without the
251 * @param keysSequence The sequence of keys.
254 final String[] keys = keysSequence.split(" ");
255 final int count = keys.length;
260 String key = keys[i];
303 * @param keys The series of key codes to send through instrumentation.
305 public void sendKeys(int... keys) { argument
306 final int count = keys.length;
311 instrumentation.sendKeyDownUpSync(keys[i]);
327 * @param keys Th
329 sendRepeatedKeys(int... keys) argument
[all...]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DMessageUtilsTest.java55 private SparseArray<String> makeSparseArray(int[] keys, String[] values) throws Exception { argument
56 assertEquals("Must specify same number of keys and values", keys.length, values.length);
58 for (int i = 0; i < keys.length; i++) {
59 out.put(keys[i], values[i]);
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
H A DRanker.java47 // Map of user : <Map of package : notification keys>. Only contains notifications that are not
187 private void adjustNotificationBundling(String packageName, List<String> keys, boolean bundle, argument
190 for (String key : keys) {
/frameworks/base/core/java/android/service/notification/
H A DNotificationRankingUpdate.java35 public NotificationRankingUpdate(String[] keys, String[] interceptedKeys, argument
38 mKeys = keys;
/frameworks/base/core/jni/
H A Dandroid_backup_FileBackupHelperBase.cpp42 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 DStochasticLinearRanker.java64 * 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/service/
H A DAudioPolicyClientImpl.cpp152 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 DAudioPolicyClientImplLegacy.cpp269 const char *keys)
271 String8 result = AudioSystem::getParameters(io_handle, String8(keys));
268 aps_get_parameters(void *service __unused, audio_io_handle_t io_handle, const char *keys) argument
/frameworks/base/core/java/android/os/health/
H A DHealthStats.java31 * Each of the keys references data in one of five data types:
83 * returned for UidHealthStats.STATS_PACKAGES, the keys come from the
87 * The keys that are available are subject to change, depending on what a particular
441 * Get the index in keys of key.
443 private static int getIndex(int[] keys, int key) { argument
444 return Arrays.binarySearch(keys, key);
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java145 String[] keys = null;
149 keys = new String[headers.size()];
154 keys[i] = entry.getKey();
163 keys,
170 @Nullable String[] keys,
339 * The following table summarizes support for format keys across android releases:
345 * <td colspan=3>{@code MediaFormat} keys used for</th>
429 * keys. The display width can be calculated for example as:
167 nativeSetDataSource( @onNull IBinder httpServiceBinder, @NonNull String path, @Nullable String[] keys, @Nullable String[] values) argument
H A DMediaMetadataRetriever.java89 String[] keys = new String[headers.size()];
92 keys[i] = entry.getKey();
100 keys,
105 IBinder httpServiceBinder, String uri, String[] keys, String[] values)
104 _setDataSource( IBinder httpServiceBinder, String uri, String[] keys, String[] values) argument
H A DMediaMuxer.java103 long nativeObject, @NonNull String[] keys, @NonNull Object[] values);
270 * The following table summarizes support for specific format keys across android releases.
277 * <td colspan=3>{@code MediaFormat} keys used for</th>
405 String[] keys = null;
409 keys = new String[mapSize];
413 keys[i] = entry.getKey();
417 trackIndex = nativeAddTrack(mNativeObject, keys, values);
102 nativeAddTrack( long nativeObject, @NonNull String[] keys, @NonNull Object[] values) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp44 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys,
54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values,
43 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass , jlong nativeObject, jobjectArray keys, jobjectArray values) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerService.java62 // Map of Uris we listen on to their settings keys.
64 // Map of settings keys to the listener.
129 public void addTunable(Tunable tunable, String... keys) { argument
130 for (String key : keys) {
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapter.java485 * @param keys The extra keys to remove.
487 void removeExtras(String callId, List<String> keys) { argument
488 Log.v(this, "removeExtras: %s %s", callId, keys);
491 adapter.removeExtras(callId, keys);
H A DInCallAdapter.java346 * @param keys The extra keys to remove.
348 public void removeExtras(String callId, List<String> keys) { argument
350 mAdapter.removeExtras(callId, keys);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java88 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/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java749 // Note: We only list public keys. Native HALs should list ALL keys regardless of visibility.
793 * Add the conditional keys
1431 private static int[] getTagsForKeys(Key<?>[] keys) { argument
1432 int[] tags = new int[keys.length];
1434 for (int i = 0; i < keys.length; ++i) {
1435 tags[i] = keys[i].getNativeKey().getTag();
1441 private static int[] getTagsForKeys(CaptureRequest.Key<?>[] keys) { argument
1442 int[] tags = new int[keys.length];
1444 for (int i = 0; i < keys
1451 getTagsForKeys(CaptureResult.Key<?>[] keys) argument
[all...]

Completed in 757 milliseconds

123