Home
last modified time | relevance | path

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

/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeVendorPayload.java33 public final byte[] vendorId; field in IkeVendorPayload
43 vendorId = payloadBody; in IkeVendorPayload()
64 return GENERIC_HEADER_LENGTH + vendorId.length; in getPayloadLength()
/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/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp166 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName, jlong vendorId
168 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag, jlong vendorId);
652 metadata_vendor_id_t vendorId = CAMERA_METADATA_INVALID_VENDOR_ID; in CameraMetadata_getTypeFromTagLocal() local
655 vendorId = get_camera_metadata_vendor_id(metaBuffer); in CameraMetadata_getTypeFromTagLocal()
659 int tagType = get_local_camera_metadata_tag_type_vendor_id(tag, vendorId); in CameraMetadata_getTypeFromTagLocal()
685 metadata_vendor_id_t vendorId = get_camera_metadata_vendor_id(metaBuffer); in CameraMetadata_getTagFromKeyLocal() local
687 cache->getVendorTagDescriptor(vendorId, &vTags); in CameraMetadata_getTagFromKeyLocal()
700 metadata_vendor_id_t vendorId = CAMERA_METADATA_INVALID_VENDOR_ID; in CameraMetadata_getAllVendorKeys() local
714 vendorId = get_camera_metadata_vendor_id(metaBuffer); in CameraMetadata_getAllVendorKeys()
715 cache->getVendorTagDescriptor(vendorId, &vTags); in CameraMetadata_getAllVendorKeys()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java131 int vendorId = source.readInt();
135 deviceType, vendorId, displayName, powerStatus);
168 int vendorId, String displayName, int powerStatus) { in HdmiDeviceInfo() argument
176 mVendorId = vendorId; in HdmiDeviceInfo()
196 int vendorId, String displayName) { in HdmiDeviceInfo() argument
198 vendorId, displayName, HdmiControlManager.POWER_STATUS_UNKNOWN); in HdmiDeviceInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java177 static HdmiCecMessage buildDeviceVendorIdCommand(int src, int vendorId) { in buildDeviceVendorIdCommand() argument
179 (byte) ((vendorId >> 16) & 0xFF), in buildDeviceVendorIdCommand()
180 (byte) ((vendorId >> 8) & 0xFF), in buildDeviceVendorIdCommand()
181 (byte) (vendorId & 0xFF) in buildDeviceVendorIdCommand()
586 static HdmiCecMessage buildVendorCommandWithId(int src, int dest, int vendorId, in buildVendorCommandWithId() argument
589 params[0] = (byte) ((vendorId >> 16) & 0xFF); in buildVendorCommandWithId()
590 params[1] = (byte) ((vendorId >> 8) & 0xFF); in buildVendorCommandWithId()
591 params[2] = (byte) (vendorId & 0xFF); in buildVendorCommandWithId()
DHdmiCecLocalDevice.java375 int vendorId = mService.getVendorId(); in handleGiveDeviceVendorId() local
377 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(mAddress, vendorId); in handleGiveDeviceVendorId()
656 int vendorId = HdmiUtils.threeBytesToInt(params); in handleVendorCommandWithId() local
657 if (vendorId == mService.getVendorId()) { in handleVendorCommandWithId()
DDeviceDiscoveryAction.java391 int vendorId = HdmiUtils.threeBytesToInt(params);
392 current.mVendorId = vendorId;
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java73 private UsbDevice(@NonNull String name, int vendorId, int productId, int Class, int subClass, in UsbDevice() argument
78 mVendorId = vendorId; in UsbDevice()
307 int vendorId = in.readInt();
319 UsbDevice device = new UsbDevice(name, vendorId, productId, clasz, subClass, protocol,
378 public Builder(@NonNull String name, int vendorId, int productId, int Class, int subClass, in Builder() argument
383 mVendorId = vendorId; in Builder()
DDeviceFilter.java85 int vendorId = -1; in read() local
121 vendorId = intValue; in read()
133 return new DeviceFilter(vendorId, productId, in read()
/frameworks/base/wifi/java/android/net/wifi/
DAnqpInformationElement.java63 public AnqpInformationElement(int vendorId, int elementId, byte[] payload) { in AnqpInformationElement() argument
64 mVendorId = vendorId; in AnqpInformationElement()
DScanResult.java819 int vendorId = in.readInt();
825 new AnqpInformationElement(vendorId, elementId, payload);
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java195 long vendorId; in getKeys() local
198 vendorId = ((CaptureRequest.Key<?>) k).getVendorId(); in getKeys()
201 vendorId = ((CaptureResult.Key<?>) k).getVendorId(); in getKeys()
204 vendorId = ((CameraCharacteristics.Key<?>) k).getVendorId(); in getKeys()
210 CameraMetadataNative.getTag(keyName, vendorId)) >= 0) { in getKeys()
DCaptureResult.java83 public Key(String name, Class<T> type, long vendorId) { in Key() argument
84 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key()
DCaptureRequest.java112 public Key(String name, Class<T> type, long vendorId) { in Key() argument
113 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key()
DCameraCharacteristics.java79 public Key(String name, Class<T> type, long vendorId) { in Key() argument
80 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceIdentifier.java35 public InputDeviceIdentifier(String descriptor, int vendorId, int productId) { in InputDeviceIdentifier() argument
37 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/native/services/inputflinger/host/
DInputDriver.cpp51 int32_t vendorId; member
126 const char* name, int32_t productId, int32_t vendorId, in createDeviceIdentifier() argument
131 .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 BlackListEntry(int vendorId, int productId, int flags) { in BlackListEntry() argument
85 mVendorId = vendorId; in BlackListEntry()
99 private static boolean isDeviceBlacklisted(int vendorId, int productId, int flags) { in isDeviceBlacklisted() argument
101 if (entry.mVendorId == vendorId && entry.mProductId == productId) { in isDeviceBlacklisted()
/frameworks/base/core/java/android/view/
DInputDevice.java412 private InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, in InputDevice() argument
420 mVendorId = vendorId; in InputDevice()
430 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); in InputDevice()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java101 public Key(String name, Class<T> type, long vendorId) { in Key() argument
110 mVendorId = vendorId; in Key()
1568 private static native int nativeGetTagFromKey(String keyName, long vendorId) in nativeGetTagFromKey() argument
1570 private static native int nativeGetTypeFromTag(int tag, long vendorId) in nativeGetTypeFromTag() argument
1637 public static int getTag(String key, long vendorId) { in getTag() argument
1638 return nativeGetTagFromKey(key, vendorId); in getTag()
1650 public static int getNativeType(int tag, long vendorId) { in getNativeType() argument
1651 return nativeGetTypeFromTag(tag, vendorId); in getNativeType()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp333 metadata_vendor_id_t vendorId = std::hash<std::string> {} ( in TEST()
338 hardware::hidl_string resultTag = vendorCache->getTagName(tagId, vendorId); in TEST()
348 set_camera_metadata_vendor_id(metaBuffer, vendorId); in TEST()
/frameworks/av/camera/include/camera/
DCameraMetadata.h176 status_t removePermissionEntries(metadata_vendor_id_t vendorId,
/frameworks/av/camera/
DCameraMetadata.cpp411 status_t CameraMetadata::removePermissionEntries(metadata_vendor_id_t vendorId, in removePermissionEntries() argument
425 cache->getVendorTagDescriptor(vendorId, &vTags); in removePermissionEntries()