/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | BaseCustomization.java | 60 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/ |
D | PermissionControllerServiceModel.kt | 130 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/ |
D | AllPackageInfosLiveData.kt | 47 private fun onUserPackageUpdates(user: UserHandle, packageInfos: List<LightPackageInfo>?) { in <lambda>() 48 if (packageInfos == null) { in <lambda>() 51 userPackageInfos[user] = packageInfos in <lambda>()
|
D | CustomPermGroupNamesLiveData.kt | 50 for ((_, packageInfos) in allPackages) { in onUpdate() constant 51 for (packageInfo in packageInfos) { in onUpdate()
|
D | PreinstalledUserPackageInfosLiveData.kt | 51 val packageInfos = app.applicationContext.packageManager in <lambda>() constant 54 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
|
D | UserPackageInfosLiveData.kt | 81 val packageInfos = app.applicationContext.packageManager in <lambda>() constant 84 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>()
|
D | PermGroupsPackagesLiveData.kt | 86 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/ |
D | BaseCustomizationTest.java | 60 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/ |
D | CustomizationManager.java | 165 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/ |
D | AppStateAppOpsBridge.java | 214 @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/ |
D | AppStateAppOpsBridge.java | 230 @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/ |
D | AppStateAppOpsBridge.java | 96 List<PackageInfo> packageInfos = getPackageInfos(profileId); in getPackageToStateMapsByProfileId() local 99 for (PackageInfo packageInfo : packageInfos) { in getPackageToStateMapsByProfileId()
|