Merge "[3/n] Update StartupLatencyLogger's @VisibleForTesting" into udc-dev
This commit is contained in:
@@ -21,14 +21,13 @@ open class StartupLatencyLogger(val latencyType: LatencyType) {
|
|||||||
const val UNSET_LONG = -1L
|
const val UNSET_LONG = -1L
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||||
val startTimeByEvent = SparseLongArray()
|
val startTimeByEvent = SparseLongArray()
|
||||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||||
val endTimeByEvent = SparseLongArray()
|
val endTimeByEvent = SparseLongArray()
|
||||||
|
|
||||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED) var cardinality: Int = UNSET_INT
|
||||||
var cardinality: Int = UNSET_INT
|
@VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
|
||||||
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
|
|
||||||
var workspaceLoadStartTime: Long = UNSET_LONG
|
var workspaceLoadStartTime: Long = UNSET_LONG
|
||||||
|
|
||||||
private var isInTest = false
|
private var isInTest = false
|
||||||
|
|||||||
Reference in New Issue
Block a user