Home
last modified time | relevance | path

Searched refs:AppFactory (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/Messenger/src/com/android/car/messenger/core/interfaces/
DAppFactory.java32 public abstract class AppFactory { class
33 @NonNull private static AppFactory sInstance;
39 public static AppFactory get() { in get()
48 protected static void setInstance(@NonNull final AppFactory factory) { in setInstance()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/
DVoiceUtil.java55 import com.android.car.messenger.core.interfaces.AppFactory;
160 Context context = AppFactory.get().getContext(); in createTapToReadConversation()
215 Context context = AppFactory.get().getContext(); in createServiceIntent()
247 AppFactory.get() in directSend()
265 AppFactory.get() in voiceReply()
277 AppFactory.get().getDataModel().muteConversation(conversationKey, true); in mute()
287 AppFactory.get().getDataModel().markAsRead(conversationKey); in markAsRead()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/shared/
DNotificationHandler.java32 import com.android.car.messenger.core.interfaces.AppFactory;
66 Context context = AppFactory.get().getContext(); in postNotification()
91 Context context = AppFactory.get().getContext(); in postNotificationForLegacyTapToRead()
145 Context context = AppFactory.get().getContext(); in removeNotification()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/
DAppFactoryImpl.java30 import com.android.car.messenger.core.interfaces.AppFactory;
36 class AppFactoryImpl extends AppFactory {
66 AppFactory.setInstance(factory); in register()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DCursorUtils.java40 import com.android.car.messenger.core.interfaces.AppFactory;
67 Context context = AppFactory.get().getContext(); in getThreadCursor()
86 Context context = AppFactory.get().getContext(); in getMessagesCursor()
DConversationFetchUtil.java31 import com.android.car.messenger.core.interfaces.AppFactory;
77 Context context = AppFactory.get().getContext(); in initConversationBuilder()
135 SharedPreferences sharedPreferences = AppFactory.get().getSharedPreferences(); in loadMutedList()
DMessageUtils.java38 import com.android.car.messenger.core.interfaces.AppFactory;
119 Context context = AppFactory.get().getContext(); in forEachDesc()
147 Context context = AppFactory.get().getContext(); in parseCurrentMessage()
DContactUtils.java37 import com.android.car.messenger.core.interfaces.AppFactory;
79 Context context = AppFactory.get().getContext(); in getRecipients()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DConversationListLiveData.java34 import com.android.car.messenger.core.interfaces.AppFactory;
67 SharedPreferences sharedPrefs = AppFactory.get().getSharedPreferences(); in onActive()
77 SharedPreferences sharedPrefs = AppFactory.get().getSharedPreferences(); in onInactive()
DTelephonyDataModel.java33 import com.android.car.messenger.core.interfaces.AppFactory;
73 SharedPreferences sharedPreferences = AppFactory.get().getSharedPreferences(); in muteConversation()
88 Context context = AppFactory.get().getContext(); in markAsRead()
DConversationsPerDeviceFetchManager.java35 import com.android.car.messenger.core.interfaces.AppFactory;
79 mContext = AppFactory.get().getContext(); in ConversationsPerDeviceFetchManager()
94 Context context = AppFactory.get().getContext(); in getCursor()
DNewMessageLiveData.java32 import com.android.car.messenger.core.interfaces.AppFactory;
66 new ProjectionStateListener(AppFactory.get().getContext());
155 Context context = AppFactory.get().getContext(); in getCursor()
DContentProviderLiveData.java26 import com.android.car.messenger.core.interfaces.AppFactory;
75 return AppFactory.get().getContext(); in getContext()
DUserAccountLiveData.java28 import com.android.car.messenger.core.interfaces.AppFactory;
76 Context context = AppFactory.get().getContext(); in UserAccountLiveData()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/launcher/
DMessageLauncherViewModel.java27 import com.android.car.messenger.core.interfaces.AppFactory;
43 mDataSource = AppFactory.get().getDataModel(); in MessageLauncherViewModel()
DMessageLauncherActivity.java26 import com.android.car.messenger.core.interfaces.AppFactory;
79 AppFactory.get().getDataModel().refreshUserAccounts(); in onResume()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DConversationListViewModel.java28 import com.android.car.messenger.core.interfaces.AppFactory;
46 mDataModel = AppFactory.get().getDataModel(); in ConversationListViewModel()
DUIConversationItemConverter.java28 import com.android.car.messenger.core.interfaces.AppFactory;
40 Context context = AppFactory.get().getContext(); in convertToUIConversationItem()
DConversationItemViewHolder.java31 import com.android.car.messenger.core.interfaces.AppFactory;
80 mDataModel = AppFactory.get().getDataModel(); in ConversationItemViewHolder()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/service/
DMessengerService.java41 import com.android.car.messenger.core.interfaces.AppFactory;
94 DataModel dataModel = AppFactory.get().getDataModel(); in subscribeToNotificationUpdates()