/frameworks/base/services/java/com/android/server/usb/ |
D | UsbHostManager.java | 72 private boolean isBlackListed(String deviceName) { in isBlackListed() argument 75 if (deviceName.startsWith(mHostBlacklist[i])) { in isBlackListed() 97 private void usbDeviceAdded(String deviceName, int vendorID, int productID, in usbDeviceAdded() argument 106 if (isBlackListed(deviceName) || in usbDeviceAdded() 112 if (mDevices.get(deviceName) != null) { in usbDeviceAdded() 113 Slog.w(TAG, "device already on mDevices list: " + deviceName); in usbDeviceAdded() 153 UsbDevice device = new UsbDevice(deviceName, vendorID, productID, in usbDeviceAdded() 155 mDevices.put(deviceName, device); in usbDeviceAdded() 161 private void usbDeviceRemoved(String deviceName) { in usbDeviceRemoved() argument 163 UsbDevice device = mDevices.remove(deviceName); in usbDeviceRemoved() [all …]
|
D | UsbService.java | 134 public ParcelFileDescriptor openDevice(String deviceName) { in openDevice() argument 136 return mHostManager.openDevice(deviceName); in openDevice()
|
D | UsbSettingsManager.java | 1002 String deviceName = device.getDeviceName(); in grantDevicePermission() local 1003 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission() 1006 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission() 1071 for (String deviceName : mDevicePermissionMap.keySet()) { in dump() 1072 pw.print(" " + deviceName + ": "); in dump() 1073 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in dump()
|
/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/jni/ |
D | com_android_server_UsbHostManager.cpp | 111 jstring deviceName = env->NewStringUTF(devname); in usb_device_added() local 113 deviceName, vendorId, productId, deviceClass, in usb_device_added() 118 env->DeleteLocalRef(deviceName); in usb_device_added() 128 jstring deviceName = env->NewStringUTF(devname); in usb_device_removed() local 129 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); in usb_device_removed() 130 env->DeleteLocalRef(deviceName); in usb_device_removed() 146 …tic jobject android_server_UsbHostManager_openDevice(JNIEnv *env, jobject thiz, jstring deviceName) in android_server_UsbHostManager_openDevice() argument 148 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_server_UsbHostManager_openDevice() 150 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 | 97 d.deviceName = device.deviceName; in updateSupplicantDetails()
|
D | WifiP2pService.java | 890 if (d != null && setAndPersistDeviceName(d.deviceName)) { in processMessage() 891 if (DBG) logd("set device name " + d.deviceName); in processMessage() 2482 return d.deviceName; in getDeviceName() 2489 String deviceName = Settings.Global.getString(mContext.getContentResolver(), in getPersistedDeviceName() local 2491 if (deviceName == null) { in getPersistedDeviceName() 2498 return deviceName; in getPersistedDeviceName() 2509 mThisDevice.deviceName = devName; in setAndPersistDeviceName() 2510 mWifiNative.setP2pSsidPostfix("-" + mThisDevice.deviceName); in setAndPersistDeviceName() 2541 mThisDevice.deviceName = getPersistedDeviceName(); in initializeP2pSettings() 2542 mWifiNative.setDeviceName(mThisDevice.deviceName); in initializeP2pSettings() [all …]
|
D | WifiP2pManager.java | 1259 d.deviceName = devName; in setDeviceName()
|
/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/services/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 | 251 String deviceName = parser.getAttributeValue(null, "deviceName"); in loadRememberedWifiDisplaysFromXml() local 253 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml() 263 new WifiDisplay(deviceAddress, deviceName, deviceAlias, in loadRememberedWifiDisplaysFromXml()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 264 String deviceName = device.getDeviceName(); in openDevice() local 265 ParcelFileDescriptor pfd = mService.openDevice(deviceName); in openDevice() 268 boolean result = connection.open(deviceName, pfd); in openDevice()
|
D | IUsbManager.aidl | 34 ParcelFileDescriptor openDevice(String deviceName); in openDevice() argument
|
D | UsbDeviceConnection.java | 233 private native boolean native_open(String deviceName, FileDescriptor pfd); in native_open() argument
|
/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/media/java/android/mtp/ |
D | MtpDevice.java | 242 private native boolean native_open(String deviceName, int fd); in native_open() argument
|
/frameworks/av/media/mtp/ |
D | MtpDevice.h | 68 static MtpDevice* open(const char* deviceName, int fd);
|
D | MtpDevice.cpp | 53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { in open() argument 54 struct usb_device *device = usb_device_new(deviceName, fd); in open() 56 ALOGE("usb_device_new failed for %s", deviceName); in open()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 105 android_mtp_MtpDevice_open(JNIEnv *env, jobject thiz, jstring deviceName, jint fd) in android_mtp_MtpDevice_open() argument 107 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open() 113 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_mtp_MtpDevice_open()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd-wifi-direct.jd | 167 resourceType.deviceName = buddies 169 .get(resourceType.deviceAddress) : resourceType.deviceName;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3Device.cpp | 99 String8 deviceName = String8::format("%d", mId); in initialize() local 103 res = module->common.methods->open(&module->common, deviceName.string(), in initialize()
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | host.jd | 268 UsbDevice device = deviceList.get("deviceName");
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 481 SLchar *deviceName; member
|