Home
last modified time | relevance | path

Searched defs:packageManager (Results 1 – 25 of 165) sorted by relevance

1234567

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardPreferenceControllerTest.java101 PackageManager packageManager = mContext.getPackageManager(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() local
115 PackageManager packageManager = mContext.getPackageManager(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() local
131 PackageManager packageManager = mContext.getPackageManager(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() local
150 PackageManager packageManager = mContext.getPackageManager(); in refreshUi_hasAllowedImeByOrganization() local
164 PackageManager packageManager = mContext.getPackageManager(); in refreshUi_disallowedByOrganization() local
173 PackageManager packageManager, String packageName, String label) { in createInputMethodInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java64 PackageManager packageManager = mock(PackageManager.class); in testAddSubscription() local
80 PackageManager packageManager = mock(PackageManager.class); in testAddSubscriptionLayer() local
96 PackageManager packageManager = mock(PackageManager.class); in testAddSubscriptionLayerVersion() local
112 PackageManager packageManager = mock(PackageManager.class); in testMultipleSubscriptionsSameClientCallsPackageManagerOnce() local
127 PackageManager packageManager = mock(PackageManager.class); in testUnknownPackageName() local
144 PackageManager packageManager = mock(PackageManager.class); in testAddingHalSubscriberSavesPackageName() local
155 PackageManager packageManager = mock(PackageManager.class); in testMultipleSubscriptionsPackageManager() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java151 PackageManager packageManager = mock(PackageManager.class); in getType_packageNotAModule_throwsIllegalArgumentException() local
170 PackageManager packageManager = mock(PackageManager.class); in getType_validUri_returnsHtmlMimeType() local
251 PackageManager packageManager = mock(PackageManager.class); in openFile_packageNotAModule_throwsIllegalArgumentException() local
270 PackageManager packageManager = mock(PackageManager.class); in openFile_validUri_notReadMode_throwsIllegalArgumentException() local
303 PackageManager packageManager = mock(PackageManager.class); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() local
324 PackageManager packageManager = mock(PackageManager.class); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() local
346 PackageManager packageManager = mock(PackageManager.class); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() local
371 PackageManager packageManager = mock(PackageManager.class); in isCachedHtmlFileOutdated_notOutdated_returnFalse() local
DModuleLicensesListPreferenceControllerTest.java52 PackageManager packageManager = mock(PackageManager.class); in getAvailabilityStatus_validLicenses_returnsAvailable() local
78 PackageManager packageManager = mock(PackageManager.class); in getAvailabilityStatus_noModules_returnsConditionallyUnavailable() local
93 PackageManager packageManager = mock(PackageManager.class); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/legal/
DLegalPreferenceControllerTest.java101 ShadowPackageManager packageManager = Shadows.shadowOf(mContext.getPackageManager()); in refreshUi_intentResolvesToActivity_isVisible() local
127 ShadowPackageManager packageManager = Shadows.shadowOf(mContext.getPackageManager()); in refreshUi_intentResolvesToActivity_updatesTitle() local
159 ShadowPackageManager packageManager = Shadows.shadowOf(mContext.getPackageManager()); in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity() local
171 ShadowPackageManager packageManager = Shadows.shadowOf(mContext.getPackageManager()); in refreshUi_intentResolvesToNull_isNotVisible() local
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java67 PackageManager packageManager = context.getPackageManager(); in isSystemApp() local
87 PackageManager packageManager = context.getPackageManager(); in isSignedWithPlatformKey() local
104 PackageManager packageManager = context.getPackageManager(); in isSystemPrivilegedOrPlatformKeyInner() local
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DPackageUtils.java48 PackageManager packageManager = context.getPackageManager(); in getPackageInfo() local
68 PackageManager packageManager = context.getPackageManager(); in getApplicationInfo() local
/packages/apps/Settings/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsCounter.java37 PackageManager packageManager, IPackageManager packageManagerService, in AppWithAdminGrantedPermissionsCounter()
52 DevicePolicyManager devicePolicyManager, PackageManager packageManager, in includeInCount()
DInstalledAppLister.java25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
DApplicationFeatureProviderImpl.java173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter()
189 String[] permissions, PackageManager packageManager, in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
205 CurrentUserPolicyInstalledAppLister(PackageManager packageManager, in CurrentUserPolicyInstalledAppLister()
222 PackageManager packageManager, IPackageManager packageManagerService, in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppWithAdminGrantedPermissionsCounter.java37 PackageManager packageManager, IPackageManager packageManagerService, in AppWithAdminGrantedPermissionsCounter()
52 DevicePolicyManager devicePolicyManager, PackageManager packageManager, in includeInCount()
DInstalledAppLister.java25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
DApplicationFeatureProviderImpl.java173 PackageManager packageManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfilePolicyInstalledAppCounter()
189 String[] permissions, PackageManager packageManager, in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
205 CurrentUserPolicyInstalledAppLister(PackageManager packageManager, in CurrentUserPolicyInstalledAppLister()
222 PackageManager packageManager, IPackageManager packageManagerService, in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DAvailableVirtualKeyboardFragment.java97 private static Drawable loadDrawable(@NonNull final PackageManager packageManager, in loadDrawable()
111 private static Drawable getInputMethodIcon(@NonNull final PackageManager packageManager, in getInputMethodIcon()
148 final PackageManager packageManager = getActivity().getPackageManager(); in updateInputMethodPreferenceViews() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java96 private static Drawable loadDrawable(@NonNull final PackageManager packageManager, in loadDrawable()
110 private static Drawable getInputMethodIcon(@NonNull final PackageManager packageManager, in getInputMethodIcon()
147 final PackageManager packageManager = getActivity().getPackageManager(); in updateInputMethodPreferenceViews() local
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DResolverAdapter.java92 PackageManager packageManager = mContext.getPackageManager(); in doInBackground() local
148 private Drawable getComponentIcon(PackageManager packageManager, ApplicationInfo info) { in getComponentIcon()
155 private String getComponentLabel(PackageManager packageManager, ApplicationInfo info) { in getComponentLabel()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java49 final PackageManager packageManager = context.getPackageManager(); in isIntentRegistered() local
85 final PackageManager packageManager = context.getPackageManager(); in getSmsComponent() local
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicensesListPreferenceController.java35 PackageManager packageManager = mContext.getPackageManager(); in getAvailabilityStatus() local
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DAutomotiveEligibilityChecker.java19 PackageManager packageManager = context.getPackageManager(); in isEligible() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DAdvancedPowerUsageDetailActivity.java52 final PackageManager packageManager = getPackageManager(); in onCreate() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailActivity.java52 final PackageManager packageManager = getPackageManager(); in onCreate() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHelpActivity.java49 final PackageManager packageManager = getPackageManager(); in onCreate() local
/packages/apps/PermissionController/src/com/android/packageinstaller/
DPackageInstallerApplication.java55 PackageManager packageManager = getPackageManager(); in updateSpecialAppAccessListActivityEnabledState() local
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationScanningPreferenceController.java45 PackageManager packageManager = getContext().getPackageManager(); in getAvailabilityStatus() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DEmulateDisplayCutoutPreferenceController.java32 EmulateDisplayCutoutPreferenceController(Context context, PackageManager packageManager, in EmulateDisplayCutoutPreferenceController()

1234567