Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/mtp/
DMtpDevice.java90 result = native_open(mDevice.getDeviceName(), connection.getFileDescriptor()); in open()
143 public @NonNull String getDeviceName() { in getDeviceName() method in MtpDevice
144 return mDevice.getDeviceName(); in getDeviceName()
160 return mDevice.getDeviceName(); in toString()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DCameraBrowser.java119 intent.putExtra("device", mDeviceList.get(position).getDeviceName()); in onListItemClick()
128 Log.d(TAG, "deviceAdded: " + device.getDeviceName()); in deviceAdded()
134 Log.d(TAG, "deviceRemoved: " + device.getDeviceName()); in deviceRemoved()
DMtpClient.java68 String deviceName = usbDevice.getDeviceName();
180 mDevices.put(usbDevice.getDeviceName(), mtpDevice); in openDeviceLocked()
243 return mDevices.get(UsbDevice.getDeviceName(id)); in getDevice()
257 if (mDevices.get(usbDevice.getDeviceName()) == null) { in getDeviceList()
DDeviceDisconnectedReceiver.java46 String deviceName = device.getDeviceName(); in onReceive()
/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.cpp277 inIndex, getDeviceName().c_str()); in syncTouch()
286 getDeviceName().c_str(), MAX_POINTERS); in syncTouch()
379 getDeviceName().c_str(), slotCount, MAX_SLOTS); in configureRawPointerAxes()
DJoystickInputMapper.cpp138 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure()
159 getDeviceName().c_str(), it->first); in configure()
225 getDeviceName().c_str(), it->first); in pruneAxes()
DInputMapper.h49 inline const std::string getDeviceName() const { return mDeviceContext.getName(); } in getDeviceName() function
DKeyboardInputMapper.cpp323 getDeviceName().c_str(), keyCode, scanCode); in processKey()
DTouchInputMapper.cpp605 getDeviceName().c_str()); in findViewport()
624 getDeviceName().c_str()); in clampResolution()
921 getDeviceName().c_str()); in configureInputDevice()
927 getDeviceName().c_str()); in configureInputDevice()
931 getDeviceName().c_str(), getDeviceId()); in configureInputDevice()
1064 getDeviceId(), getDeviceName().c_str(), mDisplayWidth, mDisplayHeight, in configureInputDevice()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java122 + MediaMetrics.SEPARATOR + AudioSystem.getDeviceName(value.mDeviceType))
210 + " (" + AudioSystem.getDeviceName(mDeviceType) in toString()
261 + " (" + AudioSystem.getDeviceName(keyType) in dump()
320 AudioSystem.getDeviceName(btInfo.mAudioSystemDevice)) in onSetBtActiveDevice()
536 AudioSystem.getDeviceName(type)) in onSetWiredDeviceConnectionState()
574 AudioSystem.getDeviceName(AudioSystem.DEVICE_OUT_HDMI)); in onToggleHdmi()
738 .set(MediaMetrics.Property.DEVICE, AudioSystem.getDeviceName(device)) in handleDeviceConnection()
1148 AudioSystem.getDeviceName(AudioSystem.DEVICE_OUT_HEARING_AID)) in makeHearingAidDeviceAvailable()
1168 AudioSystem.getDeviceName(AudioSystem.DEVICE_OUT_HEARING_AID)) in makeHearingAidDeviceUnavailable()
1311 .set(MediaMetrics.Property.DEVICE, AudioSystem.getDeviceName(device)) in checkSendBecomingNoisyIntentInt()
/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAndroidKeystoreAttestationVerificationAttributesTest.java262 assertThat(mPhysicalDeviceAttributes.getDeviceName()).isNull(); in parseCertificate_valuesNotSet()
266 assertThat(mPhysicalDeviceAttributes2.getDeviceName()).isNull(); in parseCertificate_valuesNotSet()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java260 display = new WifiDisplay(address, display.getDeviceName(), alias, in requestRenameLocked()
316 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
322 displays.add(new WifiDisplay(d.getDeviceAddress(), d.getDeviceName(), in updateDisplaysLocked()
DPersistentDataStore.java211 return new WifiDisplay(display.getDeviceAddress(), display.getDeviceName(), in applyWifiDisplayAlias()
595 serializer.attribute(null, ATTR_DEVICE_NAME, display.getDeviceName()); in saveToXml()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java249 state.secondaryLabel = getDeviceName(device); in handleUpdateState()
285 private String getDeviceName(CastDevice device) { in getDeviceName() method in CastTile
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java116 public @NonNull String getDeviceName() { in getDeviceName() method in UsbDevice
409 public static String getDeviceName(int id) { in getDeviceName() method in UsbDevice
DUsbManager.java739 String deviceName = device.getDeviceName(); in openDevice()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java90 public String getDeviceName() { in getDeviceName() method in WifiDisplay
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java152 mDevicePermissionMap.remove(device.getDeviceName()); in removeDevicePermissions()
164 String deviceName = device.getDeviceName(); in grantDevicePermission()
234 SparseBooleanArray uidList = mDevicePermissionMap.get(device.getDeviceName()); in hasPermission()
678 + " permission to access device " + device.getDeviceName()); in checkPermission()
DUsbAlsaDevice.java277 synchronized String getDeviceName() { in getDeviceName() method in UsbAlsaDevice
/frameworks/av/media/mtp/
DMtpDevice.h94 const char* getDeviceName();
DMtpDevice.cpp322 const char* MtpDevice::getDeviceName() { in getDeviceName() function in android::MtpDevice
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDialogHelper.java270 desc = mDevice.getDeviceName(); in getDeviceDescription()
/frameworks/base/services/core/java/com/android/server/security/
DAndroidKeystoreAttestationVerificationAttributes.java196 String getDeviceName() { in getDeviceName() method in AndroidKeystoreAttestationVerificationAttributes
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java69 dump.write("name", UsbDeviceProto.NAME, device.getDeviceName()); in writeDevice()
/frameworks/base/media/java/android/media/
DAudioSystem.java1496 public static @NonNull String getDeviceName(int device) { in getDeviceName() method in AudioSystem
1755 sb.append(AudioSystem.getDeviceName(device)); in deviceSetToString()

12