Home
last modified time | relevance | path

Searched refs:mUserData (Results 1 – 6 of 6) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectorTest.java75 private RawUserData mUserData; field in UserDataCollectorTest
85 mUserData = RawUserData.getInstance(); in setup()
101 mCollector.clearUserData(mUserData); in cleanUp()
107 mCollector.updateUserData(mUserData); in testUpdateUserData()
111 assertNotEquals(0, mUserData.utcOffset); in testUpdateUserData()
112 assertTrue(mUserData.availableStorageBytes >= 0); in testUpdateUserData()
113 assertTrue(mUserData.batteryPercentage >= 0); in testUpdateUserData()
114 assertTrue(mUserData.batteryPercentage <= 100); in testUpdateUserData()
115 assertNotNull(mUserData.networkCapabilities); in testUpdateUserData()
117 assertTrue(UserDataCollector.ALLOWED_NETWORK_TYPE.contains(mUserData.dataNetworkType)); in testUpdateUserData()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectionJobService.java51 private RawUserData mUserData; field in UserDataCollectionJobService
95 mUserData = RawUserData.getInstance(); in onStartJob()
96 mUserDataCollector.clearUserData(mUserData); in onStartJob()
105 mUserData = RawUserData.getInstance(); in onStartJob()
112 mUserDataCollector.updateUserData(mUserData); in onStartJob()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaTimer.cpp37 void* mUserData; member
129 timer->mTimerCb(timer, timer->mUserData); in ImsMediaTimer_run()
164 timer->mUserData = userData; in TimerStart()
168 timer->mUserData); in TimerStart()
201 *puserData = timer->mUserData; in TimerStop()
/packages/modules/OnDevicePersonalization/tests/cts/service/src/com/android/ondevicepersonalization/testing/sampleservice/
DSampleWorker.java72 private final UserData mUserData; field in SampleWorker
90 mUserData = userData; in SampleWorker()
223 Objects.requireNonNull(mUserData); in handleReadUserData()
225 for (var entry : mUserData.getAppInfos().entrySet()) { in handleReadUserData()
230 var capabilities = mUserData.getNetworkCapabilities(); in handleReadUserData()
233 if (mUserData.getAvailableStorageBytes() < 0) { in handleReadUserData()
236 if (mUserData.getBatteryPercentage() < 0) { in handleReadUserData()
239 if (mUserData.getCarrier() == null) { in handleReadUserData()
242 if (mUserData.getDataNetworkType() < 0) { in handleReadUserData()
245 if (mUserData.getOrientation() < 0) { in handleReadUserData()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DRequestToken.java46 private final UserData mUserData; field in RequestToken
59 mUserData = userData; in RequestToken()
84 return mUserData; in getUserData()
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/
DSampleHandler.java126 private final UserData mUserData; field in SampleHandler
140 mUserData = userData; in SampleHandler()
150 if (mUserData == null) { in SampleHandler()
807 if (mUserData == null) { in isInstalledAppFound()
812 if (mUserData.getAppInfos() == null || mUserData.getAppInfos().isEmpty()) { in isInstalledAppFound()
821 for (String app : mUserData.getAppInfos().keySet()) { in isInstalledAppFound()
822 AppInfo value = mUserData.getAppInfos().get(app); in isInstalledAppFound()
832 if (mUserData == null) { in isInstalledAppFound()
837 if (mUserData.getAppInfos() == null || mUserData.getAppInfos().isEmpty()) { in isInstalledAppFound()
846 for (String app : mUserData.getAppInfos().keySet()) { in isInstalledAppFound()