Home
last modified time | relevance | path

Searched refs:deviceKey (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDeviceRecord.java25 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()
DMtpDatabase.java750 values.put(COLUMN_MAPPING_KEY, device.deviceKey); in getDeviceDocumentValues()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java425 final String deviceKey = DeviceInfo.makeDeviceListKey(device, address); in handleDeviceConnection() local
427 Slog.i(TAG, "deviceKey:" + deviceKey); in handleDeviceConnection()
429 DeviceInfo di = mConnectedDevices.get(deviceKey); in handleDeviceConnection()
443 mConnectedDevices.put(deviceKey, new DeviceInfo( in handleDeviceConnection()
452 mConnectedDevices.remove(deviceKey); in handleDeviceConnection()
455 Log.w(TAG, "handleDeviceConnection() failed, deviceKey=" + deviceKey in handleDeviceConnection()
653 final String deviceKey = in makeA2dpDeviceUnavailableLater() local
655 final DeviceInfo deviceInfo = mConnectedDevices.get(deviceKey); in makeA2dpDeviceUnavailableLater()
659 mConnectedDevices.remove(deviceKey); in makeA2dpDeviceUnavailableLater()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java86 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()
DMtpManagerTest.java100 assertNotNull(records[0].deviceKey); in testDeviceKey()
101 getInstrumentation().show("deviceKey: " + records[0].deviceKey); in testDeviceKey()