/frameworks/base/libs/hwui/jni/ |
D | ByteBufferStreamAdaptor.cpp | 14 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() argument 16 : mJvm(jvm) in ByteBufferStream() 24 static ByteBufferStream* Create(JavaVM* jvm, JNIEnv* env, jobject jbyteBuffer, in Create() argument 45 return new ByteBufferStream(jvm, jbyteBuffer, position, length, storage); in Create() 173 ByteArrayStream(JavaVM* jvm, jbyteArray jarray, size_t offset, size_t length) in ByteArrayStream() argument 174 : mJvm(jvm), mByteArray(jarray), mOffset(offset), mPosition(0), mLength(length) {} in ByteArrayStream() 177 static ByteArrayStream* Create(JavaVM* jvm, JNIEnv* env, jbyteArray jarray, size_t offset, in Create() argument 184 return new ByteArrayStream(jvm, jarray, offset, length); in Create() 268 JavaVM* jvm; member 274 JavaVM* jvm; in CreateByteBufferStreamAdaptor() local [all …]
|
D | Utils.cpp | 156 JNIEnv* android::get_env_or_die(JavaVM* jvm) { in get_env_or_die() argument 158 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die() 159 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", jvm); in get_env_or_die() 164 JNIEnv* android::requireEnv(JavaVM* jvm) { in requireEnv() argument 166 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in requireEnv() 167 if (jvm->AttachCurrentThreadAsDaemon(&env, nullptr) != JNI_OK) { in requireEnv()
|
D | CreateJavaOutputStreamAdaptor.cpp | 20 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor() argument 22 : fJvm(jvm) in JavaInputStreamAdaptor() 33 JavaVM* jvm; in Create() local 34 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&jvm) != JNI_OK); in Create() 48 return new JavaInputStreamAdaptor(jvm, js, ar, capacity, swallowExceptions); in Create()
|
D | Utils.h | 78 JNIEnv* get_env_or_die(JavaVM* jvm); 88 JNIEnv* requireEnv(JavaVM* jvm);
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 114 RealJniWrapper(JavaVM* jvm); 275 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm); 279 RealTimedQueueWrapper(JavaVM* jvm) { in RealTimedQueueWrapper() argument 280 mThread = std::thread([this, jvm]() { in RealTimedQueueWrapper() 281 (void)getOrAttachJniEnv(jvm); in RealTimedQueueWrapper() 445 JavaVM* jvm = nullptr; in getJavaVm() local 446 env->GetJavaVM(&jvm); in getJavaVm() 447 CHECK(jvm); in getJavaVm() 448 return jvm; in getJavaVm() 459 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm) { in getOrAttachJniEnv() argument [all …]
|
/frameworks/base/core/tests/coretests/apks/install_jni_lib/ |
D | com_android_frameworks_coretests_JNITest.cpp | 27 jint JNI_OnLoad(JavaVM *jvm, void */* reserved */) { in JNI_OnLoad() argument 31 if (jvm->GetEnv((void **) &e, JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/frameworks/base/core/jni/ |
D | core_jni_helpers.h | 121 static inline JNIEnv* GetOrAttachJNIEnvironment(JavaVM* jvm, jint version = JNI_VERSION_1_4) { 122 JNIEnv* env = GetJNIEnvironment(jvm, version); 124 int result = jvm->AttachCurrentThread(&env, nullptr); 133 static thread_local VmDetacher detacher(jvm);
|
/frameworks/base/apct-tests/perftests/core/jni/ |
D | SystemPerfTest.cpp | 70 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument 72 if (jvm->GetEnv((void**) &env, JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 183 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument 185 if (jvm->GetEnv((void**) &env, JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | PackageInstallerSessionTest.kt | 26 import kotlin.jvm.JvmField
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorManagerService.cpp | 172 int register_android_server_vibrator_VibratorManagerService(JavaVM* jvm, JNIEnv* env) { in register_android_server_vibrator_VibratorManagerService() argument 173 sJvm = jvm; in register_android_server_vibrator_VibratorManagerService()
|
D | com_android_server_pm_PackageManagerShellCommandDataLoader.cpp | 362 PMSCDataLoader(JavaVM* jvm) : mJvm(jvm) { CHECK(mJvm); } in PMSCDataLoader() argument 989 [](auto jvm, const auto& params) -> android::dataloader::DataLoaderPtr { in register_android_server_com_android_server_pm_PackageManagerShellCommandDataLoader() argument 992 return std::make_unique<PMSCDataLoader>(jvm); in register_android_server_com_android_server_pm_PackageManagerShellCommandDataLoader()
|
D | com_android_server_vibrator_VibratorController.cpp | 469 int register_android_server_vibrator_VibratorController(JavaVM* jvm, JNIEnv* env) { in register_android_server_vibrator_VibratorController() argument 470 sJvm = jvm; in register_android_server_vibrator_VibratorController()
|
/frameworks/native/libs/nativedisplay/ |
D | AChoreographer.cpp | 37 JavaVM* jvm = nullptr; member 49 if (gJni.jvm == nullptr) { in getJniEnv() 55 if (gJni.jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in getJniEnv() 58 jint attachResult = gJni.jvm->AttachCurrentThreadAsDaemon(&env, (void*)&args); in getJniEnv() 500 env->GetJavaVM(&gJni.jvm); in AChoreographer_initJVM()
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | DevSdkIgnoreRunner.kt | 30 import kotlin.jvm.Throws
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceActivity.java | 37 import kotlin.jvm.functions.Function1;
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.kt | 34 import kotlin.jvm.JvmField in <lambda>()
|
/frameworks/base/cmds/uinput/jni/ |
D | com_android_commands_uinput_Device.cpp | 340 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument 342 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/frameworks/base/tools/dump-coverage/ |
D | dump_coverage.cc | 198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()
|
/frameworks/base/cmds/hid/jni/ |
D | com_android_commands_hid_Device.cpp | 396 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument 398 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | BiometricDisplayListenerTest.java | 55 import kotlin.jvm.functions.Function0;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 39 import kotlin.jvm.functions.Function4;
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParcelableComponentTest.kt | 41 import kotlin.reflect.jvm.jvmErasure in <lambda>()
|
/frameworks/base/packages/SystemUI/ |
D | proguard.flags | 118 -assumenosideeffects class kotlin.jvm.internal.Intrinsics {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanelControllerBase.java | 57 import kotlin.jvm.functions.Function1;
|