Home
last modified time | relevance | path

Searched refs:StatsUnavailableException (Results 1 – 6 of 6) sorted by relevance

/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java145 public void addConfig(long configKey, byte[] config) throws StatsUnavailableException { in addConfig()
153 throw new StatsUnavailableException("could not connect", e); in addConfig()
155 throw new StatsUnavailableException(e.getMessage(), e); in addConfig()
158 throw new StatsUnavailableException(e.getMessage(), e); in addConfig()
173 } catch (StatsUnavailableException | IllegalArgumentException e) { in addConfiguration()
185 public void removeConfig(long configKey) throws StatsUnavailableException { in removeConfig()
192 throw new StatsUnavailableException("could not connect", e); in removeConfig()
194 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig()
197 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig()
212 } catch (StatsUnavailableException e) { in removeConfiguration()
[all …]
/packages/modules/StatsD/framework/api/
Dsystem-current.txt5 …TS}) public void addConfig(long, byte[]) throws android.app.StatsManager.StatsUnavailableException;
10 …blic long[] getRegisteredExperimentIds() throws android.app.StatsManager.StatsUnavailableException;
11 …E_STATS}) public byte[] getReports(long) throws android.app.StatsManager.StatsUnavailableException;
12 …STATS}) public byte[] getStatsMetadata() throws android.app.StatsManager.StatsUnavailableException;
13 …E_STATS}) public void removeConfig(long) throws android.app.StatsManager.StatsUnavailableException;
15 …ion(@Nullable android.app.PendingIntent) throws android.app.StatsManager.StatsUnavailableException;
16 …r(android.app.PendingIntent, long, long) throws android.app.StatsManager.StatsUnavailableException;
19 …eration(android.app.PendingIntent, long) throws android.app.StatsManager.StatsUnavailableException;
51 public static class StatsManager.StatsUnavailableException extends android.util.AndroidException {
52 ctor public StatsManager.StatsUnavailableException(String);
[all …]
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyConfigJobService.java77 } catch (StatsManager.StatsUnavailableException e) { in onStartJob()
106 } catch (StatsManager.StatsUnavailableException e) { in checkAnomalyConfig()
121 } catch (StatsManager.StatsUnavailableException e) { in checkAnomalyConfig()
DAnomalyConfigReceiver.java43 } catch (StatsManager.StatsUnavailableException e) { in onReceive()
DBatteryTipUtils.java122 throws StatsManager.StatsUnavailableException { in uploadAnomalyPendingIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyConfigJobServiceTest.java107 throws StatsManager.StatsUnavailableException{ in checkAnomalyConfig_newConfigExist_removeOldConfig()
120 throws StatsManager.StatsUnavailableException{ in checkAnomalyConfig_newConfigExist_uploadNewConfig()