Home
last modified time | relevance | path

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

12345678910>>...18

/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java67 final PackageManager pm = context.getPackageManager(); in onReceive() local
75 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup()
113 private void cloneProfileSetup(Context context, PackageManager pm, UserInfo userInfo) { in cloneProfileSetup()
124 private void disableComponent(PackageManager pm, ComponentName componentName) { in disableComponent()
130 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
164 private void enableTwoPaneDeepLinkActivityIfNecessary(PackageManager pm, Context context) { in enableTwoPaneDeepLinkActivityIfNecessary()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmAlertWakeLock.kt33 val pm = context.getSystemService(Context.POWER_SERVICE) as PowerManager in createPartialWakeLock() constant
52 val pm = context.getSystemService(Context.POWER_SERVICE) as PowerManager in acquireScreenCpuWakeLock() constant
/packages/modules/adb/daemon/
Dproperty_monitor_test.cpp49 static std::thread SpawnThread(PropertyMonitor* pm) { in SpawnThread()
55 static std::function<void()> RegisterExitCallback(PropertyMonitor* pm) { in RegisterExitCallback()
64 static void RegisterCallback(PropertyMonitor* pm, PropertyChanges* output, in RegisterCallback()
75 PropertyMonitor pm; in TEST() local
101 PropertyMonitor pm; in TEST() local
139 PropertyMonitor pm; in TEST() local
/packages/apps/Camera2/src/com/android/camera/
DSetActivitiesCameraReceiver.java53 PackageManager pm = context.getPackageManager(); in hasCamera() local
60 PackageManager pm = context.getPackageManager(); in hasBackCamera() local
66 PackageManager pm = context.getPackageManager(); in setComponent() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DDefaultAppInfo.java42 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn) { in DefaultAppInfo()
46 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info) { in DefaultAppInfo()
50 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn, in DefaultAppInfo()
61 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info, in DefaultAppInfo()
/packages/apps/Stk/src/com/android/stk/
DStkAppInstaller.java43 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in installOrUpdate() local
67 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in uninstall() local
78 static void setAppState(IPackageManager pm, ComponentName component, int userId, boolean enable) in setAppState()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/
DPackageManagerHelper.java104 public static PackageInfo getPackageInfoAsUser(@NonNull PackageManager pm, in getPackageInfoAsUser()
112 public static int getPackageUidAsUser(@NonNull PackageManager pm, @NonNull String packageName, in getPackageUidAsUser()
120 public static String[] getNamesForUids(@NonNull PackageManager pm, int[] uids) { in getNamesForUids()
128 IPackageManager pm = ActivityThread.getPackageManager(); in getApplicationEnabledSettingForUser() local
137 IPackageManager pm = ActivityThread.getPackageManager(); in setApplicationEnabledSettingForUser() local
/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/Settings/tests/unit/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java130 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local
151 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotFound_DoNothing() local
165 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPartner.java45 public static Partner get(PackageManager pm) { in get()
52 public static Partner get(PackageManager pm, String action) { in get()
103 private static Pair<String, Resources> findSystemApk(String action, PackageManager pm) { in findSystemApk()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DLocalCallingIdentityTest.java61 final PackageManager pm = context.getPackageManager(); in testFromSelf() local
91 final PackageManager pm = context.getPackageManager(); in testFromExternal() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java135 PackageManager pm = getActivity().getPackageManager(); in updateUi() local
217 private PermissionGroupInfo getGroup(String group, PackageManager pm) { in getGroup()
225 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
276 final PackageManager pm = getActivity().getPackageManager(); in getImmutablePreference() 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionSearchIndexablesProvider.java50 PackageManager pm = context.getPackageManager(); in queryRawData() local
73 private CharSequence getPermissionGroupLabel(String groupName, PackageManager pm) { in getPermissionGroupLabel()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DAppUtils.java73 IUsbManager usbManager, PackageManager pm, Context context) { in getLaunchByDefaultSummary()
86 public static boolean hasPreferredActivities(PackageManager pm, String packageName) { in hasPreferredActivities()
144 public static boolean isMainlineModule(PackageManager pm, String packageName) { in isMainlineModule()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java121 PackageManager pm = getContext().getPackageManager(); in updateUi() local
208 private PermissionGroupInfo getGroup(String group, PackageManager pm) { in getGroup()
216 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, in findOrCreate()
230 PackageItemInfo group, PackageManager pm) { in getPreference()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/
DAppManifestConfigHelper.java43 PackageManager pm = context.getPackageManager(); in manifestContainsOdpSettings() local
59 PackageManager pm = context.getPackageManager(); in getAppManifestConfig() local
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java82 public boolean shouldProvideTrust(ResolveInfo resolveInfo, PackageManager pm) { in shouldProvideTrust()
125 final PackageManager pm = context.getPackageManager(); in getActiveTrustAgents() local
168 private TrustAgentComponentInfo getSettingsComponent(PackageManager pm, in getSettingsComponent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DLargeScreenMultiPanesChecker.kt33 val pm = context.packageManager in isMultiPanesEnabled() constant
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java127 PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in expanderTest() local
192 PackageManager pm = InstrumentationRegistry.getTargetContext().getPackageManager(); in expanderTest_automotive() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DPreBootReceiver.java52 final PackageManager pm = context.getPackageManager(); in onReceive() local
92 private static void setComponentEnabledByConfigResources(PackageManager pm, String packageName, in setComponentEnabledByConfigResources()
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/
DSdkSandboxConfigurationTest.java101 final PackageManager pm = ctx.getPackageManager(); in testCorrectSdkVersion() local
117 final PackageManager pm = ctx.getPackageManager(); in testClientAppIsVisibleToSdkSandbox() local
196 final PackageManager pm = ctx.getPackageManager(); in testCanResolveAndBindToAdServicesApiPackage() local
/packages/apps/WallpaperPicker2/src/com/android/customization/model/color/
DColorUtils.kt39 val pm = context.packageManager in isMonetEnabled() constant
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockControllerPackageUtils.java74 final PackageManager pm = mContext.getPackageManager(); in findServiceInternal() local
139 final PackageManager pm = mContext.getPackageManager(); in getDeviceIdTypeBitmapInternal() local
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java101 PackageManager pm = getContext().getPackageManager(); in getComponentName() local
116 String getAssistSettingsActivity(PackageManager pm, ResolveInfo resolveInfo) { in getAssistSettingsActivity()

12345678910>>...18