Home
last modified time | relevance | path

Searched refs:getDeviceId (Results 1 – 25 of 41) 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/opt/telephony/src/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()
DPhoneProxy.java771 public String getDeviceId() { in getDeviceId() method in PhoneProxy
772 return mActivePhone.getDeviceId(); in getDeviceId()
DPhone.java1305 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/telephony/java/com/android/internal/telephony/
DIPhoneSubInfo.aidl28 String getDeviceId(); in getDeviceId() method
/frameworks/base/services/input/
DInputReader.cpp1783 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo()
1847 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState()
1885 getDeviceId(), patternStr.string(), repeat, token); in vibrate()
1900 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token); in cancelVibrate()
1934 getDeviceId(), duration); in nextStep()
1936 getEventHub()->vibrate(getDeviceId(), duration); in nextStep()
1939 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId()); in nextStep()
1941 getEventHub()->cancelVibrate(getDeviceId()); in nextStep()
1954 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId()); in stopVibrating()
1956 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java62 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
/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/services/java/com/android/server/accessibility/
DAccessibilityInputFilter.java114 final int deviceId = event.getDeviceId(); in onInputEvent()
DTouchExplorer.java1089 1.0f, 1.0f, event.getDeviceId(), event.getEdgeFlags(), in sendMotionEvent()
1279 coords, 0, 0, 1.0f, 1.0f, secondTapUp.getDeviceId(), 0, in onDoubleTap()
DScreenMagnifier.java302 coords, 0, 0, 1.0f, 1.0f, event.getDeviceId(), 0, event.getSource(), in handleMotionEventStateDelegating()
705 1.0f, 1.0f, event.getDeviceId(), event.getEdgeFlags(), in obtainEventWithOffsetTimeAndDownTime()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java202 public String getDeviceId() { in getDeviceId() method in TelephonyManager
204 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/include/androidfw/
DInput.h245 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java269 public String getDeviceId() { in getDeviceId() method in SipPhoneBase

12