Home
last modified time | relevance | path

Searched refs:TestInterface (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp130 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/native/libs/vr/libpdx/
Dclient_tests.cpp41 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/
DMemoryActivity.java41 TestInterface mTI;
44 private class SyntheticTestCallback extends TestInterface.TestResultCallback {
66 mTI = new TestInterface(mTimeline, 2, new SyntheticTestCallback()); in onCreate()
DTestInterface.java29 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()