Home | History | Annotate | Download | only in jni

Lines Matching defs:inputChannel

17 #define LOG_TAG "InputChannel-JNI"
36 jfieldID mPtr; // native object attached to the DVM InputChannel
44 NativeInputChannel(const sp<InputChannel>& inputChannel);
47 inline sp<InputChannel> getInputChannel() { return mInputChannel; }
53 sp<InputChannel> mInputChannel;
60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) :
61 mInputChannel(inputChannel), mDisposeCallback(NULL) {
94 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) {
127 sp<InputChannel> serverChannel;
128 sp<InputChannel> clientChannel;
129 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel);
212 InputChannel* inputChannel = new InputChannel(name, dupFd);
213 NativeInputChannel* nativeInputChannel = new NativeInputChannel(inputChannel);
227 sp<InputChannel> inputChannel = nativeInputChannel->getInputChannel();
230 parcel->writeString8(inputChannel->getName());
231 parcel->writeDupFileDescriptor(inputChannel->getFd());
253 { "nativeOpenInputChannelPair", "(Ljava/lang/String;)[Landroid/view/InputChannel;",
257 { "nativeTransferTo", "(Landroid/view/InputChannel;)V",
281 int res = jniRegisterNativeMethods(env, "android/view/InputChannel",
285 FIND_CLASS(gInputChannelClassInfo.clazz, "android/view/InputChannel");