Home
last modified time | relevance | path

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

/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp97 std::shared_ptr<ITest> iface; member
104 #define iface GetParam().iface macro
113 TEST_P(NdkBinderTest_Aidl, GotTest) { ASSERT_NE(nullptr, iface); } in TEST_P()
117 ASSERT_OK(iface->GetName(&name)); in TEST_P()
122 ASSERT_EQ(shouldBeRemote, iface->isRemote()); in TEST_P()
126 ASSERT_EQ(STATUS_OK, AIBinder_ping(iface->asBinder().get())); in TEST_P()
131 ASSERT_EQ(STATUS_OK, AIBinder_getExtension(iface->asBinder().get(), ext.getR())); in TEST_P()
172 EXPECT_OK(iface->GetName(&name)); in TEST_P()
173 if (name == "JAVA" && !iface->isRemote()) { in TEST_P()
179 EXPECT_EQ("", dumpToString(iface, {})); in TEST_P()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java455 private @NonNull UsbEndpoint getEndpoint(@NonNull UsbInterface iface, int direction) { in getEndpoint() argument
456 for (int i = 0; i < iface.getEndpointCount(); i++) { in getEndpoint()
457 UsbEndpoint ep = iface.getEndpoint(i); in getEndpoint()
464 + iface.getName()); in getEndpoint()
984 @NonNull UsbInterface iface) throws Throwable {
986 assertTrue(iface.getEndpointCount() == 2);
987 final UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN);
988 final UsbEndpoint out = getEndpoint(iface, UsbConstants.USB_DIR_OUT);
1108 @NonNull UsbInterface iface) throws Throwable { in usbRequestTests() argument
1110 assertTrue(iface.getEndpointCount() == 2); in usbRequestTests()
[all …]
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDexParser.java31 import com.android.tools.smali.dexlib2.iface.Annotation;
32 import com.android.tools.smali.dexlib2.iface.AnnotationElement;
33 import com.android.tools.smali.dexlib2.iface.reference.FieldReference;
34 import com.android.tools.smali.dexlib2.iface.reference.MethodReference;
35 import com.android.tools.smali.dexlib2.iface.value.ArrayEncodedValue;
36 import com.android.tools.smali.dexlib2.iface.value.BooleanEncodedValue;
37 import com.android.tools.smali.dexlib2.iface.value.ByteEncodedValue;
38 import com.android.tools.smali.dexlib2.iface.value.CharEncodedValue;
39 import com.android.tools.smali.dexlib2.iface.value.DoubleEncodedValue;
40 import com.android.tools.smali.dexlib2.iface.value.EncodedValue;
[all …]
DTestSuiteParser.java23 import com.android.tools.smali.dexlib2.iface.Annotation;
24 import com.android.tools.smali.dexlib2.iface.AnnotationElement;
25 import com.android.tools.smali.dexlib2.iface.ClassDef;
26 import com.android.tools.smali.dexlib2.iface.DexFile;
27 import com.android.tools.smali.dexlib2.iface.Method;
28 import com.android.tools.smali.dexlib2.iface.value.TypeEncodedValue;
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DTestNetworkWrapper.java122 final String iface = tni.getInterfaceName(); in TestNetworkWrapper() local
126 .setNetworkSpecifier(iface) in TestNetworkWrapper()
133 createNetworkCapabilitiesForIface(iface, capabilities, subIds); in TestNetworkWrapper()
134 final LinkProperties lp = createLinkPropertiesForIface(iface, mtu); in TestNetworkWrapper()
158 @NonNull String iface, Set<Integer> capabilities, Set<Integer> subIds) { in createNetworkCapabilitiesForIface()
164 .setNetworkSpecifier(new TestNetworkSpecifier(iface)) in createNetworkCapabilitiesForIface()
173 private static LinkProperties createLinkPropertiesForIface(@NonNull String iface, int mtu) in createLinkPropertiesForIface() argument
176 lp.setInterfaceName(iface); in createLinkPropertiesForIface()
182 NetworkInterface netIntf = NetworkInterface.getByName(iface); in createLinkPropertiesForIface()
203 iface, in createLinkPropertiesForIface()
[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/tests/tests/security/src/android/security/cts/CVE_2021_0327/
DOtherUserActivity.java52 IBadProvider iface = IBadProvider.Stub.asInterface(callResult.getBinder("a")); in doInBackground() local
53 sTakenBinder = iface.takeBinder(); in doInBackground()
57 iface.exit(); in doInBackground()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java790 JDiffClassDescription iface = createInterface( in testExtendedNormalInterface()
792 iface.addMethod(method("doSomething", Modifier.PUBLIC, "void")); in testExtendedNormalInterface()
793 checker.addBaseClass(iface); in testExtendedNormalInterface()
799 clz.addImplInterface(iface.getAbsoluteClassName()); in testExtendedNormalInterface()
809 JDiffClassDescription iface = createInterface( in testAddingRuntimeMethodToInterface()
811 iface.addMethod(method("doSomething", Modifier.PUBLIC | Modifier.ABSTRACT, "void")); in testAddingRuntimeMethodToInterface()
812 checker.checkSignatureCompliance(iface); in testAddingRuntimeMethodToInterface()
821 JDiffClassDescription iface = createInterface( in testAddingRuntimeMethodToInterface_PreviousApi()
823 iface.addMethod(method("doSomething", Modifier.PUBLIC | Modifier.ABSTRACT, "void")); in testAddingRuntimeMethodToInterface_PreviousApi()
824 iface.setPreviousApiFlag(true); in testAddingRuntimeMethodToInterface_PreviousApi()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java30 import com.android.tools.smali.dexlib2.iface.Annotation;
31 import com.android.tools.smali.dexlib2.iface.AnnotationElement;
32 import com.android.tools.smali.dexlib2.iface.ClassDef;
33 import com.android.tools.smali.dexlib2.iface.DexFile;
34 import com.android.tools.smali.dexlib2.iface.Method;
35 import com.android.tools.smali.dexlib2.iface.value.StringEncodedValue;
DTestCaseReport.java24 import com.android.tools.smali.dexlib2.iface.Annotation;
25 import com.android.tools.smali.dexlib2.iface.AnnotationElement;
26 import com.android.tools.smali.dexlib2.iface.ClassDef;
27 import com.android.tools.smali.dexlib2.iface.DexFile;
28 import com.android.tools.smali.dexlib2.iface.Method;
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java22 import com.android.dx.cf.iface.Member;
23 import com.android.dx.cf.iface.ParseObserver;
/cts/hostsidetests/classpath/src/android/classpath/cts/
DClasspathDeviceInfo.java31 import com.android.tools.smali.dexlib2.iface.ClassDef;
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/
DStrictJavaPackagesTest.java32 import com.android.tools.smali.dexlib2.iface.ClassDef;
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java4384 IInterface iface = binder.queryLocalInterface(DESCRIPTOR); in asInterface() local
4385 if (iface != null && iface instanceof MockIInterface) { in asInterface()
4386 return (MockIInterface) iface; in asInterface()