Home
last modified time | relevance | path

Searched refs:JObjectHolder (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DJAudioTrack.h409 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& routingDelegates);
427 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& mp, const jobject key);
434 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& mp, const jobject key);
DJObjectHolder.h28 struct JObjectHolder : public RefBase { struct
29 JObjectHolder(jobject obj) { in JObjectHolder() argument
34 virtual ~JObjectHolder() { in ~JObjectHolder() argument
DMediaPlayer2AudioOutput.h113 sp<JObjectHolder> mAttributes;
125 sp<JObjectHolder> mPreferredDevice;
129 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>> mRoutingDelegates;
Dmediaplayer2.h157 sp<JObjectHolder> mAudioAttributes;
158 sp<JObjectHolder> mContext;
/frameworks/av/media/libmediaplayer2/nuplayer2/
DJWakeLock.h29 JWakeLock(const sp<JObjectHolder> &context);
41 sp<JObjectHolder> mWakeLock;
42 const sp<JObjectHolder> mContext;
DJWakeLock.cpp27 JWakeLock::JWakeLock(const sp<JObjectHolder> &context) : in JWakeLock()
56 mWakeLock = new JObjectHolder(javaWakeLock); in acquire()
DNuPlayer2.h47 const sp<MediaClock> &mediaClock, const sp<JObjectHolder> &context);
279 const sp<JObjectHolder> mContext;
DNuPlayer2Driver.h30 explicit NuPlayer2Driver(pid_t pid, uid_t uid, const sp<JObjectHolder> &context);
DNuPlayer2Renderer.h42 const sp<JObjectHolder> &context,
DNuPlayer2Driver.cpp114 NuPlayer2Driver::NuPlayer2Driver(pid_t pid, uid_t uid, const sp<JObjectHolder> &context) in NuPlayer2Driver()
DNuPlayer2Renderer.cpp113 const sp<JObjectHolder> &context, in Renderer()
DNuPlayer2.cpp213 pid_t pid, uid_t uid, const sp<MediaClock> &mediaClock, const sp<JObjectHolder> &context) in NuPlayer2()
/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp80 mAttributes = new JObjectHolder(attributes); in MediaPlayer2AudioOutput()
242 mAttributes = (attributes == nullptr) ? nullptr : new JObjectHolder(attributes); in setAudioAttributes()
507 mPreferredDevice = new JObjectHolder(device); in setPreferredDevice()
526 sp<JObjectHolder> listenerHolder = new JObjectHolder(listener); in addAudioDeviceCallback()
528 sp<JObjectHolder> routingDelegateHolder = new JObjectHolder(jRoutingDelegate); in addAudioDeviceCallback()
530 mRoutingDelegates.push_back(std::pair<sp<JObjectHolder>, sp<JObjectHolder>>( in addAudioDeviceCallback()
DJAudioTrack.cpp69 sp<JObjectHolder> audioAttributesObj; in JAudioTrack()
71 audioAttributesObj = new JObjectHolder(attributes); in JAudioTrack()
73 audioAttributesObj = new JObjectHolder( in JAudioTrack()
574 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& routingDelegates) { in registerRoutingDelegates() argument
600 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& mp, const jobject key) { in findByKey() argument
611 Vector<std::pair<sp<JObjectHolder>, sp<JObjectHolder>>>& mp, const jobject key) { in eraseByKey() argument
Dmediaplayer2.cpp238 mContext = new JObjectHolder(context); in MediaPlayer2()
959 mAudioAttributes = new JObjectHolder(attributes); in setAudioAttributes()