/frameworks/base/media/jni/ |
H A D | android_media_Utils.h | 33 JNIEnv *env, jobjectArray keys, jobjectArray values, 41 JNIEnv *env, jobjectArray keys, jobjectArray values,
|
H A D | android_media_Utils.cpp | 30 JNIEnv *env, jobjectArray keys, jobjectArray values, 35 if (keys != NULL && values != NULL) { 36 nKeyValuePairs = env->GetArrayLength(keys); 41 failed = ((keys != NULL && values == NULL) || 42 (keys == NULL && values != NULL)); 46 ALOGE("keys and values arrays have different length"); 54 jstring key = (jstring) env->GetObjectArrayElement(keys, i); 277 JNIEnv *env, jobjectArray keys, jobjectArray values, 295 if (keys != NULL) { 300 numEntries = env->GetArrayLength(keys); 29 ConvertKeyValueArraysToKeyedVector( JNIEnv *env, jobjectArray keys, jobjectArray values, KeyedVector<String8, String8>* keyedVector) argument 276 ConvertKeyValueArraysToMessage( JNIEnv *env, jobjectArray keys, jobjectArray values, sp<AMessage> *out) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
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 int 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, int data, FileDescriptor newState, String[] files, String[] keys) argument
|
H A D | WallpaperBackupHelper.java | 50 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 76 public WallpaperBackupHelper(Context context, String[] files, String[] keys) { argument 81 mKeys = keys;
|
/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, int 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/base/media/java/android/media/ |
H A D | MediaExtractor.java | 122 String[] keys = null; 126 keys = new String[headers.size()]; 131 keys[i] = entry.getKey(); 136 setDataSource(path, keys, values); 140 String path, String[] keys, String[] values); 139 setDataSource( String path, String[] keys, String[] values) argument
|
H A D | MediaCodec.java | 97 * (in ByteBuffer entries with keys "csd-0", "csd-1", ...) is automatically 241 String[] keys = null; 245 keys = new String[formatMap.size()]; 250 keys[i] = entry.getKey(); 256 native_configure(keys, values, surface, crypto, flags); 260 String[] keys, Object[] values, 259 native_configure( String[] keys, Object[] values, Surface surface, MediaCrypto crypto, int flags) argument
|
H A D | MediaMetadataRetriever.java | 92 String[] keys = new String[headers.size()]; 95 keys[i] = entry.getKey(); 99 _setDataSource(uri, keys, values); 103 String uri, String[] keys, String[] values) 102 _setDataSource( String uri, String[] keys, String[] values) argument
|
/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...] |
H A D | Learning_StochasticLinearRanker.java | 77 String[] keys = new String[temp.size()]; 80 keys[i] = temp.get(i).key; 85 return mLearningSlRanker.scoreSample(keys,values);
|
/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, int data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
H A D | android_media_AudioSystem.cpp | 100 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 102 const jchar* c_keys = env->GetStringCritical(keys, 0); 104 if (keys) { 105 c_keys8 = String8(c_keys, env->GetStringLength(keys)); 106 env->ReleaseStringCritical(keys, c_keys);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 58 // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 69 String[] keys = new String[] { WALLPAPER_IMAGE_KEY, WALLPAPER_INFO_KEY }; 75 keys = new String[] { WALLPAPER_INFO_KEY }; 77 addHelper("wallpaper", new WallpaperBackupHelper(SystemBackupAgent.this, files, keys));
|
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 297 ArrayList<Key> keys = keysByIdent.get(key.ident); 298 if (keys == null) { 299 keys = Lists.newArrayList(); 300 keysByIdent.put(key.ident, keys); 302 keys.add(key); 310 final ArrayList<Key> keys = keysByIdent.get(ident); 313 out.writeInt(keys.size()); 314 for (Key key : keys) { 468 final ArrayList<Key> keys = Lists.newArrayList(); 469 keys [all...] |
/frameworks/base/core/java/android/os/ |
H A D | TokenWatcher.java | 136 Set<IBinder> keys = mTokens.keySet(); 139 for (IBinder b: keys) {
|
/frameworks/base/core/java/android/view/ |
H A D | KeyCharacterMap.java | 30 * Describes the keys provided by a keyboard device and their associated labels. 84 * and toggled / locked shift and alt keys. 95 * by pressing keys on the keyboard without on-screen support or affordances such 106 * A special function keyboard consists only of non-printing keys such as 125 * Modifier keys may be chorded with character keys. 132 * Modifier keys may be chorded with character keys or they may toggle 151 /* Characters used to display placeholders for dead keys. */ 411 * symbolic entry on keyboards where certain keys serv [all...] |
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 135 char const* const* files, char const* const *keys, int fileCount);
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 127 long[] keys = mKeys; 135 keys[o] = keys[i]; 269 * specified key, or a negative number if no keys map to the 272 * and that multiple keys can map to the same value and this will 304 * the key is greater than all existing keys in the array.
|
H A D | SparseArray.java | 127 int[] keys = mKeys; 135 keys[o] = keys[i]; 269 * specified key, or a negative number if no keys map to the 272 * and that multiple keys can map to the same value and this will 304 * the key is greater than all existing keys in the array.
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 124 int[] keys = mKeys; 134 keys[o] = keys[i]; 276 * specified key, or a negative number if no keys map to the 279 * and that multiple keys can map to the same value and this will 311 * the key is greater than all existing keys in the array.
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 125 long[] keys = mKeys; 133 keys[o] = keys[i]; 267 * specified key, or a negative number if no keys map to the 270 * and that multiple keys can map to the same value and this will 302 * the key is greater than all existing keys in the array.
|
H A D | SparseArrayCompat.java | 118 int[] keys = mKeys; 126 keys[o] = keys[i]; 258 * specified key, or a negative number if no keys map to the 261 * and that multiple keys can map to the same value and this will 293 * the key is greater than all existing keys in the array.
|
/frameworks/base/core/java/android/webkit/ |
H A D | AccessibilityInjector.java | 603 // Remove all keys from the object. 604 final Iterator<?> keys = mAccessibilityJSONObject.keys(); 605 while (keys.hasNext()) { 606 keys.next(); 607 keys.remove();
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 57 * A view that renders a virtual {@link Keyboard}. It handles rendering of keys and 78 * For keys that repeat, this is only called once. 86 * For keys that repeat, this is only called once. 94 * @param keyCodes the codes for all the possible alternative keys 97 * will include other characters that may be on the same key or adjacent keys. 223 private static final int REPEAT_INTERVAL = 50; // ~20 keys per second 465 List<Key> keys = mKeyboard.getKeys(); 466 mKeys = keys.toArray(new Key[keys.size()]); 473 // Switching to a different keyboard should abort any pending keys s [all...] |