Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpManagerTest.java53 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()
DTestUtil.java56 waitForStorages(instrumentation, manager, device.getDeviceId()); in setupMtpDevice()
104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpoint.cpp62 result << " Device Id: " << getDeviceId() << "\n"; in dump()
102 if (configuration.getDeviceId() != AAUDIO_UNSPECIFIED && in matches()
103 configuration.getDeviceId() != getDeviceId()) { in matches()
DAAudioEndpointManager.cpp106 endpoint.get(), configuration.getDeviceId()); in findExclusiveEndpoint_l()
122 endpoint.get(), configuration.getDeviceId()); in findSharedEndpoint_l()
166 endpoint.get(), configuration.getDeviceId()); in openExclusiveEndpoint()
213 endpoint.get(), configuration.getDeviceId(), (int)direction); in openSharedEndpoint()
250 serviceEndpoint.get(), serviceEndpoint->getDeviceId()); in closeExclusiveEndpoint()
272 serviceEndpoint.get(), serviceEndpoint->getDeviceId()); in closeSharedEndpoint()
DAAudioServiceEndpointMMAP.cpp94 mRequestedDeviceId = deviceId = getDeviceId(); in open()
339 deviceId, getDeviceId()); in onRoutingChanged()
340 if (getDeviceId() != AUDIO_PORT_HANDLE_NONE && getDeviceId() != deviceId) { in onRoutingChanged()
DAAudioServiceEndpointShared.cpp62 mRequestedDeviceId = configuration.getDeviceId(); in open()
80 setDeviceId(mStreamInternal->getDeviceId()); in open()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId()); in onCreate()
DMtpManager.java79 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()
DUsbIntentReceiver.java38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); in onReceive()
/frameworks/base/core/java/android/view/
DInputEvent.java58 public abstract int getDeviceId(); in getDeviceId() method in InputEvent
66 return InputDevice.getDevice(getDeviceId()); in getDevice()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java139 public int getDeviceId() { in getDeviceId() method in UsbDevice
140 return getDeviceId(mName); in getDeviceId()
334 public static int getDeviceId(String name) { in getDeviceId() method in UsbDevice
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp196 if (getDeviceId() != AAUDIO_UNSPECIFIED && getDeviceId() != deviceId && in onAudioDeviceUpdate()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp57 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()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintsUserState.java96 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/
DMtpNotificationManager.java95 device.getDeviceId(), in showNotification()
105 Integer.toString(device.getDeviceId()), SystemMessage.NOTE_USB_MTP_TAP, in showNotification()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h85 int32_t getDeviceId() const { in getDeviceId() function
250 getDeviceId(), AAudioStream_getDeviceId(stream)); in compareWithStream()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHal.java165 retrieveStreamConfigsLocked(info.getDeviceId()); in handleMessage()
169 configs = mStreamConfigs.get(info.getDeviceId()); in handleMessage()
DTvInputHardwareManager.java159 mConnections.put(info.getDeviceId(), connection); in onDeviceAvailable()
289 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in addHardwareInput()
848 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig); in setSurface()
861 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig); in setSurface()
868 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config); in setSurface()
1051 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config); in startCapture()
1065 int result = mHal.removeStream(mInfo.getDeviceId(), config); in stopCapture()
1212 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId()); in onReceived()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h47 audio_port_handle_t getDeviceId() { in getDeviceId() function
/frameworks/av/include/media/
DAudioIoDescriptor.h47 audio_port_handle_t getDeviceId() { in getDeviceId() function
/frameworks/native/services/inputflinger/
DInputReader.cpp2039 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo()
2111 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState()
2153 getDeviceId(), patternStr.string(), repeat, token); in vibrate()
2168 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token); in cancelVibrate()
2202 getDeviceId(), duration); in nextStep()
2204 getEventHub()->vibrate(getDeviceId(), duration); in nextStep()
2207 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId()); in nextStep()
2209 getEventHub()->cancelVibrate(getDeviceId()); in nextStep()
2222 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId()); in stopVibrating()
2224 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpDevice.java154 public int getDeviceId() { in getDeviceId() method in MtpDevice
155 return mDevice.getDeviceId(); in getDeviceId()
/frameworks/base/media/java/android/media/tv/
DDvbDeviceInfo.java78 public int getDeviceId() { in getDeviceId() method in DvbDeviceInfo
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp510 deviceId = oldDesc->getDeviceId(); in ioConfigChanged()
514 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) { in ioConfigChanged()
515 deviceId = ioDesc->getDeviceId(); in ioConfigChanged()
530 ioDesc->mFrameCount, ioDesc->getDeviceId()); in ioConfigChanged()
554 deviceId = oldDesc->getDeviceId(); in ioConfigChanged()
557 if (deviceId != ioDesc->getDeviceId()) { in ioConfigChanged()
558 deviceId = ioDesc->getDeviceId(); in ioConfigChanged()
569 ioDesc->getDeviceId()); in ioConfigChanged()
1187 return desc->getDeviceId(); in getDeviceIdForIo()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprint.java70 public long getDeviceId() { return mDeviceId; } in getDeviceId() method in Fingerprint

1234