Searched defs:deviceInfo (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp37 jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo) { argument
38 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().string()));
44 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string()));
50 android_view_KeyCharacterMap_create(env, deviceInfo.getId(),
51 deviceInfo.getKeyCharacterMap()));
57 gInputDeviceClassInfo.ctor, deviceInfo.getId(), deviceInfo.getGeneration(),
58 nameObj.get(), descriptorObj.get(), deviceInfo.isExternal(),
59 deviceInfo.getSources(), deviceInfo
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp138 MtpDeviceInfo* deviceInfo = device->getDeviceInfo(); local
139 if (!deviceInfo) {
140 ALOGD("android_mtp_MtpDevice_get_device_info deviceInfo is null");
146 delete deviceInfo;
150 if (deviceInfo->mManufacturer)
152 env->NewStringUTF(deviceInfo->mManufacturer));
153 if (deviceInfo->mModel)
155 env->NewStringUTF(deviceInfo->mModel));
156 if (deviceInfo->mVersion)
158 env->NewStringUTF(deviceInfo
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp848 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) { argument
849 InputMapper::populateDeviceInfo(deviceInfo);
852 deviceInfo->setKeyboardType(mKeyboardType);
/frameworks/base/services/input/
H A DInputReader.cpp861 InputDeviceInfo deviceInfo; local
862 getDeviceInfo(& deviceInfo);
864 dump.appendFormat(INDENT "Device %d: %s\n", deviceInfo.getId(),
865 deviceInfo.getDisplayName().string());
868 dump.appendFormat(INDENT2 "Sources: 0x%08x\n", deviceInfo.getSources());
869 dump.appendFormat(INDENT2 "KeyboardType: %d\n", deviceInfo.getKeyboardType());
871 const Vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges();

Completed in 108 milliseconds