Home
last modified time | relevance | path

Searched refs:deviceName (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java68 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 …]
DDeviceDisconnectedReceiver.java35 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/wifi/java/android/net/wifi/p2p/
DWifiP2pDevice.java41 public String deviceName = ""; field in WifiP2pDevice
222 deviceName = match.group(5); in WifiP2pDevice()
304 deviceName = device.deviceName; in updateSupplicantDetails()
333 sbuf.append("Device: ").append(deviceName); in toString()
354 deviceName = source.deviceName; in WifiP2pDevice()
371 dest.writeString(deviceName); in writeToParcel()
393 device.deviceName = in.readString();
DWifiP2pDeviceList.java97 d.deviceName = device.deviceName; in updateSupplicantDetails()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java533 +" feature is currently disabled: " + device.deviceName); in connect()
569 + " from Wifi display: " + mConnectedDevice.deviceName); in updateConnection()
588 Slog.i(TAG, "Disconnecting from Wifi display: " + mConnectedDevice.deviceName); in updateConnection()
599 Slog.i(TAG, "Disconnected from Wifi display: " + oldDevice.deviceName); in updateConnection()
606 + oldDevice.deviceName + ", reason=" + reason); in updateConnection()
626 Slog.i(TAG, "Canceling connection to Wifi display: " + mConnectingDevice.deviceName); in updateConnection()
637 Slog.i(TAG, "Canceled connection to Wifi display: " + oldDevice.deviceName); in updateConnection()
644 + oldDevice.deviceName + ", reason=" + reason); in updateConnection()
670 Slog.i(TAG, "Connecting to Wifi display: " + mDesiredDevice.deviceName); in updateConnection()
700 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName); in updateConnection()
[all …]
DPersistentDataStore.java385 String deviceName = parser.getAttributeValue(null, ATTR_DEVICE_NAME); in loadRememberedWifiDisplaysFromXml() local
387 if (deviceAddress == null || deviceName == null) { in loadRememberedWifiDisplaysFromXml()
397 new WifiDisplay(deviceAddress, deviceName, deviceAlias, in loadRememberedWifiDisplaysFromXml()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java46 String deviceName = in.readString();
51 return new WifiDisplay(deviceAddress, deviceName, deviceAlias,
60 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, in WifiDisplay() argument
65 if (deviceName == null) { in WifiDisplay()
70 mDeviceName = deviceName; in WifiDisplay()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java100 String deviceName = device.getDeviceName(); in grantDevicePermission() local
101 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission()
104 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission()
213 for (String deviceName : mDevicePermissionMap.keySet()) { in dump()
217 dump.write("device_name", UsbSettingsDevicePermissionProto.DEVICE_NAME, deviceName); in dump()
219 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in dump()
DUsbAlsaDevice.java269 synchronized void setDeviceNameAndDescription(String deviceName, String deviceDescription) { in setDeviceNameAndDescription() argument
270 mDeviceName = deviceName; in setDeviceNameAndDescription()
DUsbService.java246 public ParcelFileDescriptor openDevice(String deviceName, String packageName) { in openDevice() argument
250 if (deviceName != null) { in openDevice()
259 fd = mHostManager.openDevice(deviceName, getSettingsForUser(user), in openDevice()
262 Slog.w(TAG, "Cannot open " + deviceName + " for user " + user in openDevice()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pDeviceTest.java39 assertEquals(devA.deviceName, devB.deviceName); in compareWifiP2pDevices()
87 device.deviceName = "deviceName"; in testCopyConstructorWithUpdatedValues()
106 device.deviceName = "deviceName"; in testCopyConstructorWithNullWfdInfo()
/frameworks/native/vulkan/vkjson/
Dvkjson_info.cc113 if (device.properties.deviceName == options.device_name) { in Dump()
128 output_file.assign("/sdcard/Android/" + std::string(out_device->properties.deviceName)); in Dump()
130 output_file.assign(out_device->properties.deviceName); in Dump()
156 std::cout << " for device " << out_device->properties.deviceName; in Dump()
Dvkjson_unittest.cc53 memcpy(device.properties.deviceName, name, sizeof(name)); in main()
/frameworks/base/media/java/android/media/
DAudioMixPort.java36 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument
39 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioDevicePort.java40 AudioDevicePort(AudioHandle handle, String deviceName, in AudioDevicePort() argument
46 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java95 DeviceInfo(int deviceType, String deviceName, String deviceAddress, int deviceCodecFormat) { in DeviceInfo() argument
97 mDeviceName = deviceName; in DeviceInfo()
420 String deviceName) { in handleDeviceConnection() argument
424 + " name:" + deviceName + ")"); in handleDeviceConnection()
438 AudioSystem.DEVICE_STATE_AVAILABLE, address, deviceName, in handleDeviceConnection()
446 device, deviceName, address, AudioSystem.AUDIO_FORMAT_DEFAULT)); in handleDeviceConnection()
451 AudioSystem.DEVICE_STATE_UNAVAILABLE, address, deviceName, in handleDeviceConnection()
814 String deviceName) { in sendDeviceConnectionIntent() argument
818 + " name:" + deviceName + ");"); in sendDeviceConnectionIntent()
860 intent.putExtra(CONNECT_INTENT_KEY_PORT_NAME, deviceName); in sendDeviceConnectionIntent()
DBtHelper.java164 final String deviceName = device.getName(); in getName() local
165 if (deviceName == null) { in getName()
168 return deviceName; in getName()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java100 String deviceName, short configMethods, byte deviceCapabilities, int groupCapabilities, in onDeviceFound() argument
103 device.deviceName = deviceName; in onDeviceFound()
104 if (deviceName == null) { in onDeviceFound()
/frameworks/ml/nn/runtime/
DTypeManager.cpp192 bool TypeManager::registerExtension(Extension extension, const std::string& deviceName) { in registerExtension() argument
209 mExtensionNameToFirstDevice.emplace(extension.name, deviceName); in registerExtension()
212 << deviceName << " provide inconsistent information for extension " in registerExtension()
DTypeManager.h138 bool registerExtension(hal::Extension extension, const std::string& deviceName);
/frameworks/base/core/jni/
Dandroid_hardware_UsbDeviceConnection.cpp47 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, in android_hardware_UsbDeviceConnection_open() argument
56 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_hardware_UsbDeviceConnection_open()
65 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_hardware_UsbDeviceConnection_open()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java471 String deviceName = device.getDeviceName(); in openDevice() local
472 ParcelFileDescriptor pfd = mService.openDevice(deviceName, mContext.getPackageName()); in openDevice()
475 boolean result = connection.open(deviceName, pfd, mContext); in openDevice()
DIUsbManager.aidl37 ParcelFileDescriptor openDevice(String deviceName, String packageName); in openDevice() argument
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp564 TestCompilation(const WrapperModel* model, const std::string& deviceName, in TestCompilation() argument
568 deviceName, new DriverClass(deviceName, errorStatus)); in TestCompilation()
588 TestIntrospectionCompilation(const WrapperModel* model, const std::string& deviceName) { in TestIntrospectionCompilation() argument
599 if (result == ANEURALNETWORKS_NO_ERROR && deviceName.compare(buffer) == 0) { in TestIntrospectionCompilation()
/frameworks/av/media/mtp/
DMtpDevice.h87 static MtpDevice* open(const char* deviceName, int fd);

123