Searched refs:getDeviceId (Results 26 - 50 of 86) sorted by relevance

1234

/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamConfiguration.cpp39 status = parcel->writeInt32(getDeviceId());
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp104 if (getDeviceId() != AAUDIO_UNSPECIFIED) {
105 mAudioRecord->setInputDevice(getDeviceId());
H A DAudioStreamTrack.cpp119 if (getDeviceId() != AAUDIO_UNSPECIFIED) {
120 mAudioTrack->setOutputDevice(getDeviceId());
/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java149 * This returns the same value as {@link android.hardware.usb.UsbDevice#getDeviceId}
154 public int getDeviceId() { method in class:MtpDevice
155 return mDevice.getDeviceId();
/frameworks/native/services/inputflinger/
H A DInputReader.cpp2039 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo);
2111 return getEventHub()->getSwitchState(getDeviceId(), switchCode);
2153 getDeviceId(), patternStr.string(), repeat, token);
2168 ALOGD("cancelVibrate: deviceId=%d, token=%d", getDeviceId(), token);
2202 getDeviceId(), duration);
2204 getEventHub()->vibrate(getDeviceId(), duration);
2207 ALOGD("nextStep: sending cancel vibrate deviceId=%d", getDeviceId());
2209 getEventHub()->cancelVibrate(getDeviceId());
2222 ALOGD("stopVibrating: sending cancel vibrate deviceId=%d", getDeviceId());
2224 getEventHub()->cancelVibrate(getDeviceId());
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp510 deviceId = oldDesc->getDeviceId();
514 if (ioDesc->getDeviceId() != AUDIO_PORT_HANDLE_NONE) {
515 deviceId = ioDesc->getDeviceId();
530 ioDesc->mFrameCount, ioDesc->getDeviceId());
554 deviceId = oldDesc->getDeviceId();
557 if (deviceId != ioDesc->getDeviceId()) {
558 deviceId = ioDesc->getDeviceId();
569 ioDesc->getDeviceId());
1187 return desc->getDeviceId();
/frameworks/av/media/libaaudio/src/core/
H A DAudioStream.cpp79 mDeviceId = builder.getDeviceId();
H A DAudioStream.h177 int32_t getDeviceId() const { function in class:aaudio::AudioStream
/frameworks/base/keystore/java/android/security/keystore/
H A DAttestationUtils.java145 final String meid = telephonyService.getDeviceId();
/frameworks/base/media/java/android/media/tv/
H A DTvInputHardwareInfo.java108 public int getDeviceId() { method in class:TvInputHardwareInfo
/frameworks/base/core/jni/
H A Dandroid_view_InputEventSender.cpp119 event->getDeviceId(), event->getSource(), event->getAction(), event->getFlags(),
140 event->getDeviceId(), event->getSource(),
H A Dandroid_view_KeyEvent.cpp64 event->getDeviceId(),
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java159 mConnections.put(info.getDeviceId(), connection);
289 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId());
848 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig);
861 result = mHal.removeStream(mInfo.getDeviceId(), mActiveConfig);
868 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
1051 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
1065 int result = mHal.removeStream(mInfo.getDeviceId(), config);
1212 String inputId = mHardwareInputIdMap.get(hardwareInfo.getDeviceId());
/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp104 EXPECT_EQ(deviceId, keyEvent->getDeviceId());
190 EXPECT_EQ(deviceId, motionEvent->getDeviceId());
H A DInputEvent_test.cpp186 ASSERT_EQ(2, event.getDeviceId());
302 ASSERT_EQ(2, event->getDeviceId());
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java206 final int deviceId = event.getDeviceId();
342 final int deviceId = event.getDeviceId();
593 final int deviceId = keyEvent.getDeviceId();
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DOMADMAdapter.java136 strDevId = tm.getDeviceId().toUpperCase(Locale.US);
146 strDevId = tm.getDeviceId();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java209 if (state.updateDeviceId(event.getDeviceId())) {
704 int deviceId = event.getDeviceId();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfoController.java61 public String getDeviceId(String callingPackage) { method in class:PhoneSubInfoController
67 if (!checkReadPhoneState(callingPackage, "getDeviceId")) {
75 return phone.getDeviceId();
103 loge("getDeviceId phone is null for Subscription:" + subId);
H A DPhoneInternalInterface.java759 String getDeviceId(); method in interface:PhoneInternalInterface
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamShared.cpp184 getSampleRate(), getSamplesPerFrame(), mServiceEndpoint->getDeviceId());
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiDeviceInfo.java356 public int getDeviceId() { method in class:HdmiDeviceInfo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneSubInfoControllerTest.java75 doReturn("353626073736741").when(mPhone).getDeviceId();
76 doReturn("353626073736742").when(mSecondPhone).getDeviceId();
85 doReturn("353626073736741").when(mPhone).getDeviceId();
86 doReturn("353626073736742").when(mSecondPhone).getDeviceId();
95 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage());
103 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage());
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp109 request.getConfiguration().setDeviceId(getDeviceId());
131 setDeviceId(configurationOutput.getDeviceId());
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java77 mDeviceId = mTManager.getDeviceId();

Completed in 703 milliseconds

1234