Home
last modified time | relevance | path

Searched refs:ptsName (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/java/jni/
Dandroid_system_virtualmachine_VirtualMachine.cpp142 ScopedLocalRef<jbyteArray> ptsName(env, env->NewByteArray(len)); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() local
143 if (ptsName.get() != nullptr) { in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
144 env->SetByteArrayRegion(ptsName.get(), 0, len, (jbyte *)name); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
153 env->CallVoidMethod(resultCallback, mid, mfd, sfd, ptsName.get()); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java1309 (FileDescriptor mfd, FileDescriptor sfd, byte[] ptsName) -> { in createPtyConsole() argument
1312 nameBuilder.append(new String(ptsName, StandardCharsets.UTF_8)); in createPtyConsole()