/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/Settings/src/com/android/settings/ |
D | SettingsInitialize.java | 66 final PackageManager pm = context.getPackageManager(); in onReceive() local 74 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup() 109 private void cloneProfileSetup(Context context, PackageManager pm, UserInfo userInfo) { in cloneProfileSetup() 118 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup() 152 private void enableTwoPaneDeepLinkActivityIfNecessary(PackageManager pm, Context context) { in enableTwoPaneDeepLinkActivityIfNecessary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | LiveCaptionPreferenceControllerTest.java | 56 PackageManager pm = spy(mContext.getPackageManager()); in setUp() local 66 final ShadowPackageManager pm = Shadows.shadowOf(mContext.getPackageManager()); in getAvailabilityStatus_canResolveIntent_shouldReturnAvailable() local 75 final ShadowPackageManager pm = Shadows.shadowOf(mContext.getPackageManager()); in getAvailabilityStatus_noResolveIntent_shouldReturnUnavailable() 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 | 96 public static PackageInfo getPackageInfoAsUser(@NonNull PackageManager pm, in getPackageInfoAsUser() 103 public static int getPackageUidAsUser(@NonNull PackageManager pm, @NonNull String packageName, in getPackageUidAsUser() 110 public static String[] getNamesForUids(@NonNull PackageManager pm, int[] uids) { in getNamesForUids() 117 IPackageManager pm = ActivityThread.getPackageManager(); in getApplicationEnabledSettingForUser() local 125 IPackageManager pm = ActivityThread.getPackageManager(); in setApplicationEnabledSettingForUser() 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/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | CustomizedSdkContextTest.java | 88 final PackageManager pm = in testSdkPermissions() local 159 final PackageManager pm = in testGetPackageName() local 167 final PackageManager pm = in testGetOpPackageName() local
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | RevokePermissionTest.kt | 129 val pm = context.packageManager in testRevoke() constant 175 val pm = context.packageManager in assertPackageNotInstalled() constant
|
D | AppIdleStatePermissionTest.java | 47 final PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testChangeAppIdleStatePermission() local 73 final PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testChangeAppLaunchEstimatePermission() 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/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/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/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/apps/Settings/src/com/android/settings/development/ |
D | DisableDevSettingsDialogFragment.java | 90 PowerManager pm = getContext().getSystemService(PowerManager.class); in onClick() local 100 PowerManager pm = getContext().getSystemService(PowerManager.class); in onClick() local
|
/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/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/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerImplTest.java | 86 PackageManager pm = Mockito.mock(PackageManager.class); in testAppsIndexerImpl_removeApps() local 105 PackageManager pm = Mockito.mock(PackageManager.class); in testAppsIndexerImpl_updateAppsThrowsError_shouldContinueOnError() local
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | LargeScreenMultiPanesChecker.kt | 32 val pm = context.packageManager in isMultiPanesEnabled() constant
|
/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/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
|