Add QoePingStore and QoePingItem
This is the first CL for the offline qoe reporting feature. Refer to the design doc for full information. Design doc: go/exoplayer-offline-qoe PiperOrigin-RevId: 305459231
This commit is contained in:
parent
e7fd6a0e01
commit
7504ce763e
@ -21,7 +21,7 @@ project.ext {
|
||||
compileSdkVersion = 29
|
||||
dexmakerVersion = '2.21.0'
|
||||
junitVersion = '4.13-rc-2'
|
||||
guavaVersion = '23.5-android'
|
||||
guavaVersion = '28.2-android'
|
||||
mockitoVersion = '2.25.0'
|
||||
robolectricVersion = '4.3.1'
|
||||
checkerframeworkVersion = '2.5.0'
|
||||
|
@ -40,6 +40,8 @@ public final class VersionTable {
|
||||
public static final int FEATURE_CACHE_CONTENT_METADATA = 1;
|
||||
/** Version of tables used for cache file metadata. */
|
||||
public static final int FEATURE_CACHE_FILE_METADATA = 2;
|
||||
/** Version of tables used from external features. */
|
||||
public static final int FEATURE_EXTERNAL = 1000;
|
||||
|
||||
private static final String TABLE_NAME = DatabaseProvider.TABLE_PREFIX + "Versions";
|
||||
|
||||
@ -67,7 +69,12 @@ public final class VersionTable {
|
||||
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({FEATURE_OFFLINE, FEATURE_CACHE_CONTENT_METADATA, FEATURE_CACHE_FILE_METADATA})
|
||||
@IntDef({
|
||||
FEATURE_OFFLINE,
|
||||
FEATURE_CACHE_CONTENT_METADATA,
|
||||
FEATURE_CACHE_FILE_METADATA,
|
||||
FEATURE_EXTERNAL
|
||||
})
|
||||
private @interface Feature {}
|
||||
|
||||
private VersionTable() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user