/frameworks/base/tests/CoreTests/android/core/ |
H A D | HashtableTest.java | 72 String[] keys = sKeys; 75 value = hTable.get(keys[i]); 76 value = hTable.get(keys[i]); 77 value = hTable.get(keys[i]); 78 value = hTable.get(keys[i]); 79 value = hTable.get(keys[i]); 80 value = hTable.get(keys[i]); 81 value = hTable.get(keys[i]); 82 value = hTable.get(keys[i]); 83 value = hTable.get(keys[ [all...] |
H A D | TreeMapPerformanceTest.java | 74 String[] keys = sKeys; 76 value = map.get(keys[i]); 77 value = map.get(keys[i]); 78 value = map.get(keys[i]); 79 value = map.get(keys[i]); 80 value = map.get(keys[i]); 81 value = map.get(keys[i]); 82 value = map.get(keys[i]); 83 value = map.get(keys[i]); 84 value = map.get(keys[ [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); 121 int data, FileDescriptor newState, String[] files, String[] keys); 53 performBackup_checked(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState, String[] files, String[] keys) argument 120 performBackup_native(FileDescriptor oldState, int data, FileDescriptor newState, String[] files, String[] keys) argument
|
/frameworks/base/libs/ui/ |
H A D | KeyCharacterMap.cpp | 105 Key const* keys = m_keys; local 107 if (keys->data[j] == c) { 108 *key = keys->keycode; 112 keys++; 120 Vector<int32_t>* keys, Vector<uint32_t>* modifiers) 125 keys->add(k); 137 Key* keys = m_keys; local 144 n = keys[mid].keycode; 150 return keys + mid; 200 Key* keys; local 119 getEvents(uint16_t* chars, size_t len, Vector<int32_t>* keys, Vector<uint32_t>* modifiers) argument [all...] |
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 224 * of keys is a string containing the key names as specified in KeyEvent, without the 229 * @param keysSequence The sequence of keys. 232 final String[] keys = keysSequence.split(" "); 233 final int count = keys.length; 238 String key = keys[i]; 281 * @param keys The series of key codes to send through instrumentation. 283 public void sendKeys(int... keys) { argument 284 final int count = keys.length; 289 instrumentation.sendKeyDownUpSync(keys[i]); 305 * @param keys Th 307 sendRepeatedKeys(int... keys) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_backup_FileBackupHelperBase.cpp | 45 jobject newState, jobjectArray files, jobjectArray keys) 60 const int keyCount = env->GetArrayLength(keys); 63 keysUTF[i] = env->GetStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), NULL); 74 env->ReleaseStringUTFChars((jstring)env->GetObjectArrayElement(keys, i), keysUTF[i]); 44 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, int data, jobject newState, jobjectArray files, jobjectArray keys) argument
|
H A D | android_text_KeyCharacterMap.cpp | 107 Vector<int32_t> keys; local 109 bool success = kmap->getEvents(chars, len, &keys, &modifiers); 114 size_t N = keys.size(); 122 v |= keys[i];
|
H A D | android_media_AudioSystem.cpp | 88 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 90 const jchar* c_keys = env->GetStringCritical(keys, 0); 92 if (keys) { 93 c_keys8 = String8(c_keys, env->GetStringLength(keys)); 94 env->ReleaseStringCritical(keys, c_keys);
|
/frameworks/base/include/ui/ |
H A D | KeyCharacterMap.h | 41 Vector<int32_t>* keys, Vector<uint32_t>* modifiers);
|
/frameworks/base/services/audioflinger/ |
H A D | AudioHardwareInterface.cpp | 142 String8 AudioHardwareBase::getParameters(const String8& keys) argument 144 AudioParameter param = AudioParameter(keys);
|
H A D | AudioDumpInterface.cpp | 212 String8 AudioDumpInterface::getParameters(const String8& keys) argument 214 AudioParameter param = AudioParameter(keys); 218 // LOGV("getParameters %s", keys.string()); 389 String8 AudioStreamOutDump::getParameters(const String8& keys) argument 391 if (mFinalStream != 0 ) return mFinalStream->getParameters(keys); 393 AudioParameter param = AudioParameter(keys); 546 String8 AudioStreamInDump::getParameters(const String8& keys) argument 548 if (mFinalStream != 0 ) return mFinalStream->getParameters(keys); 550 AudioParameter param = AudioParameter(keys);
|
H A D | AudioHardwareStub.cpp | 155 String8 AudioStreamOutStub::getParameters(const String8& keys) argument 157 AudioParameter param = AudioParameter(keys); 201 String8 AudioStreamInStub::getParameters(const String8& keys) argument 203 AudioParameter param = AudioParameter(keys);
|
H A D | A2dpAudioInterface.h | 49 virtual String8 getParameters(const String8& keys); 95 virtual String8 getParameters(const String8& keys);
|
H A D | AudioHardwareGeneric.h | 57 virtual String8 getParameters(const String8& keys); 90 virtual String8 getParameters(const String8& keys);
|
H A D | AudioHardwareStub.h | 43 virtual String8 getParameters(const String8& keys); 59 virtual String8 getParameters(const String8& keys);
|
H A D | AudioDumpInterface.h | 54 virtual String8 getParameters(const String8& keys); 96 virtual String8 getParameters(const String8& keys); 147 virtual String8 getParameters(const String8& keys);
|
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 53 * @return A copy of all keys contained in the sparse array. 63 * Sets all supplied keys to the given unique value. 64 * @param keys Keys to set 65 * @param uniqueValue Value to set all supplied keys to 67 public void setValues(long[] keys, E uniqueValue) { argument 68 int length = keys.length; 70 put(keys[i], uniqueValue); 122 long[] keys = mKeys; 130 keys[o] = keys[ [all...] |
H A D | SparseArray.java | 109 int[] keys = mKeys; 117 keys[o] = keys[i]; 249 * specified key, or a negative number if no keys map to the 252 * and that multiple keys can map to the same value and this will 284 * the key is greater than all existing keys in the array.
|
/frameworks/base/core/java/android/os/ |
H A D | TokenWatcher.java | 119 Set<IBinder> keys = mTokens.keySet(); 122 for (IBinder b: keys) {
|
/frameworks/base/core/java/android/view/ |
H A D | KeyCharacterMap.java | 30 * Describes the keys provided by a device and their associated labels. 117 // Ignore caps lock on keys where alt and shift have the same effect. 250 long[] keys = getEvents_native(mPointer, chars); 251 if (keys == null) { 256 int len = keys.length*2; 257 int N = keys.length; 259 int mods = (int)(keys[i] >> 32); 277 int mods = (int)(keys[i] >> 32); 299 int key = (int)(keys[i]); 364 * Queries the framework about whether any physical keys exis [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 53 * A view that renders a virtual {@link Keyboard}. It handles rendering of keys and 74 * For keys that repeat, this is only called once. 82 * For keys that repeat, this is only called once. 90 * @param keyCodes the codes for all the possible alternative keys 93 * will include other characters that may be on the same key or adjacent keys. 220 private static final int REPEAT_INTERVAL = 50; // ~20 keys per second 451 List<Key> keys = mKeyboard.getKeys(); 452 mKeys = keys.toArray(new Key[keys.size()]); 459 // Switching to a different keyboard should abort any pending keys s [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | InputManager.java | 347 public String[] keys; field in class:InputManager.InputDeviceCalibration 423 ArrayList<VirtualKeyDefinition> keys = new ArrayList<VirtualKeyDefinition>(); 452 keys.add(key); 461 Slog.i(TAG, "No virtual keys found for device " + deviceName + "."); 463 Slog.w(TAG, "Error reading virtual keys for device " + deviceName + ".", e); 466 return keys.toArray(new VirtualKeyDefinition[keys.size()]); 489 calibration.keys = properties.keySet().toArray(new String[properties.size()]);
|
/frameworks/base/include/utils/ |
H A D | BackupHelpers.h | 127 char const* const* files, char const* const *keys, int fileCount);
|
/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/base/media/java/android/media/ |
H A D | AudioSystem.java | 176 * param keys list of parameters 180 public static native String getParameters(String keys); argument
|