Home
last modified time | relevance | path

Searched refs:sourceData (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java535 LiveData<TestObject> sourceData = dataOf(sourceObject); in testCoalesceNull_liveDataParams_truthTable() local
538 pair(pair(sourceData, fallbackData), sourceObject), in testCoalesceNull_liveDataParams_truthTable()
539 pair(pair(sourceData, nullLiveData()), sourceObject), in testCoalesceNull_liveDataParams_truthTable()
541 pair(pair(sourceData, new MutableLiveData<>()), sourceObject), in testCoalesceNull_liveDataParams_truthTable()
560 MutableLiveData<TestObject> sourceData = dataOf(null); in testCoalesceNull_liveDataParams_changeSource() local
564 LiveData<TestObject> data = coalesceNull(sourceData, fallbackData); in testCoalesceNull_liveDataParams_changeSource()
572 sourceData.setValue(firstSourceObject); in testCoalesceNull_liveDataParams_changeSource()
578 sourceData.setValue(secondSourceObject); in testCoalesceNull_liveDataParams_changeSource()
584 sourceData.setValue(null); in testCoalesceNull_liveDataParams_changeSource()
596 LiveData<TestObject> sourceData = nullLiveData(); in testCoalesceNull_liveDataParams_changeFallback() local
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVoicemailsQueryHelper.java99 final String sourceData = cursor.getString(SOURCE_DATA); in getLocalVoicemails() local
103 Voicemail.createForUpdate(id, sourceData) in getLocalVoicemails()
209 String sourceData = voicemail.getSourceData(); in isVoicemailUnique() local
210 if (phoneAccountComponentName == null || phoneAccountId == null || sourceData == null) { in isVoicemailUnique()
221 String[] whereArgs = {phoneAccountComponentName, phoneAccountId, sourceData}; in isVoicemailUnique()
272 final String sourceData = cursor.getString(SOURCE_DATA); in oldestVoicemailsOnServer() local
273 Voicemail voicemail = Voicemail.createForUpdate(id, sourceData).build(); in oldestVoicemailsOnServer()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemail.java80 public static Builder createForUpdate(long id, String sourceData) { in createForUpdate() argument
81 return new Builder().setId(id).setSourceData(sourceData); in createForUpdate()
137 public Builder setSourceData(String sourceData) { in setSourceData() argument
138 builderSourceData = sourceData; in setSourceData()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java666 private String tryCompute(String sourceData, boolean doEncrypt) { in tryCompute() argument
670 if (sourceData == null) { in tryCompute()
676 targetData = encrypt(sourceData); in tryCompute()
678 targetData = decrypt(sourceData); in tryCompute()
900 String sourceData; in run() local
906 sourceData = mSourceDataMap.get(prefixString); in run()
907 targetData = tryCompute(sourceData, mDoEncrypt); in run()