/packages/apps/Settings/src/com/android/settings/ |
D | SettingsInitialize.java | 67 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/ |
D | AlarmAlertWakeLock.kt | 33 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/ |
D | property_monitor_test.cpp | 49 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/ |
D | SetActivitiesCameraReceiver.java | 53 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/ |
D | DefaultAppInfo.java | 42 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/ |
D | StkAppInstaller.java | 43 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/ |
D | PackageManagerHelper.java | 104 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/ |
D | LiveCaptionPreferenceControllerTest.java | 49 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/ |
D | CarrierPreferenceControllerTest.java | 130 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/ |
D | Partner.java | 45 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/ |
D | LocalCallingIdentityTest.java | 61 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/ |
D | AllAppPermissionsFragment.java | 135 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/ |
D | DomainUrlsUtils.java | 38 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/ |
D | PermissionSearchIndexablesProvider.java | 50 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/ |
D | AppUtils.java | 73 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/ |
D | AutoAllAppPermissionsFragment.java | 121 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/ |
D | AppManifestConfigHelper.java | 43 PackageManager pm = context.getPackageManager(); in manifestContainsOdpSettings() local 59 PackageManager pm = context.getPackageManager(); in getAppManifestConfig() local
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentManager.java | 82 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/ |
D | LargeScreenMultiPanesChecker.kt | 33 val pm = context.packageManager in isMultiPanesEnabled() constant
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivityTest.java | 127 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/ |
D | PreBootReceiver.java | 52 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/ |
D | SdkSandboxConfigurationTest.java | 101 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/ |
D | ColorUtils.kt | 39 val pm = context.packageManager in isMonetEnabled() constant
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockControllerPackageUtils.java | 74 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/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 101 PackageManager pm = getContext().getPackageManager(); in getComponentName() local 116 String getAssistSettingsActivity(PackageManager pm, ResolveInfo resolveInfo) { in getAssistSettingsActivity()
|