/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | IHdmiControlService.aidl | 49 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 D | HdmiDeviceInfo.java | 130 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/media/java/android/media/ |
H A D | MediaRouterClientState.java | 107 public @MediaRouter.RouteInfo.DeviceType int deviceType; field in class:MediaRouterClientState.RouteInfo 117 deviceType = MediaRouter.RouteInfo.DEVICE_TYPE_UNKNOWN; 133 deviceType = other.deviceType; 149 deviceType = in.readInt(); 171 dest.writeInt(deviceType); 188 + ", deviceType=" + deviceType
|
H A D | AudioDeviceInfo.java | 249 public static int convertDeviceTypeToInternalDevice(int deviceType) { argument 250 return EXT_TO_INT_DEVICE_MAPPING.get(deviceType, AudioSystem.DEVICE_NONE);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pWfdInfo.java | 78 public boolean setDeviceType(int deviceType) { argument 79 if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) { 81 mDeviceInfo |= deviceType;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecController.java | 60 * @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 D | ActiveSourceHandler.java | 60 * @param deviceType device type of the new active source 62 void process(ActiveSource newActive, int deviceType) { argument 67 tv.startNewDeviceAction(newActive, deviceType);
|
H A D | HdmiUtils.java | 116 * @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 D | NewDeviceAction.java | 62 * @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 D | HdmiControlService.java | 602 public void onAllocated(int deviceType, int logicalAddress) { 604 Slog.e(TAG, "Failed to allocate address:[device_type:" + deviceType + "]"); 608 HdmiDeviceInfo deviceInfo = createDeviceInfo(logicalAddress, deviceType, 611 mCecController.addLocalDevice(deviceType, localDevice); 1002 private HdmiDeviceInfo createDeviceInfo(int logicalAddress, int deviceType, int powerStatus) { argument 1006 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, 1173 public VendorCommandListenerRecord(IHdmiVendorCommandListener listener, int deviceType) { argument 1175 mDeviceType = deviceType; 1307 public void sendKeyEvent(final int deviceType, final int keyCode, final boolean isPressed) { argument 1318 HdmiCecLocalDevice localDevice = mCecController.getLocalDevice(deviceType); 1517 addVendorCommandListener(final IHdmiVendorCommandListener listener, final int deviceType) argument 1524 sendVendorCommand(final int deviceType, final int targetAddress, final byte[] params, final boolean hasVendorId) argument 1548 sendStandby(final int deviceType, final int deviceId) argument 2124 addVendorCommandListener(IHdmiVendorCommandListener listener, int deviceType) argument 2137 invokeVendorCommandListenersOnReceived(int deviceType, int srcAddress, int destAddress, byte[] params, boolean hasVendorId) argument [all...] |
H A D | HdmiCecLocalDevice.java | 156 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { argument 158 mDeviceType = deviceType; 164 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { argument 165 switch (deviceType) {
|
H A D | HdmiCecMessageBuilder.java | 149 * @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/audiopolicy/ |
H A D | AudioMix.java | 53 int deviceType, String deviceAddress) { 59 mDeviceSystemType = deviceType; 245 * @param deviceType an AudioSystem.DEVICE_* value, not AudioDeviceInfo.TYPE_* 249 Builder setDevice(int deviceType, String address) { argument 250 mDeviceSystemType = deviceType; 52 AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, int deviceType, String deviceAddress) argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IOProfile.h | 74 // chose first device present in mSupportedDevices also part of deviceType 75 audio_devices_t getSupportedDeviceForType(audio_devices_t deviceType) const 79 if (profileType & deviceType) {
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Virtualizer.java | 174 * @param deviceType 183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) argument 207 paramsConverter.putInt(AudioDeviceInfo.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 = AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType);
|
/frameworks/wilhelm/src/ |
H A D | data.c | 70 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; local 75 switch (deviceType) { 92 SL_LOGE("%s: deviceType=%u", name, deviceType); 109 switch (deviceType) { 141 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteDescriptor.java | 51 private static final String KEY_DEVICE_TYPE = "deviceType"; 299 result.append(", deviceType=").append(getDeviceType()); 577 * @param deviceType The receive device type of the route: 581 public Builder setDeviceType(int deviceType) { argument 582 mBundle.putInt(KEY_DEVICE_TYPE, deviceType);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | RttManager.java | 330 public int deviceType; field in class:RttManager.RttParams 465 deviceType = RTT_PEER_TYPE_AP; 503 dest.writeInt(params.deviceType); 534 params[i].deviceType = in.readInt(); 857 if (params.deviceType != RTT_PEER_TYPE_AP) {
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 1340 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural) 1345 int VirtualizerIsDeviceSupported(audio_devices_t deviceType) { argument 1346 switch (deviceType) { 1364 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural) 1370 audio_devices_t deviceType) { 1376 return VirtualizerIsDeviceSupported(deviceType); 1456 // deviceType the type of device that affects the processing (e.g. for binaural vs transaural) 1469 audio_devices_t deviceType __unused, int32_t *pSpeakerAngles) { 2180 const audio_devices_t deviceType = (audio_devices_t) *pParamTemp; local 2187 status = VirtualizerIsConfigurationSupported(channelMask, deviceType); 1369 VirtualizerIsConfigurationSupported(audio_channel_mask_t channelMask, audio_devices_t deviceType) argument 2244 const audio_devices_t deviceType = *(audio_devices_t *) pValue; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 511 String deviceType = MediaProfileReader.getDeviceType(); 512 Log.v(TAG, "deviceType = " + deviceType);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 1035 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 D | InputReader.cpp | 3118 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; 3121 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; 3126 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; 3129 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; 3136 if (getDevice()->getConfiguration().tryGetProperty(String8("touch.deviceType"), 3139 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_SCREEN; 3141 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_PAD; 3143 mParameters.deviceType = Parameters::DEVICE_TYPE_TOUCH_NAVIGATION; 3145 mParameters.deviceType = Parameters::DEVICE_TYPE_POINTER; 3147 ALOGW("Invalid value for touch.deviceType [all...] |
H A D | EventHub.cpp | 1195 String8 deviceType = String8(); local 1197 device->configuration->tryGetProperty(String8("device.type"), deviceType)) { 1198 if (!deviceType.compare(String8("rotaryEncoder"))) {
|
/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 226 if (SL_IODEVICE_AUDIOINPUT != dl_iod->deviceType) {
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestRecBuffQueue.cpp | 236 ioDevice.deviceType = SL_IODEVICE_AUDIOINPUT;
|