Searched refs:shared_pointer (Results 1 – 2 of 2) sorted by relevance
34 template <typename T> using shared_pointer = std::shared_ptr<T>; typedef37 template <typename T> using shared_pointer = android::sp<T>; typedef504 return (jlong)(new shared_pointer<AudioRecordNative>(new AudioRecordNative())); in Java_android_media_cts_AudioRecordNative_nativeCreateRecord()510 delete (shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeDestroyRecord()517 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeOpen()528 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeClose()537 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeStart()547 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeStop()557 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativePause()567 auto record = *(shared_pointer<AudioRecordNative> *)jrecord; in Java_android_media_cts_AudioRecordNative_nativeFlush()[all …]
34 template <typename T> using shared_pointer = std::shared_ptr<T>; typedef37 template <typename T> using shared_pointer = android::sp<T>; typedef417 return (jlong)(new shared_pointer<AudioTrackNative>(new AudioTrackNative())); in Java_android_media_cts_AudioTrackNative_nativeCreateTrack()423 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()445 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeClose()454 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStart()464 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeStop()474 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativePause()484 auto track = *(shared_pointer<AudioTrackNative> *)jtrack; in Java_android_media_cts_AudioTrackNative_nativeFlush()[all …]