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

java.lang.Objectorg.android.activityminer.app.service.IBackgroundService.Stub.Proxy
private static class IBackgroundService.Stub.Proxy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.android.activityminer.app.service.IBackgroundService |
|---|
IBackgroundService.Stub |
| Field Summary | |
|---|---|
private IBinder |
mRemote
|
| Constructor Summary | |
|---|---|
IBackgroundService.Stub.Proxy(IBinder remote)
|
|
| Method Summary | |
|---|---|
IBinder |
asBinder()
|
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 |
String |
getInterfaceDescriptor()
|
ServiceState |
getServiceState()
Getter for the service state |
void |
stopSelf()
Signals the service to stop itself when idle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IBinder mRemote
| Constructor Detail |
|---|
IBackgroundService.Stub.Proxy(IBinder remote)
| Method Detail |
|---|
public IBinder asBinder()
asBinder in interface IInterfacepublic String getInterfaceDescriptor()
public boolean doExtractFeatures(Configuration config,
long[] sequenceIds)
throws RemoteException
doExtractFeatures in interface IBackgroundServiceconfig - the configuration to usesequenceIds - a list with the identifiers of the continuous recording aequences to extract features from
RemoteException
public ServiceState getServiceState()
throws RemoteException
getServiceState in interface IBackgroundServiceRemoteException
public boolean doEvaluate(Configuration config,
ParcelableFeatureTypeSets featureSets,
boolean bestResultsOnly)
throws RemoteException
doEvaluate in interface IBackgroundServiceconfig - 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
public boolean doSearchBestFeatureSubset(Configuration config,
ParcelableFeatureTypeSets featureSets,
int size)
throws RemoteException
doSearchBestFeatureSubset in interface IBackgroundServiceconfig - the configuration to usefeatureSets - a set with a single set of features to search insize - the subset size
RemoteException
public boolean doCreateModel(Configuration config,
String modelName)
throws RemoteException
doCreateModel in interface IBackgroundServiceconfig - the configuration to usemodelName - the model name to use
RemoteException
public String getCurrentTaskDescription()
throws RemoteException
getCurrentTaskDescription in interface IBackgroundServiceRemoteException
public void stopSelf()
throws RemoteException
stopSelf in interface IBackgroundServiceRemoteException
public void broadcastProgress()
throws RemoteException
broadcastProgress in interface IBackgroundServiceRemoteException
public boolean doExportTrainingData(Configuration config,
String fileName)
throws RemoteException
doExportTrainingData in interface IBackgroundServiceconfig - the current configurationfileName - the destination file name
RemoteException
public boolean doExportRecordingData(Configuration config,
String fileName)
throws RemoteException
doExportRecordingData in interface IBackgroundServiceconfig - the current configurationfileName - the destination file name
RemoteException
public boolean doExportDatabase(String fileName)
throws RemoteException
doExportDatabase in interface IBackgroundServicefileName - the destination file name
RemoteException
public boolean doExportModelFile(String fileName)
throws RemoteException
doExportModelFile in interface IBackgroundServicefileName - the model file name
RemoteException
public boolean doImportDatabase(String fileName)
throws RemoteException
doImportDatabase in interface IBackgroundServicefileName - the destination file name
RemoteException
public boolean doBatchCreateAndExportTrainingData(Configuration baseConfig,
long[] windowSizes,
long[] sampleRates,
double[] gfCutOffs)
throws RemoteException
doBatchCreateAndExportTrainingData in interface IBackgroundServicebaseConfig - the basic configurationwindowSizes - the window sizessampleRates - the sample rates
RemoteException
public boolean doUpdateLinearAccelerations(Configuration config)
throws RemoteException
doUpdateLinearAccelerations in interface IBackgroundServiceconfig - the current configuration
RemoteException
public boolean doDBRawDataUpdate(Configuration config)
throws RemoteException
doDBRawDataUpdate in interface IBackgroundServiceconfig - the current configuration
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||