Home
last modified time | relevance | path

Searched refs:addService (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DControllerTest.java110 CarLocalServices.addService(CarUserService.class, mCarUserServiceMock); in setUp()
112 CarLocalServices.addService(SystemInterface.class, mSystemInterfaceMock); in setUp()
122 CarLocalServices.addService(CarUserService.class, mCarUserServiceOriginal); in tearDown()
124 CarLocalServices.addService(SystemInterface.class, mSystemInterfaceOriginal); in tearDown()
DGarageModeTest.java80 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowServiceManagerOverride.java51 public static void addService(String name, IBinder service) { in addService() method in ShadowServiceManagerOverride
52 ShadowServiceManager.addService(name, service); in addService()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DShadowServiceManagerExtend.java45 public static void addService(String name, Class<? extends IInterface> classService, in addService() method in ShadowServiceManagerExtend
50 ShadowServiceManager.addService(name, service); in addService()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsAccessTest.java65 LocalServices.addService(DevicePolicyManagerInternal.class, mDpmi); in setUp()
74 LocalServices.addService(DevicePolicyManagerInternal.class, mSystemDpmi); in tearDown()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java123 CarLocalServices.addService(SystemInterface.class, mMockSystemInterface); in setUp()
125 CarLocalServices.addService(CarDrivingStateService.class, mMockCarDrivingStateService); in setUp()
127 CarLocalServices.addService(PerUserCarServiceHelper.class, mMockPerUserCarServiceHelper); in setUp()
DCarBluetoothServiceTest.java118 CarLocalServices.addService(CarPowerManagementService.class, in setUp()
DCarOccupantZoneServiceTest.java224 CarLocalServices.addService(CarPropertyService.class, mCarPropertyService); in setUp()
226 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp()
DBluetoothDeviceConnectionPolicyTest.java185 CarLocalServices.addService(CarPowerManagementService.class, in setUp()
/packages/services/Car/procfs-inspector/server/
Dmain.cpp36 serviceManager->addService(String16(SERVICE_NAME), server.get()); in main()
/packages/services/Car/tools/keventreader/server/
Dmain.cpp63 serviceManager->addService(String16(SERVICE_NAME), service.get()); in main()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java645 addService(ConnectionService.SERVICE_INTERFACE, componentName, service);
658 addService(InCallService.SERVICE_INTERFACE, componentName, service);
724 private void addService(String action, ComponentName name, IInterface service) {
/packages/services/Car/service/src/com/android/car/
DCarLocalServices.java62 public static <T> void addService(Class<T> type, T service) { in addService() method in CarLocalServices
DICarImpl.java181 CarLocalServices.addService(SystemInterface.class, mSystemInterface); in ICarImpl()
221 CarLocalServices.addService(CarUserService.class, carUserService); in ICarImpl()
909 CarLocalServices.addService(cls, constructed); in constructWithTrace()
DCarService.java96 ServiceManager.addService("car_service", mICarImpl); in onCreate()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java163 LocalServices.addService(NetworkPolicyManagerInternal.class, mNPMI); in setUp()
166 LocalServices.addService(NetworkStatsManagerInternal.class, mNetworkStatsManagerInternal); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java109 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DHandleMap.java100 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, in addService() method in HandleMap
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java116 mGattServer.addService(mGattService); in startGattServer()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp424 defaultServiceManager()->addService(String16(kCarPowerPolicyServerInterface), this); in init()
429 defaultServiceManager()->addService(String16( in init()
/packages/apps/SecureElement/src/com/android/se/
DSecureElementService.java151 ServiceManager.addService(Context.SECURE_ELEMENT_SERVICE, mSecureElementServiceBinder); in onCreate()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.cpp71 status_t status = defaultServiceManager()->addService(String16(serviceName), service); in addToServiceManager()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java113 CarLocalServices.addService(CarUserService.class, mCarUserService); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java117 CarLocalServices.addService(CarPowerManagementService.class, in setUp()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java263 public void addService(ServiceState svc) { in addService() method in ProcStatsEntry

12