/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | AdditionalPermissionsFragment.kt | 77 val (additionalPermissions, appMetadata) = info in <lambda>() constant 84 showCombinedAdditionalPermissions(appMetadata!!) in <lambda>() 86 showSingleAdditionalPermission(additionalPermissions[0], appMetadata!!) in <lambda>() 131 private fun showCombinedAdditionalPermissions(appMetadata: AppMetadata) { in <lambda>() 141 appName = appMetadata.appName, in <lambda>() 143 getString(R.string.request_additional_permissions_description, appMetadata.appName)) in <lambda>() 148 category.addPreference(getHistoryReadPreference(appMetadata)) in <lambda>() 175 private fun getHistoryReadPreference(appMetadata: AppMetadata): HealthSwitchPreference { in <lambda>() 180 val summary = getHistoryReadPermissionPreferenceSummary(appMetadata) in <lambda>() 198 private fun getHistoryReadPermissionPreferenceSummary(appMetadata: AppMetadata): String { in <lambda>() [all …]
|
D | RequestPermissionViewModel.kt | 66 val appMetadata: LiveData<AppMetadata> in <lambda>() constant in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel 147 addSource(_appMetaData) { appMetadata -> in <lambda>() method 149 AdditionalPermissionsInfo(_additionalPermissionsList.value, appMetadata)) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/ |
D | HealthAppPreference.kt | 30 class HealthAppPreference(context: Context, private val appMetadata: AppMetadata) : constant 37 title = appMetadata.appName 38 icon = appMetadata.icon 63 TextUtils.equals(appMetadata.appName, preference.appMetadata.appName) in isSameItem() 67 return preference is HealthAppPreference && appMetadata == preference.appMetadata in hasSameContents()
|
D | ConnectedAppsFragment.kt | 262 it.title = app.appMetadata.appName in <lambda>() 263 it.icon = app.appMetadata.icon in <lambda>() 268 app.appMetadata.packageName, app.appMetadata.appName) in <lambda>() 285 val intent = appStoreUtils.getAppStoreLink(app.appMetadata.packageName) in <lambda>() 334 EXTRA_PACKAGE_NAME to app.appMetadata.packageName, in <lambda>() 335 EXTRA_APP_NAME to app.appMetadata.appName)) in <lambda>() 349 return HealthAppPreference(requireContext(), app.appMetadata).also { in <lambda>() 445 appsList[0].appMetadata.appName) in <lambda>()
|
D | SettingsManagePermissionFragment.kt | 175 return HealthAppPreference(requireContext(), app.appMetadata).also { in <lambda>() 191 EXTRA_PACKAGE_NAME to app.appMetadata.packageName, in <lambda>() 192 EXTRA_APP_NAME to app.appMetadata.appName)) in <lambda>()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | ClusterHealthMonitor.java | 84 void sendHeartbeat(long epochTimeNs, byte[] appMetadata) { in sendHeartbeat() argument 85 if (appMetadata == null) { in sendHeartbeat() 86 appMetadata = EMPTY_BYTE_ARRAY; in sendHeartbeat() 92 sendHeartbeatInternal(epochTimeNs, visible, appMetadata); in sendHeartbeat() 95 private void sendHeartbeatInternal(long epochTimeNs, boolean visible, byte[] appMetadata) { in sendHeartbeatInternal() argument 96 mClusterHalService.sendHeartbeat(epochTimeNs, visible ? 1 : 0, appMetadata); in sendHeartbeatInternal()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/filters/ |
D | ChipPreference.kt | 36 private val addFilterChip: (appMetadata: AppMetadata, chipGroup: RadioGroup) -> Unit, 56 for (appMetadata in appMetadataList) { in onBindViewHolder() method 57 addFilterChip(appMetadata, chipGroup!!) in onBindViewHolder()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/ |
D | AddAnAppFragment.kt | 85 .forEach { appMetadata -> in <lambda>() method 88 preference.title = appMetadata.appName in <lambda>() 89 preference.icon = appMetadata.icon in <lambda>() 96 .also { it.add(appMetadata) } in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/ |
D | HealthPermissionTypesFragment.kt | 296 private fun addFilterChip(appMetadata: AppMetadata, chipGroup: RadioGroup) { in <lambda>() 299 newFilterChip.setUnselectedIcon(appMetadata.icon) in <lambda>() 300 newFilterChip.text = appMetadata.appName in <lambda>() 301 if (appMetadata.appName == viewModel.selectedAppFilter.value) { in <lambda>() 303 viewModel.filterPermissionTypes(category, appMetadata.packageName) in <lambda>() 306 viewModel.setAppFilter(appMetadata.appName) in <lambda>() 307 viewModel.filterPermissionTypes(category, appMetadata.packageName) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/ |
D | AccessFragment.kt | 119 updateDataAccess(state.appMetadata) in <lambda>() 197 private fun createAppPreference(appMetadata: AppMetadata): HealthAppPreference { in <lambda>() 198 return HealthAppPreference(requireContext(), appMetadata).also { in <lambda>() 205 EXTRA_PACKAGE_NAME to appMetadata.packageName, in <lambda>() 206 EXTRA_APP_NAME to appMetadata.appName)) in <lambda>()
|
D | AccessViewModel.kt | 48 if (appsMap is WithData && appsMap.appMetadata.isEmpty()) { in loadAppMetaDataMap() 69 data class WithData(val appMetadata: Map<AppAccessState, List<AppMetadata>>) : constant in com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData
|
D | LoadAccessUseCase.kt | 98 return packageNames.sortedBy { appMetadata -> appMetadata.appName } in <lambda>() method
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | SettingsManageAppPermissionsFragment.kt | 214 viewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>() method 215 packageName = appMetadata.packageName in <lambda>() 216 appName = appMetadata.appName in <lambda>() 218 setupFooter(appMetadata.appName) in <lambda>() 220 icon = appMetadata.icon in <lambda>() 221 title = appMetadata.appName in <lambda>()
|
D | ConnectedAppFragment.kt | 212 appPermissionViewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>() method 214 icon = appMetadata.icon in <lambda>() 215 title = appMetadata.appName in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/ |
D | AppDataFragment.kt | 79 viewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>() method 81 icon = appMetadata.icon in <lambda>() 82 title = appMetadata.appName in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataaccess/ |
D | HealthDataAccessFragment.kt | 185 updateDataAccess(state.appMetadata) in <lambda>() 260 private fun createAppPreference(appMetadata: AppMetadata): HealthAppPreference { in <lambda>() 261 return HealthAppPreference(requireContext(), appMetadata).also { in <lambda>() 268 bundleOf(EXTRA_PACKAGE_NAME to appMetadata.packageName)) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/appsources/ |
D | AppSourcesAdapter.kt | 154 fun bind(appPosition: Int, appMetadata: AppMetadata, isOnlyApp: Boolean) { in <lambda>() 159 appNameView.text = appMetadata.appName in <lambda>() 163 if (appUtils.isDefaultApp(context, appMetadata.packageName)) { in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/searchapps/ |
D | SearchAppsFragment.kt | 213 EXTRA_PACKAGE_NAME to app.appMetadata.packageName, in <lambda>() 214 EXTRA_APP_NAME to app.appMetadata.appName)) in <lambda>() 221 return HealthAppPreference(requireContext(), app.appMetadata).also { in <lambda>()
|
D | SearchHealthPermissionApps.kt | 38 NormalizeUtf8.normalizeForMatch(connectedAppMetadata.appMetadata.appName) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/ |
D | AppEntriesFragment.kt | 181 entriesViewModel.appInfo.observe(viewLifecycleOwner) { appMetadata -> in <lambda>() method 183 icon = appMetadata.icon in <lambda>() 184 title = appMetadata.appName in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/app/ |
D | ConnectedAppMetadata.kt | 24 val appMetadata: AppMetadata, constant in com.android.healthconnect.controller.shared.app.ConnectedAppMetadata
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 269 appMetadata: PersistableBundle? = null, in <lambda>() 275 if (appMetadata != null) { in <lambda>() 276 setAppMetadata(session, appMetadata) in <lambda>()
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
D | IClusterHomeService.aidl | 66 void sendHeartbeat(long epochTimeNs, in byte[] appMetadata) = 11; in sendHeartbeat() argument
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | BasePermissionTest.kt | 284 appMetadata: PersistableBundle? = null, in <lambda>() 294 if (appMetadata != null) { in <lambda>() 295 setAppMetadata(session, appMetadata) in <lambda>()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | ClusterHalService.java | 359 public void sendHeartbeat(long epochTimeNs, long visibility, byte[] appMetadata) { in sendHeartbeat() argument 368 /* byteValues= */ appMetadata); in sendHeartbeat()
|