Home
last modified time | relevance | path

Searched refs:usages (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DReviewOngoingUsageViewModel.kt142 for ((permGroupName, usages) in permGroupUsages.value!!) { in <lambda>() constant
147 for (usage in usages) { in <lambda>()
190 val usages = in <lambda>() constant
196 val proxies = usages.mapNotNull { it.proxyAccess } in <lambda>()
201 (usages.map { Triple(it.attributionTag, it.packageName, it.user) } + in <lambda>()
218 for (user in usages.map { it.user }.distinct()) { in <lambda>()
293 for (opAccess in usages) { in <lambda>()
378 val usages = permGroupUsages.value?.get(MICROPHONE) ?: emptyList() in <lambda>() constant
383 for (usage in usages) { in <lambda>()
389 for (usage in usages) { in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DInteractionLogger.kt308 val usages = in fromQuickSettingsIntent() constant
314 return if (usages != null && usages.isNotEmpty()) { in fromQuickSettingsIntent()
414 val usages = in fromUserId() constant
423 if (usages != null && usages.size > 1) return UNKNOWN in fromUserId()
425 return fromPermissionGroupUsage(usages?.firstOrNull()) in fromUserId()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsageFragment.java137 public void onDataCyclePicked(String cycle, Map<CharSequence, NetworkCycleChartData> usages) { in onDataCyclePicked() argument
138 mAppDataUsageTotalPreferenceController.setDataUsage(usages.get(cycle).getTotalUsage()); in onDataCyclePicked()
142 usages.get(cycle).getStartTime(), in onDataCyclePicked()
143 usages.get(cycle).getEndTime()); in onDataCyclePicked()
DAppSpecificDataUsageFragment.java115 public void onDataCyclePicked(String cycle, Map<CharSequence, NetworkCycleDataForUid> usages) { in onDataCyclePicked() argument
118 NetworkCycleDataForUid cycleData = usages.get(cycle); in onDataCyclePicked()
DDataUsageCycleBasePreferenceController.java55 void onDataCyclePicked(String cycle, Map<CharSequence, T> usages); in onDataCyclePicked() argument
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayersFragment.java72 List<Integer> usages = getUsages(); in initPlayers() local
73 for (int index = 0; index < usages.size(); index++) { in initPlayers()
74 int usage = usages.get(index); in initPlayers()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DPermissionUsages.java150 final List<AppPermissionUsage> usages = loader.loadInBackground(); in load() local
151 onLoadFinished(loader, usages); in load()
164 List<AppPermissionUsage> usages) { in onLoadFinished() argument
166 mUsages.addAll(usages); in onLoadFinished()
228 final List<AppPermissionUsage> usages = new ArrayList<>(); in loadInBackground() local
427 usages.add(usageBuilder.build()); in loadInBackground()
430 return usages; in loadInBackground()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarHalAudioUtilsTest.java319 int[] usages = new int[playbackTrackMetadataList.size()]; in audioAttributesToMetadatas_succeeds() local
322 usages[index] = playbackTrackMetadata.usage; in audioAttributesToMetadatas_succeeds()
327 .that(usages) in audioAttributesToMetadatas_succeeds()
344 int[] usages = new int[playbackTrackMetadataList.size()]; in audioAttributesToMetadatas_withZone_succeeds() local
348 usages[index] = playbackTrackMetadata.usage; in audioAttributesToMetadatas_withZone_succeeds()
352 .that(usages) in audioAttributesToMetadatas_withZone_succeeds()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/usecase/v31/
DGetPermissionGroupUsageUseCase.kt91 packageOps.usages in <lambda>()
127 pkgOps.usages.filter { permissionGroupUsage -> in <lambda>()
145 pkgOps.usages.map { permGroupLastAccessTimeEntry -> in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DReviewOngoingUsageFragment.java85 mViewModel.getUsages().observe(this, usages -> { in onStart()
90 if (usages == null) { in onStart()
97 .setView(updateDialogView(usages)) in onStart()
105 updateDialogView(usages); in onStart()
DPermissionUsageGraphicPreference.java95 public void setUsages(Map<String, Integer> usages) { in setUsages() argument
96 if (!Objects.equals(mUsages, usages)) { in setUsages()
97 mUsages = usages; in setUsages()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DAppDataUsageFragmentTest.java126 NetworkCycleChartData> usages) { in onDataCyclePicked() argument
130 super.onDataCyclePicked(cycle, usages); in onDataCyclePicked()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearPermissionAppsFragment.kt164 if (permissionUsages.usages.isEmpty()) { in <lambda>()
172 ArrayList<AppPermissionUsage>(permissionUsages.usages) in <lambda>()
DWearAppPermissionGroupsFragment.kt158 if (permissionUsages.usages.isEmpty()) { in onPermissionUsagesChanged()
166 ArrayList<AppPermissionUsage>(permissionUsages.usages) in onPermissionUsagesChanged()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/model/v31/
DPackagePermissionGroupUsageModel.kt23 val usages: Map<String, Long>, constant in com.android.permissioncontroller.permission.domain.model.v31.PackagePermissionGroupUsageModel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/model/v31/
DPackageAppOpUsageModel.kt25 val usages: List<AppOpUsageModel>, constant in com.android.permissioncontroller.appops.data.model.v31.PackageAppOpUsageModel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/
DAutoPermissionUsageFragment.kt159 if (permissionUsages.usages.isEmpty()) { in onPermissionUsagesChanged()
162 appPermissionUsages = ArrayList(permissionUsages.usages) in onPermissionUsagesChanged()
DAutoPermissionUsageDetailsFragment.kt178 if (permissionUsages.usages.isEmpty()) { in onPermissionUsagesChanged()
181 appPermissionUsages = ArrayList(permissionUsages.usages) in onPermissionUsagesChanged()
/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DStatsCollector.cpp412 Result<void> StatsCollector::toString(std::unordered_map<std::string, std::string>* usages, in toString() argument
440 usages->insert_or_assign(id, std::move(buffer)); in toString()
/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DStatsCollector.h104 ::android::base::Result<void> toString(std::unordered_map<std::string, std::string>* usages,
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java285 private VolumeItem getVolumeItemForUsages(int[] usages) { in getVolumeItemForUsages() argument
288 for (int usage : usages) { in getVolumeItemForUsages()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java775 int[] usages = new int[audioAttributes.length]; in convertAttributesToUsage() local
777 usages[index] = audioAttributes[index].getSystemUsage(); in convertAttributesToUsage()
779 return usages; in convertAttributesToUsage()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/appops/data/repository/
DAppOpRepositoryTest.kt99 assertThat(packageOps[0].usages).isEqualTo(expectedAppOpUsages) in <lambda>()
/packages/apps/Car/DebuggingRestrictionController/server/functions/
D.eslintrc.json3 // Required for certain syntax usages
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java586 private VolumeItem getVolumeItemForUsages(int[] usages) { in getVolumeItemForUsages() argument
589 for (int usage : usages) { in getVolumeItemForUsages()

12