Searched refs:TestInterface (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/vr/libpdx_uds/ |
D | remote_method_tests.cpp | 130 struct TestInterface final { struct 187 constexpr char TestInterface::kClientPath[]; 193 return ReturnStatusOrError(InvokeRemoteMethod<TestInterface::Add>(a, b)); in Add() 197 return ReturnStatusOrError(InvokeRemoteMethod<TestInterface::Foo>(a, b)); in Foo() 204 InvokeRemoteMethod<TestInterface::Concatenate>(a, b); in Concatenate() 213 InvokeRemoteMethod<TestInterface::SumVector>(WrapArray(buffer, size))); in SumVector() 218 InvokeRemoteMethod<TestInterface::SumVector>(buffer)); in SumVector() 222 return ReturnStatusOrError(InvokeRemoteMethod<TestInterface::StringLength>( in StringLength() 228 InvokeRemoteMethod<TestInterface::StringLength>(string)); in StringLength() 233 InvokeRemoteMethod<TestInterface::SendTestType>(tt); in SendTestType() [all …]
|
/frameworks/base/core/tests/fuzzers/ParcelFuzzer/ |
D | ReadUtils.java | 73 private static class TestInterface implements IInterface { class in ReadUtils 77 TestInterface() { in TestInterface() method in ReadUtils.TestInterface 86 public static TestInterface asInterface(IBinder binder) { in asInterface() 89 if (iface != null && iface instanceof TestInterface) { in asInterface() 90 return (TestInterface) iface; in asInterface() 408 TestInterface[] array; 412 array = new TestInterface[Math.min(MAX_LEN, parcel.readInt())]; 415 array = new TestInterface[provider.consumeInt(MIN_LEN, MAX_LEN)]; 417 parcel.readInterfaceArray(array, TestInterface::asInterface); 422 TestInterface[][] array = new TestInterface[w][h]; [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | client_tests.cpp | 41 struct TestInterface final { struct 204 SendWithInt(nullptr, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 207 EXPECT_TRUE(client_->InvokeRemoteMethod<TestInterface::Add>(4, 5)); in TEST_F() 216 SendWithInt(kTransactionState, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 219 Status<int> status = client_->InvokeRemoteMethod<TestInterface::Add>(1, 2); in TEST_F() 230 SendWithInt(kTransactionState, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 233 Status<int> status = client_->InvokeRemoteMethod<TestInterface::Add>(1, 2); in TEST_F() 244 SendWithFileHandle(kTransactionState, TestInterface::kOpGetFile, in TEST_F() 249 client_->InvokeRemoteMethod<TestInterface::GetFile>(); in TEST_F() 259 SendWithFileHandle(kTransactionState, TestInterface::kOpGetFile, in TEST_F() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
D | MemoryActivity.java | 41 TestInterface mTI; 44 private class SyntheticTestCallback extends TestInterface.TestResultCallback { 66 mTI = new TestInterface(mTimeline, 2, new SyntheticTestCallback()); in onCreate()
|
D | TestInterface.java | 29 public class TestInterface { class 63 TestInterface(View v, int runtimeSeconds, TestResultCallback callback) { in TestInterface() method in TestInterface 83 private TestInterface mTI; 88 LooperThread(TestInterface ti, TestResultCallback callback) { in LooperThread()
|
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/ |
D | GraphicsActivity.java | 611 private interface TestInterface { interface in GraphicsActivity 624 private void runTestsWithPreconditions(TestInterface test, String testName) in runTestsWithPreconditions()
|