Searched refs:deviceKey (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDeviceRecord.java | 25 public final @Nullable String deviceKey; field in MtpDeviceRecord 31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, in MtpDeviceRecord() argument 38 this.deviceKey = deviceKey; in MtpDeviceRecord()
|
D | MtpDatabase.java | 750 values.put(COLUMN_MAPPING_KEY, device.deviceKey); in getDeviceDocumentValues()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 427 final String deviceKey = DeviceInfo.makeDeviceListKey(device, address); in handleDeviceConnection() local 429 Slog.i(TAG, "deviceKey:" + deviceKey); in handleDeviceConnection() 431 DeviceInfo di = mConnectedDevices.get(deviceKey); in handleDeviceConnection() 445 mConnectedDevices.put(deviceKey, new DeviceInfo( in handleDeviceConnection() 454 mConnectedDevices.remove(deviceKey); in handleDeviceConnection() 457 Log.w(TAG, "handleDeviceConnection() failed, deviceKey=" + deviceKey in handleDeviceConnection() 657 final String deviceKey = in makeA2dpDeviceUnavailableLater() local 659 final DeviceInfo deviceInfo = mConnectedDevices.get(deviceKey); in makeA2dpDeviceUnavailableLater() 663 mConnectedDevices.remove(deviceKey); in makeA2dpDeviceUnavailableLater()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 86 device.deviceId, device.name, device.deviceKey, device.opened, in getDevices() 100 device.deviceId, device.name, device.deviceKey, true, device.roots, in openDevice() 114 new MtpDeviceRecord(device.deviceId, device.name, device.deviceKey, false, in closeDevice()
|
D | MtpManagerTest.java | 100 assertNotNull(records[0].deviceKey); in testDeviceKey() 101 getInstrumentation().show("deviceKey: " + records[0].deviceKey); in testDeviceKey()
|