Home
last modified time | relevance | path

Searched refs:userData (Results 1 – 18 of 18) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollector.java137 public void getRealTimeData(@NonNull RawUserData userData) { in getRealTimeData() argument
146 getUtcOffset(userData); in getRealTimeData()
147 getOrientation(userData); in getRealTimeData()
151 public void updateUserData(@NonNull RawUserData userData) { in updateUserData() argument
153 initializeUserData(userData); in updateUserData()
156 getAvailableStorageBytes(userData); in updateUserData()
157 getBatteryPercentage(userData); in updateUserData()
158 getCarrier(userData); in updateUserData()
159 getNetworkCapabilities(userData); in updateUserData()
160 getDataNetworkType(userData); in updateUserData()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBearerData.java107 public UserData userData; field in BearerData
177 builder.append(", userData=" + userData); in toString()
227 bData.userData = new UserData(); in decodeUserData()
228 bData.userData.msgEncoding = inStream.read(5); in decodeUserData()
229 bData.userData.msgEncodingSet = true; in decodeUserData()
230 bData.userData.msgType = 0; in decodeUserData()
232 if ((bData.userData.msgEncoding == UserData.ENCODING_IS91_EXTENDED_PROTOCOL) || in decodeUserData()
233 (bData.userData.msgEncoding == UserData.ENCODING_GSM_DCS)) { in decodeUserData()
234 bData.userData.msgType = inStream.read(8); in decodeUserData()
237 bData.userData.numFields = inStream.read(8); in decodeUserData()
[all …]
DDefaultCellBroadcastService.java149 serviceCategory, bData.getLanguage(), bData.userData.msgEncoding, in parseCdmaBroadcastSms()
150 bData.userData.payloadStr, bData.priority, null, bData.cmasWarningInfo, 0, null, in parseCdmaBroadcastSms()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/policyengine/
DUserDataReaderTest.kt120 val userData: UserData = userDataReader?.readUserData() in testUserDataReader() constant
122 verifyData(userData, mockRawUserData) in testUserDataReader()
123 assertThat(userData.appInfos.keys).isEmpty() in testUserDataReader()
131 val userData: UserData = userDataReader?.readUserDataWithAppInstall() in testUserDataReaderWithAppInstall() constant
133 verifyData(userData, mockRawUserData) in testUserDataReaderWithAppInstall()
134 assertThat(userData.appInfos.keys).isEqualTo(mockRawUserData.installedApps) in testUserDataReaderWithAppInstall()
209 private fun verifyData(userData: UserData, ref: RawUserData) { in verifyData()
210 assertThat(userData.getTimezoneUtcOffsetMins()).isEqualTo(ref.utcOffset) in verifyData()
211 assertThat(userData.getOrientation()).isEqualTo(ref.orientation) in verifyData()
212 assertThat(userData.getAvailableStorageBytes()).isEqualTo(ref.availableStorageBytes) in verifyData()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DIsolatedService.java266 UserData userData = params.getParcelable(Constants.EXTRA_USER_DATA, UserData.class); in performOnWebTrigger() local
267 RequestToken requestToken = new RequestToken(binder, null, null, userData); in performOnWebTrigger()
296 UserData userData = params.getParcelable(Constants.EXTRA_USER_DATA, UserData.class); in performOnTrainingExample() local
297 RequestToken requestToken = new RequestToken(binder, null, null, userData); in performOnTrainingExample()
334 UserData userData = params.getParcelable(Constants.EXTRA_USER_DATA, UserData.class); in performOnWebViewEvent() local
335 RequestToken requestToken = new RequestToken(binder, null, null, userData); in performOnWebViewEvent()
407 UserData userData = params.getParcelable(Constants.EXTRA_USER_DATA, UserData.class); in performDownload() local
408 RequestToken requestToken = new RequestToken(binder, fcBinder, null, userData); in performDownload()
490 UserData userData = params.getParcelable(Constants.EXTRA_USER_DATA, UserData.class); in performExecute() local
492 new RequestToken(binder, fcBinder, modelServiceBinder, userData); in performExecute()
DRequestToken.java55 @Nullable UserData userData) { in RequestToken() argument
59 mUserData = userData; in RequestToken()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageApplicationTotalSizePreferenceController.java40 long userData = isDataCleared() ? 0 in getSize() local
44 return appSize + userData + cacheData; in getSize()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaTimer.cpp152 uint32_t duration, bool repeat, fn_TimerCb timerCallback, void* userData) in TimerStart() argument
164 timer->mUserData = userData; in TimerStart()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/
DImsMediaAudioPlayer.cpp495 AAudioStream* stream, void* userData, aaudio_result_t error) in audioErrorCallback() argument
497 if (stream == nullptr || userData == nullptr) in audioErrorCallback()
509 reinterpret_cast<ImsMediaAudioPlayer*>(userData)); in audioErrorCallback()
DImsMediaAudioSource.cpp232 AAudioStream* stream, void* userData, aaudio_result_t error) in audioErrorCallback() argument
234 if (stream == nullptr || userData == nullptr) in audioErrorCallback()
246 reinterpret_cast<ImsMediaAudioSource*>(userData)); in audioErrorCallback()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationConfigServiceDelegate.java98 RawUserData userData = RawUserData.getInstance(); in setPersonalizationStatus() local
101 userDataCollector.clearUserData(userData); in setPersonalizationStatus()
/packages/modules/Bluetooth/system/test/mock/
Dmock_frameworks_libaudio.cc230 void* userData) { in AAudioStreamBuilder_setDataCallback() argument
246 void* userData) { in AAudioStreamBuilder_setErrorCallback() argument
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java204 .ifPresent(userData -> builder.setEmergencyAddressWebData(userData)); in toEntitlementResult()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/include/
DImsMediaAudioPlayer.h157 static void audioErrorCallback(AAudioStream* stream, void* userData, aaudio_result_t error);
DImsMediaAudioSource.h150 static void audioErrorCallback(AAudioStream* stream, void* userData, aaudio_result_t error);
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreService.java279 UserData userData = userDataAccessor.getUserDataWithAppInstall(); in executeOnTrainingExamples() local
280 serviceParams.putParcelable(Constants.EXTRA_USER_DATA, userData); in executeOnTrainingExamples()
/packages/modules/OnDevicePersonalization/tests/cts/service/src/com/android/ondevicepersonalization/testing/sampleservice/
DSampleWorker.java83 UserData userData, in SampleWorker() argument
90 mUserData = userData; in SampleWorker()
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/
DSampleHandler.java134 UserData userData, in SampleHandler() argument
140 mUserData = userData; in SampleHandler()