/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 72 private NetworkStatsFactory mFactory; field in NetworkStatsFactoryTest 82 mFactory = new NetworkStatsFactory(mTestProc, false); in setUp() 83 mFactory.updateUnderlyingNetworkInfos(new UnderlyingNetworkInfo[0]); in setUp() 88 mFactory = null; in tearDown() 107 mFactory.updateUnderlyingNetworkInfos(underlyingNetworkInfos); in testVpnRewriteTrafficThroughItself() 137 mFactory.updateUnderlyingNetworkInfos(underlyingNetworkInfos); in testVpnWithClat() 138 mFactory.noteStackedIface(CLAT_PREFIX + TEST_IFACE, TEST_IFACE); in testVpnWithClat() 171 mFactory.updateUnderlyingNetworkInfos(underlyingNetworkInfos); in testVpnWithOneUnderlyingIface() 196 mFactory.updateUnderlyingNetworkInfos(underlyingNetworkInfos); in testVpnWithOneUnderlyingIfaceAndOwnTraffic() 225 mFactory.updateUnderlyingNetworkInfos(underlyingNetworkInfos); in testVpnWithOneUnderlyingIface_withCompression() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 97 private final ServiceFactory mFactory; field in PhonePolicy 268 mFactory = factory; in PhonePolicy() 276 HidHostService hidService = mFactory.getHidHostService(); in processInitProfilePriorities() 277 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() 278 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() 279 PanService panService = mFactory.getPanService(); in processInitProfilePriorities() 280 HearingAidService hearingAidService = mFactory.getHearingAidService(); in processInitProfilePriorities() 377 HeadsetService hsService = mFactory.getHeadsetService(); in handleAllProfilesDisconnected() 378 A2dpService a2dpService = mFactory.getA2dpService(); in handleAllProfilesDisconnected() 379 PanService panService = mFactory.getPanService(); in handleAllProfilesDisconnected() [all …]
|
D | ActiveDeviceManager.java | 117 private final ServiceFactory mFactory; field in ActiveDeviceManager 372 mFactory = factory; in ActiveDeviceManager() 430 final A2dpService a2dpService = mFactory.getA2dpService(); in setA2dpActiveDevice() 445 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice() 459 final HearingAidService hearingAidService = mFactory.getHearingAidService(); in setHearingAidActiveDevice()
|
D | SilenceDeviceManager.java | 70 private final ServiceFactory mFactory; field in SilenceDeviceManager 219 mFactory = factory; in SilenceDeviceManager() 274 A2dpService a2dpService = mFactory.getA2dpService(); in handleSilenceDeviceStateChanged() 278 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 | ProvisioningControllerFactoryTest.java | 57 private ProvisioningControllerFactory mFactory = new ProvisioningControllerFactory(); field in ProvisioningControllerFactoryTest 69 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testProfileOwner() 80 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testDeviceOwner() 91 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testFinancedDevice()
|
D | ProvisioningManagerTest.java | 74 @Mock private ProvisioningControllerFactory mFactory; field in ProvisioningManagerTest 96 mFactory, in setUp() 99 when(mFactory.createProvisioningController(mContext, TEST_PARAMS, mManager)) in setUp() 110 verify(mFactory).createProvisioningController(mContext, TEST_PARAMS, mManager); in testMaybeStartProvisioning() 121 verifyNoMoreInteractions(mFactory); in testMaybeStartProvisioning()
|
/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 | 60 private XmlPullParserFactory mFactory; field in DefaultCarrierConfigService 64 mFactory = null; in DefaultCarrierConfigService() 95 if (mFactory == null) { in onLoadConfig() 96 mFactory = XmlPullParserFactory.newInstance(); in onLoadConfig() 100 XmlPullParser parser = mFactory.newPullParser(); in onLoadConfig()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 73 private FakeFeatureFactory mFactory; field in BuildNumberPreferenceControllerTest 83 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 139 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_deviceNotProvisioned_doNothing() 159 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_userHasRestriction_doNothing()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 79 ServiceFactory mFactory = new ServiceFactory(); field in A2dpService 582 if (mFactory.getAvrcpTargetService() != null) { in setActiveDevice() 583 rememberedVolume = mFactory.getAvrcpTargetService() in setActiveDevice() 675 if (mFactory.getAvrcpTargetService() != null) { in setAvrcpAbsoluteVolume() 676 mFactory.getAvrcpTargetService().sendVolumeChanged(volume); in setAvrcpAbsoluteVolume() 1015 if (mFactory.getAvrcpTargetService() != null) { in updateAndBroadcastActiveDevice() 1016 mFactory.getAvrcpTargetService().volumeDeviceSwitched(device); in updateAndBroadcastActiveDevice() 1085 if (mFactory.getAvrcpTargetService() != null) { in bondStateChanged() 1086 mFactory.getAvrcpTargetService().removeStoredVolumeForDevice(device); in bondStateChanged() 1182 if (mFactory.getAvrcpTargetService() != null) { in connectionStateChanged() [all …]
|
/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/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DocsSelectionHelperTest.java | 48 private DelegateFactory mFactory; field in DocsSelectionHelperTest 53 mFactory = new DelegateFactory(); in setup() 55 mSelectionMgr = new DocsSelectionHelper(mFactory); in setup()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManager.java | 58 private final ProvisioningControllerFactory mFactory; field in ProvisioningManager 91 mFactory = requireNonNull(factory); in ProvisioningManager() 192 return mFactory.createProvisioningController(mContext, params, this); in getController()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | LauncherAnimationRunner.java | 66 private final WeakReference<RemoteAnimationFactory> mFactory; field in LauncherAnimationRunner 77 mFactory = new WeakReference<>(factory); in LauncherAnimationRunner() 119 RemoteAnimationFactory factory = mFactory.get(); in getFactory()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskShortcutFactory.java | 122 private final MultiWindowFactory mFactory; field in TaskShortcutFactory.MultiWindowSystemShortcut 133 mFactory = factory; in MultiWindowSystemShortcut() 168 ActivityOptions options = mFactory.makeLaunchOptions(mTarget); in onClick() 175 if (!mFactory.onActivityStarted(mTarget)) { in onClick()
|
/packages/apps/Car/Dialer/testing/src/com/android/car/dialer/testing/ |
D | TestActivity.java | 34 private final ViewModelProvider.Factory mFactory = new ViewModelProvider.Factory() { field in TestActivity 51 return mFactory; in getDefaultViewModelProviderFactory()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomPageTab.java | 63 private final Factory mFactory; field in TelecomPageTab 71 mFactory = factory; in TelecomPageTab() 93 mFragment = mFactory.createFragment(page); in initFragment()
|
/packages/modules/DnsResolver/ |
D | DnsTlsTransport.h | 46 : mMark(mark), mServer(server), mFactory(factory) {} in DnsTlsTransport() 74 IDnsTlsSocketFactory* _Nonnull const mFactory; variable
|
D | DnsTlsDispatcher.h | 44 : mFactory(std::move(factory)) {} in DnsTlsDispatcher() 173 std::unique_ptr<IDnsTlsSocketFactory> mFactory; variable
|
D | DnsTlsDispatcher.cpp | 43 mFactory.reset(new DnsTlsSocketFactory()); in DnsTlsDispatcher() 320 ret = new Transport(server, mark, netId, mFactory.get(), revalidationEnabled, triggerThr, in addTransport()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppInfoWithHeaderTest.java | 68 private FakeFeatureFactory mFactory; field in AppInfoWithHeaderTest 74 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 75 when(mFactory.metricsFeatureProvider.getMetricsCategory(any(Object.class))) in setUp()
|
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/ |
D | SemanticManagerTest.cpp | 57 return mFactory.getStreamManager(config, engine, 0); in SetupStreamManager() 59 StreamManagerFactory mFactory; member in SemanticManagerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 111 private FakeFeatureFactory mFactory; field in DataUsageSummaryPreferenceControllerTest 129 mFactory = FakeFeatureFactory.setupForTest(); in setUp() 130 when(mFactory.metricsFeatureProvider.getMetricsCategory(any(Object.class))) in setUp()
|