Home
last modified time | relevance | path

Searched refs:service2 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DSystemServiceManagerTest.java49 SystemService service2 = new SystemService(getContext()) { in testSealStartedServices() local
63 () -> mSystemServiceManager.startService(service2)); in testSealStartedServices()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/data/repository/
DIconAndNameCustomRepositoryTest.kt67 private val service2 = constant in com.android.systemui.qs.panels.data.repository.IconAndNameCustomRepositoryTest
88 listOf(service1, service2) in setUp()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs949 let service2 = in binder_ord() localVariable
954 assert_eq!(service1 < service2, (service2 >= service1)); in binder_ord()
961 let service2 = in binder_parcel_mixup() localVariable
965 let service2 = service2.as_binder(); in binder_parcel_mixup() localVariable
968 let res = service2.submit_transact( in binder_parcel_mixup()
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp748 auto service2 = in TEST_F() local
753 EXPECT_CALL(*static_cast<MockEndpoint*>(service2->endpoint()), in TEST_F()
759 message_->PushChannel(service2.get(), kFlags, nullptr, &channel_id); in TEST_F()
796 auto service2 = in TEST_F() local
801 EXPECT_CALL(*static_cast<MockEndpoint*>(service2->endpoint()), in TEST_F()
805 auto status = message_->CheckChannel(service2.get(), kRef, &channel); in TEST_F()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java979 ResolveInfo service2 = new ResolveInfoBuilder().setService(PACKAGE_2).build(); in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges() local
981 doReturn(List.of(service1, service2)) in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges()
1057 ResolveInfo service2 = new ResolveInfoBuilder().setService(PACKAGE_2).build(); in testSetCarrierServiceOverride_withCarrierConfigCarrierPrivileges() local
1059 doReturn(List.of(service1, service2)) in testSetCarrierServiceOverride_withCarrierConfigCarrierPrivileges()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCacheOomRankerTest.java500 ProcessRecord service2 = nextProcessRecord(ProcessList.UNKNOWN_ADJ, in reRankLruCachedApps_fewNonServiceProcesses() local
502 processList.add(service2); in reRankLruCachedApps_fewNonServiceProcesses()
511 assertThat(processList).containsExactly(used10, used1000, used2000, service1, service2, in reRankLruCachedApps_fewNonServiceProcesses()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java443 ManagedServices service2 = in testWriteReadXml_writeReadDefaults() local
464 service2.readXml(parser, null, false, 0); in testWriteReadXml_writeReadDefaults()
465 ArraySet<ComponentName> defaults = service2.getDefaultComponents(); in testWriteReadXml_writeReadDefaults()