Home
last modified time | relevance | path

Searched refs:JavaRef (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.h40 JavaRef<jobject> VendorInfoFromHal(JNIEnv *env, const hardware::hidl_vec<V1_1::VendorKeyValue> &inf…
43 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_0::Properties &properties,
45 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_1::Properties &properties,
48 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region);
53 JavaRef<jobject> MetadataFromHal(JNIEnv *env, const hardware::hidl_vec<V1_0::MetaData> &metadata);
54 JavaRef<jobject> ProgramInfoFromHal(JNIEnv *env, const V1_0::ProgramInfo &info, V1_0::Band band);
55 JavaRef<jobject> ProgramInfoFromHal(JNIEnv *env, const V1_1::ProgramInfo &info);
DJavaRef.h29 using JavaRef = std::unique_ptr<typename std::remove_pointer<T>::type, std::function<void(T)>>; variable
32 JavaRef<T> make_javaref(JNIEnv *env, T ref) { in make_javaref()
33 return JavaRef<T>(ref, [env](T ref) { in make_javaref()
40 JavaRef<jstring> make_javastr(JNIEnv *env, const std::string &str);
Dconvert.cpp58 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const RegionalBandConfig &config);
59 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region r…
239 static JavaRef<jintArray> ArrayFromHal(JNIEnv *env, const hidl_vec<uint32_t>& vec) { in ArrayFromHal()
249 static JavaRef<jlongArray> ArrayFromHal(JNIEnv *env, const hidl_vec<uint64_t>& vec) { in ArrayFromHal()
260 static JavaRef<jobjectArray> ArrayFromHal(JNIEnv *env, const hidl_vec<T>& vec, in ArrayFromHal()
261 jclass jElementClass, std::function<JavaRef<jobject>(JNIEnv*, const T&)> converter) { in ArrayFromHal()
271 static JavaRef<jobjectArray> ArrayFromHal(JNIEnv *env, const hidl_vec<T>& vec, in ArrayFromHal()
272 jclass jElementClass, JavaRef<jobject>(*converter)(JNIEnv*, const T&)) { in ArrayFromHal()
274 std::function<JavaRef<jobject>(JNIEnv*, const T&)>(converter)); in ArrayFromHal()
277 static std::string StringFromJava(JNIEnv *env, JavaRef<jstring> &jStr) { in StringFromJava()
[all …]
DTuner.h38 void assignHalInterfaces(JNIEnv *env, JavaRef<jobject> const &jTuner,
43 getNativeCallback(JNIEnv *env, JavaRef<jobject> const &tuner);
DJavaRef.cpp23 JavaRef<jstring> make_javastr(JNIEnv *env, const std::string &str) { in make_javastr()
DTuner.cpp110 static TunerContext& getNativeContext(JNIEnv *env, JavaRef<jobject> const &jTuner) { in getNativeContext()
155 void assignHalInterfaces(JNIEnv *env, JavaRef<jobject> const &jTuner, in assignHalInterfaces()
198 sp<ITunerCallback> getNativeCallback(JNIEnv *env, JavaRef<jobject> const &tuner) { in getNativeCallback()
347 JavaRef<jobject> jList; in nativeGetProgramList()
379 JavaRef<jbyteArray> jRawImage = nullptr; in nativeGetImage()
DBroadcastRadioService.cpp178 JavaRef<jobject> jModule = nullptr; in nativeLoadModules()
/frameworks/base/services/core/jni/
DAndroid.bp26 "BroadcastRadio/JavaRef.cpp",