Home
last modified time | relevance | path

Searched refs:observe (Results 1 – 25 of 197) sorted by relevance

12345678

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsManageAppPermissionsFragment.kt140 viewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
143 viewModel.grantedPermissions.observe(viewLifecycleOwner) { granted -> in <lambda>()
148 viewModel.lastReadPermissionDisconnected.observe(viewLifecycleOwner) { lastRead -> in <lambda>()
159 viewModel.revokeAllPermissionsState.observe(viewLifecycleOwner) { state -> in <lambda>()
170 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()
184 viewModel.showDisableExerciseRouteEvent.observe(viewLifecycleOwner) { event -> in <lambda>()
214 viewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>()
228 viewModel.atLeastOnePermissionGranted.observe(viewLifecycleOwner) { isAtLeastOneGranted in <lambda>()
238 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
263 viewModel.allAppPermissionsGranted.observe(viewLifecycleOwner) { isAllGranted -> in <lambda>()
DConnectedAppFragment.kt149 appPermissionViewModel.appPermissions.observe(viewLifecycleOwner) { permissions -> in <lambda>()
152 appPermissionViewModel.grantedPermissions.observe(viewLifecycleOwner) { granted -> in <lambda>()
157 appPermissionViewModel.lastReadPermissionDisconnected.observe(viewLifecycleOwner) { lastRead in <lambda>()
169 deletionViewModel.appPermissionReloadNeeded.observe(viewLifecycleOwner) { isReloadNeeded -> in <lambda>()
173 appPermissionViewModel.revokeAllPermissionsState.observe(viewLifecycleOwner) { state -> in <lambda>()
184 appPermissionViewModel.showDisableExerciseRouteEvent.observe(viewLifecycleOwner) { event -> in <lambda>()
212 appPermissionViewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>()
249 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
290 appPermissionViewModel.allAppPermissionsGranted.observe(viewLifecycleOwner) { isAllGranted in <lambda>()
355 appPermissionViewModel.atLeastOnePermissionGranted.observe(viewLifecycleOwner) { in <lambda>()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisionInfoFragment.java94 viewModel.mProvisionInfoListLiveData.observe(getViewLifecycleOwner(), in onViewCreated()
109 viewModel.mHeaderTextLiveData.observe(getViewLifecycleOwner(), in onViewCreated()
121 viewModel.mSubHeaderTextLiveData.observe(getViewLifecycleOwner(), in onViewCreated()
130 viewModel.mIsMandatoryLiveData.observe(this, in onViewCreated()
152 viewModel.mIsMandatoryLiveData.observe(this, in updatePreviousButton()
161 viewModel.mIsProvisionForcedLiveData.observe(getViewLifecycleOwner(), in updatePreviousButton()
DDevicePoliciesFragment.java69 viewModel.mDevicePolicyGroupListLiveData.observe(getViewLifecycleOwner(), in onViewCreated()
83 viewModel.mProviderNameLiveData.observe(getViewLifecycleOwner(), in onViewCreated()
95 viewModel.getIsMandatoryLiveData().observe(this, in onViewCreated()
DDeviceInfoSettingsFragment.java54 viewModel.getProviderNameLiveData().observe(lifecycleOwner, providerName -> { in onViewCreated()
73 viewModel.getInstallFromUnknownSourcesDisallowedLiveData().observe(lifecycleOwner, in onViewCreated()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DInitiatorFragment.java102 .observe( in onViewCreated()
113 .observe( in onViewCreated()
125 .observe( in onViewCreated()
154 .observe( in onViewCreated()
162 .observe( in onViewCreated()
DReflectorFragment.java54 .observe( in onViewCreated()
65 .observe( in onViewCreated()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DPhoneFragment.java61 mViewModel.getContactInfo().observe(getViewLifecycleOwner(), (contactInfo) -> { in onCreateView()
66 mViewModel.getBody().observe(getViewLifecycleOwner(), body::setText); in onCreateView()
67 mViewModel.getState().observe(getViewLifecycleOwner(), (state) -> { in onCreateView()
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DLeAudioRecycleViewAdapter.java171 le_audio_svc_data.isConnectedMutable.observe( in setLeAudioStateObservers()
198 le_audio_svc_data.nodeStatusMutable.observe( in setLeAudioStateObservers()
212 le_audio_svc_data.groupStatusMutable.observe( in setLeAudioStateObservers()
238 le_audio_svc_data.groupLockStateMutable.observe( in setLeAudioStateObservers()
259 le_audio_svc_data.microphoneStateMutable.observe( in setLeAudioStateObservers()
276 hap_svc_data.hapStateMutable.observe( in setHasStateObservers()
300 hap_svc_data.hapFeaturesMutable.observe( in setHasStateObservers()
387 hap_svc_data.hapPresetsMutable.observe( in setHasStateObservers()
422 hap_svc_data.hapActivePresetIndexMutable.observe( in setHasStateObservers()
431 hap_svc_data.hapActivePresetIndexMutable.observe( in setHasStateObservers()
[all …]
DBroadcasterActivity.java409 .observe( in onCreate()
424 .observe( in onCreate()
434 .observe( in onCreate()
451 .observe( in onCreate()
468 .observe( in onCreate()
483 .observe( in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoManageOtherPermissionsFragment.java63 viewModel.getUnusedPermissionGroups().observe(this, this::onUnusedPermissionGroupsChanged); in onCreate()
64 viewModel.getAdditionalPermissionGroups().observe(this, in onCreate()
66 viewModel.hasUnusedOrAdditionalPermissionGroups().observe(this, in onCreate()
DAutoManageStandardPermissionsFragment.java76 mManagePermissionsViewModel.getUsedPermissionGroups().observe(this, in onCreate()
78 mManageStandardPermissionsViewModel.getNumAutoRevoked().observe(this, in onCreate()
151 mManagePermissionsViewModel.hasUnusedOrAdditionalPermissionGroups().observe(this, in buildOtherPermissionsPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DManagePermissionsOtherFragment.java72 viewModel.getUnusedPermissionGroups().observe(this, this::onUnusedPermissionGroupsChanged); in onCreate()
73 viewModel.getAdditionalPermissionGroups().observe(this, in onCreate()
75 viewModel.hasUnusedOrAdditionalPermissionGroups().observe(this, in onCreate()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/
DBaseActionDelegate.java60 liveData.observe(mActivity, observerProvider.apply(view)); in configureElement()
68 liveData.observe(mActivity, observerProvider.apply(view)); in configureElement()
105 liveData.observe(mActivity, liveDataList -> adapter.notifyDataSetChanged()); in configureNotifyAdapterDataChange()
/packages/modules/Bluetooth/system/bta/test/common/
Dbta_dm_api_mock.cc35 void BTA_DmBleCsisObserve(bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb) { in BTA_DmBleCsisObserve() argument
37 return dm_interface->BTA_DmBleCsisObserve(observe, p_results_cb); in BTA_DmBleCsisObserve()
Dbta_dm_api_mock.h32 virtual void BTA_DmBleCsisObserve(bool observe,
45 (bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb));
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/delegates/
DMeasurementActionDelegate.java92 mMeasurementViewModel.getUiEvents().observe(mMeasurementActivity, observer); in listenToMeasurementViewModelUiEvents()
123 .observe(fragment, measurementSwitchBar::setChecked); in configureMeasurementConsentSwitch()
135 .observe(fragment, measurementSwitchBar::setChecked); in configureMeasurementConsentSwitchOnR()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DMedicalPermissionsFragment.kt114 viewModel.appMetadata.observe(viewLifecycleOwner) { app -> in <lambda>()
127 viewModel.healthPermissionsList.observe(viewLifecycleOwner) { allPermissions -> in <lambda>()
148 viewModel.grantedMedicalPermissions.observe(viewLifecycleOwner) { grantedPermissions -> in <lambda>()
203 viewModel.allMedicalPermissionsGranted.observe(viewLifecycleOwner) { allPermissionsGranted in <lambda>()
DFitnessPermissionsFragment.kt113 viewModel.appMetadata.observe(viewLifecycleOwner) { app -> in <lambda>()
126 viewModel.healthPermissionsList.observe(viewLifecycleOwner) { allPermissions -> in <lambda>()
144 viewModel.grantedFitnessPermissions.observe(viewLifecycleOwner) { grantedPermissions -> in <lambda>()
187 viewModel.allFitnessPermissionsGranted.observe(viewLifecycleOwner) { allPermissionsGranted in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollEnrollingUdfpsFragment.kt280 rotationViewModel.liveData.observe(this, rotationObserver) in <lambda>()
315 progressViewModel.canceledSignalLiveData.observe(this, canceledSignalObserver) in <lambda>()
332 progressViewModel.progressLiveData.observe(this, progressObserver) in <lambda>()
333 progressViewModel.helpMessageLiveData.observe(this, helpMessageObserver) in <lambda>()
334 progressViewModel.errorMessageLiveData.observe(this, errorMessageObserver) in <lambda>()
335 progressViewModel.acquireLiveData.observe(this, acquireObserver) in <lambda>()
336 progressViewModel.pointerDownLiveData.observe(this, pointerDownObserver) in <lambda>()
337 progressViewModel.pointerUpLiveData.observe(this, pointerUpObserver) in <lambda>()
DFingerprintEnrollFindSfpsFragment.kt158 rotationLiveData.observe(this, rotationObserver) in <lambda>()
188 progressViewModel.progressLiveData.observe(this, progressObserver) in <lambda>()
189 progressViewModel.errorMessageLiveData.observe(this, errorMessageObserver) in <lambda>()
199 progressViewModel.canceledSignalLiveData.observe(this, canceledSignalObserver) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragment.kt105 permissionsViewModel.appInfo.observe(this) { app -> in <lambda>()
112 permissionsViewModel.appInfo.observe(this) { app -> appIcon.setImageDrawable(app.icon) } in <lambda>()
129 viewModel.additionalAccessState.observe(viewLifecycleOwner) { screenState -> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DManageStandardPermissionsFragment.java71 mViewModel.getUiDataLiveData().observe(this, permissionGroups -> { in onCreate()
89 mViewModel.getNumCustomPermGroups().observe(this, permNames -> updatePermissionsUi()); in onCreate()
90 mViewModel.getNumAutoRevoked().observe(this, show -> updatePermissionsUi()); in onCreate()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_api.cc296 void BTA_DmBleCsisObserve(bool observe, tBTA_DM_SEARCH_CBACK* p_results_cb) { in BTA_DmBleCsisObserve() argument
297 log::verbose("enable = {}", observe); in BTA_DmBleCsisObserve()
298 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_ble_csis_observe, observe, in BTA_DmBleCsisObserve()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DSettingsManagePermissionFragment.kt99 viewModel.connectedApps.observe(viewLifecycleOwner) { connectedApps -> in <lambda>()
104 viewModel.disconnectAllState.observe(viewLifecycleOwner) { state -> in <lambda>()
114 migrationViewModel.migrationState.observe(viewLifecycleOwner) { migrationState -> in <lambda>()

12345678