/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 | 110 jstring deviceName = env->NewStringUTF(devname); in usb_device_added() local 112 deviceName, vendorId, productId, deviceClass, in usb_device_added() 117 env->DeleteLocalRef(deviceName); in usb_device_added() 127 jstring deviceName = env->NewStringUTF(devname); in usb_device_removed() local 128 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); in usb_device_removed() 129 env->DeleteLocalRef(deviceName); in usb_device_removed() 145 …tic jobject android_server_UsbHostManager_openDevice(JNIEnv *env, jobject thiz, jstring deviceName) in android_server_UsbHostManager_openDevice() argument 147 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_server_UsbHostManager_openDevice() 149 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_server_UsbHostManager_openDevice()
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplay.java | 42 String deviceName = in.readString(); 44 return new WifiDisplay(deviceAddress, deviceName, deviceAlias); 52 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias) { in WifiDisplay() argument 56 if (deviceName == null) { in WifiDisplay() 61 mDeviceName = deviceName; in WifiDisplay()
|
/frameworks/base/services/java/com/android/server/display/ |
D | WifiDisplayController.java | 476 + " from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 496 Slog.i(TAG, "Disconnecting from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 506 Slog.i(TAG, "Disconnected from Wifi display: " + oldDevice.deviceName); in updateConnection() 513 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 533 Slog.i(TAG, "Canceling connection to Wifi display: " + mConnectingDevice.deviceName); in updateConnection() 544 Slog.i(TAG, "Canceled connection to Wifi display: " + oldDevice.deviceName); in updateConnection() 551 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 573 Slog.i(TAG, "Connecting to Wifi display: " + mDesiredDevice.deviceName); in updateConnection() 601 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName); in updateConnection() 610 + newDevice.deviceName + ", reason=" + reason); in updateConnection() [all …]
|
D | PersistentDataStore.java | 250 String deviceName = parser.getAttributeValue(null, "deviceName"); in loadRememberedWifiDisplaysFromXml() local 252 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml() 262 new WifiDisplay(deviceAddress, deviceName, deviceAlias)); in loadRememberedWifiDisplaysFromXml()
|
/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 | 834 if (d != null && setAndPersistDeviceName(d.deviceName)) { in processMessage() 835 if (DBG) logd("set device name " + d.deviceName); in processMessage() 2325 return d.deviceName; in getDeviceName() 2332 String deviceName = Settings.Global.getString(mContext.getContentResolver(), in getPersistedDeviceName() local 2334 if (deviceName == null) { in getPersistedDeviceName() 2341 return deviceName; in getPersistedDeviceName() 2352 mThisDevice.deviceName = devName; in setAndPersistDeviceName() 2353 mWifiNative.setP2pSsidPostfix("-" + mThisDevice.deviceName); in setAndPersistDeviceName() 2384 mThisDevice.deviceName = getPersistedDeviceName(); in initializeP2pSettings() 2385 mWifiNative.setDeviceName(mThisDevice.deviceName); in initializeP2pSettings() [all …]
|
D | WifiP2pManager.java | 1214 d.deviceName = devName; in setDeviceName()
|
/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 | 104 android_mtp_MtpDevice_open(JNIEnv *env, jobject thiz, jstring deviceName, jint fd) in android_mtp_MtpDevice_open() argument 106 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open() 112 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_mtp_MtpDevice_open()
|
/frameworks/base/docs/html/training/connect-devices-wirelessly/ |
D | nsd-wifi-direct.jd | 170 resourceType.deviceName = buddies 172 .get(resourceType.deviceAddress) : resourceType.deviceName;
|
/frameworks/av/services/camera/libcameraservice/ |
D | Camera3Device.cpp | 94 String8 deviceName = String8::format("%d", mId); in initialize() local 98 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
|