/aosp12/frameworks/native/libs/vr/libpdx_uds/ |
H A D | service_framework_tests.cpp | 81 friend class TestService; 91 class TestService : public ServiceBase<TestService> { class 236 std::shared_ptr<TestService> other_service_; 242 TestService(const std::string& name, in TestService() function in __anon398fcdbf0110::TestService 244 : TestService(name, other_service, false) {} in TestService() 246 TestService(const std::string& name, in TestService() function in __anon398fcdbf0110::TestService 253 explicit TestService(const std::string& name) : TestService(name, nullptr) {} in TestService() function in __anon398fcdbf0110::TestService 255 TestService(const TestService&) = delete; 256 void operator=(const TestService&) = delete; 259 std::atomic<int> TestService::service_counter_; [all …]
|
H A D | remote_method_tests.cpp | 343 class TestService : public ServiceBase<TestService> { class 389 *this, &TestService::OnNoArgs, message); in HandleMessage() 435 TestService() in TestService() function in __anona08a5e0d0110::TestService 542 TestService(const TestService&) = delete; 543 void operator=(const TestService&) = delete; 589 auto service = TestService::Create(); in TEST_F() 642 auto service = TestService::Create(); in TEST_F() 686 auto service = TestService::Create(); in TEST_F() 711 auto service = TestService::Create(); in TEST_F() 726 auto service = TestService::Create(); in TEST_F() [all …]
|
H A D | client_channel_tests.cpp | 46 class TestService : public ServiceBase<TestService> { class 48 explicit TestService(std::unique_ptr<Endpoint> endpoint) in TestService() function in __anon4bd920b80110::TestService 54 DispatchRemoteMethod<TestProtocol::Sum>(*this, &TestService::OnSum, in HandleMessage() 84 service_ = TestService::Create(std::move(endpoint)); in TestServiceRunner() 98 std::shared_ptr<TestService> service_;
|
/aosp12/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 73 TestService.Op mFgTest; 74 TestService.Op mBgTest; 124 case TestService.RES_TEST_FINISHED: { 140 mAvailOpLabels = new String[TestService.mAvailOps.length]; in FrameworkPerfActivity() 142 for (int i=0; i<TestService.mAvailOps.length; i++) { in FrameworkPerfActivity() 143 TestService.Op op = TestService.mAvailOps[i]; in FrameworkPerfActivity() 213 TestService.Op op = TestService.mAvailOps[position]; in onItemSelected() 310 if (mCurOpIndex >= TestService.mOpPairs.length) { in completeCurOp() 317 if (mCurOpIndex >= TestService.mAvailOps.length) { in completeCurOp() 374 mHandler.removeMessages(TestService.RES_TERMINATED); in startCurOp() [all …]
|
H A D | LocalTestService.java | 3 public class LocalTestService extends TestService {
|
H A D | RunResult.java | 31 RunResult(TestService.TestRunner op) { in RunResult()
|
H A D | TestService.java | 57 public class TestService extends Service { class 333 mForegroundOp.onInit(TestService.this, true); in run() 334 mBackgroundOp.onInit(TestService.this, false); in run() 400 mForegroundOp.onTerm(TestService.this); in threadFinished() 401 mBackgroundOp.onTerm(TestService.this); in threadFinished()
|
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarProjectionManagerTest.java | 50 public static final class TestService extends Service { class in CarProjectionManagerTest 95 InstrumentationRegistry.getInstrumentation().getContext(), TestService.class); in testRegisterProjectionRunner() 96 assertThat(TestService.getBound()).isFalse(); in testRegisterProjectionRunner() 98 synchronized (TestService.mLock) { in testRegisterProjectionRunner() 100 TestService.mLock.wait(1000); in testRegisterProjectionRunner() 105 assertThat(TestService.getBound()).isTrue(); in testRegisterProjectionRunner()
|
/aosp12/frameworks/native/libs/binder/rust/tests/ |
H A D | integration.rs | 53 let mut service = Binder::new(BnTest(Box::new(TestService { in main() 84 struct TestService { struct 108 impl Interface for TestService {} implementation 110 impl ITest for TestService { implementation 484 let service = Binder::new(BnTest(Box::new(TestService { in associate_existing_class() 500 TestService { in reassociate_rust_binder() 518 TestService { in weak_binder_upgrade() 536 TestService { in weak_binder_upgrade_dead() 552 TestService { in weak_binder_clone() 573 TestService { in binder_ord() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | SettingsDumpServiceTest.java | 60 private TestService mTestService; 66 when(mPackageManager.resolveActivity(TestService.BROWSER_INTENT, in setUp() 68 mTestService = spy(new TestService()); in setUp() 113 assertThat(object.get(TestService.KEY_SERVICE)).isNotNull(); in testDump_ReturnJsonObject() 119 private class TestService extends SettingsDumpService { class in SettingsDumpServiceTest
|
/aosp12/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
H A D | TestService.java | 44 public class TestService extends Service { class 45 private static final String TAG = TestService.class.getSimpleName(); 143 final Handler handler = new Handler(TestService.this.getMainLooper());
|
/aosp12/system/tools/aidl/tests/rust/ |
H A D | test_service.rs | 73 struct TestService { struct 77 impl Interface for TestService {} implementation 119 impl ITestService::ITestService for TestService { implementation 341 let service = BnTestService::new_binder(TestService::default(), BinderFeatures::default()); in main()
|
/aosp12/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/ |
H A D | TestService.java | 24 public class TestService extends Service { class
|
/aosp12/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/ |
H A D | TestService.java | 27 public class TestService extends Service { class
|
/aosp12/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
H A D | TestService.java | 31 public class TestService extends Service { class
|
/aosp12/frameworks/native/cmds/lshal/ |
H A D | test.cpp | 334 class TestService : public IBase { class 336 explicit TestService(pid_t id) : mId(id) {} in TestService() function in android::lshal::TestService 401 return sp<IBase>(new TestService(id)); in initMockServiceManager()
|
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/ |
H A D | ITestService.h | 30 DECLARE_META_INTERFACE(TestService)
|
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/ |
H A D | ITestService.cpp | 10 DO_NOT_DIRECTLY_USE_ME_IMPLEMENT_META_INTERFACE(TestService, "android.aidl.tests.ITestService")
|