Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiDeviceInfoTest.java38 int vendorId = 0x123456; in testEquals() local
54 logicalAddr, phyAddr, portId, deviceType, vendorId, displayName), in testEquals()
56 logicalAddr, phyAddr, portId, deviceType, vendorId, displayName)) in testEquals()
63 vendorId, in testEquals()
71 vendorId, in testEquals()
80 vendorId, in testEquals()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp167 jlong vendorId);
171 jlong vendorId);
174 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jclass thiz, jint tag, jlong vendorId);
566 auto vendorId = metadata->getVendorId(); in CameraMetadata_readFromParcel() local
567 if ((vendorId != CAMERA_METADATA_INVALID_VENDOR_ID) && in CameraMetadata_readFromParcel()
568 !VendorTagDescriptorCache::isVendorCachePresent(vendorId)) { in CameraMetadata_readFromParcel()
721 metadata_vendor_id_t vendorId = CAMERA_METADATA_INVALID_VENDOR_ID; in CameraMetadata_getTypeFromTagLocal() local
723 vendorId = metadata->getVendorId(); in CameraMetadata_getTypeFromTagLocal()
726 int tagType = get_local_camera_metadata_tag_type_vendor_id(tag, vendorId); in CameraMetadata_getTypeFromTagLocal()
752 auto vendorId = metadata->getVendorId(); in CameraMetadata_getTagFromKeyLocal() local
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java136 int vendorId = source.readInt();
141 deviceType, vendorId, displayName, powerStatus, cecVersion);
174 int vendorId, String displayName, int powerStatus, int hdmiCecVersion) { in HdmiDeviceInfo() argument
183 mVendorId = vendorId; in HdmiDeviceInfo()
204 int vendorId, String displayName, int powerStatus) { in HdmiDeviceInfo() argument
206 vendorId, displayName, powerStatus, HdmiControlManager.HDMI_CEC_VERSION_1_4_B); in HdmiDeviceInfo()
221 int vendorId, String displayName) { in HdmiDeviceInfo() argument
223 vendorId, displayName, HdmiControlManager.POWER_STATUS_UNKNOWN, in HdmiDeviceInfo()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c88 uint16_t vendorId, productId; in usb_device_added() local
98 vendorId = usb_device_get_vendor_id(device); in usb_device_added()
101 if (vendorId == 0x18D1 || vendorId == 0x22B8 || vendorId == 0x04e8) { in usb_device_added()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java181 static HdmiCecMessage buildDeviceVendorIdCommand(int src, int vendorId) { in buildDeviceVendorIdCommand() argument
183 (byte) ((vendorId >> 16) & 0xFF), in buildDeviceVendorIdCommand()
184 (byte) ((vendorId >> 8) & 0xFF), in buildDeviceVendorIdCommand()
185 (byte) (vendorId & 0xFF) in buildDeviceVendorIdCommand()
589 static HdmiCecMessage buildVendorCommandWithId(int src, int dest, int vendorId, in buildVendorCommandWithId() argument
592 params[0] = (byte) ((vendorId >> 16) & 0xFF); in buildVendorCommandWithId()
593 params[1] = (byte) ((vendorId >> 8) & 0xFF); in buildVendorCommandWithId()
594 params[2] = (byte) (vendorId & 0xFF); in buildVendorCommandWithId()
DDeviceDiscoveryAction.java390 int vendorId = HdmiUtils.threeBytesToInt(params);
391 current.mVendorId = vendorId;
DHdmiCecLocalDevice.java398 int vendorId = mService.getVendorId(); in handleGiveDeviceVendorId() local
400 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(mAddress, vendorId); in handleGiveDeviceVendorId()
825 int vendorId = HdmiUtils.threeBytesToInt(params); in handleVendorCommandWithId() local
826 if (vendorId == mService.getVendorId()) { in handleVendorCommandWithId()
DHdmiCecNetwork.java648 int vendorId = HdmiUtils.threeBytesToInt(message.getParams()); in handleDeviceVendorId() local
656 deviceInfo.getPortId(), deviceInfo.getDeviceType(), vendorId, in handleDeviceVendorId()
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java80 private UsbDevice(@NonNull String name, int vendorId, int productId, int Class, int subClass, in UsbDevice() argument
87 mVendorId = vendorId; in UsbDevice()
351 int vendorId = in.readInt();
369 UsbDevice device = new UsbDevice(name, vendorId, productId, clasz, subClass, protocol,
440 public Builder(@NonNull String name, int vendorId, int productId, int Class, int subClass, in Builder() argument
447 mVendorId = vendorId; in Builder()
DDeviceFilter.java97 int vendorId = -1; in read() local
133 vendorId = intValue; in read()
145 return new DeviceFilter(vendorId, productId, in read()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java222 long vendorId; in getKeys() local
225 vendorId = ((CaptureRequest.Key<?>) k).getVendorId(); in getKeys()
228 vendorId = ((CaptureResult.Key<?>) k).getVendorId(); in getKeys()
231 vendorId = ((CameraCharacteristics.Key<?>) k).getVendorId(); in getKeys()
238 CameraMetadataNative.getTag(keyName, vendorId)) < 0) { in getKeys()
DCaptureResult.java84 public Key(String name, Class<T> type, long vendorId) { in Key() argument
85 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key()
/frameworks/base/core/java/android/bluetooth/
DSdpDipRecord.java35 int vendorId, int vendorIdSource, in SdpDipRecord() argument
40 this.mVendorId = vendorId; in SdpDipRecord()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java36 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() argument
38 this.mVendorId = vendorId; in InputDeviceIdentifier()
/frameworks/base/libs/usb/tests/accessorytest/
Dusb.c87 uint16_t vendorId, productId; in usb_device_added() local
97 vendorId = usb_device_get_vendor_id(device); in usb_device_added()
100 if (!current_device && vendorId == 0x18D1 && productId >= 0x2D00 && productId <= 0x2D05) { in usb_device_added()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecNetworkTest.java291 int vendorId = 1234; in cecDevices_tracking_reportVendorId() local
293 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(logicalAddress, vendorId)); in cecDevices_tracking_reportVendorId()
304 assertThat(cecDeviceInfo.getVendorId()).isEqualTo(vendorId); in cecDevices_tracking_reportVendorId()
316 int vendorId = 1234; in cecDevices_tracking_updatesDeviceInfo() local
329 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(logicalAddress, vendorId)); in cecDevices_tracking_updatesDeviceInfo()
340 assertThat(cecDeviceInfo.getVendorId()).isEqualTo(vendorId); in cecDevices_tracking_updatesDeviceInfo()
419 int vendorId = 1234; in cecDevices_tracking_updatesVendorId() local
422 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(logicalAddress, vendorId)); in cecDevices_tracking_updatesVendorId()
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp51 int32_t vendorId; member
126 const char* name, int32_t productId, int32_t vendorId, in createDeviceIdentifier() argument
132 .vendorId = vendorId, in createDeviceIdentifier()
216 idi.vendor = id->vendorId; in inputGetDevicePropertyMap()
DInputDriver.h44 const char* name, int32_t productId, int32_t vendorId,
91 const char* name, int32_t productId, int32_t vendorId,
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java84 DenyListEntry(int vendorId, int productId, int flags) { in DenyListEntry() argument
85 mVendorId = vendorId; in DenyListEntry()
99 private static boolean isDeviceDenylisted(int vendorId, int productId, int flags) { in isDeviceDenylisted() argument
101 if (entry.mVendorId == vendorId && entry.mProductId == productId) { in isDeviceDenylisted()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java114 public Key(String name, Class<T> type, long vendorId) { in Key() argument
123 mVendorId = vendorId; in Key()
1945 private static native void nativeSetVendorId(long ptr, long vendorId); in nativeSetVendorId() argument
1964 private static native int nativeGetTagFromKey(String keyName, long vendorId) in nativeGetTagFromKey() argument
1967 private static native int nativeGetTypeFromTag(int tag, long vendorId) in nativeGetTypeFromTag() argument
1994 public void setVendorId(long vendorId) { in setVendorId() argument
1995 nativeSetVendorId(mMetadataPtr, vendorId); in setVendorId()
2056 public static int getTag(String key, long vendorId) { in getTag() argument
2057 return nativeGetTagFromKey(key, vendorId); in getTag()
2069 public static int getNativeType(int tag, long vendorId) { in getNativeType() argument
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java462 public InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, in InputDevice() argument
470 mVendorId = vendorId; in InputDevice()
482 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
/frameworks/av/camera/include/camera/
DVendorTagDescriptor.h256 static bool isVendorCachePresent(metadata_vendor_id_t vendorId);
DCameraMetadata.h191 status_t removePermissionEntries(metadata_vendor_id_t vendorId,
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp426 metadata_vendor_id_t vendorId = std::hash<std::string> {} ( in TEST()
431 hardware::hidl_string resultTag = vendorCache->getTagName(tagId, vendorId); in TEST()
441 set_camera_metadata_vendor_id(metaBuffer, vendorId); in TEST()
/frameworks/av/camera/
DCameraMetadata.cpp426 status_t CameraMetadata::removePermissionEntries(metadata_vendor_id_t vendorId, in removePermissionEntries() argument
440 cache->getVendorTagDescriptor(vendorId, &vTags); in removePermissionEntries()

12