|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface IBackgroundService
| Nested Class Summary | |
|---|---|
static class |
IBackgroundService.Stub
Local-side IPC implementation stub class. |
| Method Summary | |
|---|---|
void |
broadcastProgress()
Triggers a progress broadcast of the current task if there is one active |
boolean |
doBatchCreateAndExportTrainingData(Configuration baseConfig,
long[] windowSizes,
long[] sampleRates,
double[] gfCutOffs)
Method to start batch training data creation and export for any combination of the given window sizes and sample rates. |
boolean |
doCreateModel(Configuration config,
String modelName)
Method to start model creation from a given configuration in the background |
boolean |
doDBRawDataUpdate(Configuration config)
Method to trigger db related updates of the raw time series (Gap filling and linear acceleration updates for older DBs). |
boolean |
doEvaluate(Configuration config,
ParcelableFeatureTypeSets featureSets,
boolean bestResultsOnly)
Method to start evaluation in the background |
boolean |
doExportDatabase(String fileName)
Method to start database export |
boolean |
doExportModelFile(String fileName)
Method to start a model file export |
boolean |
doExportRecordingData(Configuration config,
String fileName)
Method to start recording data export |
boolean |
doExportTrainingData(Configuration config,
String fileName)
Method to start training data export |
boolean |
doExtractFeatures(Configuration config,
long[] sequenceIds)
Method to start feature extraction in the background |
boolean |
doImportDatabase(String fileName)
Method to start database import |
boolean |
doSearchBestFeatureSubset(Configuration config,
ParcelableFeatureTypeSets featureSets,
int size)
Method to start a search for the best feature subset of a given size. |
boolean |
doUpdateLinearAccelerations(Configuration config)
Method to start recalculation of liner acceleration based on the reconstructed raw acceleration values. |
String |
getCurrentTaskDescription()
Getter for the current task description |
ServiceState |
getServiceState()
Getter for the service state |
void |
stopSelf()
Signals the service to stop itself when idle |
| Methods inherited from interface android.os.IInterface |
|---|
asBinder |
| Method Detail |
|---|
boolean doExtractFeatures(Configuration config,
long[] sequenceIds)
throws RemoteException
config - the configuration to usesequenceIds - a list with the identifiers of the continuous recording aequences to extract features from
RemoteException
ServiceState getServiceState()
throws RemoteException
RemoteException
boolean doEvaluate(Configuration config,
ParcelableFeatureTypeSets featureSets,
boolean bestResultsOnly)
throws RemoteException
config - the configuration to usefeatureSets - a set of feature sets to evaluatebestResultsOnly - flag to limit the result list to the best results (ranked by overall prediction accuracy)
RemoteException
boolean doSearchBestFeatureSubset(Configuration config,
ParcelableFeatureTypeSets featureSets,
int size)
throws RemoteException
config - the configuration to usefeatureSets - a set with a single set of features to search insize - the subset size
RemoteException
boolean doCreateModel(Configuration config,
String modelName)
throws RemoteException
config - the configuration to usemodelName - the model name to use
RemoteException
String getCurrentTaskDescription()
throws RemoteException
RemoteException
void stopSelf()
throws RemoteException
RemoteException
void broadcastProgress()
throws RemoteException
RemoteException
boolean doExportTrainingData(Configuration config,
String fileName)
throws RemoteException
config - the current configurationfileName - the destination file name
RemoteException
boolean doExportRecordingData(Configuration config,
String fileName)
throws RemoteException
config - the current configurationfileName - the destination file name
RemoteException
boolean doExportDatabase(String fileName)
throws RemoteException
fileName - the destination file name
RemoteException
boolean doExportModelFile(String fileName)
throws RemoteException
fileName - the model file name
RemoteException
boolean doImportDatabase(String fileName)
throws RemoteException
fileName - the destination file name
RemoteException
boolean doBatchCreateAndExportTrainingData(Configuration baseConfig,
long[] windowSizes,
long[] sampleRates,
double[] gfCutOffs)
throws RemoteException
baseConfig - the basic configurationwindowSizes - the window sizessampleRates - the sample rates
RemoteException
boolean doUpdateLinearAccelerations(Configuration config)
throws RemoteException
config - the current configuration
RemoteException
boolean doDBRawDataUpdate(Configuration config)
throws RemoteException
config - the current configuration
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||