Commit d40c2afe authored by Michael Droettboom's avatar Michael Droettboom Committed by Sebastian Kaspari
Browse files

1540844: Rename metrics package -> private

parent 65a6248d
......@@ -8,8 +8,8 @@ import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.support.base.log.logger.Logger
import org.json.JSONObject
......
......@@ -6,14 +6,14 @@ package mozilla.components.service.glean.storages
import android.content.Context
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.metrics.BooleanMetricType
import mozilla.components.service.glean.metrics.CounterMetricType
import mozilla.components.service.glean.metrics.DatetimeMetricType
import mozilla.components.service.glean.metrics.StringListMetricType
import mozilla.components.service.glean.metrics.StringMetricType
import mozilla.components.service.glean.metrics.TimespanMetricType
import mozilla.components.service.glean.metrics.TimingDistributionMetricType
import mozilla.components.service.glean.metrics.UuidMetricType
import mozilla.components.service.glean.private.BooleanMetricType
import mozilla.components.service.glean.private.CounterMetricType
import mozilla.components.service.glean.private.DatetimeMetricType
import mozilla.components.service.glean.private.StringListMetricType
import mozilla.components.service.glean.private.StringMetricType
import mozilla.components.service.glean.private.TimespanMetricType
import mozilla.components.service.glean.private.TimingDistributionMetricType
import mozilla.components.service.glean.private.UuidMetricType
import org.json.JSONArray
import org.json.JSONObject
import mozilla.components.support.ktx.android.org.json.getOrPutJSONObject
......
......@@ -8,7 +8,7 @@ import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.error.ErrorRecording.recordError
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.support.ktx.android.org.json.toList
import org.json.JSONArray
......
......@@ -8,7 +8,7 @@ import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.error.ErrorRecording.recordError
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.support.base.log.logger.Logger
/**
......
......@@ -10,8 +10,8 @@ import android.os.SystemClock
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.error.ErrorRecording.recordError
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.metrics.TimeUnit
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.service.glean.private.TimeUnit
import mozilla.components.support.base.log.logger.Logger
import org.json.JSONArray
......
......@@ -8,9 +8,9 @@ import android.annotation.SuppressLint
import android.content.SharedPreferences
import android.support.annotation.VisibleForTesting
import mozilla.components.service.glean.error.ErrorRecording
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.metrics.HistogramType
import mozilla.components.service.glean.metrics.TimeUnit
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.service.glean.private.HistogramType
import mozilla.components.service.glean.private.TimeUnit
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.support.ktx.android.org.json.tryGetInt
......
......@@ -6,7 +6,7 @@ package mozilla.components.service.glean.storages
import android.annotation.SuppressLint
import android.content.SharedPreferences
import mozilla.components.service.glean.metrics.CommonMetricData
import mozilla.components.service.glean.private.CommonMetricData
import mozilla.components.support.base.log.logger.Logger
import java.util.UUID
......
......@@ -6,7 +6,7 @@ package mozilla.components.service.glean.utils
import java.lang.StringBuilder
import java.text.SimpleDateFormat
import mozilla.components.service.glean.metrics.TimeUnit
import mozilla.components.service.glean.private.TimeUnit
import java.util.Calendar
import java.util.Date
import java.util.Locale
......
......@@ -15,13 +15,13 @@ import kotlinx.coroutines.ObsoleteCoroutinesApi
import kotlinx.coroutines.runBlocking
import mozilla.components.service.glean.GleanMetrics.GleanInternalMetrics
import mozilla.components.service.glean.config.Configuration
import mozilla.components.service.glean.metrics.DatetimeMetricType
import mozilla.components.service.glean.metrics.EventMetricType
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.metrics.NoExtraKeys
import mozilla.components.service.glean.metrics.StringMetricType
import mozilla.components.service.glean.metrics.TimeUnit as GleanTimeUnit
import mozilla.components.service.glean.metrics.UuidMetricType
import mozilla.components.service.glean.private.DatetimeMetricType
import mozilla.components.service.glean.private.EventMetricType
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.service.glean.private.NoExtraKeys
import mozilla.components.service.glean.private.StringMetricType
import mozilla.components.service.glean.private.TimeUnit as GleanTimeUnit
import mozilla.components.service.glean.private.UuidMetricType
import mozilla.components.service.glean.storages.StringsStorageEngine
import mozilla.components.service.glean.scheduler.GleanLifecycleObserver
import mozilla.components.service.glean.scheduler.PingUploadWorker
......
......@@ -17,8 +17,8 @@ import org.robolectric.Robolectric
import android.content.pm.ActivityInfo
import android.content.pm.ResolveInfo
import androidx.work.testing.WorkManagerTestInitHelper
import mozilla.components.service.glean.metrics.BooleanMetricType
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.private.BooleanMetricType
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.service.glean.resetGlean
import mozilla.components.service.glean.triggerWorkManager
import mozilla.components.service.glean.TestPingTagClient
......
......@@ -5,8 +5,8 @@
package mozilla.components.service.glean.error
import mozilla.components.service.glean.Glean
import mozilla.components.service.glean.metrics.Lifetime
import mozilla.components.service.glean.metrics.StringMetricType
import mozilla.components.service.glean.private.Lifetime
import mozilla.components.service.glean.private.StringMetricType
import mozilla.components.service.glean.resetGlean
import mozilla.components.service.glean.storages.CountersStorageEngine
import mozilla.components.support.base.log.logger.Logger
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.ObsoleteCoroutinesApi
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import org.junit.Assert.assertEquals
import org.junit.Test
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.ObsoleteCoroutinesApi
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.ObsoleteCoroutinesApi
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.os.SystemClock
import kotlinx.coroutines.ExperimentalCoroutinesApi
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import android.content.Context
import android.content.SharedPreferences
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.ObsoleteCoroutinesApi
......
......@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.ObsoleteCoroutinesApi
......
package mozilla.components.service.glean.metrics
package mozilla.components.service.glean.private
import mozilla.components.service.glean.error.ErrorRecording.ErrorType
import mozilla.components.service.glean.error.ErrorRecording.testGetNumRecordedErrors
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment