Home
last modified time | relevance | path

Searched refs:shared_pointer (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp34 template <typename T> using shared_pointer = std::shared_ptr<T>; typedef
37 template <typename T> using shared_pointer = android::sp<T>; typedef
418 return (jlong)(new shared_pointer<AudioTrackNative>(new AudioTrackNative())); in Java_android_media_cts_AudioTrackNative_nativeCreateTrack()
424 delete (shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeDestroyTrack()
431 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeOpen()
442 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeClose()
451 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStart()
461 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStop()
471 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativePause()
481 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeFlush()
[all …]
Daudio-record-native.cpp34 template <typename T> using shared_pointer = std::shared_ptr<T>; typedef
37 template <typename T> using shared_pointer = android::sp<T>; typedef
475 return (jlong)(new shared_pointer<AudioRecordNative>(new AudioRecordNative())); in Java_android_media_cts_AudioRecordNative_nativeCreateRecord()
481 delete (shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeDestroyRecord()
488 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeOpen()
499 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeClose()
508 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeStart()
518 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeStop()
528 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativePause()
538 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeFlush()
[all …]