42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.android.settings.slices;
|
|
|
|
import android.content.Context;
|
|
|
|
import com.android.settings.network.telephony.Enhanced4gLteSliceHelper;
|
|
import com.android.settings.wifi.calling.WifiCallingSliceHelper;
|
|
|
|
/**
|
|
* Manages Slices in Settings.
|
|
*/
|
|
public interface SlicesFeatureProvider {
|
|
|
|
boolean DEBUG = false;
|
|
|
|
SliceDataConverter getSliceDataConverter(Context context);
|
|
|
|
/**
|
|
* Asynchronous call to index the data used to build Slices.
|
|
* If the data is already indexed, the data will not change.
|
|
*/
|
|
void indexSliceDataAsync(Context context);
|
|
|
|
/**
|
|
* Indexes the data used to build Slices.
|
|
* If the data is already indexed, the data will not change.
|
|
*/
|
|
void indexSliceData(Context context);
|
|
|
|
CustomSliceManager getCustomSliceManager(Context context);
|
|
|
|
/**
|
|
* Gets new WifiCallingSliceHelper object
|
|
*/
|
|
WifiCallingSliceHelper getNewWifiCallingSliceHelper(Context context);
|
|
|
|
/**
|
|
* Gets new Enhanced4gLteSliceHelper object
|
|
*/
|
|
Enhanced4gLteSliceHelper getNewEnhanced4gLteSliceHelper(Context context);
|
|
}
|
|
|