/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentInterface.cpp | 48 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))} {
|
D | ComponentStore.cpp | 162 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()
|
D | InputSurfaceConnection.cpp | 77 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()
|
D | InputSurface.cpp | 70 const std::shared_ptr<InputSurface::Interface> &intf, in ConfigurableIntf() argument 73 mIntf(intf), in ConfigurableIntf()
|
D | Configurable.cpp | 37 std::unique_ptr<ConfigurableC2Intf>&& intf) in CachedConfigurable() argument 38 : mIntf{std::move(intf)} { in CachedConfigurable()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 127 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()
|
D | UsbInterface.java | 175 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol); 176 intf.setEndpoints(endpoints); 177 return intf;
|
D | DeviceFilter.java | 193 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/ |
D | accessorychat.c | 105 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/ |
D | MtpDescriptors.cpp | 120 .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,
|
D | MtpDescriptors.h | 42 struct usb_interface_descriptor intf; member 49 struct usb_interface_descriptor intf; member
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 72 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(¶mDescs); 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/ |
D | usb.c | 111 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/ |
D | TestNetworkInterface.java | 44 public TestNetworkInterface(ParcelFileDescriptor pfd, String intf) { in TestNetworkInterface() argument 46 mInterfaceName = intf; in TestNetworkInterface()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 138 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/ |
D | C2ComponentWrapper.cpp | 121 std::shared_ptr<C2ComponentInterface> C2ComponentWrapper::intf(){ in intf() function in android::C2ComponentWrapper 122 return mComp->intf(); in intf()
|
D | C2ComponentWrapper.h | 76 virtual std::shared_ptr<C2ComponentInterface> intf() override;
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 196 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/ |
D | SimpleC2Component.h | 35 const std::shared_ptr<C2ComponentInterface> &intf); 51 virtual std::shared_ptr<C2ComponentInterface> intf() override;
|
/frameworks/av/media/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 52 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/ |
D | C2Store.cpp | 717 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, ¶ms); in init() 789 res = intf->query_vb({}, { C2ComponentAliasesSetting::PARAM_TYPE }, C2_MAY_BLOCK, ¶ms); in init() 797 ALOGD("'%s' has aliases: '%s'", intf->getName().c_str(), aliases); in init()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 255 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/ |
D | Configurable.h | 92 CachedConfigurable(std::unique_ptr<ConfigurableC2Intf>&& intf);
|
D | ComponentStore.h | 103 void onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf);
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 664 virtual std::shared_ptr<C2ComponentInterface> intf() = 0;
|