Home
last modified time | relevance | path

Searched refs:UserDataCollector (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollector.java55 public class UserDataCollector { class
58 private static volatile UserDataCollector sUserDataCollector = null;
60 private static final String TAG = UserDataCollector.class.getSimpleName();
92 private UserDataCollector(Context context, UserDataDao userDataDao) { in UserDataCollector() method in UserDataCollector
101 public static UserDataCollector getInstance(Context context) { in getInstance()
103 synchronized (UserDataCollector.class) { in getInstance()
106 new UserDataCollector( in getInstance()
120 public static UserDataCollector getInstanceForTest(Context context, UserDataDao userDataDao) { in getInstanceForTest()
121 return new UserDataCollector(context, userDataDao); in getInstanceForTest()
126 public static UserDataCollector getInstanceForTest(Context context) { in getInstanceForTest()
[all …]
DUserDataCollectionJobService.java50 private UserDataCollector mUserDataCollector;
94 mUserDataCollector = UserDataCollector.getInstance(this); in onStartJob()
104 mUserDataCollector = UserDataCollector.getInstance(this); in onStartJob()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectorTest.java74 private UserDataCollector mCollector;
89 mCollector = UserDataCollector.getInstanceForTest(mContext, mUserDataDao); in setup()
117 assertTrue(UserDataCollector.ALLOWED_NETWORK_TYPE.contains(mUserData.dataNetworkType)); in testUpdateUserData()
180 NetworkCapabilities filteredCap = UserDataCollector.getFilteredNetworkCapabilities(cap); in testFilterNetworkCapabilities()
DUserDataCollectionJobServiceTest.java57 private UserDataCollector mUserDataCollector;
66 mUserDataCollector = UserDataCollector.getInstanceForTest(mContext); in setup()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationConfigServiceDelegate.java43 import com.android.ondevicepersonalization.services.data.user.UserDataCollector;
99 UserDataCollector userDataCollector = in setPersonalizationStatus()
100 UserDataCollector.getInstance(mContext); in setPersonalizationStatus()