Home | History | Annotate | Download | only in slices
      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 
     14     SlicesIndexer getSliceIndexer(Context context);
     15 
     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      */
     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      */
     28     void indexSliceData(Context context);
     29 
     30     /**
     31      * Gets new WifiCallingSliceHelper object
     32      */
     33     WifiCallingSliceHelper getNewWifiCallingSliceHelper(Context context);
     34 }
     35