Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/
DMediaRouterClientState.java107 public @MediaRouter.RouteInfo.DeviceType int deviceType; field in MediaRouterClientState.RouteInfo
117 deviceType = MediaRouter.RouteInfo.DEVICE_TYPE_UNKNOWN; in RouteInfo()
133 deviceType = other.deviceType; in RouteInfo()
149 deviceType = in.readInt(); in RouteInfo()
171 dest.writeInt(deviceType); in writeToParcel()
188 + ", deviceType=" + deviceType in toString()
DAudioDeviceInfo.java249 public static int convertDeviceTypeToInternalDevice(int deviceType) { in convertDeviceTypeToInternalDevice() argument
250 return EXT_TO_INT_DEVICE_MAPPING.get(deviceType, AudioSystem.DEVICE_NONE); in convertDeviceTypeToInternalDevice()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java65 void onAllocated(int deviceType, int logicalAddress); in onAllocated() argument
138 void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { in addLocalDevice() argument
140 mLocalDevices.put(deviceType, device); in addLocalDevice()
157 void allocateLogicalAddress(final int deviceType, final int preferredAddress, in allocateLogicalAddress() argument
164 handleAllocateLogicalAddress(deviceType, preferredAddress, callback); in allocateLogicalAddress()
170 private void handleAllocateLogicalAddress(final int deviceType, int preferredAddress, in handleAllocateLogicalAddress() argument
178 if (deviceType == HdmiUtils.getTypeFromAddress(i)) { in handleAllocateLogicalAddress()
190 && deviceType == HdmiUtils.getTypeFromAddress(curAddress)) { in handleAllocateLogicalAddress()
208 deviceType, preferredAddress, assignedAddress); in handleAllocateLogicalAddress()
213 callback.onAllocated(deviceType, assignedAddress); in handleAllocateLogicalAddress()
[all …]
DHdmiUtils.java119 static void verifyAddressType(int logicalAddress, int deviceType) { in verifyAddressType() argument
121 if (actualDeviceType != deviceType) { in verifyAddressType()
122 throw new IllegalArgumentException("Device type missmatch:[Expected:" + deviceType in verifyAddressType()
DHdmiControlService.java602 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument
604 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]"); in allocateLogicalAddress()
608 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
611 mCecController.addLocalDevice(deviceType, localDevice); in allocateLogicalAddress()
1002 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument
1006 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, in createDeviceInfo()
1173 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { in VendorCommandListenerRecord() argument
1175 mDeviceType = deviceType; in VendorCommandListenerRecord()
1307 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1318 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()
DHdmiCecLocalDevice.java156 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { in HdmiCecLocalDevice() argument
158 mDeviceType = deviceType; in HdmiCecLocalDevice()
164 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { in create() argument
165 switch (deviceType) { in create()
DHdmiCecMessageBuilder.java152 static HdmiCecMessage buildReportPhysicalAddressCommand(int src, int address, int deviceType) { in buildReportPhysicalAddressCommand() argument
158 (byte) (deviceType & 0xFF) in buildReportPhysicalAddressCommand()
/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl49 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed); in sendKeyEvent() argument
63 void sendVendorCommand(int deviceType, int targetAddress, in byte[] params, in sendVendorCommand() argument
65 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType); in addVendorCommandListener() argument
66 void sendStandby(int deviceType, int deviceId); in sendStandby() 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/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()
435 int deviceType = getDeviceForModeForce(virtualizationMode); in forceVirtualizationMode() local
436 int internalDevice = AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType); in forceVirtualizationMode()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java78 public boolean setDeviceType(int deviceType) { in setDeviceType() argument
79 if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) { in setDeviceType()
81 mDeviceInfo |= deviceType; in setDeviceType()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java53 int deviceType, String deviceAddress) { in AudioMix() argument
59 mDeviceSystemType = deviceType; in AudioMix()
249 Builder setDevice(int deviceType, String address) { in setDevice() argument
250 mDeviceSystemType = deviceType; in setDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h75 audio_devices_t getSupportedDeviceForType(audio_devices_t deviceType) const in getSupportedDeviceForType() argument
79 if (profileType & deviceType) { in getSupportedDeviceForType()
/frameworks/wilhelm/src/
Ddata.c70 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; in checkDataLocator() local
75 switch (deviceType) { in checkDataLocator()
92 SL_LOGE("%s: deviceType=%u", name, deviceType); in checkDataLocator()
109 switch (deviceType) { in checkDataLocator()
141 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType); in checkDataLocator()
/frameworks/base/data/keyboards/
Dqwerty2.idc19 touch.deviceType = touchScreen
Dqwerty.idc19 touch.deviceType = touchScreen
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java330 public int deviceType; field in RttManager.RttParams
465 deviceType = RTT_PEER_TYPE_AP; in RttParams()
503 dest.writeInt(params.deviceType); in writeToParcel()
534 params[i].deviceType = in.readInt();
857 if (params.deviceType != RTT_PEER_TYPE_AP) { in rttParamSanity()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java581 public Builder setDeviceType(int deviceType) { in setDeviceType() argument
582 mBundle.putInt(KEY_DEVICE_TYPE, deviceType); in setDeviceType()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp1345 int VirtualizerIsDeviceSupported(audio_devices_t deviceType) { in VirtualizerIsDeviceSupported() argument
1346 switch (deviceType) { in VirtualizerIsDeviceSupported()
1370 audio_devices_t deviceType) { in VirtualizerIsConfigurationSupported() argument
1376 return VirtualizerIsDeviceSupported(deviceType); in VirtualizerIsConfigurationSupported()
1469 audio_devices_t deviceType __unused, int32_t *pSpeakerAngles) { in VirtualizerGetSpeakerAngles()
2180 const audio_devices_t deviceType = (audio_devices_t) *pParamTemp; in Virtualizer_getParameter() local
2187 status = VirtualizerIsConfigurationSupported(channelMask, deviceType); in Virtualizer_getParameter()
2190 channelMask, deviceType); in Virtualizer_getParameter()
2192 VirtualizerGetSpeakerAngles(channelMask, deviceType, (int32_t *)pValue); in Virtualizer_getParameter()
2244 const audio_devices_t deviceType = *(audio_devices_t *) pValue; in Virtualizer_setParameter() local
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java1035 private static boolean isPrimarySinkDeviceType(int deviceType) { in isPrimarySinkDeviceType() argument
1036 return deviceType == WifiP2pWfdInfo.PRIMARY_SINK in isPrimarySinkDeviceType()
1037 || deviceType == WifiP2pWfdInfo.SOURCE_OR_PRIMARY_SINK; in isPrimarySinkDeviceType()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java511 String deviceType = MediaProfileReader.getDeviceType(); in testDeviceSpecificCodec() local
512 Log.v(TAG, "deviceType = " + deviceType); in testDeviceSpecificCodec()
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp236 ioDevice.deviceType = SL_IODEVICE_AUDIOINPUT; in TestRecToBuffQueue()
/frameworks/native/services/inputflinger/
DInputReader.cpp3118 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
3121 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
3126 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; in configureParameters()
3129 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
3139 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
3141 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; in configureParameters()
3143 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_NAVIGATION; in configureParameters()
3145 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
3151 mParameters.orientationAware = mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
3158 || mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN in configureParameters()
[all …]

12