Home
last modified time | relevance | path

Searched refs:existingPreference (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java201 (k, existingPreference) -> { in handleSourceFound()
202 if (existingPreference == null) { in handleSourceFound()
208 var fromState = existingPreference.getAudioStreamState(); in handleSourceFound()
213 existingPreference.setAudioStreamMetadata( in handleSourceFound()
218 existingPreference, AudioStreamState.ADD_SOURCE_WAIT_FOR_RESPONSE); in handleSourceFound()
223 existingPreference.setAudioStreamMetadata(source); in handleSourceFound()
233 return existingPreference; in handleSourceFound()
271 (k, existingPreference) -> { in handleSourceFromQrCodeIfExists()
272 if (existingPreference == null) { in handleSourceFromQrCodeIfExists()
286 + existingPreference.getAudioStreamState() in handleSourceFromQrCodeIfExists()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java321 Preference existingPreference = findPreference(STORAGE_FOOTER_PREFERENCE_KEY); in addStorageFooterSeeAllFilesAccess() local
323 if (preferenceCategory == null || existingPreference != null) { in addStorageFooterSeeAllFilesAccess()