/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 68 String deviceName = usbDevice.getDeviceName(); 71 MtpDevice mtpDevice = mDevices.get(deviceName); 84 mDevices.remove(deviceName); 228 public MtpDevice getDevice(String deviceName) { in getDevice() argument 230 return mDevices.get(deviceName); in getDevice() 273 public List<MtpStorageInfo> getStorageList(String deviceName) { in getStorageList() argument 274 MtpDevice device = getDevice(deviceName); in getStorageList() 305 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { in getObjectInfo() argument 306 MtpDevice device = getDevice(deviceName); in getObjectInfo() 320 public boolean deleteObject(String deviceName, int objectHandle) { in deleteObject() argument [all …]
|
D | DeviceDisconnectedReceiver.java | 35 public DeviceDisconnectedReceiver(Activity activity, String deviceName) { in DeviceDisconnectedReceiver() argument 37 mDeviceName = deviceName; in DeviceDisconnectedReceiver() 46 String deviceName = device.getDeviceName(); in onReceive() local 47 Log.d(TAG, "ACTION_USB_DEVICE_DETACHED " + deviceName); in onReceive() 50 if (deviceName.equals(mDeviceName)) { in onReceive()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 85 private boolean isBlackListed(String deviceName) { in isBlackListed() argument 88 if (deviceName.startsWith(mHostBlacklist[i])) { in isBlackListed() 114 private boolean beginUsbDeviceAdded(String deviceName, int vendorID, int productID, in beginUsbDeviceAdded() argument 119 Slog.d(TAG, "usb:UsbHostManager.beginUsbDeviceAdded(" + deviceName + ")"); in beginUsbDeviceAdded() 129 Slog.d(TAG, "usb: nm:" + deviceName + " vnd:" + vendorID + " prd:" + productID + " cls:" in beginUsbDeviceAdded() 137 if (isBlackListed(deviceName) || in beginUsbDeviceAdded() 143 if (mDevices.get(deviceName) != null) { in beginUsbDeviceAdded() 144 Slog.w(TAG, "device already on mDevices list: " + deviceName); in beginUsbDeviceAdded() 156 mNewDevice = new UsbDevice(deviceName, vendorID, productID, in beginUsbDeviceAdded() 240 private void usbDeviceRemoved(String deviceName) { in usbDeviceRemoved() argument [all …]
|
D | UsbSettingsManager.java | 1148 String deviceName = device.getDeviceName(); in grantDevicePermission() local 1149 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission() 1152 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission() 1217 for (String deviceName : mDevicePermissionMap.keySet()) { in dump() 1218 pw.print(" " + deviceName + ": "); in dump() 1219 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in dump()
|
D | UsbService.java | 192 public ParcelFileDescriptor openDevice(String deviceName) { in openDevice() argument 194 return mHostManager.openDevice(deviceName); in openDevice()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbHostManager.cpp | 77 jstring deviceName = env->NewStringUTF(devname); in usb_device_added() local 83 deviceName, usb_device_get_vendor_id(device), usb_device_get_product_id(device), in usb_device_added() 90 env->DeleteLocalRef(deviceName); in usb_device_added() 145 jstring deviceName = env->NewStringUTF(devname); in usb_device_removed() local 146 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); in usb_device_removed() 147 env->DeleteLocalRef(deviceName); in usb_device_removed() 164 jstring deviceName) in android_server_UsbHostManager_openDevice() argument 166 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_server_UsbHostManager_openDevice() 168 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_server_UsbHostManager_openDevice()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDevice.java | 39 public String deviceName = ""; field in WifiP2pDevice 206 deviceName = match.group(5); in WifiP2pDevice() 287 deviceName = device.deviceName; in updateSupplicantDetails() 310 sbuf.append("Device: ").append(deviceName); in toString() 330 deviceName = source.deviceName; in WifiP2pDevice() 344 dest.writeString(deviceName); in writeToParcel() 365 device.deviceName = in.readString();
|
D | WifiP2pDeviceList.java | 96 d.deviceName = device.deviceName; in updateSupplicantDetails()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayController.java | 534 +" feature is currently disabled: " + device.deviceName); in connect() 570 + " from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 589 Slog.i(TAG, "Disconnecting from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 600 Slog.i(TAG, "Disconnected from Wifi display: " + oldDevice.deviceName); in updateConnection() 607 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 627 Slog.i(TAG, "Canceling connection to Wifi display: " + mConnectingDevice.deviceName); in updateConnection() 638 Slog.i(TAG, "Canceled connection to Wifi display: " + oldDevice.deviceName); in updateConnection() 645 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 671 Slog.i(TAG, "Connecting to Wifi display: " + mDesiredDevice.deviceName); in updateConnection() 701 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName); in updateConnection() [all …]
|
D | PersistentDataStore.java | 252 String deviceName = parser.getAttributeValue(null, "deviceName"); in loadRememberedWifiDisplaysFromXml() local 254 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml() 264 new WifiDisplay(deviceAddress, deviceName, deviceAlias, in loadRememberedWifiDisplaysFromXml()
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplay.java | 45 String deviceName = in.readString(); 50 return new WifiDisplay(deviceAddress, deviceName, deviceAlias, 59 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, in WifiDisplay() argument 64 if (deviceName == null) { in WifiDisplay() 69 mDeviceName = deviceName; in WifiDisplay()
|
/frameworks/base/media/java/android/media/ |
D | AudioMixPort.java | 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
|
D | AudioDevicePort.java | 39 AudioDevicePort(AudioHandle handle, String deviceName, in AudioDevicePort() argument 45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
|
/frameworks/base/core/jni/ |
D | android_hardware_UsbDeviceConnection.cpp | 42 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, in android_hardware_UsbDeviceConnection_open() argument 51 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_hardware_UsbDeviceConnection_open() 60 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_hardware_UsbDeviceConnection_open()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 328 String deviceName = device.getDeviceName(); in openDevice() local 329 ParcelFileDescriptor pfd = mService.openDevice(deviceName); in openDevice() 332 boolean result = connection.open(deviceName, pfd); in openDevice()
|
D | IUsbManager.aidl | 36 ParcelFileDescriptor openDevice(String deviceName); in openDevice() argument
|
D | UsbDeviceConnection.java | 252 private native boolean native_open(String deviceName, FileDescriptor pfd); in native_open() argument
|
/frameworks/av/media/mtp/ |
D | MtpDevice.h | 80 static MtpDevice* open(const char* deviceName, int fd);
|
D | MtpDevice.cpp | 67 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { in open() argument 68 struct usb_device *device = usb_device_new(deviceName, fd); in open() 70 ALOGE("usb_device_new failed for %s", deviceName); in open()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanFilter.java | 448 public Builder setDeviceName(String deviceName) { in setDeviceName() argument 449 mDeviceName = deviceName; in setDeviceName()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1087 if (d != null && setAndPersistDeviceName(d.deviceName)) { in processMessage() 1088 if (DBG) logd("set device name " + d.deviceName); in processMessage() 2754 return d.deviceName; in getDeviceName() 2761 String deviceName = Settings.Global.getString(mContext.getContentResolver(), in getPersistedDeviceName() local 2763 if (deviceName == null) { in getPersistedDeviceName() 2770 return deviceName; in getPersistedDeviceName() 2781 mThisDevice.deviceName = devName; in setAndPersistDeviceName() 2782 mWifiNative.setP2pSsidPostfix("-" + mThisDevice.deviceName); in setAndPersistDeviceName() 2813 mThisDevice.deviceName = getPersistedDeviceName(); in initializeP2pSettings() 2814 mWifiNative.setDeviceName(mThisDevice.deviceName); in initializeP2pSettings() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 374 private native boolean native_open(String deviceName, int fd); in native_open() argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 414 public DeviceListSpec(int deviceType, String deviceName, String deviceAddress) { in DeviceListSpec() argument 416 mDeviceName = deviceName; in DeviceListSpec() 4196 final String deviceName = device == AudioSystem.DEVICE_OUT_DEFAULT ? "default" in dump() local 4198 if (!deviceName.isEmpty()) { in dump() 4200 pw.print(deviceName); in dump() 4953 String deviceName) { in handleDeviceConnection() argument 4956 + " address:" + address + " name:" + deviceName + ")"); in handleDeviceConnection() 4970 AudioSystem.DEVICE_STATE_AVAILABLE, address, deviceName); in handleDeviceConnection() 4976 mConnectedDevices.put(deviceKey, new DeviceListSpec(device, deviceName, address)); in handleDeviceConnection() 4980 AudioSystem.DEVICE_STATE_UNAVAILABLE, address, deviceName); in handleDeviceConnection() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 149 String deviceName = Settings.Global.getString( in updateVolumesLocked() local 154 title = !TextUtils.isEmpty(deviceName) in updateVolumesLocked() 155 ? deviceName in updateVolumesLocked()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 190 android_mtp_MtpDevice_open(JNIEnv *env, jobject thiz, jstring deviceName, jint fd) in android_mtp_MtpDevice_open() argument 192 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open() 198 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_mtp_MtpDevice_open()
|