/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | SSLSocketFactoryWrapper.java | 38 private final SSLSocketFactory mFactory; field in SSLSocketFactoryWrapper 69 mFactory = factory; in SSLSocketFactoryWrapper() 76 final String[] baseDefaultCipherSuites = mFactory.getDefaultCipherSuites(); in SSLSocketFactoryWrapper() 78 mFactory.getDefaultCipherSuites())); in SSLSocketFactoryWrapper() 81 final String[] baseSupportedCipherSuites = mFactory.getSupportedCipherSuites(); in SSLSocketFactoryWrapper() 83 mFactory.getSupportedCipherSuites())); in SSLSocketFactoryWrapper() 112 return mFactory.createSocket(); in createSocket() 117 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(socket, host, port, autoClose); in createSocket() 128 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, port); in createSocket() 140 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, i, inetAddress, i2); in createSocket() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 86 final private ServiceFactory mFactory; field in PhonePolicy 203 mFactory = factory; in PhonePolicy() 210 HidService hidService = mFactory.getHidService(); in processInitProfilePriorities() 211 A2dpService a2dpService = mFactory.getA2dpService(); in processInitProfilePriorities() 212 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() 213 PanService panService = mFactory.getPanService(); in processInitProfilePriorities() 291 final HeadsetService hsService = mFactory.getHeadsetService(); in autoConnectHeadset() 311 final A2dpService a2dpService = mFactory.getA2dpService(); in autoConnectA2dp() 349 HeadsetService hsService = mFactory.getHeadsetService(); in processConnectOtherProfiles() 350 A2dpService a2dpService = mFactory.getA2dpService(); in processConnectOtherProfiles() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardAdapterTest.java | 95 private FakeFeatureFactory mFactory; field in DashboardAdapterTest 105 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 106 when(mFactory.dashboardFeatureProvider.shouldTintIcon()).thenReturn(true); in setUp() 107 when(mFactory.suggestionsFeatureProvider in setUp() 130 verify(mFactory.metricsFeatureProvider, times(2)).action( in testSuggestionsLogs_NotExpanded() 149 verify(mFactory.metricsFeatureProvider, times(4)).action( in testSuggestionsLogs_NotExpandedAndPaused() 174 verify(mFactory.metricsFeatureProvider, times(3)).action( in testSuggestionsLogs_Expanded() 198 verify(mFactory.metricsFeatureProvider, times(6)).action( in testSuggestionsLogs_ExpandedAndPaused() 228 verify(mFactory.metricsFeatureProvider, times(7)).action( in testSuggestionsLogs_ExpandedAfterPause() 261 verify(mFactory.metricsFeatureProvider, times(10)).action( in testSuggestionsLogs_ExpandedAfterPauseAndPausedAgain() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoLookupHelperTest.java | 56 @Mock CallerInfoAsyncQueryFactory mFactory; field in CallerInfoLookupHelperTest 78 mFactory, mContactsAsyncHelper, new TelecomSystem.SyncRoot() { }); in setUp() 79 when(mFactory.startQuery(anyInt(), eq(mContext), anyString(), in setUp() 120 verify(mFactory).startQuery(anyInt(), eq(mContext), eq(URI1.getSchemeSpecificPart()), in testSimpleLookup() 157 verify(mFactory, times(1)).startQuery(anyInt(), eq(mContext), in testLookupWithTwoListeners() 195 verify(mFactory, times(1)).startQuery(anyInt(), eq(mContext), in testListenerAddedAfterCallerInfoBeforePhoto()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 43 private XmlPullParserFactory mFactory; field in DefaultCarrierConfigService 47 mFactory = null; in DefaultCarrierConfigService() 70 if (mFactory == null) { in onLoadConfig() 71 mFactory = XmlPullParserFactory.newInstance(); in onLoadConfig() 75 XmlPullParser parser = mFactory.newPullParser(); in onLoadConfig()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerTest.java | 67 @Mock private ProvisioningControllerFactory mFactory; field in ProvisioningManagerTest 87 mManager = new ProvisioningManager(mContext, mUiHandler, mFactory, mAnalyticsTracker, in setUp() 89 when(mFactory.createProvisioningController(mContext, TEST_PARAMS, mManager)) in setUp() 100 verify(mFactory).createProvisioningController(mContext, TEST_PARAMS, mManager); in testMaybeStartProvisioning() 111 verifyNoMoreInteractions(mFactory); in testMaybeStartProvisioning()
|
D | ProvisioningControllerFactoryTest.java | 50 private ProvisioningControllerFactory mFactory = new ProvisioningControllerFactory(); field in ProvisioningControllerFactoryTest 62 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testProfileOwner() 73 mFactory.createProvisioningController(InstrumentationRegistry.getTargetContext(), in testDeviceOwner()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | BuildNumberPreferenceControllerTest.java | 78 private FakeFeatureFactory mFactory; field in BuildNumberPreferenceControllerTest 85 mFactory = FakeFeatureFactory.setupForTest(mContext); in setUp() 134 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_deviceNotProvisioned_doNothing() 166 verify(mFactory.metricsFeatureProvider).action( in handlePrefTreeClick_userHasRestriction_doNothing() 199 when(mFactory.searchFeatureProvider.getIndexingManager(any(Context.class))) in onActivityResult_confirmPasswordRequestCompleted_enableDevPref()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | AssistGestureSettingsPreferenceControllerTest.java | 55 private FakeFeatureFactory mFactory; field in AssistGestureSettingsPreferenceControllerTest 64 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 72 when(mFactory.assistGestureFeatureProvider.isSensorAvailable(mContext)).thenReturn(true); in isAvailable_whenSupported_shouldReturnTrue() 78 when(mFactory.assistGestureFeatureProvider.isSupported(mContext)).thenReturn(false); in isAvailable_whenUnsupported_shouldReturnFalse()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImplTest.java | 104 private FakeFeatureFactory mFactory; field in SuggestionFeatureProviderImplTest 111 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 298 verifyZeroInteractions(mFactory.metricsFeatureProvider); in dismissSuggestion_noParserOrSuggestion_noop() 342 verify(mFactory.metricsFeatureProvider).action( in dismissSuggestion_hasMoreDismissCount_shouldNotDisableComponent() 356 verifyZeroInteractions(mFactory.metricsFeatureProvider); in dismissSuggestion_noContext_shouldDoNothing() 366 verify(mFactory.metricsFeatureProvider).action( in dismissSuggestion_hasNoMoreDismissCount_shouldDisableComponent()
|
D | SuggestionDismissControllerTest.java | 60 private FakeFeatureFactory mFactory; field in SuggestionDismissControllerTest 67 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 113 verify(mFactory.suggestionsFeatureProvider).dismissSuggestion( in onSwiped_shouldTriggerDismissSuggestion()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursor.java | 33 private final CursorCreator<T> mFactory; field in ObjectCursor 46 mFactory = factory; in ObjectCursor() 68 final T model = mFactory.createFromCursor(c); in getModel()
|
D | ObjectCursorLoader.java | 51 private final CursorCreator<T> mFactory; field in ObjectCursorLoader 70 mFactory = factory; in ObjectCursorLoader() 100 return new ObjectCursor<T>(inner, mFactory); in getObjectCursor()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManager.java | 59 private final ProvisioningControllerFactory mFactory; field in ProvisioningManager 99 mFactory = checkNotNull(factory); in ProvisioningManager() 132 mController = mFactory.createProvisioningController(mContext, params, this); in startNewProvisioningLocked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppInfoWithHeaderTest.java | 67 private FakeFeatureFactory mFactory; field in AppInfoWithHeaderTest 75 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 76 when(mFactory.metricsFeatureProvider.getMetricsCategory(any(Object.class))) in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/survey/ |
D | SurveyMixinTest.java | 41 private FakeFeatureFactory mFactory; field in SurveyMixinTest 55 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in setUp() 56 mProvider = mFactory.getSurveyFeatureProvider(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 63 private FakeFeatureFactory mFactory; field in SharedPreferenceLoggerTest 71 mFactory = (FakeFeatureFactory) FakeFeatureFactory.getFactory(mContext); in init() 72 mMetricsFeature = mFactory.metricsFeatureProvider; in init()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AbstractActivityController.java | 3646 final CursorCreator<Account> mFactory = Account.FACTORY; 3654 MailAppProvider.getAccountsUri(), mProjection, mFactory); 3658 mFactory);
|