Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentInterface.cpp48 CompIntf(const std::shared_ptr<C2ComponentInterface>& intf) : in CompIntf()
49 ConfigurableC2Intf{intf->getName(), intf->getId()}, in CompIntf()
50 mIntf{intf} {
89 const std::shared_ptr<C2ComponentInterface>& intf, in ComponentInterface() argument
91 : mInterface{intf}, in ComponentInterface()
92 mConfigurable{new CachedConfigurable(std::make_unique<CompIntf>(intf))} {
DComponentStore.cpp162 onInterfaceLoaded(c2component->intf()); in createComponent()
231 void ComponentStore::onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf) { in onInterfaceLoaded() argument
235 if (!mLoadedInterfaces.count(intf->getName())) { in onInterfaceLoaded()
237 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded()
359 std::shared_ptr<C2ComponentInterface> intf = compStatus.c2Component->intf(); in dump() local
360 if (!intf) { in dump()
364 out << indent << "Name: " << intf->getName() << std::endl; in dump()
365 out << indent << "Id: " << intf->getId() << std::endl; in dump()
DInputSurfaceConnection.cpp77 std::shared_ptr<C2ComponentInterface> intf = localComp->intf(); local
78 mSinkName = intf ? intf->getName() : "";
295 std::shared_ptr<C2ComponentInterface> intf = mLocalComp->intf(); in queryFromSink() local
296 if (intf) { in queryFromSink()
297 return intf->query_vb(stackParams, in queryFromSink()
DInputSurface.cpp70 const std::shared_ptr<InputSurface::Interface> &intf, in ConfigurableIntf() argument
73 mIntf(intf), in ConfigurableIntf()
DConfigurable.cpp37 std::unique_ptr<ConfigurableC2Intf>&& intf) in CachedConfigurable() argument
38 : mIntf{std::move(intf)} { in CachedConfigurable()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java127 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface() argument
128 return native_claim_interface(intf.getId(), force); in claimInterface()
136 public boolean releaseInterface(UsbInterface intf) { in releaseInterface() argument
137 return native_release_interface(intf.getId()); in releaseInterface()
146 public boolean setInterface(UsbInterface intf) { in setInterface() argument
147 return native_set_interface(intf.getId(), intf.getAlternateSetting()); in setInterface()
DUsbInterface.java175 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol);
176 intf.setEndpoints(endpoints);
177 return intf;
DDeviceFilter.java193 UsbInterface intf = device.getInterface(i); in matches() local
194 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), in matches()
195 intf.getInterfaceProtocol())) return true; in matches()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c105 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()
115 intf = (struct usb_interface_descriptor *)desc; in usb_device_added()
124 if (!intf) { in usb_device_added()
133 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
/frameworks/av/media/mtp/
DMtpDescriptors.cpp120 .intf = mtp_interface_desc,
127 .intf = mtp_interface_desc,
134 .intf = mtp_interface_desc,
144 .intf = ptp_interface_desc,
151 .intf = ptp_interface_desc,
158 .intf = ptp_interface_desc,
DMtpDescriptors.h42 struct usb_interface_descriptor intf; member
49 struct usb_interface_descriptor intf; member
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp72 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels() argument
88 c2_status_t err = intf->querySupportedValues(profileQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
104 c2_status_t err1 = intf->querySupportedParams(&paramDescs); in addSupportedProfileLevels()
126 err = intf->config({&pl}, C2_DONT_BLOCK, &failures); in addSupportedProfileLevels()
131 err = intf->querySupportedValues(levelQuery, C2_DONT_BLOCK); in addSupportedProfileLevels()
189 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats() argument
192 (void)intf; in addSupportedColorFormats()
363 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList() local
365 if (!intf) { in buildMediaCodecList()
549 addSupportedProfileLevels(intf, caps.get(), trait, mediaType); in buildMediaCodecList()
[all …]
/frameworks/base/libs/usb/tests/accessorytest/
Dusb.c111 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local
117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added()
119 intf = (struct usb_interface_descriptor *)desc; in usb_device_added()
128 if (!intf) { in usb_device_added()
137 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
/frameworks/base/core/java/android/net/
DTestNetworkInterface.java44 public TestNetworkInterface(ParcelFileDescriptor pfd, String intf) { in TestNetworkInterface() argument
46 mInterfaceName = intf; in TestNetworkInterface()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java138 UsbInterface intf = device.getInterface(i); in isCamera() local
139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
140 intf.getInterfaceSubclass() == 1 && in isCamera()
141 intf.getInterfaceProtocol() == 1) { in isCamera()
/frameworks/av/media/codec2/faultinjection/
DC2ComponentWrapper.cpp121 std::shared_ptr<C2ComponentInterface> C2ComponentWrapper::intf(){ in intf() function in android::C2ComponentWrapper
122 return mComp->intf(); in intf()
DC2ComponentWrapper.h76 virtual std::shared_ptr<C2ComponentInterface> intf() override;
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp196 const std::shared_ptr<C2ComponentInterface> &intf) in SimpleC2Component() argument
198 mIntf(intf), in SimpleC2Component()
201 mLooper->setName(intf->getName().c_str()); in SimpleC2Component()
377 std::shared_ptr<C2ComponentInterface> SimpleC2Component::intf() { in intf() function in android::SimpleC2Component
469 c2_status_t err = intf()->query_vb( in processQueue()
531 c2_status_t err = intf()->config_vb(updates, C2_MAY_BLOCK, &failures); in processQueue()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h35 const std::shared_ptr<C2ComponentInterface> &intf);
51 virtual std::shared_ptr<C2ComponentInterface> intf() override;
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp52 void setComponent(std::shared_ptr<C2ComponentInterface> intf) { in setComponent() argument
53 mIntf = intf; in setComponent()
88 void testMain(std::shared_ptr<C2ComponentInterface> intf,
630 void C2CompIntfTest::testMain(std::shared_ptr<C2ComponentInterface> intf, in testMain() argument
632 setComponent(intf); in testMain()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp717 std::shared_ptr<C2ComponentInterface> intf; in init() local
718 c2_status_t res = createInterface(0, &intf); in init()
726 traits->name = intf->getName(); in init()
730 res = intf->query_vb({ &kind, &domain }, {}, C2_MAY_BLOCK, nullptr); in init()
749 res = intf->query_vb({}, { mediaTypeIndex }, C2_MAY_BLOCK, &params); in init()
789 res = intf->query_vb({}, { C2ComponentAliasesSetting::PARAM_TYPE }, C2_MAY_BLOCK, &params); in init()
797 ALOGD("'%s' has aliases: '%s'", intf->getName().c_str(), aliases); in init()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroup.java255 public void setInterface(String intf) { in setInterface() argument
256 mInterface = intf; in setInterface()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h92 CachedConfigurable(std::unique_ptr<ConfigurableC2Intf>&& intf);
DComponentStore.h103 void onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf);
/frameworks/av/media/codec2/core/include/
DC2Component.h664 virtual std::shared_ptr<C2ComponentInterface> intf() = 0;

12