Searched refs:deviceType (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/hardware/hdmi/
H A DIHdmiControlService.aidl49 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed);
62 void sendVendorCommand(int deviceType, int targetAddress, in byte[] params,
64 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType);
65 void sendStandby(int deviceType, int deviceId);
H A DHdmiDeviceInfo.java121 int deviceType = source.readInt();
126 deviceType, vendorId, displayName, powerStatus);
150 * @param deviceType type of device
156 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, argument
164 mDeviceType = deviceType;
179 * @param deviceType type of device
184 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, argument
186 this(logicalAddress, physicalAddress, portId, deviceType,
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pWfdInfo.java78 public boolean setDeviceType(int deviceType) { argument
79 if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) {
80 mDeviceInfo |= deviceType;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java60 * @param deviceType requested device type to allocate logical address
65 void onAllocated(int deviceType, int logicalAddress); argument
138 void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { argument
140 mLocalDevices.put(deviceType, device);
149 * @param deviceType type of device to used to determine logical address
157 void allocateLogicalAddress(final int deviceType, final int preferredAddress, argument
164 handleAllocateLogicalAddress(deviceType, preferredAddress, callback);
170 private void handleAllocateLogicalAddress(final int deviceType, int preferredAddress, argument
178 if (deviceType == HdmiUtils.getTypeFromAddress(i)) {
190 && deviceType
238 getLocalDevice(int deviceType) argument
[all...]
H A DHdmiUtils.java116 * @param deviceType the device type to check
119 static void verifyAddressType(int logicalAddress, int deviceType) { argument
121 if (actualDeviceType != deviceType) {
122 throw new IllegalArgumentException("Device type missmatch:[Expected:" + deviceType
H A DHdmiControlService.java443 public void onAllocated(int deviceType, int logicalAddress) {
445 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]");
449 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType,
452 mCecController.addLocalDevice(deviceType, localDevice);
819 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { argument
823 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType,
982 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { argument
984 mDeviceType = deviceType;
1103 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { argument
1114 HdmiCecLocalDevice localDevice = mCecController.getLocalDevice(deviceType);
1300 addVendorCommandListener(final IHdmiVendorCommandListener listener, final int deviceType) argument
1307 sendVendorCommand(final int deviceType, final int targetAddress, final byte[] params, final boolean hasVendorId) argument
1331 sendStandby(final int deviceType, final int deviceId) argument
1863 addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType) argument
1876 invokeVendorCommandListeners(int deviceType, int srcAddress, byte[] params, boolean hasVendorId) argument
[all...]
H A DHdmiCecLocalDevice.java154 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { argument
156 mDeviceType = deviceType;
162 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { argument
163 switch (deviceType) {
H A DHdmiCecMessageBuilder.java149 * @param deviceType type of device
152 static HdmiCecMessage buildReportPhysicalAddressCommand(int src, int address, int deviceType) { argument
158 (byte) (deviceType & 0xFF)
/frameworks/base/media/java/android/media/audiofx/
H A DVirtualizer.java174 * @param deviceType
183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) argument
207 paramsConverter.putInt(AudioDevice.convertDeviceTypeToInternalDevice(deviceType));
215 + Integer.toHexString(deviceType) + ") returns " + status);
326 private static int deviceToMode(int deviceType) { argument
327 switch (deviceType) {
435 int deviceType = getDeviceForModeForce(virtualizationMode);
436 int internalDevice = AudioDevice.convertDeviceTypeToInternalDevice(deviceType);
/frameworks/wilhelm/src/
H A Ddata.c65 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; local
70 switch (deviceType) {
87 SL_LOGE("%s: deviceType=%u", name, deviceType);
104 switch (deviceType) {
136 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType);
/frameworks/base/media/java/android/media/
H A DAudioDevice.java152 public static int convertDeviceTypeToInternalDevice(int deviceType) { argument
153 return EXT_TO_INT_DEVICE_MAPPING.get(deviceType, AudioSystem.DEVICE_NONE);
/frameworks/base/wifi/java/android/net/wifi/
H A DRttManager.java77 public int deviceType; field in class:RttManager.RttParams
121 dest.writeInt(params.deviceType);
148 params[i].deviceType = in.readInt();
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1178 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1183 int VirtualizerIsDeviceSupported(audio_devices_t deviceType) { argument
1184 switch (deviceType) {
1202 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1208 audio_devices_t deviceType) {
1214 return VirtualizerIsDeviceSupported(deviceType);
1292 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1305 audio_devices_t deviceType __unused, int32_t *pSpeakerAngles) {
2112 const audio_devices_t deviceType = (audio_devices_t) *pParamTemp; local
2119 status = VirtualizerIsConfigurationSupported(channelMask, deviceType);
1207 VirtualizerIsConfigurationSupported(audio_channel_mask_t channelMask, audio_devices_t deviceType) argument
2176 const audio_devices_t deviceType = *(audio_devices_t *) pValue; local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java473 String deviceType = MediaProfileReader.getDeviceType();
474 Log.v(TAG, "deviceType = " + deviceType);
/frameworks/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp197 ioDevice.deviceType = SL_IODEVICE_AUDIOINPUT;
H A DslesTestFeedback.cpp430 locator_iodevice.deviceType = SL_IODEVICE_AUDIOINPUT;
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java1035 private static boolean isPrimarySinkDeviceType(int deviceType) { argument
1036 return deviceType == WifiP2pWfdInfo.PRIMARY_SINK
1037 || deviceType == WifiP2pWfdInfo.SOURCE_OR_PRIMARY_SINK;
/frameworks/native/services/inputflinger/
H A DInputReader.cpp2819 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN;
2822 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
2827 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD;
2830 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
2837 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.deviceType"),
2840 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN;
2842 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD;
2844 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_NAVIGATION;
2846 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER;
2848 ALOGW("Invalid value for touch.deviceType
[all...]
H A DInputReader.h1241 DeviceType deviceType; member in struct:android::TouchInputMapper::Parameters
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp196 if (SL_IODEVICE_AUDIOINPUT != dl_iod->deviceType) {
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1152 int deviceType = Integer.parseInt(label);
1153 sendDataActivityBroadcast(deviceType, active, tsNanos);
1419 private void sendDataActivityBroadcast(int deviceType, boolean active, long tsNanos) { argument
1421 intent.putExtra(ConnectivityManager.EXTRA_DEVICE_TYPE, deviceType);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h453 XAuint32 deviceType; member in struct:XADataLocator_IODevice_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h281 SLuint32 deviceType; member in struct:SLDataLocator_IODevice_

Completed in 465 milliseconds