/frameworks/base/core/java/android/hardware/hdmi/ |
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);
|
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, 175 mDeviceType = deviceType; 190 * @param deviceType type of device 195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, 197 this(logicalAddress, physicalAddress, portId, deviceType,
|
/frameworks/base/media/java/android/media/ |
MediaRouterClientState.java | 107 public @MediaRouter.RouteInfo.DeviceType int deviceType; 117 deviceType = MediaRouter.RouteInfo.DEVICE_TYPE_UNKNOWN; 133 deviceType = other.deviceType; 149 deviceType = in.readInt(); 171 dest.writeInt(deviceType); 188 + ", deviceType=" + deviceType
|
AudioDeviceInfo.java | 249 public static int convertDeviceTypeToInternalDevice(int deviceType) { 250 return EXT_TO_INT_DEVICE_MAPPING.get(deviceType, AudioSystem.DEVICE_NONE);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pWfdInfo.java | 78 public boolean setDeviceType(int deviceType) { 79 if (deviceType >= WFD_SOURCE && deviceType <= SOURCE_OR_PRIMARY_SINK) { 81 mDeviceInfo |= deviceType;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecController.java | 60 * @param deviceType requested device type to allocate logical address 65 void onAllocated(int deviceType, int logicalAddress); 138 void addLocalDevice(int deviceType, HdmiCecLocalDevice device) { 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, 164 handleAllocateLogicalAddress(deviceType, preferredAddress, callback); 170 private void handleAllocateLogicalAddress(final int deviceType, int preferredAddress, 178 if (deviceType == HdmiUtils.getTypeFromAddress(i)) { 190 && deviceType == HdmiUtils.getTypeFromAddress(curAddress)) [all...] |
ActiveSourceHandler.java | 60 * @param deviceType device type of the new active source 62 void process(ActiveSource newActive, int deviceType) { 67 tv.startNewDeviceAction(newActive, deviceType);
|
HdmiUtils.java | 116 * @param deviceType the device type to check 119 static void verifyAddressType(int logicalAddress, int deviceType) { 121 if (actualDeviceType != deviceType) { 122 throw new IllegalArgumentException("Device type missmatch:[Expected:" + deviceType
|
NewDeviceAction.java | 62 * @param deviceType type of the device 65 int devicePhysicalAddress, int deviceType) { 69 mDeviceType = deviceType;
|
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); [all...] |
HdmiCecLocalDevice.java | 156 protected HdmiCecLocalDevice(HdmiControlService service, int deviceType) { 158 mDeviceType = deviceType; 164 static HdmiCecLocalDevice create(HdmiControlService service, int deviceType) { 165 switch (deviceType) { [all...] |
HdmiCecMessageBuilder.java | 149 * @param deviceType type of device 152 static HdmiCecMessage buildReportPhysicalAddressCommand(int src, int address, int deviceType) { 158 (byte) (deviceType & 0xFF)
|
/frameworks/base/media/java/android/media/audiopolicy/ |
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) { 250 mDeviceSystemType = deviceType;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
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) {
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamTransferRecord.java | 56 int deviceType = in.readInt(); 58 if (deviceType != DATA_LINK_TYPE_BLUETOOTH) {
|
BeamStatusReceiver.java | 107 private void handleTransferEvent(Intent intent, int deviceType) { 119 if (deviceType == BeamTransferManager.DATA_LINK_TYPE_BLUETOOTH) {
|
/frameworks/base/media/java/android/media/audiofx/ |
Virtualizer.java | 174 * @param deviceType 183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) 207 paramsConverter.putInt(AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType)); 215 + Integer.toHexString(deviceType) + ") returns " + status); 326 private static int deviceToMode(int deviceType) { 327 switch (deviceType) { 435 int deviceType = getDeviceForModeForce(virtualizationMode); 436 int internalDevice = AudioDeviceInfo.convertDeviceTypeToInternalDevice(deviceType);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
AudioInputRoutingNotificationsActivity.java | 80 int deviceType = routedDevice != null ? routedDevice.getType() : -1; 82 deviceName + " [0x" + Integer.toHexString(deviceType) + "]" +
|
AudioOutputRoutingNotificationsActivity.java | 80 int deviceType = routedDevice != null ? routedDevice.getType() : -1; 82 deviceName + " [0x" + Integer.toHexString(deviceType) + "]" +
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaRouterTest.java | 113 final int deviceType = defaultRoute.getDeviceType(); 114 assertEquals(RouteInfo.DEVICE_TYPE_UNKNOWN, deviceType);
|
/device/asus/fugu/libaudio/ |
AudioHotplugThread.cpp | 162 char deviceType; 163 int ret = sscanf(name, "pcmC%uD%u%c", card, device, &deviceType); 164 return (ret == 3 && deviceType == kDeviceTypeCapture);
|
/frameworks/wilhelm/src/ |
data.c | 70 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; 75 switch (deviceType) { 92 SL_LOGE("%s: deviceType=%u", name, deviceType); 109 switch (deviceType) { 141 SL_LOGE("%s: deviceType=%u is invalid", name, deviceType); [all...] |
/cts/tests/tests/media/libaudiojni/ |
appendix-b-1-2-recording.cpp | 138 locator_mic.deviceType = SL_IODEVICE_AUDIOINPUT;
|
/external/opencv3/modules/videoio/src/ |
cap_openni2.cpp | 203 int deviceType = DEVICE_DEFAULT; 214 deviceType = index / 10; 219 if (deviceType == DEVICE_ASUS_XTION) 222 if( deviceType > DEVICE_MAX ) 300 // if( deviceType == DEVICE_ASUS_XTION )
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
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) { 582 mBundle.putInt(KEY_DEVICE_TYPE, deviceType);
|