Searched refs:AppFactory (Results 1 – 20 of 20) sorted by relevance
32 public abstract class AppFactory { class33 @NonNull private static AppFactory sInstance;39 public static AppFactory get() { in get()48 protected static void setInstance(@NonNull final AppFactory factory) { in setInstance()
55 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()
32 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()
30 import com.android.car.messenger.core.interfaces.AppFactory;36 class AppFactoryImpl extends AppFactory {66 AppFactory.setInstance(factory); in register()
40 import com.android.car.messenger.core.interfaces.AppFactory;67 Context context = AppFactory.get().getContext(); in getThreadCursor()86 Context context = AppFactory.get().getContext(); in getMessagesCursor()
31 import com.android.car.messenger.core.interfaces.AppFactory;77 Context context = AppFactory.get().getContext(); in initConversationBuilder()135 SharedPreferences sharedPreferences = AppFactory.get().getSharedPreferences(); in loadMutedList()
38 import com.android.car.messenger.core.interfaces.AppFactory;119 Context context = AppFactory.get().getContext(); in forEachDesc()147 Context context = AppFactory.get().getContext(); in parseCurrentMessage()
37 import com.android.car.messenger.core.interfaces.AppFactory;79 Context context = AppFactory.get().getContext(); in getRecipients()
34 import com.android.car.messenger.core.interfaces.AppFactory;67 SharedPreferences sharedPrefs = AppFactory.get().getSharedPreferences(); in onActive()77 SharedPreferences sharedPrefs = AppFactory.get().getSharedPreferences(); in onInactive()
33 import com.android.car.messenger.core.interfaces.AppFactory;73 SharedPreferences sharedPreferences = AppFactory.get().getSharedPreferences(); in muteConversation()88 Context context = AppFactory.get().getContext(); in markAsRead()
35 import com.android.car.messenger.core.interfaces.AppFactory;79 mContext = AppFactory.get().getContext(); in ConversationsPerDeviceFetchManager()94 Context context = AppFactory.get().getContext(); in getCursor()
32 import com.android.car.messenger.core.interfaces.AppFactory;66 new ProjectionStateListener(AppFactory.get().getContext());155 Context context = AppFactory.get().getContext(); in getCursor()
26 import com.android.car.messenger.core.interfaces.AppFactory;75 return AppFactory.get().getContext(); in getContext()
28 import com.android.car.messenger.core.interfaces.AppFactory;76 Context context = AppFactory.get().getContext(); in UserAccountLiveData()
27 import com.android.car.messenger.core.interfaces.AppFactory;43 mDataSource = AppFactory.get().getDataModel(); in MessageLauncherViewModel()
26 import com.android.car.messenger.core.interfaces.AppFactory;79 AppFactory.get().getDataModel().refreshUserAccounts(); in onResume()
28 import com.android.car.messenger.core.interfaces.AppFactory;46 mDataModel = AppFactory.get().getDataModel(); in ConversationListViewModel()
28 import com.android.car.messenger.core.interfaces.AppFactory;40 Context context = AppFactory.get().getContext(); in convertToUIConversationItem()
31 import com.android.car.messenger.core.interfaces.AppFactory;80 mDataModel = AppFactory.get().getDataModel(); in ConversationItemViewHolder()
41 import com.android.car.messenger.core.interfaces.AppFactory;94 DataModel dataModel = AppFactory.get().getDataModel(); in subscribeToNotificationUpdates()