Searched refs:JavaRef (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.h | 40 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);
|
D | JavaRef.h | 29 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);
|
D | convert.cpp | 58 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 …]
|
D | Tuner.h | 38 void assignHalInterfaces(JNIEnv *env, JavaRef<jobject> const &jTuner, 43 getNativeCallback(JNIEnv *env, JavaRef<jobject> const &tuner);
|
D | JavaRef.cpp | 23 JavaRef<jstring> make_javastr(JNIEnv *env, const std::string &str) { in make_javastr()
|
D | Tuner.cpp | 110 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()
|
D | BroadcastRadioService.cpp | 178 JavaRef<jobject> jModule = nullptr; in nativeLoadModules()
|
/frameworks/base/services/core/jni/ |
D | Android.bp | 26 "BroadcastRadio/JavaRef.cpp",
|