/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 93 private final ServiceFactory mFactory; field in PhonePolicy 250 mFactory = factory; in PhonePolicy() 257 HidHostService hidService = mFactory.getHidHostService(); in processInitProfilePriorities() 258 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() 259 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() 260 PanService panService = mFactory.getPanService(); in processInitProfilePriorities() 261 HearingAidService hearingAidService = mFactory.getHearingAidService(); in processInitProfilePriorities() 355 HeadsetService hsService = mFactory.getHeadsetService(); in handleAllProfilesDisconnected() 356 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected() 357 PanService panService = mFactory.getPanService(); in handleAllProfilesDisconnected() [all …]
|
D | ActiveDeviceManager.java | 115 private final ServiceFactory mFactory; field in ActiveDeviceManager 369 mFactory = factory; in ActiveDeviceManager() 427 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice() 441 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice() 455 final HearingAidService hearingAidService = mFactory.getHearingAidService(); in setHearingAidActiveDevice()
|
D | SilenceDeviceManager.java | 64 private final ServiceFactory mFactory; field in SilenceDeviceManager 211 mFactory = factory; in SilenceDeviceManager() 265 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged() 269 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | AssistGestureSettingsPreferenceControllerTest.java | 45 private FakeFeatureFactory mFactory; field in AssistGestureSettingsPreferenceControllerTest 51 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 59 when(mFactory.assistGestureFeatureProvider.isSensorAvailable(mContext)).thenReturn(true); in isAvailable_whenSupported_shouldReturnTrue() 65 when(mFactory.assistGestureFeatureProvider.isSupported(mContext)).thenReturn(false); in isAvailable_whenUnsupported_shouldReturnFalse()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerTest.java | 74 @Mock private ProvisioningControllerFactory mFactory; field in ProvisioningManagerTest 94 mManager = new ProvisioningManager(mContext, mUiHandler, mFactory, mAnalyticsTracker, in setUp() 96 when(mFactory.createProvisioningController(mContext, TEST_PARAMS, mManager)) in setUp() 107 verify(mFactory).createProvisioningController(mContext, TEST_PARAMS, mManager); in testMaybeStartProvisioning() 118 verifyNoMoreInteractions(mFactory); in testMaybeStartProvisioning()
|
D | ProvisioningControllerFactoryTest.java | 51 private ProvisioningControllerFactory mFactory = new ProvisioningControllerFactory(); field in ProvisioningControllerFactoryTest 63 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testProfileOwner() 74 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testDeviceOwner()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoLookupHelperTest.java | 62 @Mock CallerInfoAsyncQueryFactory mFactory; field in CallerInfoLookupHelperTest 85 mFactory, mContactsAsyncHelper, new TelecomSystem.SyncRoot() { }); in setUp() 86 when(mFactory.startQuery(anyInt(), eq(mContext), anyString(), in setUp() 137 verify(mFactory).startQuery(anyInt(), eq(mContext), eq(URI1.getSchemeSpecificPart()), in testSimpleLookup() 176 verify(mFactory, times(1)).startQuery(anyInt(), eq(mContext), in testLookupWithTwoListeners() 216 verify(mFactory, times(1)).startQuery(anyInt(), eq(mContext), in testListenerAddedAfterCallerInfoBeforePhoto()
|
D | InCallTonePlayerTest.java | 50 private InCallTonePlayer.Factory mFactory; field in InCallTonePlayerTest 113 mFactory = new InCallTonePlayer.Factory(mCallAudioRoutePeripheralAdapter, mLock, in setUp() 115 mFactory.setCallAudioManager(mCallAudioManager); in setUp() 116 mInCallTonePlayer = mFactory.createPlayer(InCallTonePlayer.TONE_CALL_ENDED); in setUp()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 57 private XmlPullParserFactory mFactory; field in DefaultCarrierConfigService 61 mFactory = null; in DefaultCarrierConfigService() 97 if (mFactory == null) { in onLoadConfig() 98 mFactory = XmlPullParserFactory.newInstance(); in onLoadConfig() 102 XmlPullParser parser = mFactory.newPullParser(); in onLoadConfig()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 74 ServiceFactory mFactory = new ServiceFactory(); field in A2dpService 590 if (mFactory.getAvrcpTargetService() != null) { in setActiveDevice() 591 rememberedVolume = mFactory.getAvrcpTargetService() in setActiveDevice() 687 if (mFactory.getAvrcpTargetService() != null) { in setAvrcpAbsoluteVolume() 688 mFactory.getAvrcpTargetService().sendVolumeChanged(volume); in setAvrcpAbsoluteVolume() 995 if (mFactory.getAvrcpTargetService() != null) { in updateAndBroadcastActiveDevice() 996 mFactory.getAvrcpTargetService().volumeDeviceSwitched(device); in updateAndBroadcastActiveDevice() 1065 if (mFactory.getAvrcpTargetService() != null) { in bondStateChanged() 1066 mFactory.getAvrcpTargetService().removeStoredVolumeForDevice(device); in bondStateChanged() 1162 if (mFactory.getAvrcpTargetService() != null) { in connectionStateChanged() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 71 private FakeFeatureFactory mFactory; field in BuildNumberPreferenceControllerTest 81 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 137 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_deviceNotProvisioned_doNothing() 157 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_userHasRestriction_doNothing()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DocsSelectionHelper.java | 38 private final DelegateFactory mFactory; field in DocsSelectionHelper 47 mFactory = factory; in DocsSelectionHelper() 54 mDelegate = mFactory.create(selectionTracker); in reset()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManager.java | 47 private final ProvisioningControllerFactory mFactory; field in ProvisioningManager 81 mFactory = checkNotNull(factory); in ProvisioningManager() 153 return mFactory.createProvisioningController(mContext, params, this); in getController()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocsSelectionHelperTest.java | 49 private DelegateFactory mFactory; field in DocsSelectionHelperTest 54 mFactory = new DelegateFactory() { in setup() 64 mSelectionMgr = new DocsSelectionHelper(mFactory); in setup()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomPageTab.java | 60 private final Factory mFactory; field in TelecomPageTab 67 mFactory = factory; in TelecomPageTab() 77 mFragment = mFactory.createFragment(page); in initFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppInfoWithHeaderTest.java | 67 private FakeFeatureFactory mFactory; field in AppInfoWithHeaderTest 73 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 74 when(mFactory.metricsFeatureProvider.getMetricsCategory(any(Object.class))) in setUp()
|
/packages/modules/DnsResolver/ |
D | DnsTlsTransport.h | 46 : mMark(mark), mServer(server), mFactory(factory) {} in DnsTlsTransport() 74 IDnsTlsSocketFactory* _Nonnull const mFactory; variable
|
D | DnsTlsDispatcher.h | 45 : mFactory(std::move(factory)) {} in DnsTlsDispatcher() 105 std::unique_ptr<IDnsTlsSocketFactory> mFactory; variable
|
D | DnsTlsDispatcher.cpp | 41 mFactory.reset(new DnsTlsSocketFactory()); in DnsTlsDispatcher() 158 xport = new Transport(server, mark, mFactory.get()); in query()
|
D | DnsTlsTransport.cpp | 72 mSocket = mFactory->createDnsTlsSocket(mServer, mMark, this, &mCache); in doConnect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 103 private FakeFeatureFactory mFactory; field in DataUsageSummaryPreferenceControllerTest 117 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 118 when(mFactory.metricsFeatureProvider.getMetricsCategory(any(Object.class))) in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpTargetService.java | 64 private ServiceFactory mFactory = new ServiceFactory(); field in AvrcpTargetService 239 A2dpService service = mFactory.getA2dpService(); in getA2dpActiveDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 83 private final ServiceFactory mFactory = new ServiceFactory(); field in HearingAidService
|