Searched refs:UserDataCollector (Results 1 – 5 of 5) sorted by relevance
55 public class UserDataCollector { class58 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 UserDataCollector101 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 …]
50 private UserDataCollector mUserDataCollector;94 mUserDataCollector = UserDataCollector.getInstance(this); in onStartJob()104 mUserDataCollector = UserDataCollector.getInstance(this); in onStartJob()
74 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()
57 private UserDataCollector mUserDataCollector;66 mUserDataCollector = UserDataCollector.getInstanceForTest(mContext); in setup()
43 import com.android.ondevicepersonalization.services.data.user.UserDataCollector;99 UserDataCollector userDataCollector = in setPersonalizationStatus()100 UserDataCollector.getInstance(mContext); in setPersonalizationStatus()