/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
|
D | AlarmAlertWakeLock.java | 32 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/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/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainUrlsUtilsTest.java | 102 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/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/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | PermissionSearchIndexablesProvider.java | 49 PackageManager pm = context.getPackageManager(); in queryRawData() local 71 private CharSequence getPermissionGroupLabel(String groupName, PackageManager pm) { in getPermissionGroupLabel()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | CarrierPreferenceControllerTest.java | 127 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local 147 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotFound_DoNothing() local 161 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SettingsInitialize.java | 62 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/ |
D | SettingsInitialize.java | 62 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/Camera2/src/com/android/camera/ |
D | SetActivitiesCameraReceiver.java | 54 PackageManager pm = context.getPackageManager(); in supportExternalCamera() local 80 PackageManager pm = context.getPackageManager(); in setComponent() local
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | AllAppPermissionsFragment.java | 132 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/ |
D | TrustAgentManager.java | 82 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/ |
D | PreBootReceiver.java | 49 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/ |
D | AllAppPermissionsFragment.java | 129 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/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 53 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/ |
D | AppPreference.java | 53 PackageManager pm = userContext.getPackageManager(); in AppPreference() local 79 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 90 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/ |
D | PowerTestFragment.java | 95 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/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 117 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/ |
D | SearchResultTrampolineTest.java | 47 final PackageManager pm = mContext.getPackageManager(); in canLaunchSettingsTrampolineWithIntentAction() local
|
/packages/apps/Provision/src/com/android/provision/ |
D | DefaultActivity.java | 39 PackageManager pm = getPackageManager(); in onCreate() local
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcBootCompletedReceiver.java | 35 PackageManager pm = context.getPackageManager(); in onReceive() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/ |
D | VoiceInputHelper.java | 61 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/ |
D | VoiceInputHelper.java | 61 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/ |
D | WebLatency.java | 55 PackageManager pm = getPackageManager(); in getWebSearchComponent() local
|