Home
last modified time | relevance | path

Searched refs:initiatingPackageName (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v34/
DLightInstallSourceInfo.kt28 initiatingPackageName = null
34 initiatingPackageName = initiatingPackage
39 initiatingPackageName != null &&
44 initiatingPackageName == null && packageSource == PACKAGE_SOURCE_UNSPECIFIED
49 val initiatingPackageName: String? constant in com.android.permissioncontroller.permission.model.livedatatypes.v34.LightInstallSourceInfo
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java65 String initiatingPackageName = source.getInitiatingPackageName(); in getInstallerPackageNameAndInstallSourceInfo() local
66 if (originatingPackageName != null && initiatingPackageName != null in getInstallerPackageNameAndInstallSourceInfo()
67 && !initiatingPackageName.equals("com.android.shell")) { in getInstallerPackageNameAndInstallSourceInfo()
69 initiatingPackageName, 0); in getInstallerPackageNameAndInstallSourceInfo()
121 final String initiatingPackageName = source.getInitiatingPackageName(); in isInitiatedFromDifferentPackage() local
122 return initiatingPackageName != null in isInitiatedFromDifferentPackage()
123 && !TextUtils.equals(source.getInstallingPackageName(), initiatingPackageName); in isInitiatedFromDifferentPackage()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/
DSideLoadedAppDetector.java122 String initiatingPackageName; in isSafe() local
125 initiatingPackageName = sourceInfo.getInitiatingPackageName(); in isSafe()
126 if (initiatingPackageName == null) { in isSafe()
129 } else if (initiatingPackageName.equals("com.android.shell")) { in isSafe()
134 return mAllowedAppInstallSources.contains(initiatingPackageName); in isSafe()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DAppStoreUtils.kt43 val initiatingPackageName = source.initiatingPackageName in getInstallerPackageName() constant
44 if (originatingPackageName != null && initiatingPackageName != null) { in getInstallerPackageName()
45 val ai = packageManager.getApplicationInfo(initiatingPackageName, 0) in getInstallerPackageName()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DIntentsUtil.java52 String initiatingPackageName = source.getInitiatingPackageName(); in getInstallerPackageName() local
53 if (originatingPackageName != null && initiatingPackageName != null) { in getInstallerPackageName()
55 context.getPackageManager().getApplicationInfo(initiatingPackageName, 0); in getInstallerPackageName()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/v34/
DLightInstallSourceInfoTest.kt38 assertThat(installSourceInfo.initiatingPackageName).isEqualTo(null) in initiatingPackageName_withDefaultConstructor_returnsNull()
45 assertThat(installSourceInfo.initiatingPackageName).isEqualTo(INITIATING_PKG_NAME) in initiatingPackageName_whenSet_returnsInitiatingPackageName()
52 assertThat(installSourceInfo.initiatingPackageName).isEqualTo(null) in initiatingPackageName_whenNotSet_returnsNull()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DLightInstallSourceInfoLiveData.kt78 installSourceInfo.initiatingPackageName in loadDataAndPostValue()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppInstallerInfoPreference.kt106 context, installSourceInfo!!.initiatingPackageName!!) in installerLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v34/
DPermissionRationaleViewModel.kt123 safetyLabelInfo.installSourceInfo.initiatingPackageName in <lambda>()