/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 95 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(null); in getAvailabilityStatus_noPermissionController_returnsUnsupportedOnDevice() 103 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(null); in getAvailabilityStatus_noPermissionController_zoneWrite() 112 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(null); in getAvailabilityStatus_noPermissionController_zoneRead() 121 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(null); in getAvailabilityStatus_noPermissionController_zoneHidden() 130 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice() 141 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice_zoneWrite() 153 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice_zoneRead() 165 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice_zoneHidden() 177 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_resolvedActivity_returnsAvailable() 188 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(PACKAGE); in getAvailabilityStatus_resolvedActivity_returnsAvailable_zoneWrite() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceControllerTest.java | 68 when(mPackageManager.getPermissionControllerPackageName()).thenReturn( in constructor_shouldResolveActivityWithPermissionControllerPackageName() 80 when(mPackageManager.getPermissionControllerPackageName()).thenReturn(null); in getAvailabilityStatus_noPermissionController_shouldReturnUnsupportedOnDevice() 90 when(mPackageManager.getPermissionControllerPackageName()).thenReturn( in getAvailabilityStatus_canNotResolveActivity_shouldReturnUnsupportedOnDevice() 101 when(mPackageManager.getPermissionControllerPackageName()).thenReturn( in getAvailabilityStatus_canResolveActivity_shouldReturnAvailableUnsearchable() 114 when(mPackageManager.getPermissionControllerPackageName()) in handlePreferenceTreeClick_differentKey_shouldReturnFalse() 126 when(mPackageManager.getPermissionControllerPackageName()) in handlePreferenceTreeClick_sameKey_shouldReturnTrue() 138 when(mPackageManager.getPermissionControllerPackageName()).thenReturn(null); in handlePreferenceTreeClick_noPermissionController_shouldNotStartActivity() 150 when(mPackageManager.getPermissionControllerPackageName()).thenReturn( in handlePreferenceTreeClick_canNotResolveActivity_shouldNotStartActivity() 163 when(mPackageManager.getPermissionControllerPackageName()) in handlePreferenceTreeClick_canResolveActivity_shouldStartActivityWithIntent()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | PackageManagerCompat.java | 137 public String getPermissionControllerPackageName() { in getPermissionControllerPackageName() method in PackageManagerCompat 138 return mManager.getPermissionControllerPackageName(); in getPermissionControllerPackageName()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | BackgroundPermissionButtonLabelTest.java | 36 mContext.getPackageManager().getPermissionControllerPackageName();
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | ManagePermissionsPreferenceController.java | 45 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
|
D | PrivacyHubPreferenceController.java | 52 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
|
D | AppDataSharingUpdatesPreferenceController.java | 49 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
|
D | AccessibilityUsagePreferenceController.java | 77 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/ |
D | ResourceUtils.java | 50 String packageName = context.getPackageManager().getPermissionControllerPackageName(); in getPermissionControllerContext()
|
D | LegacyRoleFallbackEnabledUtils.java | 53 String packageName = context.getPackageManager().getPermissionControllerPackageName(); in getSharedPreferences()
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | TopLevelSafetyCenterEntryPreferenceController.java | 54 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in handlePreferenceTreeClick()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceControllerTest.java | 168 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(testPackage); in performClick_permissionControllerExists_startsPermissionController() 183 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(null); in performClick_permissionControllerDoesntExist_doesNotStartPermissionController()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceController.java | 37 final String packageName = packageManager.getPermissionControllerPackageName(); in MoreSpecialAccessPreferenceController()
|
D | DefaultPaymentSettingsPreferenceController.java | 75 .setPackage(mPackageManager.getPermissionControllerPackageName()); in handlePreferenceTreeClick()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | MoreSpecialAccessPreferenceController.java | 52 String packageName = packageManager.getPermissionControllerPackageName(); in MoreSpecialAccessPreferenceController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/ |
D | StylusDevicesControllerTest.java | 369 when(mPm.getPermissionControllerPackageName()).thenReturn(permissionPackageName); in defaultNotesPreferenceClick_singleUser_sendsManageDefaultRoleIntent() 411 when(mPm.getPermissionControllerPackageName()).thenReturn(permissionPackageName); in defaultNotesPreferenceClick_multiUserManagedProfile_showsProfileSelectorDialog() 459 when(mPm.getPermissionControllerPackageName()).thenReturn(permissionPackageName); in defaultNotesPreferenceClick_multiUsers_showsProfileSelectorDialog() 483 when(mPm.getPermissionControllerPackageName()).thenReturn(permissionPackageName); in defaultNotesPreferenceClick_noProfiles_sendsManageDefaultRoleIntent()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | DefaultAppShortcutPreferenceControllerBase.java | 108 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName()) in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | DefaultAppsPreferenceController.java | 62 .setPackage(mPackageManager.getPermissionControllerPackageName())); in displayPreference()
|
D | HibernatedAppsPreferenceController.java | 93 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Settings.java | 145 .setPackage(getPackageManager().getPermissionControllerPackageName())); in handleSafetyCenterRedirection() 241 .setPackage(getPackageManager().getPermissionControllerPackageName())); in handleSafetyCenterRedirection()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultAssistPreferenceController.java | 54 final String packageName = mPackageManager.getPermissionControllerPackageName(); in DefaultAssistPreferenceController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 71 String packageName = getContext().getPackageManager().getPermissionControllerPackageName(); in handlePreferenceClicked()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | TopLevelSafetyCenterEntryPreferenceControllerTest.java | 68 doReturn("com.android.permissioncontroller").when(pm).getPermissionControllerPackageName(); in setUp()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterShellCommandHandler.java | 162 .println(mContext.getPackageManager().getPermissionControllerPackageName()); in onPackageName()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecurityDashboardActivityTest.java | 89 doReturn("com.android.permissioncontroller").when(pm).getPermissionControllerPackageName(); in setUp()
|