/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | ElfInterfaceArmTest.cpp | 63 interface.FakeSetStartOffset(0); in TEST_F() 64 interface.FakeSetTotalEntries(10); in TEST_F() 73 interface.FakeSetTotalEntries(0); in TEST_F() 82 interface.FakeSetTotalEntries(2); in TEST_F() 91 interface.FakeSetTotalEntries(1); in TEST_F() 101 interface.FakeSetTotalEntries(1); in TEST_F() 112 interface.FakeSetTotalEntries(2); in TEST_F() 124 interface.FakeSetTotalEntries(1); in TEST_F() 141 interface.FakeSetTotalEntries(2); in TEST_F() 216 for (auto addr : interface) { in TEST_F() [all …]
|
H A D | ElfTest.cpp | 296 elf.FakeSetInterface(interface); in TEST_F() 315 elf.FakeSetInterface(interface); in VerifyStepIfSignalHandler() 371 elf.FakeSetInterface(interface); in TEST_F() 396 elf.FakeSetInterface(interface); in TEST_F() 411 elf.FakeSetInterface(interface); in TEST_F() 426 elf.FakeSetInterface(interface); in TEST_F() 445 elf.FakeSetInterface(interface); in TEST_F() 469 elf.FakeSetInterface(interface); in TEST_F() 490 elf.FakeSetInterface(interface); in TEST_F() 518 elf.FakeSetInterface(interface); in TEST_F() [all …]
|
/aosp12/system/netd/server/ |
H A D | PhysicalNetwork.cpp | 108 for (const std::string& interface : mInterfaces) { in setPermission() local 115 invalidateRouteCache(interface); in setPermission() 118 for (const std::string& interface : mInterfaces) { in setPermission() local 139 for (const std::string& interface : mInterfaces) { in addAsDefault() local 152 for (const std::string& interface : mInterfaces) { in removeAsDefault() local 166 for (const std::string& interface : mInterfaces) { in addUsers() local 181 for (const std::string& interface : mInterfaces) { in removeUsers() local 194 if (hasInterface(interface)) { in addInterface() 207 mInterfaces.insert(interface); in addInterface() 212 if (!hasInterface(interface)) { in removeInterface() [all …]
|
H A D | RouteController.h | 104 static uint32_t getIfIndex(const char* interface) EXCLUDES(sInterfaceToTableLock); 113 const char* interface, 137 [[nodiscard]] static int addInterfaceToDefaultNetwork(const char* interface, 139 [[nodiscard]] static int removeInterfaceFromDefaultNetwork(const char* interface, 144 [[nodiscard]] static int addRoute(const char* interface, const char* destination, 146 [[nodiscard]] static int removeRoute(const char* interface, const char* destination, 188 static uint32_t getRouteTableForInterfaceLocked(const char* interface) 192 static int modifyPhysicalNetwork(unsigned netId, const char* interface, 196 static int modifyRoute(uint16_t action, uint16_t flags, const char* interface, 203 static int modifyVirtualNetwork(unsigned netId, const char* interface, [all …]
|
H A D | RouteController.cpp | 150 uint32_t index = if_nametoindex(interface); in getRouteTableForInterfaceLocked() 156 sInterfaceToTable[interface] = index; in getRouteTableForInterfaceLocked() 381 interface = OIF_NONE; in modifyIpRoute() 385 interface = OIF_NONE; in modifyIpRoute() 389 if (interface != OIF_NONE) { in modifyIpRoute() 697 int ret = ifc_up(interface); in configureDummyNetwork() 737 maybeModifyQdiscClsact(interface, add); in modifyLocalNetwork() 1144 sInterfaceToTable.erase(interface); in flushRoutes() 1184 sInterfaceToTable.erase(interface); in removeInterfaceFromLocalNetwork() 1207 if (int ret = flushRoutes(interface)) { in removeInterfaceFromPhysicalNetwork() [all …]
|
H A D | VirtualNetwork.cpp | 39 for (const std::string& interface : mInterfaces) { in addUsers() local 40 int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers() 54 for (const std::string& interface : mInterfaces) { in removeUsers() local 66 int VirtualNetwork::addInterface(const std::string& interface) { in addInterface() argument 67 if (hasInterface(interface)) { in addInterface() 72 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface() 75 mInterfaces.insert(interface); in addInterface() 79 int VirtualNetwork::removeInterface(const std::string& interface) { in removeInterface() argument 80 if (!hasInterface(interface)) { in removeInterface() 85 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface() [all …]
|
H A D | LocalNetwork.cpp | 34 int LocalNetwork::addInterface(const std::string& interface) { in addInterface() argument 35 if (hasInterface(interface)) { in addInterface() 38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { in addInterface() 39 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); in addInterface() 42 mInterfaces.insert(interface); in addInterface() 46 int LocalNetwork::removeInterface(const std::string& interface) { in removeInterface() argument 47 if (!hasInterface(interface)) { in removeInterface() 50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { in removeInterface() 51 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId); in removeInterface() 54 mInterfaces.erase(interface); in removeInterface()
|
H A D | InterfaceController.cpp | 153 !isInterfaceName(interface) || in getParameterPathname() 266 if (!isIfaceName(interface)) { in setEnableIPv6() 279 if (!isIfaceName(interface)) { in setIPv6AddrGenMode() 302 if (!isIfaceName(interface)) { in setAcceptIPv6Ra() 313 if (!isIfaceName(interface)) { in setAcceptIPv6Dad() 322 if (!isIfaceName(interface)) { in setIPv6DadTransmits() 330 if (!isIfaceName(interface)) { in setIPv6PrivacyExtensions() 356 if (!isIfaceName(interface)) { in setMtu() 364 int InterfaceController::addAddress(const char *interface, in addAddress() argument 366 return ifc_add_address(interface, addrString, prefixLength); in addAddress() [all …]
|
/aosp12/system/core/fastboot/ |
H A D | usb_osx.cpp | 163 kr = (*interface)->USBInterfaceOpen(interface); in try_interfaces() 167 (void) (*interface)->Release(interface); in try_interfaces() 173 kr = (*interface)->GetNumEndpoints(interface, &interfaceNumEndpoints); in try_interfaces() 181 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || in try_interfaces() 183 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) in try_interfaces() 201 kr = (*interface)->GetPipeProperties(interface, endpoint, in try_interfaces() 231 handle->interface = interface; in try_interfaces() 241 kr = (*interface)->ClearPipeStallBothEnds(interface, in try_interfaces() 249 kr = (*interface)->ClearPipeStallBothEnds(interface, in try_interfaces() 260 (*interface)->USBInterfaceClose(interface); in try_interfaces() [all …]
|
/aosp12/art/test/960-default-smali/ |
H A D | expected-stdout.txt | 3 A-interface Greeter.SayHi()='Hi ' 5 A-interface Greeter.SayHiTwice()='Hi Hi ' 9 B-interface Greeter.SayHi()='Hello ' 10 B-interface Greeter2.SayHi()='Hello ' 18 C-interface Greeter.SayHi()='Hi ' 36 E-interface Greeter.SayHi()='Hi2 ' 37 E-interface Greeter2.SayHi()='Hi2 ' 47 F-interface Attendant.SayHi()='Hi ' 49 F-interface Greeter.SayHi()='Hi ' 95 M-interface Foo.bar()='BAZ!' [all …]
|
/aosp12/packages/modules/adb/client/ |
H A D | usb_osx.cpp | 66 interface(nullptr), in usb_handle() 320 IOReturn rc = (*interface)->ClearPipeStallBothEnds(interface, bulkEp); in ClearPipeStallBothEnds() 339 kr = (*interface)->USBInterfaceOpen(interface); in CheckInterface() 346 kr = (*interface)->GetNumEndpoints(interface, &interfaceNumEndpoints); in CheckInterface() 353 if ((*interface)->GetInterfaceClass(interface, &interfaceClass) != kIOReturnSuccess || in CheckInterface() 383 kr = (*interface) in CheckInterface() 416 handle->interface = interface; in CheckInterface() 423 (*interface)->USBInterfaceClose(interface); in CheckInterface() 536 (*handle->interface)->ClearPipeStall(handle->interface, handle->bulkIn); in usb_read() 576 (*handle->interface)->USBInterfaceClose(handle->interface); in usb_kick_locked() [all …]
|
/aosp12/system/bt/profile/avrcp/tests/ |
H A D | avrcp_device_test.cc | 52 const stack_config_t interface = { variable 123 MockMediaInterface interface; in TEST_F() local 168 MockMediaInterface interface; in TEST_F() local 210 MockMediaInterface interface; in TEST_F() local 254 MockMediaInterface interface; in TEST_F() local 315 MockMediaInterface interface; in TEST_F() local 369 MockMediaInterface interface; in TEST_F() local 424 MockMediaInterface interface; in TEST_F() local 482 MockMediaInterface interface; in TEST_F() local 539 MockMediaInterface interface; in TEST_F() local [all …]
|
/aosp12/hardware/interfaces/gnss/2.0/ |
H A D | IGnss.hal | 41 interface IGnss extends @1.1::IGnss { 44 * interface. 49 * close this interface. 51 * @param callback Callback interface for IGnss. 58 * This method returns the IGnssConfiguration interface. 65 * This method returns the IGnssDebug interface. 67 * @return gnssDebugIface Handle to the IGnssDebug interface. 77 * @return aGnssIface Handle to the IAGnss interface. 84 * @return aGnssRilIface Handle to the IAGnssRil interface. 89 * This method returns the IGnssMeasurement interface. [all …]
|
/aosp12/art/test/005-annotations/ |
H A D | expected-stdout.txt | 13 interface android.test.anno.AnnoSimpleType 15 interface android.test.anno.AnnoSimpleType2 29 interface android.test.anno.AnnoSimpleMethod 33 interface android.test.anno.AnnoSimpleField 36 interface android.test.anno.AnnoSimpleField 40 interface android.test.anno.AnnoSimpleType2 49 interface android.test.anno.AnnoFancyType 51 interface android.test.anno.AnnoSimpleType 53 interface android.test.anno.AnnoSimpleType2 63 interface android.test.anno.AnnoFancyType [all …]
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | android.hardware.drm@1.4-service.clearkey.rc | 2 interface android.hardware.drm@1.0::ICryptoFactory clearkey 3 interface android.hardware.drm@1.0::IDrmFactory clearkey 4 interface android.hardware.drm@1.1::ICryptoFactory clearkey 5 interface android.hardware.drm@1.1::IDrmFactory clearkey 6 interface android.hardware.drm@1.2::ICryptoFactory clearkey 7 interface android.hardware.drm@1.2::IDrmFactory clearkey 8 interface android.hardware.drm@1.3::ICryptoFactory clearkey 9 interface android.hardware.drm@1.3::IDrmFactory clearkey 10 interface android.hardware.drm@1.4::ICryptoFactory clearkey 11 interface android.hardware.drm@1.4::IDrmFactory clearkey
|
H A D | android.hardware.drm@1.4-service-lazy.clearkey.rc | 2 interface android.hardware.drm@1.0::ICryptoFactory clearkey 3 interface android.hardware.drm@1.0::IDrmFactory clearkey 4 interface android.hardware.drm@1.1::ICryptoFactory clearkey 5 interface android.hardware.drm@1.1::IDrmFactory clearkey 6 interface android.hardware.drm@1.2::ICryptoFactory clearkey 7 interface android.hardware.drm@1.2::IDrmFactory clearkey 8 interface android.hardware.drm@1.3::ICryptoFactory clearkey 9 interface android.hardware.drm@1.3::IDrmFactory clearkey 10 interface android.hardware.drm@1.4::ICryptoFactory clearkey 11 interface android.hardware.drm@1.4::IDrmFactory clearkey
|
/aosp12/hardware/interfaces/radio/1.2/default/ |
H A D | android.hardware.radio@1.2-radio-service.rc | 2 interface android.hardware.radio@1.0::IRadio slot1 3 interface android.hardware.radio@1.0::IRadio slot2 4 interface android.hardware.radio@1.0::IRadio slot3 5 interface android.hardware.radio@1.1::IRadio slot1 6 interface android.hardware.radio@1.1::IRadio slot2 7 interface android.hardware.radio@1.1::IRadio slot3 8 interface android.hardware.radio@1.2::IRadio slot1 9 interface android.hardware.radio@1.2::IRadio slot2 10 interface android.hardware.radio@1.2::IRadio slot3
|
/aosp12/system/tools/aidl/ |
H A D | generate_cpp.cpp | 245 if (interface.IsSensitiveData()) { in DefineClientTransaction() 500 for (const auto& method : interface.GetMethods()) { in BuildClientSource() 738 if (interface.IsVintfStability()) { in BuildServerSource() 765 for (const auto& method : interface.GetMethods()) { in BuildServerSource() 806 bool deprecated = interface.IsDeprecated() || in BuildServerSource() 807 std::any_of(interface.GetMethods().begin(), interface.GetMethods().end(), in BuildServerSource() 850 HeaderFile(interface, ClassNames::RAW, false), 862 BuildConstantDefinitions(interface, typenames, {}, ClassName(interface, ClassNames::INTERFACE), 895 for (const auto& method: interface.GetMethods()) { in BuildClientHeader() 1037 if (!interface.GetMethods().empty()) { in BuildInterfaceHeader() [all …]
|
/aosp12/art/test/969-iface-super/ |
H A D | expected-stdout.txt | 3 A-interface Iface.SayHi()='Hello ' 7 B-interface Iface.SayHi()='Hello Hello ' 8 B-interface Iface2.SayHi()='Hello Hello ' 12 C-interface Iface.SayHi()='Hello and welcome ' 21 E-interface Iface.SayHi()='Hello there!' 22 E-interface Iface3.SayHi()='Hello there!' 27 F-interface Iface.SayHi()='Hello there!' 28 F-interface Iface3.SayHi()='Hello there!' 35 G-interface Iface.SayHi()='Hello there!?' 36 G-interface Iface3.SayHi()='Hello there!?' [all …]
|
/aosp12/hardware/qcom/display/msm8909/sdm/include/private/ |
H A D | extension_interface.h | 50 typedef DisplayError (*CreateExtensionInterface)(uint16_t version, ExtensionInterface **interface); 51 typedef DisplayError (*DestroyExtensionInterface)(ExtensionInterface *interface); 60 PartialUpdateInterface **interface) = 0; 61 virtual DisplayError DestroyPartialUpdate(PartialUpdateInterface *interface) = 0; 68 StrategyInterface **interface) = 0; 69 virtual DisplayError DestroyStrategyExtn(StrategyInterface *interface) = 0; 74 ResourceInterface **interface) = 0; 75 virtual DisplayError DestroyResourceExtn(ResourceInterface *interface) = 0; 78 virtual DisplayError DestroyDppsControlExtn(DppsControlInterface *interface) = 0;
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/include/private/ |
H A D | extension_interface.h | 50 typedef DisplayError (*CreateExtensionInterface)(uint16_t version, ExtensionInterface **interface); 51 typedef DisplayError (*DestroyExtensionInterface)(ExtensionInterface *interface); 60 PartialUpdateInterface **interface) = 0; 61 virtual DisplayError DestroyPartialUpdate(PartialUpdateInterface *interface) = 0; 68 StrategyInterface **interface) = 0; 69 virtual DisplayError DestroyStrategyExtn(StrategyInterface *interface) = 0; 74 ResourceInterface **interface) = 0; 75 virtual DisplayError DestroyResourceExtn(ResourceInterface *interface) = 0; 78 virtual DisplayError DestroyDppsControlExtn(DppsControlInterface *interface) = 0;
|
/aosp12/hardware/qcom/display/msm8998/sdm/include/private/ |
H A D | extension_interface.h | 50 typedef DisplayError (*CreateExtensionInterface)(uint16_t version, ExtensionInterface **interface); 51 typedef DisplayError (*DestroyExtensionInterface)(ExtensionInterface *interface); 60 PartialUpdateInterface **interface) = 0; 61 virtual DisplayError DestroyPartialUpdate(PartialUpdateInterface *interface) = 0; 68 StrategyInterface **interface) = 0; 69 virtual DisplayError DestroyStrategyExtn(StrategyInterface *interface) = 0; 72 ResourceInterface **interface, 75 virtual DisplayError DestroyResourceExtn(ResourceInterface *interface) = 0; 78 virtual DisplayError DestroyDppsControlExtn(DppsControlInterface *interface) = 0;
|
/aosp12/hardware/qcom/sdm845/display/sdm/include/private/ |
H A D | extension_interface.h | 50 typedef DisplayError (*CreateExtensionInterface)(uint16_t version, ExtensionInterface **interface); 51 typedef DisplayError (*DestroyExtensionInterface)(ExtensionInterface *interface); 60 PartialUpdateInterface **interface) = 0; 61 virtual DisplayError DestroyPartialUpdate(PartialUpdateInterface *interface) = 0; 68 StrategyInterface **interface) = 0; 69 virtual DisplayError DestroyStrategyExtn(StrategyInterface *interface) = 0; 74 ResourceInterface **interface) = 0; 75 virtual DisplayError DestroyResourceExtn(ResourceInterface *interface) = 0; 78 virtual DisplayError DestroyDppsControlExtn(DppsControlInterface *interface) = 0;
|
/aosp12/hardware/interfaces/automotive/can/1.0/ |
H A D | ICanController.hal | 28 interface ICanController { 35 /** Virtual SocketCAN interface. */ 38 /** Native SocketCAN interface. */ 41 /** Serial line CAN interface. */ 44 /** Proprietary, device-specific interface. */ 58 * interface twice). 101 * Hardware interface configuration. 108 /** Virtual SocketCAN interface. */ 116 /** Native SocketCAN interface. */ 136 /** Serial line CAN interface. */ [all …]
|
/aosp12/hardware/qcom/sm7250/display/sdm/include/private/ |
H A D | extension_interface.h | 50 typedef DisplayError (*CreateExtensionInterface)(uint16_t version, ExtensionInterface **interface); 51 typedef DisplayError (*DestroyExtensionInterface)(ExtensionInterface *interface); 61 PartialUpdateInterface **interface) = 0; 62 virtual DisplayError DestroyPartialUpdate(PartialUpdateInterface *interface) = 0; 70 StrategyInterface **interface) = 0; 71 virtual DisplayError DestroyStrategyExtn(StrategyInterface *interface) = 0; 75 ResourceInterface **interface) = 0; 76 virtual DisplayError DestroyResourceExtn(ResourceInterface *interface) = 0; 79 virtual DisplayError DestroyDppsControlExtn(DppsControlInterface *interface) = 0;
|