/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_native_aidl_client.cpp | 97 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/ |
D | UsbDeviceTestActivity.java | 455 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/ |
D | DexParser.java | 31 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 …]
|
D | TestSuiteParser.java | 23 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/ |
D | TestNetworkWrapper.java | 122 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/ |
D | AccessoryTestCompanion.java | 109 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/ |
D | OtherUserActivity.java | 52 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/ |
D | ApiComplianceCheckerTest.java | 790 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/ |
D | CtsApiCoverage.java | 30 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;
|
D | TestCaseReport.java | 24 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/ |
D | ClassFileParser.java | 22 import com.android.dx.cf.iface.Member; 23 import com.android.dx.cf.iface.ParseObserver;
|
/cts/hostsidetests/classpath/src/android/classpath/cts/ |
D | ClasspathDeviceInfo.java | 31 import com.android.tools.smali.dexlib2.iface.ClassDef;
|
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/ |
D | StrictJavaPackagesTest.java | 32 import com.android.tools.smali.dexlib2.iface.ClassDef;
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelTest.java | 4384 IInterface iface = binder.queryLocalInterface(DESCRIPTOR); in asInterface() local 4385 if (iface != null && iface instanceof MockIInterface) { in asInterface() 4386 return (MockIInterface) iface; in asInterface()
|