Home
last modified time | relevance | path

Searched refs:packageInfos (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DBaseCustomization.java60 List<PackageInfo> packageInfos = in getFirstPackageNameWithPermissions() local
63 Log.d(TAG, "These packages have " + Arrays.toString(permissions) + ": " + packageInfos); in getFirstPackageNameWithPermissions()
65 return packageInfos == null || packageInfos.size() == 0 in getFirstPackageNameWithPermissions()
67 : packageInfos.get(0).packageName; in getFirstPackageNameWithPermissions()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt130 observeAndCheckForLifecycleState(packageInfosLiveData) { packageInfos -> in <lambda>() method
132 packageInfos) in <lambda>()
152 packageInfos: List<LightPackageInfo>? in <lambda>()
154 if (packageInfos == null) { in <lambda>()
178 for ((packageName, _, requestedPermissions) in packageInfos) { in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DAllPackageInfosLiveData.kt47 private fun onUserPackageUpdates(user: UserHandle, packageInfos: List<LightPackageInfo>?) { in <lambda>()
48 if (packageInfos == null) { in <lambda>()
51 userPackageInfos[user] = packageInfos in <lambda>()
DCustomPermGroupNamesLiveData.kt50 for ((_, packageInfos) in allPackages) { in onUpdate() constant
51 for (packageInfo in packageInfos) { in onUpdate()
DPreinstalledUserPackageInfosLiveData.kt51 val packageInfos = app.applicationContext.packageManager in <lambda>() constant
54 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DUserPackageInfosLiveData.kt81 val packageInfos = app.applicationContext.packageManager in <lambda>() constant
84 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
DPermGroupsPackagesLiveData.kt86 for ((userHandle, packageInfos) in allPackages) { in <lambda>() constant
87 for (packageInfo in packageInfos) { in <lambda>()
/packages/apps/TV/partner_support/tests/robotests/javatests/com/google/android/tv/partner/support/
DBaseCustomizationTest.java60 List<PackageInfo> packageInfos = new ArrayList<>(); in setUp() local
63 packageInfos.add(packageInfo); in setUp()
64 when(packageManager.getPackagesHoldingPermissions(PERMISSIONS, 0)).thenReturn(packageInfos); in setUp()
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomizationManager.java165 List<PackageInfo> packageInfos = in getCustomizationPackageName() local
168 sCustomizationPackage = getCustomizationPackageName(packageInfos); in getCustomizationPackageName()
174 static String getCustomizationPackageName(List<PackageInfo> packageInfos) { in getCustomizationPackageName() argument
176 Iterables.transform(packageInfos, input -> input.packageName); in getCustomizationPackageName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateAppOpsBridge.java214 @SuppressWarnings("unchecked") final List<PackageInfo> packageInfos = in loadPermissionsStates() local
218 final int packageInfoCount = packageInfos != null ? packageInfos.size() : 0; in loadPermissionsStates()
220 final PackageInfo packageInfo = packageInfos.get(i); in loadPermissionsStates()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java230 @SuppressWarnings("unchecked") final List<PackageInfo> packageInfos = in loadPermissionsStates() local
234 final int packageInfoCount = packageInfos != null ? packageInfos.size() : 0; in loadPermissionsStates()
236 final PackageInfo packageInfo = packageInfos.get(i); in loadPermissionsStates()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java96 List<PackageInfo> packageInfos = getPackageInfos(profileId); in getPackageToStateMapsByProfileId() local
99 for (PackageInfo packageInfo : packageInfos) { in getPackageToStateMapsByProfileId()