• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.settings.slices;
2 
3 import android.content.Context;
4 
5 import com.android.settings.wifi.calling.WifiCallingSliceHelper;
6 
7 /**
8  * Manages Slices in Settings.
9  */
10 public interface SlicesFeatureProvider {
11 
12     boolean DEBUG = false;
13 
getSliceIndexer(Context context)14     SlicesIndexer getSliceIndexer(Context context);
15 
getSliceDataConverter(Context context)16     SliceDataConverter getSliceDataConverter(Context context);
17 
18     /**
19      * Asynchronous call to index the data used to build Slices.
20      * If the data is already indexed, the data will not change.
21      */
indexSliceDataAsync(Context context)22     void indexSliceDataAsync(Context context);
23 
24     /**
25      * Indexes the data used to build Slices.
26      * If the data is already indexed, the data will not change.
27      */
indexSliceData(Context context)28     void indexSliceData(Context context);
29 
30     /**
31      * Gets new WifiCallingSliceHelper object
32      */
getNewWifiCallingSliceHelper(Context context)33     WifiCallingSliceHelper getNewWifiCallingSliceHelper(Context context);
34 }
35