Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp61 std::shared_ptr<ITest> iface; member
68 #define iface GetParam().iface macro
77 TEST_P(NdkBinderTest_Aidl, GotTest) { ASSERT_NE(nullptr, iface); } in TEST_P()
81 ASSERT_OK(iface->GetName(&name)); in TEST_P()
86 ASSERT_EQ(shouldBeRemote, iface->isRemote()); in TEST_P()
90 ASSERT_EQ(STATUS_OK, AIBinder_ping(iface->asBinder().get())); in TEST_P()
95 ASSERT_EQ(STATUS_OK, AIBinder_getExtension(iface->asBinder().get(), ext.getR())); in TEST_P()
130 EXPECT_OK(iface->GetName(&name)); in TEST_P()
131 if (name == "JAVA" && !iface->isRemote()) { in TEST_P()
137 EXPECT_EQ("", dumpToString(iface, {})); in TEST_P()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java449 private @NonNull UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
450 for (int i = 0; i < iface.getEndpointCount(); i++) { in getEndpoint()
451 UsbEndpoint ep = iface.getEndpoint(i); in getEndpoint()
458 + iface.getName()); in getEndpoint()
978 @NonNull UsbInterface iface) throws Throwable {
980 assertTrue(iface.getEndpointCount() == 2);
981 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
982 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1102 @NonNull UsbInterface iface) throws Throwable { in usbRequestTests() argument
1104 assertTrue(iface.getEndpointCount() == 2); in usbRequestTests()
[all …]
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java109 UsbInterface iface = null; in runTest() local
112 iface = mDevice.getInterface(i); in runTest()
117 UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN); in runTest()
118 UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT); in runTest()
324 @NonNull private UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
325 for (int i = 0; i < iface.getEndpointCount(); i++) { in getEndpoint()
326 UsbEndpoint ep = iface.getEndpoint(i); in getEndpoint()
333 + iface.getName()); in getEndpoint()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java24 import org.jf.dexlib2.iface.Annotation;
25 import org.jf.dexlib2.iface.AnnotationElement;
26 import org.jf.dexlib2.iface.ClassDef;
27 import org.jf.dexlib2.iface.DexFile;
28 import org.jf.dexlib2.iface.Method;
29 import org.jf.dexlib2.iface.value.StringEncodedValue;
DTestCaseReport.java28 import org.jf.dexlib2.iface.Annotation;
29 import org.jf.dexlib2.iface.AnnotationElement;
30 import org.jf.dexlib2.iface.ClassDef;
31 import org.jf.dexlib2.iface.DexFile;
32 import org.jf.dexlib2.iface.Method;
/cts/tests/tests/net/src/android/net/cts/
DCaptivePortalApiTest.kt102 private lateinit var iface: TestNetworkInterface variable in android.net.cts.CaptivePortalApiTest
122 iface = tnm.createTapInterface() in setUp()
128 iface.fileDescriptor.fileDescriptor, in setUp()
150 iface.fileDescriptor.close() in tearDown()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DTestSuiteParser.java27 import org.jf.dexlib2.iface.Annotation;
28 import org.jf.dexlib2.iface.AnnotationElement;
29 import org.jf.dexlib2.iface.ClassDef;
30 import org.jf.dexlib2.iface.DexFile;
31 import org.jf.dexlib2.iface.Method;
32 import org.jf.dexlib2.iface.value.TypeEncodedValue;
DDexParser.java33 import org.jf.dexlib2.iface.Annotation;
34 import org.jf.dexlib2.iface.AnnotationElement;
35 import org.jf.dexlib2.iface.reference.*;
36 import org.jf.dexlib2.iface.value.*;
/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java279 for (NetworkInterfaceProto iface : interfaces) { in checkInterfaces()
280 assertTrue("Missing interface name", !iface.getInterface().isEmpty()); in checkInterfaces()
282 assertPositive("# identities", iface.getIdentities().getIdentitiesList().size()); in checkInterfaces()
284 for (NetworkIdentityProto iden : iface.getIdentities().getIdentitiesList()) { in checkInterfaces()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java22 import com.android.dx.cf.iface.Member;
23 import com.android.dx.cf.iface.ParseObserver;
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java525 JDiffClassDescription iface = createInterface(NormalInterface.class.getSimpleName()); in testExtendedNormalInterface()
526 iface.addMethod(method("doSomething", Modifier.PUBLIC, "void")); in testExtendedNormalInterface()
527 checker.addBaseClass(iface); in testExtendedNormalInterface()
532 clz.addImplInterface(iface.getAbsoluteClassName()); in testExtendedNormalInterface()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java493 public void expectErrorOrTethered(final String iface) { in expectErrorOrTethered() argument
496 && iface.equals((String) cv.callbackParam)) { in expectErrorOrTethered()
500 && ((List<String>) cv.callbackParam).contains(iface)) { in expectErrorOrTethered()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile172 ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFo…