Home
last modified time | relevance | path

Searched refs:deviceInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp37 jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo) { in android_view_InputDevice_create() argument
38 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().string())); in android_view_InputDevice_create()
44 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string())); in android_view_InputDevice_create()
50 android_view_KeyCharacterMap_create(env, deviceInfo.getId(), in android_view_InputDevice_create()
51 deviceInfo.getKeyCharacterMap())); in android_view_InputDevice_create()
57 gInputDeviceClassInfo.ctor, deviceInfo.getId(), deviceInfo.getGeneration(), in android_view_InputDevice_create()
58 nameObj.get(), descriptorObj.get(), deviceInfo.isExternal(), in android_view_InputDevice_create()
59 deviceInfo.getSources(), deviceInfo.getKeyboardType(), in android_view_InputDevice_create()
60 kcmObj.get(), deviceInfo.hasVibrator())); in android_view_InputDevice_create()
62 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in android_view_InputDevice_create()
Dandroid_view_InputDevice.h27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp138 MtpDeviceInfo* deviceInfo = device->getDeviceInfo(); in android_mtp_MtpDevice_get_device_info() local
139 if (!deviceInfo) { in android_mtp_MtpDevice_get_device_info()
146 delete deviceInfo; in android_mtp_MtpDevice_get_device_info()
150 if (deviceInfo->mManufacturer) in android_mtp_MtpDevice_get_device_info()
152 env->NewStringUTF(deviceInfo->mManufacturer)); in android_mtp_MtpDevice_get_device_info()
153 if (deviceInfo->mModel) in android_mtp_MtpDevice_get_device_info()
155 env->NewStringUTF(deviceInfo->mModel)); in android_mtp_MtpDevice_get_device_info()
156 if (deviceInfo->mVersion) in android_mtp_MtpDevice_get_device_info()
158 env->NewStringUTF(deviceInfo->mVersion)); in android_mtp_MtpDevice_get_device_info()
159 if (deviceInfo->mSerial) in android_mtp_MtpDevice_get_device_info()
[all …]
/frameworks/base/services/input/
DInputReader.h873 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
926 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
955 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
1023 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
1088 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
1653 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
DInputReader.cpp877 InputDeviceInfo deviceInfo; in dump() local
878 getDeviceInfo(& deviceInfo); in dump()
880 dump.appendFormat(INDENT "Device %d: %s\n", deviceInfo.getId(), in dump()
881 deviceInfo.getDisplayName().string()); in dump()
884 dump.appendFormat(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources()); in dump()
885 dump.appendFormat(INDENT2 "KeyboardType: %d\n", deviceInfo.getKeyboardType()); in dump()
887 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in dump()
/frameworks/base/services/input/tests/
DInputReader_test.cpp832 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) { in populateDeviceInfo() argument
833 InputMapper::populateDeviceInfo(deviceInfo); in populateDeviceInfo()
836 deviceInfo->setKeyboardType(mKeyboardType); in populateDeviceInfo()