/frameworks/base/tests/utils/testutils/tests/src/com/android/internal/util/test/ |
D | LocalServiceKeeperRuleTest.java | 41 LocalServices.removeServiceForTest(TestService.class); in tearDown() 46 TestService service = new TestService() {}; in testFailedIfCalledOutsideOfTheRule() 49 () -> mRule.overrideLocalService(TestService.class, service)); in testFailedIfCalledOutsideOfTheRule() 54 LocalServices.removeServiceForTest(TestService.class); in testSetsLocalServiceIfNotPresent() 55 TestService service = new TestService() {}; in testSetsLocalServiceIfNotPresent() 58 mRule.overrideLocalService(TestService.class, service); in testSetsLocalServiceIfNotPresent() 59 assertEquals(service, LocalServices.getService(TestService.class)); in testSetsLocalServiceIfNotPresent() 65 TestService service = new TestService() {}; in testOverridesLocalServiceIfPresent() 66 LocalServices.addService(TestService.class, service); in testOverridesLocalServiceIfPresent() 67 TestService overriddenService = new TestService() {}; in testOverridesLocalServiceIfPresent() [all …]
|
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/fuzz_service_test/ |
D | service_fuzzer.rs | 26 struct TestService; struct 28 impl Interface for TestService {} implementation 30 impl ITestService::ITestService for TestService { implementation 37 let service = BnTestService::new_binder(TestService, BinderFeatures::default());
|
/frameworks/native/libs/vr/libpdx_uds/ |
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 __anon1740f0670111::TestService 243 const std::shared_ptr<TestService>& other_service) in TestService() 244 : TestService(name, other_service, false) {} in TestService() 246 TestService(const std::string& name, in TestService() function in __anon1740f0670111::TestService 247 const std::shared_ptr<TestService>& other_service, bool blocking) in TestService() 253 explicit TestService(const std::string& name) : TestService(name, nullptr) {} in TestService() function in __anon1740f0670111::TestService 255 TestService(const TestService&) = delete; [all …]
|
D | remote_method_tests.cpp | 343 class TestService : public ServiceBase<TestService> { class 348 DispatchRemoteMethod<TestInterface::Add>(*this, &TestService::OnAdd, in HandleMessage() 353 DispatchRemoteMethod<TestInterface::Foo>(*this, &TestService::OnFoo, in HandleMessage() 359 *this, &TestService::OnConcatenate, message); in HandleMessage() 364 *this, &TestService::OnSumVector, message); in HandleMessage() 369 *this, &TestService::OnStringLength, message); in HandleMessage() 374 *this, &TestService::OnSendTestType, message); in HandleMessage() 379 *this, &TestService::OnSendVector, message); in HandleMessage() 383 DispatchRemoteMethod<TestInterface::Rot13>(*this, &TestService::OnRot13, in HandleMessage() 389 *this, &TestService::OnNoArgs, message); in HandleMessage() [all …]
|
D | client_channel_tests.cpp | 46 class TestService : public ServiceBase<TestService> { class 48 explicit TestService(std::unique_ptr<Endpoint> endpoint) in TestService() function in __anone29504600111::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_;
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
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() 141 mAvailOpDescriptions = 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() 282 Message msg = Message.obtain(null, TestService.CMD_START_TEST, bundle); in dispatchCurOp() 310 if (mCurOpIndex >= TestService.mOpPairs.length) { in completeCurOp() [all …]
|
D | LocalTestService.java | 3 public class LocalTestService extends TestService {
|
D | RunResult.java | 31 RunResult(TestService.TestRunner op) { in RunResult()
|
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()
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/service/ |
D | main.rs | 38 struct TestService { struct 44 impl TestService { impl 55 impl Drop for TestService { implementation 61 impl Interface for TestService {} implementation 63 impl IBinderRpcSession for TestService { implementation 69 impl IBinderRpcTest for TestService { implementation 121 BnBinderRpcTest::new_binder(TestService::default(), BinderFeatures::default()) in alwaysGiveMeTheSameBinder() 220 let service = BnBinderRpcTest::new_binder(TestService::default(), BinderFeatures::default()); in main()
|
/frameworks/base/core/tests/fuzzers/java_service_fuzzer/ |
D | ServiceFuzzer.java | 29 TestService service = new TestService(); in fuzzerTestOneInput()
|
D | TestService.java | 19 public class TestService extends ITestService.Stub { class
|
D | Android.bp | 20 "TestService.java",
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/test_fuzzer/ |
D | TestServiceFuzzer.cpp | 42 class TestService : public BnTestService { class 44 TestService(CrashType crash) : mCrash(crash) {} in TestService() function in android::TestService 155 auto service = sp<TestService>::make(gCrashType); in LLVMFuzzerTestOneInput()
|
/frameworks/native/libs/binder/rust/tests/ |
D | integration.rs | 58 let mut service = Binder::new(BnTest(Box::new(TestService::new(&service_name)))); in main() 62 BnTest::new_binder(TestService::new(&extension_name), BinderFeatures::default()); in main() 81 struct TestService { struct 86 impl TestService { implementation 120 impl Interface for TestService { implementation 128 impl ITest for TestService { implementation 388 use super::{BnTest, IATest, ITest, ITestSameDescriptor, TestService, RUST_SERVICE_BINARY}; 880 let service = Binder::new(BnTest(Box::new(TestService::new("testing_service")))); in associate_existing_class() 894 BnTest::new_binder(TestService::new(service_name), BinderFeatures::default()) in reassociate_rust_binder() 906 let service = BnTest::new_binder(TestService::new(service_name), BinderFeatures::default()); in weak_binder_upgrade() [all …]
|
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
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());
|
/frameworks/base/services/tests/PackageManagerServiceTests/apks/install_complete_package_info/src/com/android/frameworks/coretests/ |
D | TestService.java | 24 public class TestService extends Service { class
|
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/ |
D | TestService.java | 27 public class TestService extends Service { class
|
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | ServiceConnectorTest.java | 61 Intent testServiceConnectorServiceIntent = new Intent(TestService.ACTION_TEST_SERVICE); in setup() 215 public static final class TestService extends Service { class in ServiceConnectorTest
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
D | TestService.java | 31 public class TestService extends Service { class
|
/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/ |
D | TestService.java | 37 public class TestService extends Service { class
|
/frameworks/native/cmds/lshal/ |
D | test.cpp | 358 class TestService : public IBase { class 360 explicit TestService(pid_t id) : mId(id) {} in TestService() function in android::lshal::TestService 425 return sp<IBase>(new TestService(id)); in initMockServiceManager()
|