/frameworks/base/core/java/android/app/backup/ |
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;
|
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
|
/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 | 108 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 110 const jchar* c_keys = env->GetStringCritical(keys, 0); 112 if (keys) { 113 c_keys8 = String8(c_keys, env->GetStringLength(keys)); 114 env->ReleaseStringCritical(keys, c_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 | 126 String[] keys = null; 130 keys = new String[headers.size()]; 135 keys[i] = entry.getKey(); 140 setDataSource(path, keys, values); 144 String path, String[] keys, String[] values) throws IOException; 143 setDataSource( String path, String[] keys, String[] values) argument
|
H A D | MediaMetadataRetriever.java | 96 String[] keys = new String[headers.size()]; 99 keys[i] = entry.getKey(); 103 _setDataSource(uri, keys, values); 107 String uri, String[] keys, String[] values) 106 _setDataSource( String uri, String[] keys, String[] values) argument
|
H A D | MediaMuxer.java | 91 private static native int nativeAddTrack(int nativeObject, String[] keys, argument 268 String[] keys = null; 272 keys = new String[mapSize]; 276 keys[i] = entry.getKey(); 280 trackIndex = nativeAddTrack(mNativeObject, keys, values);
|
H A D | MediaCodec.java | 102 * (in ByteBuffer entries with keys "csd-0", "csd-1", ...) is automatically 247 String[] keys = null; 251 keys = new String[formatMap.size()]; 256 keys[i] = entry.getKey(); 262 native_configure(keys, values, surface, crypto, flags); 266 String[] keys, Object[] values, 608 String[] keys = new String[params.size()]; 613 keys[i] = key; 618 setParameters(keys, values); 621 private native final void setParameters(String[] keys, Objec argument 265 native_configure( String[] keys, Object[] values, Surface surface, MediaCrypto crypto, int flags) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 45 JNIEnv *env, jclass clazz, jint nativeObject, jobjectArray keys, 55 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, 44 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass clazz, jint 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 | 84 jobjectArray keys, jobjectArray values) { 122 env, keys, values, &headersVector)) { 82 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jstring path, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_MediaCodec.cpp | 423 jobjectArray keys, jobjectArray values, 435 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format); 845 JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) { 856 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, ¶ms); 420 android_media_MediaCodec_native_configure( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray values, jobject jsurface, jobject jcrypto, jint flags) argument 844 android_media_MediaCodec_setParameters( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) argument
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | KeySetManager.java | 76 * keys in the KeySet. 79 * keys in the given KeySet. 99 * in its manifest that a) contains the given keys and b) is named 103 Set<PublicKey> keys, String alias) { 104 if ((packageName == null) || (keys == null) || (alias == null)) { 109 KeySet ks = addKeySetLocked(keys); 230 * Creates a new KeySet corresponding to the given keys. 240 private KeySet addKeySetLocked(Set<PublicKey> keys) { argument 241 if (keys == null) { 242 throw new NullPointerException("Provided keys canno 102 addDefinedKeySetToPackage(String packageName, Set<PublicKey> keys, String alias) 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 | 126 virtual String8 getParameters(const String8& keys) { return String8::empty(); }; argument
|
/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 | DelegateMethodAdapter2.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);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 333 char const* const* files, char const* const* keys, int fileCount) 348 String8 key(keys[i]); 1504 char const* keys[] = { 1523 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 1555 char const* keys[] = { 1576 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 332 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, char const* const* files, char const* const* keys, int fileCount) argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 184 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) { argument 189 result = af->getParameters(ioHandle, keys);
|
H A D | AudioTrack.cpp | 1749 String8 AudioTrack::getParameters(const String8& keys) argument 1752 return AudioSystem::getParameters(mOutput, keys);
|
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 78 * The input source has buttons or keys. 142 * {@link #getKeyboardType()} to determine whether the keyboard has alphabetic keys 328 * of buttons that are not mapped as alphabetic keys suitable for text input. 333 * The keyboard supports a complement of alphabetic keys. 583 * @param keys The list of android keycodes to check for. 585 * generating the keycode given by the corresponding value at the same index in the keys array. 587 public boolean[] hasKeys(int... keys) { argument 588 return InputManager.getInstance().deviceHasKeys(mId, keys);
|