Merge "Cleanup AcitivityManagerConstants and AppSearch" into sc-dev am: 6f5306d6e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15191320 Change-Id: I91924b2ae17a40be74f0ddc770089b5eabd2e1fc
This commit is contained in:
@@ -45,7 +45,7 @@ import java.util.Objects;
|
|||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logger Implementation using Westworld.
|
* Logger Implementation to log to statsd.
|
||||||
*
|
*
|
||||||
* <p>This class is thread-safe.
|
* <p>This class is thread-safe.
|
||||||
*
|
*
|
||||||
@@ -95,7 +95,7 @@ public final class PlatformLogger implements AppSearchLogger {
|
|||||||
private long mLastPushTimeMillisLocked = 0;
|
private long mLastPushTimeMillisLocked = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper class to hold platform specific stats for Westworld.
|
* Helper class to hold platform specific stats for statsd.
|
||||||
*/
|
*/
|
||||||
static final class ExtraStats {
|
static final class ExtraStats {
|
||||||
// UID for the calling package of the stats.
|
// UID for the calling package of the stats.
|
||||||
@@ -113,7 +113,7 @@ public final class PlatformLogger implements AppSearchLogger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Westworld constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
public PlatformLogger(
|
public PlatformLogger(
|
||||||
@NonNull Context userContext,
|
@NonNull Context userContext,
|
||||||
|
|||||||
@@ -489,7 +489,7 @@ final class ActivityManagerConstants extends ContentObserver {
|
|||||||
volatile long mFgsStartForegroundTimeoutMs = DEFAULT_FGS_START_FOREGROUND_TIMEOUT_MS;
|
volatile long mFgsStartForegroundTimeoutMs = DEFAULT_FGS_START_FOREGROUND_TIMEOUT_MS;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sample rate for the FGS westworld atom.
|
* Sample rate for the FGS atom.
|
||||||
*
|
*
|
||||||
* If the value is 0.1, 10% of the installed packages would be sampled.
|
* If the value is 0.1, 10% of the installed packages would be sampled.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user