/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpManagerTest.java | 53 mManager.closeDevice(mUsbDevice.getDeviceId()); in tearDown() 69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testCancelEvent() 108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testEventObjectAdded() 120 if (record.deviceId == mUsbDevice.getDeviceId()) { in testCreateDocumentAndGetPartialObject() 129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject() 130 if (mManager.getObjectInfo(mUsbDevice.getDeviceId(), handle) in testCreateDocumentAndGetPartialObject() 132 mManager.deleteDocument(mUsbDevice.getDeviceId(), handle); in testCreateDocumentAndGetPartialObject() 144 mUsbDevice.getDeviceId(), in testCreateDocumentAndGetPartialObject() 154 mUsbDevice.getDeviceId(), objectHandle, 0, 5, bytes)); in testCreateDocumentAndGetPartialObject() 157 mUsbDevice.getDeviceId(), objectHandle, 6, 100, bytes)); in testCreateDocumentAndGetPartialObject()
|
D | TestUtil.java | 56 waitForStorages(instrumentation, manager, device.getDeviceId()); in setupMtpDevice() 104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 79 if (candidate.getDeviceId() == deviceId) { in openDevice() 260 roots.add(new MtpRoot(device.getDeviceId(), info)); in getRoots() 267 final MtpDevice mtpDevice = mDevices.get(device.getDeviceId()); in createDeviceRecord() 275 roots = getRoots(device.getDeviceId()); in createDeviceRecord() 292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
|
D | ReceiverActivity.java | 44 provider.openDevice(device.getDeviceId()); in onCreate() 45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId()); in onCreate()
|
D | UsbIntentReceiver.java | 38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); in onReceive()
|
/frameworks/base/core/java/android/view/ |
D | InputEvent.java | 58 public abstract int getDeviceId(); in getDeviceId() method in InputEvent 66 return InputDevice.getDevice(getDeviceId()); in getDevice()
|
D | InputEventConsistencyVerifier.java | 206 final int deviceId = event.getDeviceId(); in onKeyEvent() 342 final int deviceId = event.getDeviceId(); in onTouchEvent() 593 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDevice.java | 134 public int getDeviceId() { in getDeviceId() method in UsbDevice 135 return getDeviceId(mName); in getDeviceId() 329 public static int getDeviceId(String name) { in getDeviceId() method in UsbDevice
|
/frameworks/base/core/jni/ |
D | android_view_KeyCharacterMap.cpp | 57 inline int32_t getDeviceId() const { in getDeviceId() function in android::NativeKeyCharacterMap 107 parcel->writeInt32(map->getDeviceId()); in nativeWriteToParcel() 183 if (map->getMap()->getEvents(map->getDeviceId(), in nativeGetEvents()
|
D | android_view_InputEventSender.cpp | 117 event->getDeviceId(), event->getSource(), event->getAction(), event->getFlags(), in sendKeyEvent() 138 event->getDeviceId(), event->getSource(), in sendMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintsUserState.java | 96 old.getDeviceId())); in renameFingerprint() 156 fp.getDeviceId())); in getCopy() 187 serializer.attribute(null, ATTR_DEVICE_ID, Long.toString(fp.getDeviceId())); in doWriteState()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | MtpNotificationManager.java | 92 device.getDeviceId(), in showNotification() 102 TAG, device.getDeviceId(), notification); in showNotification()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHal.java | 163 retrieveStreamConfigsLocked(info.getDeviceId()); in handleMessage() 167 configs = mStreamConfigs.get(info.getDeviceId()); in handleMessage()
|
D | TvInputHardwareManager.java | 158 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable() 294 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput() 834 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig); in setSurface() 847 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig); in setSurface() 854 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config); in setSurface() 1037 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config); in startCapture() 1051 int result = mHal.removeStream(mInfo.getDeviceId(), config); in stopCapture() 1198 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in onReceived()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 108 public int getDeviceId() { in getDeviceId() method in MtpDevice 109 return mDevice.getDeviceId(); in getDeviceId()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1916 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo() 1988 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState() 2030 getDeviceId(), patternStr.string(), repeat, token); in vibrate() 2045 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token); in cancelVibrate() 2079 getDeviceId(), duration); in nextStep() 2081 getEventHub()->vibrate(getDeviceId(), duration); in nextStep() 2084 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId()); in nextStep() 2086 getEventHub()->cancelVibrate(getDeviceId()); in nextStep() 2099 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId()); in stopVibrating() 2101 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating() [all …]
|
/frameworks/av/media/libmedia/ |
D | AudioSystem.cpp | 505 deviceId = oldDesc->getDeviceId(); in ioConfigChanged() 509 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) { in ioConfigChanged() 510 deviceId = ioDesc->getDeviceId(); in ioConfigChanged() 519 ioDesc->mFrameCount, ioDesc->getDeviceId()); in ioConfigChanged() 543 deviceId = oldDesc->getDeviceId(); in ioConfigChanged() 546 if (deviceId != ioDesc->getDeviceId()) { in ioConfigChanged() 547 deviceId = ioDesc->getDeviceId(); in ioConfigChanged() 557 … ioDesc->mChannelMask, ioDesc->mFrameCount, ioDesc->mFrameCountHAL, ioDesc->getDeviceId()); in ioConfigChanged() 1143 return desc->getDeviceId(); in getDeviceIdForIo()
|
/frameworks/av/include/media/ |
D | AudioIoDescriptor.h | 45 audio_port_handle_t getDeviceId() { in getDeviceId() function
|
/frameworks/base/media/java/android/media/tv/ |
D | DvbDeviceInfo.java | 78 public int getDeviceId() { in getDeviceId() method in DvbDeviceInfo
|
D | TvInputHardwareInfo.java | 76 public int getDeviceId() { in getDeviceId() method in TvInputHardwareInfo
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | Fingerprint.java | 70 public long getDeviceId() { return mDeviceId; } in getDeviceId() method in Fingerprint
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IPhoneSubInfo.aidl | 28 String getDeviceId(String callingPackage); in getDeviceId() method
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 62 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId()); in chordMenuKey()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 75 doReturn("353626073736741").when(mPhone).getDeviceId(); in testGetDeviceId() 76 doReturn("353626073736742").when(mSecondPhone).getDeviceId(); in testGetDeviceId() 85 doReturn("353626073736741").when(mPhone).getDeviceId(); in testGetDeviceIdWithOutPermission() 86 doReturn("353626073736742").when(mSecondPhone).getDeviceId(); in testGetDeviceIdWithOutPermission()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 103 EXPECT_EQ(deviceId, keyEvent->getDeviceId()); in PublishAndConsumeKeyEvent() 187 EXPECT_EQ(deviceId, motionEvent->getDeviceId()); in PublishAndConsumeMotionEvent()
|