Home
last modified time | relevance | path

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

12

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpRoot.java24 final int mDeviceId; field in MtpRoot
38 mDeviceId = deviceId; in MtpRoot()
47 mDeviceId = deviceId; in MtpRoot()
60 return mDeviceId == other.mDeviceId && in equals()
70 return mDeviceId ^ mStorageId ^ mDescription.hashCode() ^ in hashCode()
DIdentifier.java26 final int mDeviceId; field in Identifier
34 mDeviceId = deviceId; in Identifier()
46 return mDeviceId == other.mDeviceId && mStorageId == other.mStorageId && in equals()
52 return Objects.hash(mDeviceId, mStorageId, mObjectHandle, mDocumentId); in hashCode()
61 builder.append(mDeviceId); in toString()
DMtpFileWriter.java74 manager.getObjectInfo(identifier.mDeviceId, identifier.mObjectHandle); in flush()
77 manager.deleteDocument(identifier.mDeviceId, identifier.mObjectHandle); in flush()
87 identifier.mDeviceId, targetObjectInfo, mCacheFd); in flush()
90 identifier.mDeviceId, newObjectHandle); in flush()
95 identifier.mDeviceId, in flush()
DMtpDocumentsProvider.java245 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
281 openDevice(identifier.mDeviceId); in openDocument()
282 final MtpDeviceRecord device = getDeviceToolkit(identifier.mDeviceId).mDeviceRecord; in openDocument()
335 openDevice(identifier.mDeviceId); in openDocumentThumbnail()
350 openDevice(identifier.mDeviceId); in deleteDocument()
352 mMtpManager.deleteDocument(identifier.mDeviceId, identifier.mObjectHandle); in deleteDocument()
389 openDevice(parentId.mDeviceId); in createDocument()
390 record = getDeviceToolkit(parentId.mDeviceId).mDeviceRecord; in createDocument()
456 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument()
474 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument()
[all …]
DDocumentLoader.java72 assert parent.mDeviceId == mDevice.deviceId; in queryChildDocuments()
280 mIdentifier.mDeviceId, mIdentifier.mStorageId, parentHandle); in loadObjectHandles()
334 mIdentifier.mDeviceId, mObjectHandles[mPosition])); in loadObjectInfoList()
363 mIdentifier.mDeviceId, in loadObjectInfoList()
378 mIdentifier.mDeviceId, in loadObjectInfoList()
DPipeManager.java82 mIdentifier.mDeviceId, mIdentifier.mObjectHandle, mDescriptors[1]); in run()
106 mIdentifier.mDeviceId, mIdentifier.mObjectHandle)); in run()
/frameworks/base/media/java/android/media/tv/
DTvInputHardwareInfo.java97 private int mDeviceId; field in TvInputHardwareInfo
109 return mDeviceId; in getDeviceId()
147 b.append("TvInputHardwareInfo {id=").append(mDeviceId); in toString()
167 dest.writeInt(mDeviceId); in writeToParcel()
178 mDeviceId = source.readInt(); in readFromParcel()
189 private Integer mDeviceId = null; field in TvInputHardwareInfo.Builder
200 mDeviceId = deviceId; in deviceId()
233 if (mDeviceId == null || mType == null) { in build()
242 info.mDeviceId = mDeviceId; in build()
DDvbDeviceInfo.java51 private final int mDeviceId; field in DvbDeviceInfo
55 mDeviceId = source.readInt(); in DvbDeviceInfo()
63 mDeviceId = deviceId; in DvbDeviceInfo()
79 return mDeviceId; in getDeviceId()
91 dest.writeInt(mDeviceId); in writeToParcel()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprint.java29 private long mDeviceId; // physical device this is associated with field in Fingerprint
35 mDeviceId = deviceId; in Fingerprint()
42 mDeviceId = in.readLong(); in Fingerprint()
70 public long getDeviceId() { return mDeviceId; } in getDeviceId()
80 out.writeLong(mDeviceId); in writeToParcel()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp40 mDeviceId = other.mDeviceId; in copyFrom()
54 if (mDeviceId < 0) { in validate()
55 ALOGE("AAudioStreamParameters: deviceId out of range = %d", mDeviceId); in validate()
105 ALOGD("AAudioStreamParameters mDeviceId = %d", mDeviceId); in dump()
DAAudioStreamParameters.h33 return mDeviceId; in getDeviceId()
37 mDeviceId = deviceId; in setDeviceId()
108 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
DAudioStream.h178 return mDeviceId; in getDeviceId()
405 mDeviceId = deviceId; in setDeviceId()
430 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
DAudioStream.cpp79 mDeviceId = builder.getDeviceId(); in open()
99 mDeviceId, mPerformanceMode, in open()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java113 private final int mDeviceId; field in HdmiDeviceInfo
180 mDeviceId = -1; in HdmiDeviceInfo()
220 mDeviceId = -1; in HdmiDeviceInfo()
245 mDeviceId = adopterId; in HdmiDeviceInfo()
267 mDeviceId = -1; in HdmiDeviceInfo()
357 return mDeviceId; in getDeviceId()
451 dest.writeInt(mDeviceId); in writeToParcel()
476 s.append("device_id: ").append(String.format("0x%04X", mDeviceId)).append(" "); in toString()
510 && mDeviceId == other.mDeviceId in equals()
/frameworks/base/core/java/android/view/
DKeyEvent.java1239 private int mDeviceId; field in KeyEvent
1326 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1349 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1374 mDeviceId = KeyCharacterMap.VIRTUAL_KEYBOARD; in KeyEvent()
1402 mDeviceId = deviceId; in KeyEvent()
1432 mDeviceId = deviceId; in KeyEvent()
1464 mDeviceId = deviceId; in KeyEvent()
1489 mDeviceId = deviceId; in KeyEvent()
1504 mDeviceId = origEvent.mDeviceId; in KeyEvent()
1530 mDeviceId = origEvent.mDeviceId; in KeyEvent()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java61 private String mDeviceId; field in BandwidthTest
77 mDeviceId = mTManager.getDeviceId(); in setUp()
116 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFile()
129 results.putString("device_id", mDeviceId); in downloadFile()
167 mTestServer, FILE_SIZE, mDeviceId, ts); in uploadFile()
174 assertTrue(BandwidthTestUtil.postFileToServer(mTestServer, mDeviceId, ts, tmpSaveFile)); in uploadFile()
183 results.putString("device_id", mDeviceId); in uploadFile()
229 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFileUsingDownloadManager()
240 results.putString("device_id", mDeviceId); in downloadFileUsingDownloadManager()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h86 return mDeviceId; in getDeviceId()
90 mDeviceId = deviceId; in setDeviceId()
110 AAudioStreamBuilder_setDeviceId(builder, mDeviceId); in applyParameters()
121 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java536 private int mDeviceId; field in AccessibilityInputFilter.EventStreamState
539 mDeviceId = -1; in EventStreamState()
550 if (mDeviceId == deviceId) { in updateDeviceId()
555 mDeviceId = deviceId; in updateDeviceId()
563 return mDeviceId >= 0; in deviceIdValid()
570 mDeviceId = -1; in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java70 private int mDeviceId = -1; field in RecentsViewTouchHandler
164 if (mDeviceId != -1) { in onBusEvent()
165 InputDevice device = InputDevice.getDevice(mDeviceId); in onBusEvent()
214 mDeviceId = ev.getDeviceId(); in handleTouchEvent()
284 mDeviceId = -1; in handleTouchEvent()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp40 jfieldID mDeviceId; member
80 jint deviceId = env->GetIntField(eventObj, gKeyEventClassInfo.mDeviceId); in android_view_KeyEvent_toNative()
138 gKeyEventClassInfo.mDeviceId = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDeviceId", "I"); in register_android_view_KeyEvent()
Dandroid_view_KeyCharacterMap.cpp51 mDeviceId(deviceId), mMap(map) { in NativeKeyCharacterMap()
58 return mDeviceId; in getDeviceId()
66 int32_t mDeviceId; member in android::NativeKeyCharacterMap
/frameworks/native/libs/input/
DInput.cpp35 mDeviceId = deviceId; in initialize()
40 mDeviceId = from.mDeviceId; in initialize()
253 InputEvent::initialize(other->mDeviceId, other->mSource); in copyFrom()
432 mDeviceId = parcel->readInt32(); in readFromParcel()
481 parcel->writeInt32(mDeviceId); in writeToParcel()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java1217 private final int mDeviceId; field in InputManager.InputDeviceVibrator
1221 mDeviceId = deviceId; in InputDeviceVibrator()
1258 mIm.vibrate(mDeviceId, pattern, repeat, mToken); in vibrate()
1267 mIm.cancelVibrate(mDeviceId, mToken); in cancel()
/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/native/include/input/
DInput.h299 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId()
309 int32_t mDeviceId; variable

12