/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayer2TestBase.java | 101 MediaPlayer2 mp = MediaPlayer2.create(); local 104 mp.setAudioAttributes(aa); 105 mp.setAudioSessionId(audioSessionId); 106 mp.setDataSource(new DataSourceDesc.Builder() 110 mp.setDisplay(holder); 117 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { 123 mp.setMediaPlayer2EventCallback(executor, ecb); 124 mp.prepare(); 126 mp.clearMediaPlayer2EventCallback(); 128 return mp; 156 MediaPlayer2 mp = MediaPlayer2.create(); local [all...] |
MediaPlayerTest.java | 135 public boolean onError(MediaPlayer mp, int what, int extra) { 136 assertTrue(mp == mMediaPlayer); 145 public void onCompletion(MediaPlayer mp) { 146 assertTrue(mp == mMediaPlayer); 169 MediaPlayer mp = mMediaPlayer; local 181 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 183 mp.prepare(); 191 mp.reset(); 220 MediaPlayer mp = MediaPlayer.create(mContext, uri); local 223 mp.setAudioStreamType(AudioManager.STREAM_MUSIC) 360 MediaPlayer mp = MediaPlayer.create(mContext, resid); local 400 MediaPlayer mp = MediaPlayer.create(mContext, resid); local 564 MediaPlayer mp = MediaPlayer.create(mContext, resid); local 2340 MediaPlayer mp = new MediaPlayer(); local [all...] |
LoudnessEnhancerTest.java | 142 MediaPlayer mp = null; local 146 mp = MediaPlayer.create(getContext(), R.raw.sine1khzm40db); 149 assertNotNull("null MediaPlayer", mp); 157 mp.getAudioSessionId()); 165 int sessionId = mp.getAudioSessionId(); 170 mp.setLooping(true); 171 mp.start(); 181 int currentPosition = mp.getCurrentPosition(); 186 currentPosition = mp.getCurrentPosition(); 224 if (mp != null) [all...] |
/external/libmojo/mojo/edk/test/ |
mojo_test_base.cc | 113 void MojoTestBase::WriteMessageWithHandles(MojoHandle mp, 117 CHECK_EQ(MojoWriteMessage(mp, message.data(), 124 void MojoTestBase::WriteMessage(MojoHandle mp, const std::string& message) { 125 WriteMessageWithHandles(mp, message, nullptr, 0); 130 MojoHandle mp, 133 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, 139 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, 145 CHECK_EQ(MojoReadMessage(mp, &message[0], &message_size, handles, 155 std::string MojoTestBase::ReadMessageWithOptionalHandle(MojoHandle mp, 157 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE [all...] |
/external/annotation-tools/annotation-file-utilities/tests/ |
GenericArg.java | 3 void mp(X p) { method in class:GenericArg
|
/external/libunwind/src/setjmp/ |
setjmp_i.h | 84 void *mp; local 92 mp = &wp[JB_MASK]; 97 mp = ¤t_mask; 99 memcpy (&sc->sc_mask, mp, sizeof (sc->sc_mask));
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
attr-march-armv7-a+mp.d | 1 # name: attributes for -march=armv7-a+mp 3 # as: -march=armv7-a+mp
|
attr-march-armv7-r+mp.d | 1 # name: attributes for -march=armv7-r+mp 3 # as: -march=armv7-r+mp
|
/cts/tests/tests/security/src/android/security/cts/ |
VisualizerEffectTest.java | 55 MediaPlayer mp = null; local 57 mp = MediaPlayer.create(getContext(), R.raw.good); 61 descriptors[visualizerIndex].uuid, 0, mp.getAudioSessionId()); 73 if (mp != null) { 74 mp.release();
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-member-pointers.cpp | 256 bool nullTestDataUnspecified(int Unspecified::*mp) { 257 return mp; 261 // CHECK: %[[mp:.*]] = load { i32, i32, i32 }, { i32, i32, i32 }* %{{.*}}, align 4 262 // CHECK: %[[mp0:.*]] = extractvalue { i32, i32, i32 } %[[mp]], 0 264 // CHECK: %[[mp1:.*]] = extractvalue { i32, i32, i32 } %[[mp]], 1 267 // CHECK: %[[mp2:.*]] = extractvalue { i32, i32, i32 } %[[mp]], 2 278 bool nullTestFunctionUnspecified(void (Unspecified::*mp)()) { 279 return mp; 283 // CHECK: %[[mp:.*]] = load { i8*, i32, i32, i32 }, { i8*, i32, i32, i32 }* %{{.*}}, align 4 284 // CHECK: %[[mp0:.*]] = extractvalue { i8*, i32, i32, i32 } %[[mp]], [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaPresetReverbTest.java | 199 MediaPlayer mp = null; local 219 mp = new MediaPlayer(); 220 mp.setDataSource(MediaNames.SINE_200_1000); 221 mp.setAudioStreamType(AudioManager.STREAM_MUSIC); 222 mp.attachAuxEffect(mReverb.getId()); 223 mp.setAuxEffectSendLevel(1.0f); 226 mp.prepare(); 227 mp.start(); 229 mp.stop(); 249 if (mp != null) 271 MediaPlayer mp = null; local [all...] |
/external/valgrind/memcheck/ |
mc_malloc_wrappers.c | 258 MC_Mempool* mp; local 260 while ( (mp = VG_(HT_Next)(MC_(mempool_list))) ) { 261 if ( in_block_list (mp->chunks, mc) ) 700 static void check_mempool_sane(MC_Mempool* mp); /*forward*/ 702 static void free_mallocs_in_mempool_block (MC_Mempool* mp, 709 tl_assert(mp->auto_free); 728 die_and_free_mem(tid, mc, mp->rzB); 736 MC_Mempool* mp; local 751 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)pool); 752 if (mp != NULL) 780 MC_Mempool* mp; local 898 MC_Mempool* mp; local 927 MC_Mempool* mp; local 966 MC_Mempool* mp; local 1080 MC_Mempool* mp; local 1102 MC_Mempool* mp; local 1135 MC_Mempool* mp; local [all...] |
/external/blktrace/btt/ |
seek.c | 159 static void __mode(struct rb_node *n, struct mode *mp) 164 __mode(n->rb_left, mp); 166 __mode(n->rb_right, mp); 169 if (mp->modes == NULL) { 170 mp->modes = malloc(sizeof(long long)); 171 mp->nmds = 0; 172 } else if (sbp->nseeks > mp->most_seeks) 173 mp->nmds = 0; 174 else if (sbp->nseeks == mp->most_seeks) 175 mp->modes = realloc(mp->modes, (mp->nmds + 1) [all...] |
/external/llvm/test/MC/ARM/ |
directive-arch_extension-mp.s | 16 .arch_extension mp 17 @ CHECK-V6: error: architectural extension 'mp' is not allowed for the current base architecture 18 @ CHECK-V6-NEXT: .arch_extension mp 21 .type mp,%function 22 mp: label 24 @ CHECK-V6: error: instruction requires: mp-extensions armv7 25 @ CHECK-V7M: error: instruction requires: mp-extensions 28 @ CHECK-V6: error: architectural extension 'mp' is not allowed for the current base architecture 35 @ CHECK-V6: error: instruction requires: mp-extensions armv7 36 @ CHECK-V7: error: instruction requires: mp-extension [all...] |
thumb2-pldw.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -mattr=+mp -show-encoding < %s | FileCheck %s
|
/frameworks/support/media/src/androidTest/java/androidx/media/ |
MediaPlayer2Test.java | 114 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) { 148 MediaPlayer2 mp = createMediaPlayer2(mContext, uri); local 156 public void onInfo(MediaPlayer2 mp, DataSourceDesc dsd, int what, int extra) { 163 public void onCallCompleted(MediaPlayer2 mp, DataSourceDesc dsd, int what, int status) { 173 mp.setMediaPlayer2EventCallback(mExecutor, ecb); 179 mp.setAudioAttributes(attributes); 181 assertFalse(mp.getMediaPlayer2State() == MediaPlayer2.MEDIAPLAYER2_STATE_PLAYING); 183 mp.play(); 185 assertTrue(mp.getMediaPlayer2State() == MediaPlayer2.MEDIAPLAYER2_STATE_PLAYING); 188 assertFalse(mp.isLooping()) 2068 MediaPlayer2 mp = MediaPlayer2.create(); local [all...] |
/frameworks/base/media/jni/ |
android_media_MediaScanner.cpp | 243 MediaScanner *mp = getNativeScanner_l(env, thiz); local 244 if (mp == NULL) { 260 MediaScanResult result = mp->processDirectory(pathStr, myClient); 275 MediaScanner *mp = getNativeScanner_l(env, thiz); local 276 if (mp == NULL) { 300 MediaScanResult result = mp->processFile(pathStr, mimeTypeStr, myClient); 316 MediaScanner *mp = getNativeScanner_l(env, thiz); local 317 if (mp == NULL) { 330 mp->setLocale(localeStr); 340 MediaScanner *mp = getNativeScanner_l(env, thiz) local 394 MediaScanner *mp = new StagefrightMediaScanner; local 408 MediaScanner *mp = getNativeScanner_l(env, thiz); local [all...] |
/external/syslinux/com32/mboot/ |
mboot.c | 94 struct module_data *mp; local 105 *mdp = mp = malloc(module_count * sizeof(struct module_data)); 106 if (!mp) { 116 rv = zloadfile(*argp, &mp->data, &mp->len); 133 mp->cmdline = strdup(""); 136 mp->cmdline = p = malloc(arglen); 143 mp++;
|
/prebuilts/go/darwin-x86/src/runtime/ |
os_netbsd_386.go | 9 func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { 13 mc.__gregs[_REG_EBX] = uint32(uintptr(unsafe.Pointer(mp)))
|
os_netbsd_amd64.go | 9 func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { 13 mc.__gregs[_REG_R8] = uint64(uintptr(unsafe.Pointer(mp)))
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug143.go | 18 mp := &m; 25 x, ok := (*mp)["key"];
|
/prebuilts/go/linux-x86/src/runtime/ |
os_netbsd_386.go | 9 func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { 13 mc.__gregs[_REG_EBX] = uint32(uintptr(unsafe.Pointer(mp)))
|
os_netbsd_amd64.go | 9 func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { 13 mc.__gregs[_REG_R8] = uint64(uintptr(unsafe.Pointer(mp)))
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug143.go | 18 mp := &m; 25 x, ok := (*mp)["key"];
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyVideoSourceActivity.java | 39 mVideoView.setOnPreparedListener(mp -> { 40 mp.setLooping(true); 44 mVideoView.setOnErrorListener((mp, what, extra) -> {
|