Home
last modified time | relevance | path

Searched defs:pm (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLiveCaptionPreferenceControllerTest.java49 final ShadowPackageManager pm = Shadows.shadowOf( in getAvailabilityStatus_canResolveIntent_shouldReturnAvailable() local
59 final ShadowPackageManager pm = Shadows.shadowOf( in getAvailabilityStatus_noResolveIntent_shouldReturnUnavailable() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java102 PackageManager pm = mock(PackageManager.class); in getHandledDomains_includeIntentFilterVerificationInfoDomains() local
115 PackageManager pm = mock(PackageManager.class); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local
130 PackageManager pm = mock(PackageManager.class); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local
145 PackageManager pm = mock(PackageManager.class); in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme() local
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmAlertWakeLock.java32 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in createPartialWakeLock() local
49 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquireScreenCpuWakeLock() local
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtils.java38 PackageManager pm = context.getPackageManager(); in getDomainsSummary() local
57 public static ArraySet<String> getHandledDomains(PackageManager pm, String packageName) { in getHandledDomains()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java128 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local
148 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotFound_DoNothing() local
162 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionSearchIndexablesProvider.java51 PackageManager pm = context.getPackageManager(); in queryRawData() local
79 private CharSequence getPermissionGroupLabel(String groupName, PackageManager pm) { in getPermissionGroupLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsInitialize.java62 final PackageManager pm = context.getPackageManager(); in onReceive() local
68 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup()
112 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java62 final PackageManager pm = context.getPackageManager(); in onReceive() local
68 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup()
112 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertWakeLock.java47 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquirePartialWakeLock() local
73 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquireScreenBrightWakeLock() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java132 PackageManager pm = getActivity().getPackageManager(); in updateUi() local
208 private PermissionGroupInfo getGroup(String group, PackageManager pm) { in getGroup()
216 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
267 final PackageManager pm = getActivity().getPackageManager(); in getImmutablePreference() local
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java82 public boolean shouldProvideTrust(ResolveInfo resolveInfo, PackageManager pm) { in shouldProvideTrust()
111 final PackageManager pm = context.getPackageManager(); in getActiveTrustAgents() local
151 private TrustAgentComponentInfo getSettingsComponent(PackageManager pm, in getSettingsComponent()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DPreBootReceiver.java49 final PackageManager pm = context.getPackageManager(); in onReceive() local
89 private static void setComponentEnabledByConfigResources(PackageManager pm, String packageName, in setComponentEnabledByConfigResources()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java129 PackageManager pm = getContext().getPackageManager(); in updateUi() local
225 private PermissionGroupInfo getGroup(String group, PackageManager pm) { in getGroup()
233 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
247 PackageItemInfo group, PackageManager pm) { in getPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java90 PackageManager pm = getContext().getPackageManager(); in getSettingIntent() local
105 private String getAssistSettingsActivity(PackageManager pm, ResolveInfo resolveInfo) { in getAssistSettingsActivity()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/
DPowerTestFragment.java95 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in shutdownBtn() local
106 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in sleepBtn() local
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java53 PackageManager pm = userContext.getPackageManager(); in AppPreference() local
79 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DAppPreference.java53 PackageManager pm = userContext.getPackageManager(); in AppPreference() local
79 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java117 PackageManager pm = getContext().getPackageManager(); in updateUi() local
203 private PermissionGroupInfo getGroup(String group, PackageManager pm) { in getGroup()
211 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
225 PackageItemInfo group, PackageManager pm) { in getPreference()
/packages/apps/Settings/tests/unit/src/com/android/settings/search/
DSearchResultTrampolineTest.java47 final PackageManager pm = mContext.getPackageManager(); in canLaunchSettingsTrampolineWithIntentAction() local
/packages/apps/Provision/src/com/android/provision/
DDefaultActivity.java39 PackageManager pm = getPackageManager(); in onCreate() local
/packages/apps/Nfc/src/com/android/nfc/
DNfcBootCompletedReceiver.java35 PackageManager pm = context.getPackageManager(); in onReceive() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DVoiceInputHelper.java61 public BaseInfo(PackageManager pm, ServiceInfo _service, String _settings) { in BaseInfo()
81 public InteractionInfo(PackageManager pm, VoiceInteractionServiceInfo _service) { in InteractionInfo()
88 public RecognizerInfo(PackageManager pm, ServiceInfo _service, String _settings) { in RecognizerInfo()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java61 public BaseInfo(PackageManager pm, ServiceInfo _service, String _settings) { in BaseInfo()
81 public InteractionInfo(PackageManager pm, VoiceInteractionServiceInfo _service) { in InteractionInfo()
88 public RecognizerInfo(PackageManager pm, ServiceInfo _service, String _settings) { in RecognizerInfo()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DWebLatency.java55 PackageManager pm = getPackageManager(); in getWebSearchComponent() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DAppWorkaroundsTests.java36 final PackageManager pm = getContext().getPackageManager(); in setUp() local

12345678910>>...14