Home
last modified time | relevance | path

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

12345

/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp52 ALOGD("vibrate: deviceId=%d, pattern=[%s], repeat=%zd, token=%d", getDeviceId(), in vibrate()
68 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token); in cancelVibrate()
101 ALOGD("nextStep: sending vibrate deviceId=%d, duration=%" PRId64, getDeviceId(), duration); in nextStep()
103 getEventHub()->vibrate(getDeviceId(), duration); in nextStep()
106 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId()); in nextStep()
108 getEventHub()->cancelVibrate(getDeviceId()); in nextStep()
121 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId()); in stopVibrating()
123 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating()
DKeyboardInputMapper.cpp117 info->setKeyCharacterMap(getEventHub()->getKeyCharacterMap(getDeviceId())); in populateDeviceInfo()
257 if (getEventHub()->mapKey(getDeviceId(), scanCode, usageCode, mMetaState, &keyCode, in processKey()
331 NotifyKeyArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, getDisplayId(), in processKey()
348 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState()
352 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
357 return getEventHub()->markSupportedKeyCodes(getDeviceId(), numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
391 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()
406 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()
DCursorInputMapper.cpp135 mPointerController = getPolicy()->obtainPointerController(getDeviceId()); in configure()
377 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource, in sync()
398 NotifyMotionArgs releaseArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync()
410 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync()
423 NotifyMotionArgs pressArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync()
439 NotifyMotionArgs hoverArgs(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync()
454 NotifyMotionArgs scrollArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync()
467 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, getDeviceId(), mSource, in sync()
476 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
/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.cpp55 result << " Device Id: " << getDeviceId() << "\n"; in dump()
122 if (configuration.getDeviceId() != AAUDIO_UNSPECIFIED && in matches()
123 configuration.getDeviceId() != getDeviceId()) { in matches()
DAAudioEndpointManager.cpp120 endpoint.get(), configuration.getDeviceId(), configuration.getSessionId()); in findExclusiveEndpoint_l()
138 endpoint.get(), configuration.getDeviceId(), configuration.getSessionId()); in findSharedEndpoint_l()
170 endpointMMap.get(), configuration.getDeviceId()); in openExclusiveEndpoint()
227 __func__, endpoint.get(), configuration.getDeviceId(), (int)direction); in openSharedEndpoint()
265 __func__, serviceEndpoint.get(), serviceEndpoint->getDeviceId()); in closeExclusiveEndpoint()
288 __func__, serviceEndpoint.get(), serviceEndpoint->getDeviceId()); in closeSharedEndpoint()
DAAudioServiceEndpointMMAP.cpp108 mRequestedDeviceId = deviceId = getDeviceId(); in open()
183 ALOGD("%s() deviceId = %d, sessionId = %d", __func__, getDeviceId(), getSessionId()); in open()
361 ALOGD("%s() called with dev %d, old = %d", __func__, deviceId, getDeviceId()); in onRoutingChanged()
362 if (getDeviceId() != AUDIO_PORT_HANDLE_NONE && getDeviceId() != deviceId) { in onRoutingChanged()
DAAudioServiceEndpointShared.cpp64 mRequestedDeviceId = configuration.getDeviceId(); in open()
79 setDeviceId(mStreamInternal->getDeviceId()); in open()
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java55 assertEquals(DEVICE_ID, keyEvent.getDeviceId()); in testObtain()
74 assertEquals(keyEvent.getDeviceId(), keyEvent2.getDeviceId()); in testObtainFromKeyEvent()
93 assertEquals(DEVICE_ID, keyEvent.getDeviceId()); in testObtainWithDisplayId()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java65 assertEquals(imei, mSystemInfo.getDeviceId()); in getDeviceIdWithImei()
76 assertEquals(meid, mSystemInfo.getDeviceId()); in getDeviceIdWithMeid()
87 assertEquals(SystemInfo.UNKNOWN_INFO, mSystemInfo.getDeviceId()); in getDeviceIdWithoutSim()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
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()
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId()); in onCreate()
DUsbIntentReceiver.java38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); in onReceive()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp211 ALOGD("%s() devId %d => %d", __func__, (int) getDeviceId(), (int)deviceId); in onAudioDeviceUpdate()
212 if (getDeviceId() != AAUDIO_UNSPECIFIED && getDeviceId() != deviceId && in onAudioDeviceUpdate()
/frameworks/base/core/java/android/view/
DInputEvent.java59 public abstract int getDeviceId(); in getDeviceId() method in InputEvent
67 return InputDevice.getDevice(getDeviceId()); in getDevice()
/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/core/java/android/hardware/usb/
DUsbDevice.java158 public int getDeviceId() { in getDeviceId() method in UsbDevice
159 return getDeviceId(mName); in getDeviceId()
348 public static int getDeviceId(String name) { in getDeviceId() method in UsbDevice
/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/base/services/core/java/com/android/server/biometrics/face/
DFaceUserState.java88 result.add(new Face(f.getName(), f.getBiometricId(), f.getDeviceId())); in getCopy()
119 serializer.attribute(null, ATTR_DEVICE_ID, Long.toString(f.getDeviceId())); in doWriteState()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHal.java165 retrieveStreamConfigsLocked(info.getDeviceId()); in handleMessage()
169 configs = mStreamConfigs.get(info.getDeviceId()); in handleMessage()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintUserState.java89 fp.getDeviceId())); in getCopy()
121 serializer.attribute(null, ATTR_DEVICE_ID, Long.toString(fp.getDeviceId())); in doWriteState()
/frameworks/base/core/java/android/hardware/face/
DFace.java54 out.writeLong(getDeviceId()); in writeToParcel()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java154 public int getDeviceId() { in getDeviceId() method in MtpDevice
155 return mDevice.getDeviceId(); in getDeviceId()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h48 audio_port_handle_t getDeviceId() { in getDeviceId() function

12345