Home
last modified time | relevance | path

Searched refs:getDeviceId (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java90 public int getDeviceId() { in getDeviceId() method in UsbDevice
91 return getDeviceId(mName); in getDeviceId()
214 public static int getDeviceId(String name) { in getDeviceId() method in UsbDevice
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneSubInfo.java61 public String getDeviceId() { in getDeviceId() method in PhoneSubInfo
63 return mPhone.getDeviceId(); in getDeviceId()
203 pw.println(" Device ID = " + mPhone.getDeviceId()); in dump()
DPhoneSubInfoProxy.java41 public String getDeviceId() { in getDeviceId() method in PhoneSubInfoProxy
42 return mPhoneSubInfo.getDeviceId(); in getDeviceId()
DIPhoneSubInfo.aidl28 String getDeviceId(); in getDeviceId() method
DPhoneProxy.java752 public String getDeviceId() { in getDeviceId() method in PhoneProxy
753 return mActivePhone.getDeviceId(); in getDeviceId()
DPhone.java1389 String getDeviceId(); in getDeviceId() method
/frameworks/base/core/java/android/view/
DInputEvent.java58 public abstract int getDeviceId(); in getDeviceId() method in InputEvent
66 return InputDevice.getDevice(getDeviceId()); in getDevice()
DInputEventConsistencyVerifier.java202 final int deviceId = event.getDeviceId(); in onKeyEvent()
338 final int deviceId = event.getDeviceId(); in onTouchEvent()
531 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent()
DMotionEvent.java1677 public final int getDeviceId() { in getDeviceId() method in MotionEvent
3001 msg.append(", deviceId=").append(getDeviceId()); in toString()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java102 public int getDeviceId() { in getDeviceId() method in MtpDevice
103 return mDevice.getDeviceId(); in getDeviceId()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp55 inline int32_t getDeviceId() const { in getDeviceId() function in android::NativeKeyCharacterMap
105 parcel->writeInt32(map->getDeviceId()); in nativeWriteToParcel()
179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) { in nativeGetEvents()
Dandroid_view_KeyEvent.cpp60 event->getDeviceId(), in android_view_KeyEvent_fromNative()
/frameworks/base/services/input/
DInputReader.cpp1798 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo()
1843 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState()
1881 getDeviceId(), patternStr.string(), repeat, token); in vibrate()
1896 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token); in cancelVibrate()
1930 getDeviceId(), duration); in nextStep()
1932 getEventHub()->vibrate(getDeviceId(), duration); in nextStep()
1935 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId()); in nextStep()
1937 getEventHub()->cancelVibrate(getDeviceId()); in nextStep()
1950 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId()); in stopVibrating()
1952 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating()
[all …]
DInputDispatcher.cpp2525 keyEvent->getDeviceId(), keyEvent->getSource(), in injectInputEvent()
2551 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags, in injectInputEvent()
2563 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags, in injectInputEvent()
3583 keyEntry->deviceId = event.getDeviceId(); in afterKeyEventLockedInterruptible()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java62 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityInputFilter.java109 int deviceId = event.getDeviceId(); in onInputEvent()
DTouchExplorer.java946 1.0f, 1.0f, event.getDeviceId(), event.getEdgeFlags(), in sendMotionEvent()
1126 coords, 0, 0, 1.0f, 1.0f, secondTapUp.getDeviceId(), 0, in onDoubleTap()
/frameworks/base/libs/androidfw/tests/
DInputPublisherAndConsumer_test.cpp102 EXPECT_EQ(deviceId, keyEvent->getDeviceId()); in PublishAndConsumeKeyEvent()
185 EXPECT_EQ(deviceId, motionEvent->getDeviceId()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp187 ASSERT_EQ(2, event.getDeviceId()); in TEST_F()
303 ASSERT_EQ(2, event->getDeviceId()); in assertEqualsEventWithHistory()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java197 public String getDeviceId() { in getDeviceId() method in TelephonyManager
199 return getSubscriberInfo().getDeviceId(); in getDeviceId()
/frameworks/base/docs/html/guide/practices/
Dindex.jd37 installations of their apps. It sounds plausible just to call TelephonyManager.getDeviceId() and use
/frameworks/base/native/android/
Dinput.cpp43 return static_cast<const InputEvent*>(event)->getDeviceId(); in AInputEvent_getDeviceId()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java79 mDeviceId = mTManager.getDeviceId(); in setUp()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhoneBase.java259 public String getDeviceId() { in getDeviceId() method in SipPhoneBase
/frameworks/base/include/androidfw/
DInput.h236 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId() function

12