Skip navigation links
A C G H L S 

A

AnalyticsPaths - Class in com.android.tools.analytics
Helpers to get paths used to configure analytics reporting.
AnalyticsPaths() - Constructor for class com.android.tools.analytics.AnalyticsPaths
 
AnalyticsSettings - Class in com.android.tools.analytics
Settings related to analytics reporting.
AnalyticsSettings() - Constructor for class com.android.tools.analytics.AnalyticsSettings
 
anonymize(ILogger, String, Charset) - Static method in class com.android.tools.analytics.Anonymizer
Anonymizes a string based on provided charset.
Anonymizer - Class in com.android.tools.analytics
Anonymizes strings for analytics reporting.
Anonymizer() - Constructor for class com.android.tools.analytics.Anonymizer
 
anonymizeUtf8(ILogger, String) - Static method in class com.android.tools.analytics.Anonymizer
Anonymizes a utf8 string.
applicationBinaryInterfaceFromString(String) - Static method in class com.android.tools.analytics.CommonMetricsData
 

C

com.android.tools.analytics - package com.android.tools.analytics
 
CommonMetricsData - Class in com.android.tools.analytics
Calculates common pieces of metrics data, used in various Android DevTools.
CommonMetricsData() - Constructor for class com.android.tools.analytics.CommonMetricsData
 
cpuArchitectureFromString(String) - Static method in class com.android.tools.analytics.CommonMetricsData
Builds a ProductDetails.CpuArchitecture instance based on the provided string (e.g.
createNewAnalyticsSettings() - Static method in class com.android.tools.analytics.AnalyticsSettings
Creates a new settings object and writes it to disk.

G

getAndroidSettingsHome() - Static method in class com.android.tools.analytics.AnalyticsPaths
Gets the directory used to store android related settings (usually ~/.android).
getInstance(ILogger) - Static method in class com.android.tools.analytics.AnalyticsSettings
Get or creates an instance of the settings.
getJvmArchitecture() - Static method in class com.android.tools.analytics.CommonMetricsData
Gets the JVM Architecture, NOTE this might not be the same as OS architecture.
getMajorOsVersion() - Static method in class com.android.tools.analytics.CommonMetricsData
Extracts the major os version that this code is running on in the form of '[0-9]+\.[0-9]+'
getOsArchitecture() - Static method in class com.android.tools.analytics.CommonMetricsData
 
getOsName() - Static method in class com.android.tools.analytics.CommonMetricsData
Gets a normalized version of the os name that this code is running on.
getSalt() - Method in class com.android.tools.analytics.AnalyticsSettings
Gets a binary blob to ensure per user anonymization.
getSpoolDirectory() - Static method in class com.android.tools.analytics.AnalyticsPaths
Gets the spooling directory used for temporary storage of analytics data.
getUserId() - Method in class com.android.tools.analytics.AnalyticsSettings
Gets a user id used for reporting analytics.

H

hasDebugDisablePublishing() - Method in class com.android.tools.analytics.AnalyticsSettings
Indicates whether the user has disabled publishing for debugging purposes.
hasOptedIn() - Method in class com.android.tools.analytics.AnalyticsSettings
Indicates whether the user has opted in to sending analytics reporting to Google.

L

loadSettings() - Static method in class com.android.tools.analytics.AnalyticsSettings
Loads an existing settings file from disk, or creates a new valid settings object if none exists.

S

saveSettings() - Method in class com.android.tools.analytics.AnalyticsSettings
Writes this settings object to disk.
setHasOptedIn(boolean) - Method in class com.android.tools.analytics.AnalyticsSettings
Sets the user's choice for opting in to sending analytics reporting to Google or not.
setInstanceForTest(AnalyticsSettings) - Static method in class com.android.tools.analytics.AnalyticsSettings
Allows test to set a custom version of the AnalyticsSettings to test different setting states.
setUserId(String) - Method in class com.android.tools.analytics.AnalyticsSettings
Sets a new user id to be used for reporting analytics.
A C G H L S 
Skip navigation links