Searched defs:deviceType (Results 1 - 17 of 17) sorted by relevance

/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/services/core/java/com/android/server/hdmi/
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 DHdmiCecMessageBuilder.java149 * @param deviceType type of device
152 static HdmiCecMessage buildReportPhysicalAddressCommand(int src, int address, int deviceType) { argument
158 (byte) (deviceType & 0xFF)
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 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 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...]
/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/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/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/core/java/android/hardware/hdmi/
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/
H A DRttManager.java77 public int deviceType; field in class:RttManager.RttParams
121 dest.writeInt(params.deviceType);
148 params[i].deviceType = in.readInt();
/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/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/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/native/services/inputflinger/
H A DInputReader.h1241 DeviceType deviceType; member in struct:android::TouchInputMapper::Parameters
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h281 SLuint32 deviceType; member in struct:SLDataLocator_IODevice_
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h453 XAuint32 deviceType; member in struct:XADataLocator_IODevice_

Completed in 5316 milliseconds