Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl49 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendKeyEvent() argument
50 void sendVolumeKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendVolumeKeyEvent() argument
68 void sendVendorCommand(int deviceType, int targetAddress, in byte[] params, in sendVendorCommand() argument
70 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType); in addVendorCommandListener() argument
71 void sendStandby(int deviceType, int deviceId); in sendStandby() argument
80 void reportAudioStatus(int deviceType, int volume, int maxVolume, boolean isMute); in reportAudioStatus() argument
DHdmiDeviceInfo.java130 int deviceType = source.readInt();
135 deviceType, vendorId, displayName, powerStatus);
167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
175 mDeviceType = deviceType; in HdmiDeviceInfo()
195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
197 this(logicalAddress, physicalAddress, portId, deviceType, in HdmiDeviceInfo()
/frameworks/base/media/java/android/media/
DMediaRouterClientState.java97 public @MediaRouter.RouteInfo.DeviceType int deviceType; field in MediaRouterClientState.RouteInfo
107 deviceType = MediaRouter.RouteInfo.DEVICE_TYPE_UNKNOWN; in RouteInfo()
123 deviceType = other.deviceType; in RouteInfo()
139 deviceType = in.readInt(); in RouteInfo()
161 dest.writeInt(deviceType); in writeToParcel()
178 + ", deviceType=" + deviceType in toString()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java180 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
185 final int deviceType, final int keyCode, final boolean isPressed) { in sendVolumeKeyEvent() argument
272 final int deviceType) { in addVendorCommandListener() argument
276 public void sendVendorCommand(final int deviceType, final int targetAddress, in sendVendorCommand() argument
281 public void sendStandby(final int deviceType, final int deviceId) { in sendStandby() argument
320 public void reportAudioStatus(final int deviceType, final int volume, final int maxVolume, in reportAudioStatus() argument
/frameworks/base/media/java/android/media/audiofx/
DVirtualizer.java183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) in getAnglesInt() argument
207 paramsConverter.putInt(AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType)); in getAnglesInt()
215 + Integer.toHexString(deviceType) + ") returns " + status); in getAnglesInt()
326 private static int deviceToMode(int deviceType) { in deviceToMode() argument
327 switch (deviceType) { in deviceToMode()
436 int deviceType = getDeviceForModeForce(virtualizationMode); in forceVirtualizationMode() local
437 int internalDevice = AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType); in forceVirtualizationMode()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java63 int deviceType, String deviceAddress) { in AudioMix() argument
69 mDeviceSystemType = deviceType; in AudioMix()
196 public boolean isRoutedToDevice(int deviceType, @NonNull String deviceAddress) { in isRoutedToDevice() argument
200 if (deviceType != mDeviceSystemType) { in isRoutedToDevice()
329 Builder setDevice(int deviceType, String address) { in setDevice() argument
330 mDeviceSystemType = deviceType; in setDevice()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java73 void onAllocated(int deviceType, int logicalAddress); in onAllocated() argument
172 void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { in addLocalDevice() argument
174 mLocalDevices.put(deviceType, device); in addLocalDevice()
191 void allocateLogicalAddress(final int deviceType, final int preferredAddress, in allocateLogicalAddress() argument
198 handleAllocateLogicalAddress(deviceType, preferredAddress, callback); in allocateLogicalAddress()
204 private void handleAllocateLogicalAddress(final int deviceType, int preferredAddress, in handleAllocateLogicalAddress() argument
212 if (deviceType == HdmiUtils.getTypeFromAddress(i)) { in handleAllocateLogicalAddress()
224 && deviceType == HdmiUtils.getTypeFromAddress(curAddress) in handleAllocateLogicalAddress()
244 deviceType, preferredAddress, assignedAddress); in handleAllocateLogicalAddress()
249 callback.onAllocated(deviceType, assignedAddress); in handleAllocateLogicalAddress()
[all …]
DHdmiUtils.java141 static void verifyAddressType(int logicalAddress, int deviceType) { in verifyAddressType() argument
143 if (actualDeviceType != deviceType) { in verifyAddressType()
144 throw new IllegalArgumentException("Device type missmatch:[Expected:" + deviceType in verifyAddressType()
503 String deviceType = parser.getAttributeValue(null, "type"); in readDevices() local
505 if (deviceType != null) { in readDevices()
506 config = readDeviceConfig(parser, deviceType); in readDevices()
520 private static DeviceConfig readDeviceConfig(XmlPullParser parser, String deviceType) in readDeviceConfig() argument
552 return new DeviceConfig(deviceType, codecSads); in readDeviceConfig()
DHdmiControlService.java737 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument
739 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]"); in allocateLogicalAddress()
743 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
746 mCecController.addLocalDevice(deviceType, localDevice); in allocateLogicalAddress()
1194 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument
1197 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, in createDeviceInfo()
1382 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { in VendorCommandListenerRecord() argument
1384 mDeviceType = deviceType; in VendorCommandListenerRecord()
1557 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1568 HdmiCecLocalDevice localDevice = mCecController.getLocalDevice(deviceType); in sendKeyEvent()
[all …]
DActiveSourceHandler.java62 void process(ActiveSource newActive, int deviceType) { in process() argument
67 tv.startNewDeviceAction(newActive, deviceType); in process()
DNewDeviceAction.java65 int devicePhysicalAddress, int deviceType) { in NewDeviceAction() argument
69 mDeviceType = deviceType; in NewDeviceAction()
DHdmiCecLocalDeviceSource.java73 protected HdmiCecLocalDeviceSource(HdmiControlService service, int deviceType) { in HdmiCecLocalDeviceSource() argument
74 super(service, deviceType); in HdmiCecLocalDeviceSource()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java86 public boolean setDeviceType(int deviceType) { in setDeviceType() argument
87 if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) { in setDeviceType()
89 mDeviceInfo |= deviceType; in setDeviceType()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp117 status_t AudioPolicyMixCollection::getAudioPolicyMix(audio_devices_t deviceType, in getAudioPolicyMix() argument
121 ALOGV("getAudioPolicyMix() for dev=0x%x addr=%s", deviceType, address.string()); in getAudioPolicyMix()
128 i, deviceType, address.string()); in getAudioPolicyMix()
134 deviceType, address.string()); in getAudioPolicyMix()
345 audio_devices_t deviceType = itemAt(i)->mDeviceType; in getDeviceAndMixForOutput() local
348 __FUNCTION__, deviceType, address.c_str()); in getDeviceAndMixForOutput()
349 return availableOutputDevices.getDevice(deviceType, address, AUDIO_FORMAT_DEFAULT); in getDeviceAndMixForOutput()
DHwModule.cpp316 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t deviceType, in getDeviceDescriptor() argument
325 if (device_distinguishes_on_address(deviceType) && (devAddress.length() == 0)) { in getDeviceDescriptor()
331 auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor()
345 name, deviceType, address); in getDeviceDescriptor()
348 return createDevice(deviceType, address, name, encodedFormat); in getDeviceDescriptor()
DAudioInputDescriptor.cpp218 audio_devices_t deviceType = mDevice->type(); in open() local
223 &deviceType, in open()
227 LOG_ALWAYS_FATAL_IF(mDevice->type() != deviceType, in open()
229 __FUNCTION__, mDevice->type(), deviceType); in open()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java66 protected MyHdmiCecLocalDevice(HdmiControlService service, int deviceType) { in MyHdmiCecLocalDevice() argument
67 super(service, deviceType); in MyHdmiCecLocalDevice()
DHdmiControlServiceTest.java55 protected HdmiCecLocalDeviceMyDevice(HdmiControlService service, int deviceType) { in HdmiCecLocalDeviceMyDevice() argument
56 super(service, deviceType); in HdmiCecLocalDeviceMyDevice()
/frameworks/wilhelm/src/
Ddata.cpp68 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; in checkDataLocator() local
73 switch (deviceType) { in checkDataLocator()
90 SL_LOGE("%s: deviceType=%u", name, deviceType); in checkDataLocator()
107 switch (deviceType) { in checkDataLocator()
139 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType); in checkDataLocator()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp321 audio_devices_t deviceType = getPropertyForKey<audio_devices_t, audio_source_t>(attr.source); in getInputDeviceForAttributes() local
323 if (audio_is_remote_submix_device(deviceType)) { in getInputDeviceForAttributes()
331 …return availableInputDevices.getDevice(deviceType, String8(address.c_str()), AUDIO_FORMAT_DEFAULT); in getInputDeviceForAttributes()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java335 public int deviceType; field in RttManager.RttParams
470 deviceType = RTT_PEER_TYPE_AP; in RttParams()
486 sb.append("deviceType=" + deviceType); in toString()
537 dest.writeInt(params.deviceType); in writeToParcel()
568 params[i].deviceType = in.readInt();
954 if (rttParams.deviceType != RTT_PEER_TYPE_AP) { in startRanging()
/frameworks/base/data/keyboards/
Dqwerty.idc19 touch.deviceType = touchScreen
Dqwerty2.idc19 touch.deviceType = touchScreen
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-0.idc19 touch.deviceType = touchScreen
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h54 status_t getAudioPolicyMix(audio_devices_t deviceType,

123