Searched refs:getDeviceId (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java53 mManager.closeDevice(mUsbDevice.getDeviceId());
69 mManager.readEvent(mUsbDevice.getDeviceId(), signal);
108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal);
120 if (record.deviceId == mUsbDevice.getDeviceId()) {
129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) {
130 if (mManager.getObjectInfo(mUsbDevice.getDeviceId(), handle)
132 mManager.deleteDocument(mUsbDevice.getDeviceId(), handle);
144 mUsbDevice.getDeviceId(),
154 mUsbDevice.getDeviceId(), objectHandle, 0, 5, bytes));
157 mUsbDevice.getDeviceId(), objectHandl
[all...]
H A DTestUtil.java56 waitForStorages(instrumentation, manager, device.getDeviceId());
104 manager.openDevice(device.getDeviceId());
/frameworks/base/core/java/android/view/
H A DInputEvent.java58 public abstract int getDeviceId(); method in class:InputEvent
66 return InputDevice.getDevice(getDeviceId());
H A DInputEventConsistencyVerifier.java206 final int deviceId = event.getDeviceId();
342 final int deviceId = event.getDeviceId();
593 final int deviceId = keyEvent.getDeviceId();
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DReceiverActivity.java44 provider.openDevice(device.getDeviceId());
45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId());
H A DUsbIntentReceiver.java38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId());
H A DMtpManager.java79 if (candidate.getDeviceId() == deviceId) {
260 roots.add(new MtpRoot(device.getDeviceId(), info));
267 final MtpDevice mtpDevice = mDevices.get(device.getDeviceId());
275 roots = getRoots(device.getDeviceId());
292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots,
/frameworks/av/include/media/
H A DAudioIoDescriptor.h45 audio_port_handle_t getDeviceId() { function in class:android::AudioIoDescriptor
/frameworks/base/media/java/android/media/tv/
H A DDvbDeviceInfo.java78 public int getDeviceId() { method in class:DvbDeviceInfo
H A DTvInputHardwareInfo.java76 public int getDeviceId() { method in class:TvInputHardwareInfo
/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprint.java70 public long getDeviceId() { return mDeviceId; } method in class:Fingerprint
/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java115 * This returns the same value as {@link android.hardware.usb.UsbDevice#getDeviceId}
120 public int getDeviceId() { method in class:MtpDevice
121 return mDevice.getDeviceId();
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java163 retrieveStreamConfigsLocked(info.getDeviceId());
167 configs = mStreamConfigs.get(info.getDeviceId());
H A DTvInputHardwareManager.java158 mConnections.put(info.getDeviceId(), connection);
294 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId());
834 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig);
847 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig);
854 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
1037 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
1051 int result = mHal.removeStream(mInfo.getDeviceId(), config);
1198 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId());
/frameworks/base/services/usb/java/com/android/server/usb/
H A DMtpNotificationManager.java92 device.getDeviceId(),
102 TAG, device.getDeviceId(), notification);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneSubInfo.aidl28 String getDeviceId(String callingPackage);
/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyUtils.java62 final KeyCharacterMap keyCharMap = KeyCharacterMap.load(pushMenuKey.getDeviceId());
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java134 public int getDeviceId() { method in class:UsbDevice
135 return getDeviceId(mName);
329 public static int getDeviceId(String name) { method in class:UsbDevice
/frameworks/base/core/jni/
H A Dandroid_view_KeyCharacterMap.cpp57 inline int32_t getDeviceId() const { function in class:android::NativeKeyCharacterMap
107 parcel->writeInt32(map->getDeviceId());
183 if (map->getMap()->getEvents(map->getDeviceId(),
H A Dandroid_view_InputEventSender.cpp117 event->getDeviceId(), event->getSource(), event->getAction(), event->getFlags(),
138 event->getDeviceId(), event->getSource(),
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintsUserState.java96 old.getDeviceId()));
156 fp.getDeviceId()));
187 serializer.attribute(null, ATTR_DEVICE_ID, Long.toString(fp.getDeviceId()));
/frameworks/native/services/inputflinger/
H A DInputReader.cpp1924 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo);
1996 return getEventHub()->getSwitchState(getDeviceId(), switchCode);
2038 getDeviceId(), patternStr.string(), repeat, token);
2053 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token);
2087 getDeviceId(), duration);
2089 getEventHub()->vibrate(getDeviceId(), duration);
2092 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId());
2094 getEventHub()->cancelVibrate(getDeviceId());
2107 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId());
2109 getEventHub()->cancelVibrate(getDeviceId());
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp505 deviceId = oldDesc->getDeviceId();
509 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) {
510 deviceId = ioDesc->getDeviceId();
519 ioDesc->mFrameCount, ioDesc->getDeviceId());
543 deviceId = oldDesc->getDeviceId();
546 if (deviceId != ioDesc->getDeviceId()) {
547 deviceId = ioDesc->getDeviceId();
557 ioDesc->mChannelMask, ioDesc->mFrameCount, ioDesc->mFrameCountHAL, ioDesc->getDeviceId());
1143 return desc->getDeviceId();
/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp103 EXPECT_EQ(deviceId, keyEvent->getDeviceId());
187 EXPECT_EQ(deviceId, motionEvent->getDeviceId());
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DOMADMAdapter.java136 strDevId = tm.getDeviceId().toUpperCase(Locale.US);
146 strDevId = tm.getDeviceId();

Completed in 1102 milliseconds

123