Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85f3d3f3 authored by Sanath Kumar's avatar Sanath Kumar
Browse files

JobScheduler: Add Trace Tag to the job name

Job Name Creation Logic with #<TraceTag>#

* When both tag and namespace are present:
  #<TraceTag>#@<Namespace>@<Tag>:<PackageName>
* When a tag is present but a namespace is not:
  #<TraceTag>#<Tag>:<PackageName>
* When a tag is not present but a namespace is present:
  #<TraceTag>#@<Namespace>@<PackageName>/<Classname>
* When both a tag and namespace are not present:
 #<TraceTag>#<PackageName>/<Classname>

Bug: 354795473
Test: atest FrameworksMockingServicesTests:com.android.server.job
Test: atest CtsJobSchedulerTestCases
Flag: com.android.server.job.include_trace_tag_in_job_name
Change-Id: I5dfec8aaf2a082ace0dd1e4857c02552cdfbda2f
parent c3fcccec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment