/packages/services/Car/service/jni/evs/ |
D | EvsServiceContext.cpp | 144 mServiceFactory(std::move(serviceFactory)), in EvsServiceContext() 202 if (!mServiceFactory || !mServiceFactory->init()) { in initialize() 209 mLinkUnlinkImpl->linkToDeath(mServiceFactory->getService()->asBinder().get(), in initialize() 225 status = mServiceFactory->getService()->getCameraList(&mCameraList); in initialize() 244 mServiceFactory.reset(); in deinitialize() 280 pService = mServiceFactory->getService(); in openCamera() 332 if (!mServiceFactory->getService()->closeCamera(mCamera).isOk()) { in closeCamera() 373 mServiceFactory->getService()->openDisplay(EvsServiceContext::kExclusiveMainDisplayId, in acquireCameraAndDisplayLocked() 514 mLinkUnlinkImpl->unlinkToDeath(mServiceFactory->getService()->asBinder().get()); in onEvsServiceDiedImpl() 515 mServiceFactory->clear(); in onEvsServiceDiedImpl()
|
D | EvsServiceContext.h | 131 return mServiceFactory != nullptr && mServiceFactory->getService() != nullptr; in isAvailableLocked() 169 std::unique_ptr<IEvsServiceFactory> mServiceFactory GUARDED_BY(mLock);
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | Enumerator.cpp | 117 mServiceFactory(std::move(serviceFactory)), in Enumerator() 121 mServiceFactory->getService()->getDisplayIdList( in Enumerator() 246 mServiceFactory->getService()->getCameraList([&cameraList](auto enumeratedCameras) { in getCameraList() 290 device = IEvsCamera_1_1::castFrom(mServiceFactory->getService()->openCamera(cameraId)) in openCamera() 302 mServiceFactory->getService()->closeCamera(device); in openCamera() 348 mServiceFactory->getService()->closeCamera(halCamera->getHwCamera()); in closeCamera() 388 device = mServiceFactory->getService()->openCamera_1_1(id, streamCfg); in openCamera_1_1() 402 mServiceFactory->getService()->closeCamera(device); in openCamera_1_1() 464 mServiceFactory->getService()->getCameraList_1_1( in getCameraList_1_1() 510 sp<IEvsDisplay_1_0> pActiveDisplay = mServiceFactory->getService()->openDisplay(); in openDisplay() [all …]
|
D | Enumerator.h | 109 const std::unique_ptr<ServiceFactory> mServiceFactory; variable
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 63 @Mock private ServiceFactory mServiceFactory; field in SilenceDeviceManagerTest 70 when(mServiceFactory.getA2dpService()).thenReturn(mA2dpService); in setUp() 71 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp() 79 mSilenceDeviceManager = new SilenceDeviceManager(mAdapterService, mServiceFactory, mLooper); in setUp()
|
D | PhonePolicyTest.java | 83 @Mock private ServiceFactory mServiceFactory; field in PhonePolicyTest 107 doReturn(mHeadsetService).when(mServiceFactory).getHeadsetService(); in setUp() 108 doReturn(mA2dpService).when(mServiceFactory).getA2dpService(); in setUp() 109 doReturn(mLeAudioService).when(mServiceFactory).getLeAudioService(); in setUp() 110 doReturn(mCsipSetCoordinatorService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp() 111 doReturn(mHearingAidService).when(mServiceFactory).getHearingAidService(); in setUp() 112 doReturn(mHapClientService).when(mServiceFactory).getHapClientService(); in setUp() 125 mPhonePolicy = new PhonePolicy(mAdapterService, mServiceFactory); in setUp() 1088 PhonePolicy phonePolicy = new PhonePolicy(mAdapterService, mServiceFactory); in testAutoConnectHfpOnly() 1126 PhonePolicy phonePolicy = new PhonePolicy(mAdapterService, mServiceFactory); in autoConnect_whenMultiHfp_startConnection() [all …]
|
D | AudioRoutingManagerTest.java | 103 @Mock private ServiceFactory mServiceFactory; field in AudioRoutingManagerTest 128 when(mServiceFactory.getA2dpService()).thenReturn(mA2dpService); in setUp() 129 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp() 130 when(mServiceFactory.getHearingAidService()).thenReturn(mHearingAidService); in setUp() 131 when(mServiceFactory.getLeAudioService()).thenReturn(mLeAudioService); in setUp() 133 mAudioRoutingManager = new AudioRoutingManager(mAdapterService, mServiceFactory); in setUp()
|
D | ActiveDeviceManagerTest.java | 108 @Mock private ServiceFactory mServiceFactory; field in ActiveDeviceManagerTest 131 when(mServiceFactory.getA2dpService()).thenReturn(mA2dpService); in setUp() 132 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp() 133 when(mServiceFactory.getHearingAidService()).thenReturn(mHearingAidService); in setUp() 134 when(mServiceFactory.getLeAudioService()).thenReturn(mLeAudioService); in setUp() 136 mActiveDeviceManager = new ActiveDeviceManager(mAdapterService, mServiceFactory); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorServiceTest.java | 79 @Spy private ServiceFactory mServiceFactory = new ServiceFactory(); field in CsipSetCoordinatorServiceTest 103 mService.mServiceFactory = mServiceFactory; in setUp() 104 when(mServiceFactory.getLeAudioService()).thenReturn(mLeAudioService); in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientService.java | 185 @VisibleForTesting ServiceFactory mServiceFactory = new ServiceFactory(); field in BassClientService 622 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in stop() 630 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in stop() 846 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in checkForPendingGroupOpRequest() 871 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in isDevicePartOfActiveUnicastGroup() 886 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in localNotifyReceiveStateChanged() 1023 CsipSetCoordinatorService csipClient = mServiceFactory.getCsipSetCoordinatorService(); in getTargetDeviceList() 1172 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in run() 2391 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in addSource() 2758 LeAudioService leAudioService = mServiceFactory.getLeAudioService(); in isLocalBroadcast() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBroadcastServiceTest.java | 92 @Spy private ServiceFactory mServiceFactory = new ServiceFactory(); field in LeAudioBroadcastServiceTest 217 mService.mServiceFactory = mServiceFactory; in setUp() 218 when(mServiceFactory.getBassClientService()).thenReturn(mBassClientService); in setUp()
|
D | LeAudioServiceTest.java | 141 @Spy private ServiceFactory mServiceFactory = new ServiceFactory(); field in LeAudioServiceTest 219 mService.mServiceFactory = mServiceFactory; in setUp() 220 when(mServiceFactory.getVolumeControlService()).thenReturn(mVolumeControlService); in setUp() 221 when(mServiceFactory.getHapClientService()).thenReturn(mHapClientService); in setUp() 222 when(mServiceFactory.getCsipSetCoordinatorService()).thenReturn(mCsipSetCoordinatorService); in setUp() 223 when(mServiceFactory.getBassClientService()).thenReturn(mBassClientService); in setUp() 2559 doReturn(null).when(mServiceFactory).getVolumeControlService(); in testGetAudioDeviceGroupVolume_whenVolumeControlServiceIsNull() 2619 when(mServiceFactory.getHeadsetService()).thenReturn(headsetService); in testHandleGroupIdleDuringCall()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorService.java | 86 @VisibleForTesting ServiceFactory mServiceFactory = new ServiceFactory(); field in CsipSetCoordinatorService 146 mLeAudioService = mServiceFactory.getLeAudioService(); in start() 687 mLeAudioService = mServiceFactory.getLeAudioService(); in disableCsipIfNeeded()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 109 @Mock private ServiceFactory mServiceFactory; field in HapClientTest 128 mService.mFactory = mServiceFactory; in setUp() 129 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 168 ServiceFactory mServiceFactory = new ServiceFactory(); field in LeAudioService 668 mVolumeControlService = mServiceFactory.getVolumeControlService(); in getVolumeControlService() 678 mBassClientService = mServiceFactory.getBassClientService(); in getBassClientService() 2691 HeadsetService headsetService = mServiceFactory.getHeadsetService(); in handleGroupIdleDuringCall() 4079 mHapClientService = mServiceFactory.getHapClientService(); in setLeAudioGattClientProfilesPolicy() 4086 mCsipSetCoordinatorService = mServiceFactory.getCsipSetCoordinatorService(); in setLeAudioGattClientProfilesPolicy() 4232 mTbsService = mServiceFactory.getTbsService(); in getTbsService() 4241 mMcpService = mServiceFactory.getMcpService(); in getMcpService()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 96 @Mock private ServiceFactory mServiceFactory; field in VolumeControlServiceTest 135 mService.mFactory = mServiceFactory; in setUp() 139 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp() 140 doReturn(mLeAudioService).when(mServiceFactory).getLeAudioService(); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 98 @Mock private ServiceFactory mServiceFactory; field in HeadsetServiceAndStateMachineTest 1586 mHeadsetService.mFactory = mServiceFactory; in testHfpOnlyHandoverToLeAudioAfterScoDisconnect() 1588 doReturn(mLeAudioService).when(mServiceFactory).getLeAudioService(); in testHfpOnlyHandoverToLeAudioAfterScoDisconnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientServiceTest.java | 162 @Mock private ServiceFactory mServiceFactory; field in BassClientServiceTest 287 mBassClientService.mServiceFactory = mServiceFactory; in setUp() 288 doReturn(mCsipService).when(mServiceFactory).getCsipSetCoordinatorService(); in setUp() 289 doReturn(mLeAudioService).when(mServiceFactory).getLeAudioService(); in setUp()
|