History log of /packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ba512c3d840bf151b9ea04df924d2e7f3c227501 07-May-2018 Carmen Jackson <carmenjackson@google.com> Traceur: Add notification channels for ideal notification behavior.

Traceur notifications should peek onto the screen so that Traceur
users are clearly prompted for the next steps of taking, saving, and
sharing a trace. Therefore, Traceur needs notification channels to
ensure that this will happen all the time.

This also updates the min and target sdk versions in the manifest, which
provides a better default notification experience if people open
notification settings for Traceur.

Bug: 79114699
Test: Take traces using the app and the Quick Settings tile. See that
the notifications all peek onto the screen and vibrate with the default
vibration pattern in both cases.
Test: atest TraceurUiTests

Change-Id: Ib52f92e65c4233edbfa22be3627657187479d9fa
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
36e7179fb3129a60abce59dc8eb640d50e06cd6e 21-Apr-2018 Carmen Jackson <carmenjackson@google.com> Traceur: Move trace commands into a service.

This change is intended to reduce the likelihood that starting,
stopping, or saving a trace is interrupted due to an associated process
being killed. In order to prevent that, we've moved those activities
into a service.

The service runs in the foreground when performing atrace operations,
and will restart if it is stopped by the system.

Bug: 63867954
Test: atest TraceurUiTests - all tests passed.
Test: Added debugging code to sleep before dumping the trace and killed
the Traceur process while the trace was sleeping/dumping. Saw that the
AtraceService process restarted and the trace was dumped successfully
the second time.
Change-Id: I64391c4abe580d0926606f3a3a260bd1f123f6e2
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
8b201bf47413031f6530e4ec56c9b2dc403d6f63 29-Mar-2018 Aurimas Liutikas <aurimas@google.com> Revert "Move Traceur to androidx."

This reverts commit 7b2d386f9e997cb41214583de5934c362337a606.

Bug: 76692459
Change-Id: I1a9271303c7a38dc1ab34267e4e03a17996ddb4e
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
7b2d386f9e997cb41214583de5934c362337a606 29-Mar-2018 Filip Pavlis <pavlis@google.com> Move Traceur to androidx.

Bug: 76692459
Test: make -j Traceur.
Change-Id: I47dc2143b9173cc16d68367ee1e1f5b4f6321c9c
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
5d1bc3dc8f819d6822bc59f7e7a988f486419446 06-Feb-2018 Carmen Jackson <carmenjackson@google.com> Traceur: String refresh!

This updates Traceur to use string resources for all user-visible
strings in the app, and updates many of those strings to make sure
they're easy to understand.

Bug: 72132514
Test: Visual test of Traceur UX flows. Tests pass.

Change-Id: Icf4bf2c4aff68dbac530c5eeeae1221fa44641b9
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
18f1b43e4bb740e7832acc614e83cc334c671d03 11-Jan-2018 Carmen Jackson <carmenjackson@google.com> Traceur: Stop using the shell uid.

Traceur was previously running as shell, which was unintentionally
abusing selinux architecture. Now it gets its selinux permissions via
the traceur_app domain and no longer needs to share them with shell.

This change also updates the output directory for the traces to
/data/local/traces instead of /bugreports/, since without shell
permissions the app no longer has access to /bugreports/.

Last, this change adds a FileProvider to the manifest to allow us to
share the files from this new directory via email.

Bug: 68126425
Test: Enabled all tags, took a trace, and used
'adb pull /data/local/traces' to retrieve the trace files.
Test: Shared the trace files via gmail successfully.
Change-Id: Ibcb789354424276e94e3b2ea9451df26ab5e38eb
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
a6b5cfd81be99321e875534e4b51c35ce7bbd729 12-Dec-2017 Carmen Jackson <carmenjackson@google.com> Remove 'google' from the Traceur package name.

This was an oversight from moving Traceur to aosp.

Bug: 70577363
Test: Flashed this build on top of a build with the previous package
name and observed that the previous app was removed and replaced with
this one.
Change-Id: I95677a0929ed49b59edb430924dcf418368d3310
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
fc43fc4c3bf48d48df6bdcfaf59b5696c8fabccd 15-Apr-2017 Carmen Jackson <carmenjackson@google.com> Traceur: UI simplification and cleanup.

Removed the popups that appear when you're interacting with Traceur via
the tile, so that when you tap the tile tracing immediately begins, and
when you tap it again the trace is automatically stopped, dumped to
file, and the sharing notification appears. The text on the tile will
toggle between "Start tracing" and "Tracing".

Bug: 37281960
Test: The UX works as described above. Sometimes the active/inactive
state of the tile doesn't update immediately.

Change-Id: I50c130b6e682dd2769b5fdf74627d8a48895f1c2
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java
0f2ea457f652da08a11765db71d0c37b1b7af394 12-Apr-2017 Carmen Jackson <carmenjackson@google.com> Change the package to be more general and no longer file bugs on roosa

The package name has been changed to com.google.android.traceur.
We're going to be moving this project to vendor/google/tools,
and the other apps in that directory have package names with the
same simple format.

Also, I removed the references to 'file a bug on roosa'. We have a
Traceur buganizer component now!

cherry-pick from commit 6c58d7223e6903a136233cefaefc98eb06b5ca2c

Test: App compiles. I can take a trace using the new app version.
$ adb shell 'pm list packages -f' | grep -i traceur
package:/system/app/Traceur/Traceur.apk=com.google.android.traceur

Change-Id: Iff79608d56e83187b19003da8ba1e9d246c1dc7f
Merged-In: Iff79608d56e83187b19003da8ba1e9d246c1dc7f
/packages/apps/Traceur/src/com/google/android/traceur/FileSender.java