Home
last modified time | relevance | path

Searched refs:RawUserData (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DRawUserData.java27 public final class RawUserData { class
29 private static RawUserData sUserData = null;
53 private RawUserData() {} in RawUserData() method in RawUserData
56 public static RawUserData getInstance() { in getInstance()
57 synchronized (RawUserData.class) { in getInstance()
59 sUserData = new RawUserData(); in getInstance()
DUserDataCollector.java137 public void getRealTimeData(@NonNull RawUserData userData) { in getRealTimeData()
151 public void updateUserData(@NonNull RawUserData userData) { in updateUserData()
168 private void initializeUserData(@NonNull RawUserData userData) { in initializeUserData()
183 public void getUtcOffset(RawUserData userData) { in getUtcOffset()
195 public void getOrientation(RawUserData userData) { in getOrientation()
205 public void getAvailableStorageBytes(RawUserData userData) { in getAvailableStorageBytes()
216 public void getBatteryPercentage(RawUserData userData) { in getBatteryPercentage()
233 public void getCarrier(RawUserData userData) { in getCarrier()
274 public void getNetworkCapabilities(RawUserData userData) { in getNetworkCapabilities()
286 public void getDataNetworkType(RawUserData userData) { in getDataNetworkType()
[all …]
DUserDataCollectionJobService.java51 private RawUserData mUserData;
95 mUserData = RawUserData.getInstance(); in onStartJob()
105 mUserData = RawUserData.getInstance(); in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/impl/
DUserDataConnectionProvider.kt29 import com.android.ondevicepersonalization.services.data.user.RawUserData
57 val rawUserData: RawUserData = RawUserData.getInstance() ?: return null in getUserData()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/policyengine/
DUserDataReaderTest.kt36 import com.android.ondevicepersonalization.services.data.user.RawUserData
60 private lateinit var mockRawUserData: RawUserData
73 .mockStatic(RawUserData::class.java) in setUp()
77 whenever(RawUserData.getInstance()).thenReturn(mockRawUserData) in setUp()
209 private fun verifyData(userData: UserData, ref: RawUserData) { in verifyData()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationConfigServiceDelegate.java42 import com.android.ondevicepersonalization.services.data.user.RawUserData;
98 RawUserData userData = RawUserData.getInstance(); in setPersonalizationStatus()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectionJobServiceTest.java125 mUserDataCollector.updateUserData(RawUserData.getInstance()); in onStartJobTestUserControlRevoked()
159 mUserDataCollector.clearUserData(RawUserData.getInstance()); in cleanUp()
DUserDataCollectorTest.java75 private RawUserData mUserData;
85 mUserData = RawUserData.getInstance(); in setup()