Faire un don

  • R/O
  • HTTP
  • SSH

packages-services-Analytics: Listed des commits


Révision l'heure Auteur
7bafa6f pie-x86 2019-03-21 17:52:31 Chih-Wei Huang

Utils: convert to Android.bp

Since the framework.jar has been changed to use Android.bp,
we need to change analytics-utils to Android.bp as well.

9eb101c 2019-02-26 12:42:29 Chih-Wei Huang


This is required by Android 9 to build with private platform jar.

dd738b6 oreo-x86 android-x86-8.1-r1 2018-05-28 17:40:48 Chih-Wei Huang

AnalyticsService: update tracking id for oreo-x86

5d30f86 multiwindow-oreo 2017-10-27 12:40:30 Chih-Wei Huang

AnalyticsService: use new getSerial() API

The Build.SERIAL is deprecated since Android 8.0.

844ae04 nougat-x86 android-x86-7.1-r1 android-x86-7.1-r2 2017-10-27 11:35:11 Chih-Wei Huang

AnalyticsService: report the build info in power events

Set buind info to the label of power events so we can know
what the build is in Google Analytics.

a9c4d50 2017-10-19 12:12:00 Chih-Wei Huang

AnalyticsService: get rid of getBaseContext()

According to Dianne Hackborn, the Google chief engineer working on
the Android framework:

"Don't use getBaseContext(), just use the Context you have."

Refer to for the usages
of various Contexts.

7fb0189 2017-10-19 12:10:37 Chih-Wei Huang

AnalyticsService: combine two services

The functionality of HardwareCollectorService is very simple.
It's unnecessary to make it as a separate service.

Just merge it into the AnalyticsService to save resources.

7c415df 2017-10-18 19:29:31 Chih-Wei Huang

AnalyticsService: handle AOSP's ACTION_BOOT_COMPLETED directly

I don't understand why it emits another custom ACTION_BOOT_COMPLETED
to do the work indirectly. It's totatly broken in Nougat.
The ActivityManager complains:

10-17 08:03:38.950 1426 1951 E ActivityManager: Sending non-protected broadcast org.android_x86.boot_completed from system pkg
10-17 08:03:38.950 1426 1951 E ActivityManager: java.lang.Throwable
10-17 08:03:38.950 1426 1951 E ActivityManager: at
10-17 08:03:38.950 1426 1951 E ActivityManager: at
10-17 08:03:38.950 1426 1951 E ActivityManager: at
10-17 08:03:38.950 1426 1951 E ActivityManager: at
10-17 08:03:38.950 1426 1951 E ActivityManager: at
10-17 08:03:38.950 1426 1951 E ActivityManager: at android.os.Binder.execTransact(

Fix it by removing the custom ACTION_BOOT_COMPLETED and handle

d5db32d 2017-10-17 16:50:44 Chih-Wei Huang

AnalyticsService: remove non-existent folder

To avoid the warning:

packages/services/Analytics/Service/ warning: FindEmulator: find: `packages/services/Analytics/Service/protos': No such file or directory

d0b3889 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2016-08-15 14:13:43 Chih-Wei Huang

HardwareCollector: send sensors info

Send the sensors hal name if it's not the default kbd.

08d087b 2016-08-15 12:54:56 Chih-Wei Huang

Utils: fix circular dependency

Use the prebuilt jar from SDK to avoid the circular dependency issue.

3c02030 2016-08-11 01:50:31 Chih-Wei Huang

HardwareCollector: send wifi and ethernet info

Send the wifi and ethernet module names to GA if
the interfaces are found.

e59c4f3 2016-08-10 18:48:55 Chih-Wei Huang

Invoke HardwareCollector conditionally

Only collect hardware information if the users agree.

bafb078 2016-08-10 18:48:29 Hugo

AnalyticsService: send anonymous usage information to GA

This library receive usage informations from system processes and system
applications and send these informations anonymously to Google Analytics

1e4bc49 2016-08-10 18:48:27 Hugo

HardwareCollector: send hardware information to GA

This app/service will collect informations about device hardware after
boot completed and send these informations to AnalyticsService that will
in turn anonymously send these informations to Google Analytics servers.

459126d 2016-08-10 18:48:25 Hugo

analytics-utils: library to communicate with AnalyticsService

This library sends anonymous usage information to the AnalyticsService
application/service that will in turn send this information to Google

Afficher sur ancien navigateur de dépôt.