Home
last modified time | relevance | path

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

12

/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()
DActiveSourceHandler.java62 void process(ActiveSource newActive, int deviceType) { in process() argument
67 tv.startNewDeviceAction(newActive, deviceType); in process()
DHdmiControlService.java581 public void onAllocated(int deviceType, int logicalAddress) { in allocateLogicalAddress() argument
583 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]"); in allocateLogicalAddress()
587 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, in allocateLogicalAddress()
590 mCecController.addLocalDevice(deviceType, localDevice); in allocateLogicalAddress()
968 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { in createDeviceInfo() argument
972 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, in createDeviceInfo()
1139 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { in VendorCommandListenerRecord() argument
1141 mDeviceType = deviceType; in VendorCommandListenerRecord()
1261 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { in sendKeyEvent() argument
1272 HdmiCecLocalDevice localDevice = mCecController.getLocalDevice(deviceType); in sendKeyEvent()
[all …]
DNewDeviceAction.java65 int devicePhysicalAddress, int deviceType) { in NewDeviceAction() argument
69 mDeviceType = deviceType; in NewDeviceAction()
DHdmiCecLocalDevice.java153 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { in HdmiCecLocalDevice() argument
155 mDeviceType = deviceType; in HdmiCecLocalDevice()
161 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { in create() argument
162 switch (deviceType) { in create()
DHdmiCecMessageBuilder.java152 static HdmiCecMessage buildReportPhysicalAddressCommand(int src, int address, int deviceType) { in buildReportPhysicalAddressCommand() argument
158 (byte) (deviceType & 0xFF) in buildReportPhysicalAddressCommand()
DHdmiCecLocalDeviceTv.java630 void startNewDeviceAction(ActiveSource activeSource, int deviceType) { in startNewDeviceAction() argument
646 activeSource.physicalAddress, deviceType)); in startNewDeviceAction()
/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/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()
80 mDeviceInfo |= deviceType; in setDeviceType()
/frameworks/base/media/java/android/media/audiofx/
DVirtualizer.java183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) in getAnglesInt() argument
207 paramsConverter.putInt(AudioDevice.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 = AudioDevice.convertDeviceTypeToInternalDevice(deviceType); in forceVirtualizationMode()
/frameworks/wilhelm/src/
Ddata.c65 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; in checkDataLocator() local
70 switch (deviceType) { in checkDataLocator()
87 SL_LOGE("%s: deviceType=%u", name, deviceType); in checkDataLocator()
104 switch (deviceType) { in checkDataLocator()
136 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType); in checkDataLocator()
/frameworks/base/media/java/android/media/
DAudioDevice.java152 public static int convertDeviceTypeToInternalDevice(int deviceType) { in convertDeviceTypeToInternalDevice() argument
153 return EXT_TO_INT_DEVICE_MAPPING.get(deviceType, AudioSystem.DEVICE_NONE); in convertDeviceTypeToInternalDevice()
/frameworks/base/data/keyboards/
Dqwerty.idc19 touch.deviceType = touchScreen
Dqwerty2.idc19 touch.deviceType = touchScreen
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java77 public int deviceType; field in RttManager.RttParams
121 dest.writeInt(params.deviceType); in writeToParcel()
148 params[i].deviceType = in.readInt();
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp1304 int VirtualizerIsDeviceSupported(audio_devices_t deviceType) { in VirtualizerIsDeviceSupported() argument
1305 switch (deviceType) { in VirtualizerIsDeviceSupported()
1329 audio_devices_t deviceType) { in VirtualizerIsConfigurationSupported() argument
1335 return VirtualizerIsDeviceSupported(deviceType); in VirtualizerIsConfigurationSupported()
1428 audio_devices_t deviceType __unused, int32_t *pSpeakerAngles) { in VirtualizerGetSpeakerAngles()
2139 const audio_devices_t deviceType = (audio_devices_t) *pParamTemp; in Virtualizer_getParameter() local
2146 status = VirtualizerIsConfigurationSupported(channelMask, deviceType); in Virtualizer_getParameter()
2149 channelMask, deviceType); in Virtualizer_getParameter()
2151 VirtualizerGetSpeakerAngles(channelMask, deviceType, (int32_t *)pValue); in Virtualizer_getParameter()
2203 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.java473 String deviceType = MediaProfileReader.getDeviceType(); in testDeviceSpecificCodec() local
474 Log.v(TAG, "deviceType = " + deviceType); in testDeviceSpecificCodec()
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp197 ioDevice.deviceType = SL_IODEVICE_AUDIOINPUT; in TestRecToBuffQueue()
DslesTestFeedback.cpp430 locator_iodevice.deviceType = SL_IODEVICE_AUDIOINPUT; in main()
/frameworks/native/services/inputflinger/
DInputReader.cpp2819 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
2822 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
2827 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; in configureParameters()
2830 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
2840 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
2842 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; in configureParameters()
2844 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_NAVIGATION; in configureParameters()
2846 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; in configureParameters()
2852 mParameters.orientationAware = mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN; in configureParameters()
2859 || mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN in configureParameters()
[all …]
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp196 if (SL_IODEVICE_AUDIOINPUT != dl_iod->deviceType) { in android_audioRecorder_checkSourceSinkSupport()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1253 int deviceType = Integer.parseInt(label);
1254 sendDataActivityBroadcast(deviceType, active, tsNanos);
1494 private void sendDataActivityBroadcast(int deviceType, boolean active, long tsNanos) { in sendDataActivityBroadcast() argument
1496 intent.putExtra(ConnectivityManager.EXTRA_DEVICE_TYPE, deviceType); in sendDataActivityBroadcast()

12