Searched defs:keys (Results 26 - 46 of 46) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp823 const char * keys[] = { "channel-count", "sample-rate", "is-adts" }; local
824 for (unsigned int i = 0; i < sizeof(keys) / sizeof(keys[0]); i++) {
826 if (!mInputFormat->findInt32(keys[i], &oldVal) ||
827 !targetFormat->findInt32(keys[i], &newVal) ||
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java332 * @param keys Notifications to dismiss, or {@code null} to dismiss all.
336 public final void cancelNotifications(String[] keys) { argument
339 getNotificationInterface().cancelNotificationsFromListener(mWrapper, keys);
400 * @param keys the keys of the notifications to request
401 * @return An array of notifications corresponding to the requested keys, in the
404 public StatusBarNotification[] getActiveNotifications(String[] keys) { argument
405 return getActiveNotifications(keys, TRIM_FULL);
415 * @param keys the keys o
421 getActiveNotifications(String[] keys, int trim) argument
[all...]
/frameworks/base/core/java/android/view/
H A DInputDevice.java80 * The input source has buttons or keys.
144 * {@link #getKeyboardType()} to determine whether the keyboard has alphabetic keys
338 * of buttons that are not mapped as alphabetic keys suitable for text input.
343 * The keyboard supports a complement of alphabetic keys.
619 * @param keys The list of android keycodes to check for.
621 * generating the keycode given by the corresponding value at the same index in the keys array.
623 public boolean[] hasKeys(int... keys) { argument
624 return InputManager.getInstance().deviceHasKeys(mId, keys);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp338 char const* const* files, char const* const* keys, int fileCount)
353 String8 key(keys[i]);
1510 char const* keys[] = {
1529 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1);
1561 char const* keys[] = {
1582 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1);
337 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, char const* const* files, char const* const* keys, int fileCount) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp189 jobjectArray keys, jobjectArray values) {
215 env, keys, values, &headersVector)) {
187 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, jobjectArray keys, jobjectArray values) argument
H A Dandroid_media_MediaCodec.cpp822 jobjectArray keys, jobjectArray values,
834 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format);
1346 JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) {
1357 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, &params);
819 android_media_MediaCodec_native_configure( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray values, jobject jsurface, jobject jcrypto, jint flags) argument
1345 android_media_MediaCodec_setParameters( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java843 private boolean shouldShadowParentProfile(int userId, HashSet<String> keys, String name) { argument
844 return isManagedProfile(userId) && keys.contains(name);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java711 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
H A DDependencyFinder.java588 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp198 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) argument
204 result = af->getParameters(ioHandle, keys);
213 String8 AudioSystem::getParameters(const String8& keys) argument
215 return getParameters(AUDIO_IO_HANDLE_NONE, keys);
H A DAudioTrack.cpp2035 String8 AudioTrack::getParameters(const String8& keys) argument
2039 return AudioSystem::getParameters(output, keys);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1519 String8 MediaPlayerService::AudioOutput::getParameters(const String8& keys) argument
1522 return mTrack->getParameters(keys);
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp309 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument
311 const jchar* c_keys = env->GetStringCritical(keys, 0);
313 if (keys) {
314 c_keys8 = String8(c_keys, env->GetStringLength(keys));
315 env->ReleaseStringCritical(keys, c_keys);
/frameworks/base/media/java/android/media/
H A DAudioSystem.java153 * param keys list of parameters
157 public static native String getParameters(String keys); argument
H A DMediaCodec.java130 * (in ByteBuffer entries with keys "csd-0", "csd-1", ...) is automatically
550 String[] keys = null;
554 keys = new String[formatMap.size()];
567 keys[i] = "audio-hw-sync";
570 keys[i] = entry.getKey();
577 native_configure(keys, values, surface, crypto, flags);
583 String[] keys, Object[] values,
749 * after updating the expired keys.
796 * codec with a {@link MediaFormat} containing these keys, they
1577 String[] keys
582 native_configure( String[] keys, Object[] values, Surface surface, MediaCrypto crypto, int flags) argument
1666 setParameters(String[] keys, Object[] values) argument
[all...]
H A DMediaPlayer.java1046 String[] keys = null;
1050 keys = new String[headers.size()];
1055 keys[i] = entry.getKey();
1060 setDataSource(path, keys, values);
1063 private void setDataSource(String path, String[] keys, String[] values) argument
1074 keys,
1091 IBinder httpServiceBinder, String path, String[] keys, String[] values)
1383 * retrieval. The caller provides 2 set of metadata keys, allowed
1090 nativeSetDataSource( IBinder httpServiceBinder, String path, String[] keys, String[] values) argument
H A DAudioManager.java1269 * forces the stream controlled by hard volume keys
1947 * @param keys list of parameters
1951 public String getParameters(String keys) { argument
1952 return AudioSystem.getParameters(keys);
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1346 Spec[] keys = getGroupBounds().keys;
1347 for (int i = 0, N = keys.length; i < N; i++) {
1348 Interval span = min ? keys[i].span : keys[i].span.inverse();
1486 for (int i = 0; i < links.keys.length; i++) {
1487 Interval key = links.keys[i];
2296 K[] keys = (K[]) Array.newInstance(keyType, N);
2299 keys[i] = get(i).first;
2302 return new PackedMap<K, V>(keys, value
2323 public final K[] keys; field in class:GridLayout.PackedMap
2326 PackedMap(K[] keys, V[] values) argument
2337 createIndex(K[] keys) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1223 Spec[] keys = getGroupBounds().keys;
1224 for (int i = 0, N = keys.length; i < N; i++) {
1225 Interval span = min ? keys[i].span : keys[i].span.inverse();
1363 for (int i = 0; i < links.keys.length; i++) {
1364 Interval key = links.keys[i];
2171 K[] keys = (K[]) Array.newInstance(keyType, N);
2174 keys[i] = get(i).first;
2177 return new PackedMap<K, V>(keys, value
2198 public final K[] keys; field in class:GridLayout.PackedMap
2201 PackedMap(K[] keys, V[] values) argument
2212 createIndex(K[] keys) argument
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp1716 String8 AudioFlinger::PlaybackThread::getParameters(const String8& keys) argument
1723 char *s = mOutput->stream->common.get_parameters(&mOutput->stream->common, keys.string());
6173 String8 AudioFlinger::RecordThread::getParameters(const String8& keys)
6180 char *s = mInput->stream->common.get_parameters(&mInput->stream->common, keys.string());
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp2783 const int32_t keys[2] = { AKEYCODE_HOME, AKEYCODE_A }; local
2785 ASSERT_TRUE(mapper->markSupportedKeyCodes(AINPUT_SOURCE_ANY, 2, keys, flags));
2958 // Should not have sent any more keys or motions.
3032 // Should not have sent any more keys or motions.
3123 // Should not have sent any more keys or motions.
4140 // Should not have sent any more keys or motions.
4316 // Should not have sent any more keys or motions.
4487 // Should not have sent any more keys or motions.

Completed in 579 milliseconds

12