Home
last modified time | relevance | path

Searched refs:jni (Results 1 – 25 of 142) sorted by relevance

123456

/packages/modules/OnDevicePersonalization/federatedcompute/
DAndroid.bp60 "jni/cpp/example_iterator_wrapper_impl.cc",
61 "jni/cpp/fl_runner_jni.cc",
62 "jni/cpp/log_manager_wrapper_impl.cc",
63 "jni/cpp/simple_task_environment_wrapper_impl.cc",
64 // Add tensorflow java API jni source files
71 version_script: "jni/jni.lds",
103 "jni/cpp/hpke_jni.cc",
106 "packages/modules/OnDevicePersonalization/federatedcompute/jni/include"
108 version_script: "jni/jni.lds",
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dcontext.rs16 use jni::objects::{JList, JObject};
17 use jni::JNIEnv;
32 pub fn int_getter(&self, method: &str) -> Result<i32, jni::errors::Error> { in int_getter()
36 pub fn long_getter(&self, method: &str) -> Result<i64, jni::errors::Error> { in long_getter()
40 pub fn bool_getter(&self, method: &str) -> Result<bool, jni::errors::Error> { in bool_getter()
44 pub fn byte_arr_getter(&self, method: &str) -> Result<Vec<u8>, jni::errors::Error> { in byte_arr_getter()
53 ) -> Result<JObject<'a>, jni::errors::Error> { in object_getter()
57 pub fn list_getter(&'a self, method: &str) -> Result<JList<'a, 'a>, jni::errors::Error> { in list_getter()
Dcallback.rs21 use jni::objects::{GlobalRef, JClass, JMethodID, JObject, JValue};
22 use jni::signature::TypeSignature;
23 use jni::sys::jvalue;
24 use jni::{AttachGuard, JavaVM};
108 return Err(Error::Jni(jni::errors::Error::InvalidArgList(type_signature))); in cached_jni_call()
Dapi.rs19 use jni::objects::{GlobalRef, JObject, JValue};
20 use jni::signature::ReturnType;
21 use jni::sys::{jboolean, jbyte, jbyteArray, jint, jlong, jobject, jvalue};
22 use jni::JNIEnv;
425 return Err(Error::Jni(jni::errors::Error::NullPtr("Uwb Service is not initialized"))); in get_uwb_service()
/packages/modules/OnDevicePersonalization/federatedcompute/jni/cpp/
Dfl_runner_jni.cc32 using fcp::jni::ParseProtoFromJByteArray;
46 const fcp::client::engine::jni::FlagsImpl flags; in JFUN()
48 fcp::client::engine::jni::SimpleTaskEnvironmentWrapperImpl in JFUN()
57 fcp::client::engine::jni::LogManagerWrapperImpl log_manager_impl( in JFUN()
75 fcp::jni::SerializeProtoToJByteArray(env, fl_runner_result.value()); in JFUN()
Dexample_iterator_wrapper_impl.cc31 namespace jni { namespace
33 using ::fcp::jni::JavaMethodSig;
34 using ::fcp::jni::ParseProtoFromJByteArray;
35 using ::fcp::jni::ScopedJniEnv;
36 using ::fcp::jni::SerializeProtoToJByteArray;
Dlog_manager_wrapper_impl.cc31 namespace jni { namespace
33 using ::fcp::jni::JavaMethodSig;
34 using ::fcp::jni::ParseProtoFromJByteArray;
35 using ::fcp::jni::ScopedJniEnv;
36 using ::fcp::jni::SerializeProtoToJByteArray;
Dsimple_task_environment_wrapper_impl.cc27 namespace jni { namespace
29 using ::fcp::jni::ParseProtoFromJByteArray;
30 using ::fcp::jni::ScopedJniEnv;
31 using ::fcp::jni::SerializeProtoToJByteArray;
Dsimple_task_environment_wrapper_impl.h37 namespace jni {
44 static constexpr fcp::jni::JavaMethodSig kTrainingConditionsSatisfied = {
46 static constexpr fcp::jni::JavaMethodSig kCreateExampleIterator = {
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/
DPdfDocumentProxy.java23 import android.graphics.pdf.models.jni.LinkRects;
24 import android.graphics.pdf.models.jni.LoadPdfResult;
25 import android.graphics.pdf.models.jni.MatchRects;
26 import android.graphics.pdf.models.jni.PageSelection;
27 import android.graphics.pdf.models.jni.SelectionBoundary;
/packages/modules/Connectivity/service-t/
DSources.bp21 "jni/com_android_server_net_NetworkStatsFactory.cpp",
29 name: "services.connectivity-netstats-jni-sources",
31 "jni/com_android_server_net_NetworkStatsFactory.cpp",
32 "jni/com_android_server_net_NetworkStatsService.cpp",
/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_protocol.rs20 use jni::objects::JObject;
21 use jni::sys::jboolean;
22 use jni::JNIEnv;
Dremoteauth_jni_android_platform.rs19 use jni::errors::Error as JNIError;
20 use jni::objects::{GlobalRef, JMethodID, JObject, JValue};
21 use jni::signature::TypeSignature;
22 use jni::sys::{jbyteArray, jint, jlong, jvalue};
23 use jni::{JNIEnv, JavaVM};
/packages/modules/AdServices/adservices/service-core/
DAndroid.bp77 name: "adservices-service-core-jni-sources",
79 "jni/java/**/*.java",
81 path: "jni",
139 ":adservices-service-core-jni-sources",
210 "jni/cpp/hpke_jni.cpp",
211 "jni/cpp/ohttp_jni.cpp",
212 "jni/cpp/act_jni.cpp",
214 include_dirs: ["packages/modules/AdServices/adservices/service-core/jni/include"],
223 version_script: "jni/version-script.lds",
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DBackend.java32 import com.android.bips.jni.BackendConstants;
33 import com.android.bips.jni.JobCallback;
34 import com.android.bips.jni.JobCallbackParams;
35 import com.android.bips.jni.LocalJobParams;
36 import com.android.bips.jni.LocalPrinterCapabilities;
37 import com.android.bips.jni.PdfRender;
DStartJobTask.java34 import com.android.bips.jni.BackendConstants;
35 import com.android.bips.jni.LocalJobParams;
36 import com.android.bips.jni.LocalPrinterCapabilities;
37 import com.android.bips.jni.MediaSizes;
DGetCapabilitiesTask.java24 import com.android.bips.jni.BackendConstants;
25 import com.android.bips.jni.LocalPrinterCapabilities;
/packages/modules/Connectivity/framework-t/
DSources.bp29 name: "libframework-connectivity-tiramisu-jni",
42 "jni/android_net_TrafficStats.cpp",
43 "jni/onload.cpp",
/packages/services/AlternativeNetworkAccess/
DPREUPLOAD.cfg11 core/jni/
15 services/core/jni/
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/jni/
DNativeRemoteAuthService.java17 package com.android.server.remoteauth.jni;
22 import com.android.server.remoteauth.jni.INativeRemoteAuthService.IPlatform;
/packages/apps/Camera2/jni/
DAndroid.bp38 // for including the jni.h file
69 // for including the jni.h file
/packages/modules/Wifi/service/
DCleanSpec.mk55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libwifi-jni.so)
56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libwifi-jni.so)
/packages/modules/Connectivity/service/
DAndroid.bp88 "jni/com_android_net_module_util/onload.cpp",
113 ":services.connectivity-netstats-jni-sources",
114 "jni/com_android_server_connectivity_ClatCoordinator.cpp",
115 "jni/com_android_server_ServiceManagerWrapper.cpp",
116 "jni/com_android_server_TestNetworkService.cpp",
117 "jni/onload.cpp",
/packages/apps/Nfc/nci/jni/
DAndroid.bp89 name: "nfc.nci.jni.tests",
109 "packages/apps/Nfc/nci/jni",
/packages/modules/Uwb/indev_uwb_adaptation/
Dunused_Android.bp25 // srcs: ["jni/src/lib.rs"],
58 // test_config_template: "jni/uwb_rust_test_config_template.xml",

123456