Home
last modified time | relevance | path

Searched refs:mDeviceId (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibratorManager.java46 private final int mDeviceId; field in InputDeviceVibratorManager
53 mDeviceId = deviceId; in InputDeviceVibratorManager()
62 InputDevice inputDevice = InputDevice.getDevice(mDeviceId); in initializeVibrators()
64 mInputManager.getVibratorIds(mDeviceId); in initializeVibrators()
67 new InputDeviceVibrator(mInputManager, mDeviceId, vibratorIds[i])); in initializeVibrators()
79 if (deviceId == mDeviceId) { in onInputDeviceRemoved()
87 if (deviceId == mDeviceId) { in onInputDeviceChanged()
130 mInputManager.vibrate(mDeviceId, effect, mToken); in vibrate()
135 mInputManager.cancelVibrate(mDeviceId, mToken); in cancel()
DInputDeviceLightsManager.java42 private final int mDeviceId; field in InputDeviceLightsManager
49 mDeviceId = deviceId; in InputDeviceLightsManager()
60 return mInputManager.getLights(mDeviceId); in getLights()
71 return mInputManager.getLightState(mDeviceId, light); in getLightState()
80 mInputManager.openLightSession(mDeviceId, mPackageName, session.getToken()); in openSession()
116 mInputManager.requestLights(mDeviceId, request, getToken()); in requestLights()
125 mInputManager.closeLightSession(mDeviceId, getToken()); in close()
DInputDeviceBatteryState.java33 private final int mDeviceId; field in InputDeviceBatteryState
38 mDeviceId = deviceId; in InputDeviceBatteryState()
52 return mInputManager.getBatteryStatus(mDeviceId); in getStatus()
58 int capacity = mInputManager.getBatteryCapacity(mDeviceId); in getCapacity()
DInputDeviceVibrator.java45 private final int mDeviceId; field in InputDeviceVibrator
56 mDeviceId = deviceId; in InputDeviceVibrator()
96 return mInputManager.isVibrating(mDeviceId); in isVibrating()
135 if (!mInputManager.registerVibratorStateListener(mDeviceId, delegate)) { in addVibratorStateListener()
159 if (!mInputManager.unregisterVibratorStateListener(mDeviceId, delegate)) { in removeVibratorStateListener()
179 mInputManager.vibrate(mDeviceId, effect, mToken); in vibrate()
184 mInputManager.cancelVibrate(mDeviceId, mToken); in cancel()
/frameworks/base/media/java/android/media/tv/
DTvInputHardwareInfo.java99 private int mDeviceId; field in TvInputHardwareInfo
111 return mDeviceId; in getDeviceId()
150 b.append("TvInputHardwareInfo {id=").append(mDeviceId); in toString()
170 dest.writeInt(mDeviceId); in writeToParcel()
181 mDeviceId = source.readInt(); in readFromParcel()
194 .deviceId(mDeviceId) in toBuilder()
206 private Integer mDeviceId = null; field in TvInputHardwareInfo.Builder
217 mDeviceId = deviceId; in deviceId()
250 if (mDeviceId == null || mType == null) { in build()
259 info.mDeviceId = mDeviceId; in build()
DDvbDeviceInfo.java59 private final int mDeviceId; field in DvbDeviceInfo
63 mDeviceId = source.readInt(); in DvbDeviceInfo()
71 mDeviceId = deviceId; in DvbDeviceInfo()
89 return mDeviceId; in getDeviceId()
101 dest.writeInt(mDeviceId); in writeToParcel()
/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java212 private int mDeviceId; field in AudioPlaybackConfiguration
236 mDeviceId = PLAYER_DEVICEID_INVALID; in AudioPlaybackConfiguration()
282 anonymCopy.mDeviceId = in.mDeviceId; in anonymizedCopy()
325 if (mDeviceId == PLAYER_DEVICEID_INVALID) { in getAudioDeviceInfo()
328 return AudioManager.getDeviceForPortId(mDeviceId, AudioManager.GET_DEVICES_OUTPUTS); in getAudioDeviceInfo()
454 changed = changed || (mDeviceId != deviceId); in handleStateEvent()
455 mDeviceId = deviceId; in handleStateEvent()
528 return Objects.hash(mPlayerIId, mDeviceId, mPlayerType, mClientUid, mClientPid, in hashCode()
540 dest.writeInt(mDeviceId); in writeToParcel()
556 mDeviceId = in.readInt(); in AudioPlaybackConfiguration()
[all …]
DMicrophoneInfo.java154 private String mDeviceId; field in MicrophoneInfo
174 mDeviceId = deviceId; in MicrophoneInfo()
196 return mDeviceId; in getDescription()
DPlayerBase.java88 private int mDeviceId; field in PlayerBase
163 mDeviceId = deviceId; in baseUpdateDeviceId()
180 mDeviceId = deviceId; in updateState()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java130 private final int mDeviceId; field in HdmiDeviceInfo
204 mDeviceId = -1; in HdmiDeviceInfo()
228 this.mDeviceId = builder.mDeviceId; in HdmiDeviceInfo()
398 return mDeviceId; in getDeviceId()
493 dest.writeInt(mDeviceId); in writeToParcel()
520 s.append("device_id: ").append(String.format("0x%04X", mDeviceId)).append(" "); in toString()
560 && mDeviceId == other.mDeviceId in equals()
576 mDeviceId, in hashCode()
604 private int mDeviceId = -1; field in HdmiDeviceInfo.Builder
626 mDeviceId = hdmiDeviceInfo.mDeviceId; in Builder()
[all …]
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java88 private long mDeviceId; // physical device this is associated with field in BiometricAuthenticator.Identifier
95 mDeviceId = deviceId; in Identifier()
118 return mDeviceId; in getDeviceId()
126 mDeviceId = deviceId; in setDeviceId()
/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java56 private int mDeviceId; field in VerifiedInputEvent
65 mDeviceId = deviceId; in VerifiedInputEvent()
76 mDeviceId = in.readInt(); in VerifiedInputEvent()
88 return mDeviceId; in getDeviceId()
124 dest.writeInt(mDeviceId); in writeToParcel()
DKeyEvent.java1320 private int mDeviceId; field in KeyEvent
1427 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1451 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1477 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1506 mDeviceId = deviceId; in KeyEvent()
1537 mDeviceId = deviceId; in KeyEvent()
1570 mDeviceId = deviceId; in KeyEvent()
1597 mDeviceId = deviceId; in KeyEvent()
1614 mDeviceId = origEvent.mDeviceId; in KeyEvent()
1643 mDeviceId = origEvent.mDeviceId; in KeyEvent()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java62 private String mDeviceId; field in BandwidthTest
81 mDeviceId = mTManager.getDeviceId(); in setUp()
123 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFile()
136 results.putString("device_id", mDeviceId); in downloadFile()
174 mTestServer, FILE_SIZE, mDeviceId, ts); in uploadFile()
181 assertTrue(BandwidthTestUtil.postFileToServer(mTestServer, mDeviceId, ts, tmpSaveFile)); in uploadFile()
190 results.putString("device_id", mDeviceId); in uploadFile()
236 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFileUsingDownloadManager()
247 results.putString("device_id", mDeviceId); in downloadFileUsingDownloadManager()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp36 mDeviceId = other.mDeviceId; in copyFrom()
77 if (mDeviceId < 0) { in validate()
78 ALOGD("deviceId out of range = %d", mDeviceId); in validate()
294 ALOGD("mDeviceId = %6d", mDeviceId); in dump()
DAAudioStreamParameters.h33 return mDeviceId; in getDeviceId()
37 mDeviceId = deviceId; in setDeviceId()
196 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
DAudioStream.h235 return mDeviceId; in getDeviceId()
555 mDeviceId = deviceId; in setDeviceId()
681 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
/frameworks/av/include/media/
DMicrophoneInfo.h34 mDeviceId = std::string(&characteristic.device_id[0]); in MicrophoneInfo()
73 parcelable->deviceId = mDeviceId; in writeToParcelable()
101 mDeviceId = parcelable.deviceId; in readFromParcelable()
134 return mDeviceId; in getDeviceId()
194 std::string mDeviceId;
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp68 int32_t mDeviceId; member in EventHubTest
74 ASSERT_NO_FATAL_FAILURE(mDeviceId = waitForDeviceCreation()); in SetUp()
78 waitForDeviceClose(mDeviceId); in TearDown()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h205 return mDeviceId; in getDeviceId()
209 mDeviceId = deviceId; in setDeviceId()
242 AAudioStreamBuilder_setDeviceId(builder, mDeviceId); in applyParameters()
292 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp80 jfieldID mDeviceId; member
119 jint deviceId = env->GetIntField(eventObj, gKeyEventClassInfo.mDeviceId); in android_view_KeyEvent_toNative()
188 gKeyEventClassInfo.mDeviceId = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDeviceId", "I"); in register_android_view_KeyEvent()
Dandroid_view_KeyCharacterMap.cpp52 : mDeviceId(deviceId), mMap(std::move(map)) {} in NativeKeyCharacterMap()
58 return mDeviceId; in getDeviceId()
64 int32_t mDeviceId; member in android::NativeKeyCharacterMap
/frameworks/native/libs/input/
DInput.cpp240 mDeviceId = deviceId; in initialize()
248 mDeviceId = from.mDeviceId; in initialize()
489 InputEvent::initialize(other->mId, other->mDeviceId, other->mSource, other->mDisplayId, in copyFrom()
699 mDeviceId = parcel->readInt32(); in readFromParcel()
767 parcel->writeInt32(mDeviceId); in writeToParcel()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp107 int mDeviceId; member in android::BufferProducerThread
127 mDeviceId(deviceId), in BufferProducerThread()
164 mDevice->cancel_capture(mDevice, mDeviceId, mStream.stream_id, mSeq); in setSurfaceLocked()
243 mDevice->request_capture(mDevice, mDeviceId, mStream.stream_id, in threadLoop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java152 private String mDeviceId; field in MediaOutputBaseAdapter.MediaDeviceBaseViewHolder
181 mDeviceId = device.getId(); in onBind()
536 if (!TextUtils.equals(mDeviceId, device.getId())) { in setUpDeviceIcon()

12