/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | InputController.java | 139 void createDpad(@NonNull String deviceName, in createDpad() argument 146 createDeviceInternal(InputDeviceDescriptor.TYPE_DPAD, deviceName, vendorId, in createDpad() 148 () -> mNativeWrapper.openUinputDpad(deviceName, vendorId, productId, phys)); in createDpad() 151 "Failed to create virtual dpad device '" + deviceName + "'.", e); in createDpad() 155 void createKeyboard(@NonNull String deviceName, int vendorId, int productId, in createKeyboard() argument 162 createDeviceInternal(InputDeviceDescriptor.TYPE_KEYBOARD, deviceName, vendorId, in createKeyboard() 164 () -> mNativeWrapper.openUinputKeyboard(deviceName, vendorId, productId, phys)); in createKeyboard() 168 "Failed to create virtual keyboard device '" + deviceName + "'.", e); in createKeyboard() 172 void createMouse(@NonNull String deviceName, in createMouse() argument 179 createDeviceInternal(InputDeviceDescriptor.TYPE_MOUSE, deviceName, vendorId, productId, in createMouse() [all …]
|
/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/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecMessageBuilderTest.java | 68 String deviceName = "abc"; in buildSetOsdName_short() local 70 ADDR_TV, deviceName); in buildSetOsdName_short() 76 String deviceName = "abcdefghijklmn"; in buildSetOsdName_maximumLength() local 78 ADDR_TV, deviceName); in buildSetOsdName_maximumLength() 85 String deviceName = "abcdefghijklmnop"; in buildSetOsdName_tooLong() local 87 ADDR_TV, deviceName); in buildSetOsdName_tooLong()
|
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/ |
D | NetworkProviderInfo.java | 112 public Builder(@NonNull String deviceName, @NonNull String modelName) { in Builder() argument 113 Objects.requireNonNull(deviceName); in Builder() 115 mDeviceName = deviceName; in Builder() 138 public Builder setDeviceName(@NonNull String deviceName) { in setDeviceName() argument 139 Objects.requireNonNull(deviceName); in setDeviceName() 140 mDeviceName = deviceName; in setDeviceName() 205 private static void validate(@DeviceType int deviceType, String deviceName, String modelName, in validate() argument 220 private NetworkProviderInfo(@DeviceType int deviceType, @NonNull String deviceName, in NetworkProviderInfo() argument 223 validate(deviceType, deviceName, modelName, batteryPercentage, connectionStrength); in NetworkProviderInfo() 225 mDeviceName = deviceName; in NetworkProviderInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/ |
D | MediaMuteAwaitLogger.kt | 15 fun logMutedDeviceAdded(deviceAddress: String, deviceName: String, hasMediaUsage: Boolean) = in logMutedDeviceAdded() 21 str2 = deviceName in logMutedDeviceAdded() 32 deviceName: String, in logMutedDeviceRemoved() 40 str2 = deviceName in logMutedDeviceRemoved()
|
/frameworks/base/media/java/android/media/ |
D | AudioMixPort.java | 39 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument 42 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort() 47 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort() argument 49 super(handle, role, deviceName, profiles, gains, null); in AudioMixPort()
|
D | AudioDevicePort.java | 47 AudioDevicePort(AudioHandle handle, String deviceName, in AudioDevicePort() argument 54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort() 61 AudioDevicePort(AudioHandle handle, String deviceName, List<AudioProfile> profiles, in AudioDevicePort() argument 67 deviceName, profiles, gains, descriptors); in AudioDevicePort()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayController.java | 542 +" feature is currently disabled: " + device.deviceName); in connect() 578 + " from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 597 Slog.i(TAG, "Disconnecting from Wifi display: " + mConnectedDevice.deviceName); in updateConnection() 608 Slog.i(TAG, "Disconnected from Wifi display: " + oldDevice.deviceName); in updateConnection() 615 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 635 Slog.i(TAG, "Canceling connection to Wifi display: " + mConnectingDevice.deviceName); in updateConnection() 646 Slog.i(TAG, "Canceled connection to Wifi display: " + oldDevice.deviceName); in updateConnection() 653 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 679 Slog.i(TAG, "Connecting to Wifi display: " + mDesiredDevice.deviceName); in updateConnection() 709 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName); in updateConnection() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | WifiDisplay.java | 47 String deviceName = in.readString(); 52 return new WifiDisplay(deviceAddress, deviceName, deviceAlias, 61 public WifiDisplay(String deviceAddress, String deviceName, String deviceAlias, in WifiDisplay() argument 66 if (deviceName == null) { in WifiDisplay() 71 mDeviceName = deviceName; in WifiDisplay()
|
/frameworks/base/core/java/android/companion/ |
D | DeviceNotAssociatedException.java | 28 public DeviceNotAssociatedException(@Nullable String deviceName) { in DeviceNotAssociatedException() argument 29 super("Device not associated with the current app: " + deviceName); in DeviceNotAssociatedException()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualInputDeviceConfig.java | 132 public T setInputDeviceName(@NonNull String deviceName) { in setInputDeviceName() argument 133 mInputDeviceName = deviceName; in setInputDeviceName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/ |
D | MediaTttCommandLineHelper.kt | 70 val routeInfo = MediaRoute2Info.Builder(senderArgs.id, senderArgs.deviceName) in execute() 93 deviceName = args[0], in processArgs() 133 val deviceName: String, constant in com.android.systemui.media.taptotransfer.MediaTttCommandLineHelper.SenderArgs
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | InputControllerTest.java | 203 String deviceName = in createInputDevice_tooLongNameRaisesException() local 208 mInputController.createDpad(deviceName, /*vendorId= */3, /*productId=*/3, deviceToken, in createInputDevice_tooLongNameRaisesException() 219 String deviceName = in createInputDevice_tooLongDeviceNameRaisesException() local 223 mInputController.createDpad(deviceName, /*vendorId= */3, /*productId=*/3, deviceToken, in createInputDevice_tooLongDeviceNameRaisesException()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzContainer.h | 38 std::string deviceName = mFdp->ConsumeRandomLengthString(16); in FuzzContainer() local 50 identifier.name = deviceName; in FuzzContainer()
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 1565 String deviceName = extractUsbDeviceName(name); in isUsbMidiDeviceInUseLocked() local 1568 Log.i(TAG, "Checking " + deviceName + " " + tagName); in isUsbMidiDeviceInUseLocked() 1572 if (mUsbMidiUniversalDeviceInUse.contains(deviceName) in isUsbMidiDeviceInUseLocked() 1574 && (mUsbMidiLegacyDeviceOpenCount.containsKey(deviceName)))) { in isUsbMidiDeviceInUseLocked() 1586 String deviceName = extractUsbDeviceName(name); in addUsbMidiDeviceLocked() local 1589 Log.i(TAG, "Adding " + deviceName + " " + tagName); in addUsbMidiDeviceLocked() 1592 mUsbMidiUniversalDeviceInUse.add(deviceName); in addUsbMidiDeviceLocked() 1594 int count = mUsbMidiLegacyDeviceOpenCount.getOrDefault(deviceName, 0) + 1; in addUsbMidiDeviceLocked() 1595 mUsbMidiLegacyDeviceOpenCount.put(deviceName, count); in addUsbMidiDeviceLocked() 1605 String deviceName = extractUsbDeviceName(name); in removeUsbMidiDeviceLocked() local [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | PhoneMediaDeviceTest.java | 95 final String deviceName = "test_name"; in getName_returnCorrectName() local 98 when(mInfo.getName()).thenReturn(deviceName); in getName_returnCorrectName()
|
/frameworks/base/core/jni/ |
D | android_hardware_UsbDeviceConnection.cpp | 46 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, in android_hardware_UsbDeviceConnection_open() argument 55 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_hardware_UsbDeviceConnection_open() 64 env->ReleaseStringUTFChars(deviceName, deviceNameStr); in android_hardware_UsbDeviceConnection_open()
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_device_fuzzer.cpp | 78 std::string deviceName = fdp.ConsumeRandomLengthString(kMaxStringLength); in LLVMFuzzerTestOneInput() local 79 usb_device* device = usb_device_new(deviceName.c_str(), fd); in LLVMFuzzerTestOneInput() 189 [&]() { MtpDevice::open(deviceName.c_str(), fd); }, in LLVMFuzzerTestOneInput()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioPoliciesBluetoothRouteController.java | 357 String deviceName = device.getName(); in createBluetoothRoute() local 358 if (TextUtils.isEmpty(deviceName)) { in createBluetoothRoute() 359 deviceName = mContext.getResources().getText(R.string.unknownName).toString(); in createBluetoothRoute() 381 newBtRoute.mRoute = new MediaRoute2Info.Builder(routeId, deviceName) in createBluetoothRoute()
|
D | LegacyBluetoothRouteController.java | 292 String deviceName = device.getName(); in createBluetoothRoute() local 293 if (TextUtils.isEmpty(deviceName)) { in createBluetoothRoute() 294 deviceName = mContext.getResources().getText(R.string.unknownName).toString(); in createBluetoothRoute() 316 newBtRoute.mRoute = new MediaRoute2Info.Builder(routeId, deviceName) in createBluetoothRoute()
|
/frameworks/libs/net/common/netd/aidl_api/netd_aidl_interface/1/android/net/ |
D | INetd.aidl | 30 …void ipSecAddTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, i… in ipSecAddTunnelInterface() argument 31 …void ipSecUpdateTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress… in ipSecUpdateTunnelInterface() argument 32 void ipSecRemoveTunnelInterface(in @utf8InCpp String deviceName); in ipSecRemoveTunnelInterface() argument
|
/frameworks/libs/net/common/netd/aidl_api/netd_aidl_interface/2/android/net/ |
D | INetd.aidl | 47 …void ipSecAddTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, i… in ipSecAddTunnelInterface() argument 48 …void ipSecUpdateTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress… in ipSecUpdateTunnelInterface() argument 49 void ipSecRemoveTunnelInterface(in @utf8InCpp String deviceName); in ipSecRemoveTunnelInterface() argument
|
/frameworks/libs/net/common/netd/aidl_api/netd_aidl_interface/3/android/net/ |
D | INetd.aidl | 48 …void ipSecAddTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, i… in ipSecAddTunnelInterface() argument 49 …void ipSecUpdateTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress… in ipSecUpdateTunnelInterface() argument 50 void ipSecRemoveTunnelInterface(in @utf8InCpp String deviceName); in ipSecRemoveTunnelInterface() argument
|
/frameworks/libs/net/common/netd/aidl_api/netd_aidl_interface/10/android/net/ |
D | INetd.aidl | 70 …void ipSecAddTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, i… in ipSecAddTunnelInterface() argument 71 …void ipSecUpdateTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress… in ipSecUpdateTunnelInterface() argument 72 void ipSecRemoveTunnelInterface(in @utf8InCpp String deviceName); in ipSecRemoveTunnelInterface() argument
|