Home
last modified time | relevance | path

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

12345678910>>...14

/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/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java102 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/
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/Stk/src/com/android/stk/
DStkAppInstaller.java44 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/
DLocalCallingIdentityTest.java61 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/
DCarrierPreferenceControllerTest.java131 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/
DPermissionSearchIndexablesProvider.java49 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/
DDomainUrlsUtils.java38 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/
DSettingsInitialize.java63 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/
DAllAppPermissionsFragment.java132 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/
DSetActivitiesCameraReceiver.java54 PackageManager pm = context.getPackageManager(); in supportExternalCamera() local
80 PackageManager pm = context.getPackageManager(); in setComponent() local
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentManager.java82 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/
DPreBootReceiver.java50 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/
DTermsActivityTest.java127 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/
DAutoAllAppPermissionsFragment.java117 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/
DCarDevelopmentSettingsDashboardFragment.java72 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/
DPowerTestFragment.java95 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/
DDefaultAssistantPickerEntryPreferenceController.java90 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/
DPermissionListenerMultiplexer.kt35 private val pm = app.applicationContext.packageManager in <lambda>() constant
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java57 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/
DDevelopmentSettingsUtil.java77 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/
DSearchResultTrampolineTest.java47 final PackageManager pm = mContext.getPackageManager(); in canLaunchSettingsTrampolineWithIntentAction() local
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DCombinedBiometricSearchIndexProvider.java34 final PackageManager pm = context.getPackageManager(); in isPageSearchEnabled() local
/packages/apps/Nfc/src/com/android/nfc/
DNfcBootCompletedReceiver.java35 PackageManager pm = context.getPackageManager(); in onReceive() local

12345678910>>...14