Home
last modified time | relevance | path

Searched refs:getPermissionControllerPackageName (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java95 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/
DMoreSpecialAccessPreferenceControllerTest.java68 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/
DPackageManagerCompat.java137 public String getPermissionControllerPackageName() { in getPermissionControllerPackageName() method in PackageManagerCompat
138 return mManager.getPermissionControllerPackageName(); in getPermissionControllerPackageName()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DBackgroundPermissionButtonLabelTest.java36 mContext.getPackageManager().getPermissionControllerPackageName();
/packages/apps/Settings/src/com/android/settings/privacy/
DManagePermissionsPreferenceController.java45 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
DPrivacyHubPreferenceController.java52 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
DAppDataSharingUpdatesPreferenceController.java49 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
DAccessibilityUsagePreferenceController.java77 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/
DResourceUtils.java50 String packageName = context.getPackageManager().getPermissionControllerPackageName(); in getPermissionControllerContext()
DLegacyRoleFallbackEnabledUtils.java53 String packageName = context.getPackageManager().getPermissionControllerPackageName(); in getSharedPreferences()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DTopLevelSafetyCenterEntryPreferenceController.java54 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in handlePreferenceTreeClick()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java168 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/
DMoreSpecialAccessPreferenceController.java37 final String packageName = packageManager.getPermissionControllerPackageName(); in MoreSpecialAccessPreferenceController()
DDefaultPaymentSettingsPreferenceController.java75 .setPackage(mPackageManager.getPermissionControllerPackageName()); in handlePreferenceTreeClick()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceController.java52 String packageName = packageManager.getPermissionControllerPackageName(); in MoreSpecialAccessPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DStylusDevicesControllerTest.java369 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/
DDefaultAppShortcutPreferenceControllerBase.java108 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName()) in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppsPreferenceController.java62 .setPackage(mPackageManager.getPermissionControllerPackageName())); in displayPreference()
DHibernatedAppsPreferenceController.java93 .setPackage(mContext.getPackageManager().getPermissionControllerPackageName())); in displayPreference()
/packages/apps/Settings/src/com/android/settings/
DSettings.java145 .setPackage(getPackageManager().getPermissionControllerPackageName())); in handleSafetyCenterRedirection()
241 .setPackage(getPackageManager().getPermissionControllerPackageName())); in handleSafetyCenterRedirection()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceController.java54 final String packageName = mPackageManager.getPermissionControllerPackageName(); in DefaultAssistPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java71 String packageName = getContext().getPackageManager().getPermissionControllerPackageName(); in handlePreferenceClicked()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DTopLevelSafetyCenterEntryPreferenceControllerTest.java68 doReturn("com.android.permissioncontroller").when(pm).getPermissionControllerPackageName(); in setUp()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterShellCommandHandler.java162 .println(mContext.getPackageManager().getPermissionControllerPackageName()); in onPackageName()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DSecurityDashboardActivityTest.java89 doReturn("com.android.permissioncontroller").when(pm).getPermissionControllerPackageName(); in setUp()

12