/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/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/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/Stk/src/com/android/stk/ |
D | StkAppInstaller.java | 44 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in installOrUpdate() local 68 IPackageManager pm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in uninstall() local 79 static void setAppState(IPackageManager pm, ComponentName component, int userId, boolean enable) in setAppState()
|
/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/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | CarrierPreferenceControllerTest.java | 131 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityFound_openCarrierSettingActivity() local 152 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotFound_DoNothing() local 166 PackageManager pm = Mockito.mock(PackageManager.class); in handlePreferenceClick_activityNotConfigured_DoNothing() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/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/Settings/src/com/android/settings/ |
D | SettingsInitialize.java | 63 final PackageManager pm = context.getPackageManager(); in onReceive() local 69 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup() 113 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/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/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 | 50 final PackageManager pm = context.getPackageManager(); in onReceive() local 90 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
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentSettingsDashboardFragment.java | 72 PackageManager pm = getContext().getPackageManager(); in onStop() local 106 PackageManager pm = getContext().getPackageManager(); in isDeveloperOptionsModuleEnabled() local
|
/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/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermissionListenerMultiplexer.kt | 35 private val pm = app.applicationContext.packageManager in <lambda>() constant
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 57 PackageManager pm = userContext.getPackageManager(); in AppPreference() local 102 PackageManager pm = getUserContext().getPackageManager(); in getPackageInfo() local
|
/packages/apps/Car/Settings/src/com/android/car/settings/development/ |
D | DevelopmentSettingsUtil.java | 77 PackageManager pm = context.getPackageManager(); in isDeveloperOptionsModuleEnabled() local 101 PackageManager pm = context.getPackageManager(); in setDeveloperOptionsEnabledState() local
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/search/ |
D | SearchResultTrampolineTest.java | 47 final PackageManager pm = mContext.getPackageManager(); in canLaunchSettingsTrampolineWithIntentAction() local
|
/packages/apps/Settings/src/com/android/settings/biometrics/combination/ |
D | CombinedBiometricSearchIndexProvider.java | 34 final PackageManager pm = context.getPackageManager(); in isPageSearchEnabled() local
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcBootCompletedReceiver.java | 35 PackageManager pm = context.getPackageManager(); in onReceive() local
|