Home
last modified time | relevance | path

Searched refs:appMetadata (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DAdditionalPermissionsFragment.kt77 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 …]
DRequestPermissionViewModel.kt66 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/
DHealthAppPreference.kt30 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()
DConnectedAppsFragment.kt262 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>()
DSettingsManagePermissionFragment.kt175 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/
DClusterHealthMonitor.java84 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/
DChipPreference.kt36 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/
DAddAnAppFragment.kt85 .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/
DHealthPermissionTypesFragment.kt296 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/
DAccessFragment.kt119 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>()
DAccessViewModel.kt48 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
DLoadAccessUseCase.kt98 return packageNames.sortedBy { appMetadata -> appMetadata.appName } in <lambda>() method
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsManageAppPermissionsFragment.kt214 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>()
DConnectedAppFragment.kt212 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/
DAppDataFragment.kt79 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/
DHealthDataAccessFragment.kt185 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/
DAppSourcesAdapter.kt154 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/
DSearchAppsFragment.kt213 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>()
DSearchHealthPermissionApps.kt38 NormalizeUtf8.normalizeForMatch(connectedAppMetadata.appMetadata.appName) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DAppEntriesFragment.kt181 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/
DConnectedAppMetadata.kt24 val appMetadata: AppMetadata, constant in com.android.healthconnect.controller.shared.app.ConnectedAppMetadata
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt269 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/
DIClusterHomeService.aidl66 void sendHeartbeat(long epochTimeNs, in byte[] appMetadata) = 11; in sendHeartbeat() argument
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBasePermissionTest.kt284 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/
DClusterHalService.java359 public void sendHeartbeat(long epochTimeNs, long visibility, byte[] appMetadata) { in sendHeartbeat() argument
368 /* byteValues= */ appMetadata); in sendHeartbeat()

12