/packages/apps/Messaging/src/com/android/messaging/ |
D | FactoryImpl.java | 83 final FactoryImpl factory = new FactoryImpl(); in register() local 84 Factory.setInstance(factory); in register() 89 factory.mApplication = application; in register() 90 factory.mApplicationContext = applicationContext; in register() 91 factory.mMemoryCacheManager = new MemoryCacheManager(); in register() 92 factory.mMediaCacheManager = new BugleMediaCacheManager(); in register() 93 factory.mMediaResourceManager = new MediaResourceManager(); in register() 94 factory.mBugleGservices = new BugleGservicesImpl(applicationContext); in register() 95 factory.mBugleApplicationPrefs = new BugleApplicationPrefs(applicationContext); in register() 96 factory.mDataModel = new DataModelImpl(applicationContext); in register() [all …]
|
D | BugleApplication.java | 101 public void initializeSync(final Factory factory) { in initializeSync() argument 103 final Context context = factory.getApplicationContext(); in initializeSync() 104 final BugleGservices bugleGservices = factory.getBugleGservices(); in initializeSync() 105 final BuglePrefs buglePrefs = factory.getApplicationPrefs(); in initializeSync() 106 final DataModel dataModel = factory.getDataModel(); in initializeSync() 108 factory.getCarrierConfigValuesLoader(); in initializeSync() 165 public void initializeAsync(final Factory factory) { in initializeAsync() argument 168 maybeHandleSharedPrefsUpgrade(factory); in initializeAsync() 229 private void maybeHandleSharedPrefsUpgrade(final Factory factory) { in maybeHandleSharedPrefsUpgrade() argument 230 final int existingVersion = factory.getApplicationPrefs().getInt( in maybeHandleSharedPrefsUpgrade() [all …]
|
/packages/modules/DnsResolver/ |
D | resolv_tls_unit_test.cpp | 145 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local 146 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() 179 FakeSocketFactory<FakeSocketId> factory; in TEST_F() local 180 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() 198 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local 199 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() 265 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local 266 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() 284 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local 285 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() [all …]
|
D | DnsTlsDispatcher.h | 44 explicit DnsTlsDispatcher(std::unique_ptr<IDnsTlsSocketFactory> factory) in DnsTlsDispatcher() argument 45 : mFactory(std::move(factory)) {} in DnsTlsDispatcher() 76 Transport(const DnsTlsServer& server, unsigned mark, IDnsTlsSocketFactory* _Nonnull factory) in Transport() 77 : transport(server, mark, factory) {} in Transport()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 75 final FakeFactory factory = new FakeFactory(); in registerWithFakeContext() local 76 Factory.setInstance(factory); in registerWithFakeContext() 80 factory.mContext = context; in registerWithFakeContext() 81 factory.mFakeContext = fake; in registerWithFakeContext() 82 factory.mMediaResourceManager = Mockito.mock(MediaResourceManager.class); in registerWithFakeContext() 83 factory.mBugleGservices = new FakeBugleGservices(); in registerWithFakeContext() 84 factory.mBuglePrefs = new FakeBuglePrefs(); in registerWithFakeContext() 85 factory.mPhoneUtils = Mockito.mock(PhoneUtils.class); in registerWithFakeContext() 89 Mockito.when(factory.mPhoneUtils.getCanonicalBySystemLocale(Matchers.anyString())) in registerWithFakeContext() 98 Mockito.when(factory.mPhoneUtils.getCanonicalBySimLocale(Matchers.anyString())).thenAnswer( in registerWithFakeContext() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | DefaultSuggestionViewFactory.java | 47 protected final void addFactory(SuggestionViewFactory factory) { in addFactory() argument 48 mFactories.addFirst(factory); in addFactory() 56 for (SuggestionViewFactory factory : mFactories) { in getSuggestionViewTypes() 57 mViewTypes.addAll(factory.getSuggestionViewTypes()); in getSuggestionViewTypes() 66 for (SuggestionViewFactory factory : mFactories) { in getView() 67 if (factory.canCreateView(suggestion)) { in getView() 68 return factory.getView(suggestion, userQuery, convertView, parent); in getView() 76 for (SuggestionViewFactory factory : mFactories) { in getViewType() 77 if (factory.canCreateView(suggestion)) { in getViewType() 78 return factory.getViewType(suggestion); in getViewType()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | RenamingDelegatingContext.java | 141 int mode, SQLiteDatabase.CursorFactory factory) { in openOrCreateDatabase() argument 143 return mFileContext.openOrCreateDatabase(name, mode, factory); in openOrCreateDatabase() 150 return mFileContext.openOrCreateDatabase(internalName, mode, factory); in openOrCreateDatabase() 155 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { in openOrCreateDatabase() argument 157 return mFileContext.openOrCreateDatabase(name, mode, factory, errorHandler); in openOrCreateDatabase() 164 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); in openOrCreateDatabase()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | GetTranscriptReceiver.java | 237 TranscriptionClientFactory factory = null; in pollForTranscription() local 239 factory = getTranscriptionClientFactory(context); in pollForTranscription() 240 TranscriptionClient client = factory.getClient(); in pollForTranscription() 257 if (factory != null) { in pollForTranscription() 258 factory.shutdown(); in pollForTranscription() 294 static void setTranscriptionClientFactoryForTesting(TranscriptionClientFactory factory) { in setTranscriptionClientFactoryForTesting() argument 295 transcriptionClientFactoryForTesting = factory; in setTranscriptionClientFactoryForTesting()
|
D | TranscriptionRatingService.java | 71 TranscriptionClientFactory factory = new TranscriptionClientFactory(this, configProvider); in onHandleWork() local 77 factory.getClient().sendTranscriptFeedbackRequest(request); in onHandleWork() 81 factory.shutdown(); in onHandleWork()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 105 LiveWallpaperInfoFactory factory = in getAll() local 125 wallpaperInfos.add(factory.getLiveWallpaperInfo(wallpaperInfo)); in getAll() 145 LiveWallpaperInfoFactory factory = in getFromSpecifiedPackage() local 170 wallpaperInfos.add(factory.getLiveWallpaperInfo(wallpaperInfo, shouldShowTitle)); in getFromSpecifiedPackage() 334 public void showPreview(Activity srcActivity, InlinePreviewIntentFactory factory, in showPreview() argument 337 if (factory.shouldUseInternalLivePicker(srcActivity)) { in showPreview() 338 srcActivity.startActivityForResult(factory.newIntent(srcActivity, this), requestCode); in showPreview()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | AsyncRingtonePlayer.java | 80 public @NonNull CompletableFuture<Boolean> play(RingtoneFactory factory, Call incomingCall, in play() argument 87 args.arg1 = factory; in play() 151 RingtoneFactory factory = (RingtoneFactory) args.arg1; 185 mRingtone = factory.getRingtone(incomingCall, volumeShaperConfig); 203 boolean hasHaptics = factory.hasHapticChannels(mRingtone);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSession.java | 36 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory; 37 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory.SessionRecordingCallback; 38 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory.SessionReleasedCallback; 40 import com.google.auto.factory.AutoFactory; 41 import com.google.auto.factory.Provided;
|
D | TunerSessionExoV2.java | 36 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory; 37 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory.SessionRecordingCallback; 38 import com.android.tv.tuner.tvinput.factory.TunerSessionFactory.SessionReleasedCallback; 40 import com.google.auto.factory.AutoFactory; 41 import com.google.auto.factory.Provided;
|
D | TunerRecordingSessionExoV2.java | 29 import com.android.tv.tuner.tvinput.factory.TunerRecordingSessionFactory; 30 import com.android.tv.tuner.tvinput.factory.TunerRecordingSessionFactory.RecordingSessionReleasedCa… 32 import com.google.auto.factory.AutoFactory; 33 import com.google.auto.factory.Provided;
|
D | TunerRecordingSession.java | 29 import com.android.tv.tuner.tvinput.factory.TunerRecordingSessionFactory; 30 import com.android.tv.tuner.tvinput.factory.TunerRecordingSessionFactory.RecordingSessionReleasedCa… 32 import com.google.auto.factory.AutoFactory; 33 import com.google.auto.factory.Provided;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ItemAdapter.java | 122 public ItemAdapter withViewTypes(ItemViewHolder.Factory factory, in withViewTypes() argument 125 mFactoriesByViewType.put(viewType, factory); in withViewTypes() 262 final ItemViewHolder.Factory factory = mFactoriesByViewType.get(viewType); in onCreateViewHolder() local 263 if (factory != null) { in onCreateViewHolder() 264 return factory.createViewHolder(parent, viewType); in onCreateViewHolder()
|
/packages/apps/TV/tuner/ |
D | build.gradle | 78 annotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta7' 79 implementation 'com.google.auto.factory:auto-factory:1.0-beta7'
|
/packages/apps/TV/ |
D | build.gradle | 89 annotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta7' 90 implementation 'com.google.auto.factory:auto-factory:1.0-beta7'
|
/packages/apps/TV/libs/ |
D | Android.bp | 23 name: "tv-auto-factory-jar", 24 jars: ["m2/auto-factory-1.0-beta6.jar"], 30 name: "tv-auto-factory", 34 "tv-auto-factory-jar", 41 processor_class: "com.google.auto.factory.processor.AutoFactoryProcessor",
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | AppToOverviewAnimationProvider.java | 73 ActivityControlHelper.AnimationFactory factory = in onActivityReady() local 82 factory.onRemoteAnimationReceived(null); in onActivityReady() 83 factory.createActivityController(RECENTS_LAUNCH_DURATION); in onActivityReady() 84 factory.setRecentsAttachedToAppWindow(true, false); in onActivityReady()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 39 final FeatureFactory factory = FeatureFactory.getFactory(context); in EnterpriseSetDefaultAppsPreferenceController() local 40 mApplicationFeatureProvider = factory.getApplicationFeatureProvider(context); in EnterpriseSetDefaultAppsPreferenceController() 41 mUserFeatureProvider = factory.getUserFeatureProvider(context); in EnterpriseSetDefaultAppsPreferenceController()
|
D | EnterpriseSetDefaultAppsListPreferenceController.java | 67 final FeatureFactory factory = FeatureFactory.getFactory(context); in EnterpriseSetDefaultAppsListPreferenceController() local 68 mApplicationFeatureProvider = factory.getApplicationFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController() 69 mEnterprisePrivacyFeatureProvider = factory.getEnterprisePrivacyFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController() 70 mUserFeatureProvider = factory.getUserFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceController.java | 39 final FeatureFactory factory = FeatureFactory.getFactory(context); in EnterpriseSetDefaultAppsPreferenceController() local 40 mApplicationFeatureProvider = factory.getApplicationFeatureProvider(context); in EnterpriseSetDefaultAppsPreferenceController() 41 mUserFeatureProvider = factory.getUserFeatureProvider(context); in EnterpriseSetDefaultAppsPreferenceController()
|
D | EnterpriseSetDefaultAppsListPreferenceController.java | 67 final FeatureFactory factory = FeatureFactory.getFactory(context); in EnterpriseSetDefaultAppsListPreferenceController() local 68 mApplicationFeatureProvider = factory.getApplicationFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController() 69 mEnterprisePrivacyFeatureProvider = factory.getEnterprisePrivacyFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController() 70 mUserFeatureProvider = factory.getUserFeatureProvider(context); in EnterpriseSetDefaultAppsListPreferenceController()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | StringResourceMap.java | 54 final SAXParserFactory factory = SAXParserFactory.newInstance(); in StringResourceMap() local 55 factory.setNamespaceAware(true); in StringResourceMap() 58 final SAXParser parser = factory.newSAXParser(); in StringResourceMap()
|