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

12

/frameworks/base/core/java/android/hardware/hdmi/
H A DIHdmiControlService.aidl49 void sendKeyEvent(int deviceType, int keyCode, boolean isPressed);
63 void sendVendorCommand(int deviceType, int targetAddress, in byte[] params,
65 void addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType);
66 void sendStandby(int deviceType, int deviceId);
H A DHdmiDeviceInfo.java130 int deviceType = source.readInt();
135 deviceType, vendorId, displayName, powerStatus);
161 * @param deviceType type of device
167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, argument
175 mDeviceType = deviceType;
190 * @param deviceType type of device
195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, argument
197 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 DActiveSourceHandler.java60 * @param deviceType device type of the new active source
62 void process(ActiveSource newActive, int deviceType) { argument
67 tv.startNewDeviceAction(newActive, deviceType);
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 DNewDeviceAction.java62 * @param deviceType type of the device
65 int devicePhysicalAddress, int deviceType) {
69 mDeviceType = deviceType;
64 NewDeviceAction(HdmiCecLocalDevice source, int deviceLogicalAddress, int devicePhysicalAddress, int deviceType) argument
H A DHdmiControlService.java581 public void onAllocated(int deviceType, int logicalAddress) {
583 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]");
587 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType,
590 mCecController.addLocalDevice(deviceType, localDevice);
968 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { argument
972 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType,
1139 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { argument
1141 mDeviceType = deviceType;
1261 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { argument
1272 HdmiCecLocalDevice localDevice = mCecController.getLocalDevice(deviceType);
1471 addVendorCommandListener(final IHdmiVendorCommandListener listener, final int deviceType) argument
1478 sendVendorCommand(final int deviceType, final int targetAddress, final byte[] params, final boolean hasVendorId) argument
1502 sendStandby(final int deviceType, final int deviceId) argument
2076 addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType) argument
2089 invokeVendorCommandListenersOnReceived(int deviceType, int srcAddress, int destAddress, byte[] params, boolean hasVendorId) argument
[all...]
H A DHdmiCecLocalDevice.java153 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { argument
155 mDeviceType = deviceType;
161 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { argument
162 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)
H A DHdmiCecLocalDeviceTv.java630 void startNewDeviceAction(ActiveSource activeSource, int deviceType) { argument
646 activeSource.physicalAddress, deviceType));
/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.cpp1299 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1304 int VirtualizerIsDeviceSupported(audio_devices_t deviceType) { argument
1305 switch (deviceType) {
1323 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1329 audio_devices_t deviceType) {
1335 return VirtualizerIsDeviceSupported(deviceType);
1415 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural)
1428 audio_devices_t deviceType __unused, int32_t *pSpeakerAngles) {
2139 const audio_devices_t deviceType = (audio_devices_t) *pParamTemp; local
2146 status = VirtualizerIsConfigurationSupported(channelMask, deviceType);
1328 VirtualizerIsConfigurationSupported(audio_channel_mask_t channelMask, audio_devices_t deviceType) argument
2203 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.java1253 int deviceType = Integer.parseInt(label);
1254 sendDataActivityBroadcast(deviceType, active, tsNanos);
1494 private void sendDataActivityBroadcast(int deviceType, boolean active, long tsNanos) { argument
1496 intent.putExtra(ConnectivityManager.EXTRA_DEVICE_TYPE, deviceType);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h453 XAuint32 deviceType; member in struct:XADataLocator_IODevice_

Completed in 2748 milliseconds

12