Home
last modified time | relevance | path

Searched refs:AppGlobals (Results 1 – 25 of 107) sorted by relevance

12345

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java21 import android.app.AppGlobals;
96 return AppGlobals.getPackageManager().checkUidPermission( in getOverrideWifiConfigPermission()
108 return AppGlobals.getPackageManager().checkUidPermission( in getChangeWifiConfigPermission()
120 return AppGlobals.getPackageManager().checkUidPermission( in getAccessWifiStatePermission()
132 return AppGlobals.getPackageManager().checkUidPermission( in getLocalMacAddressPermission()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java20 import android.app.AppGlobals;
79 parser = AppGlobals.getInitialApplication().getResources().getXml( in SystemImpl()
148 PackageManager pm = AppGlobals.getInitialApplication().getPackageManager(); in getFactoryPackageVersion()
202 return Settings.Global.getInt(AppGlobals.getInitialApplication().getContentResolver(), in isFallbackLogicEnabled()
208 Settings.Global.putInt(AppGlobals.getInitialApplication().getContentResolver(), in enableFallbackLogic()
222 AppGlobals.getPackageManager().setApplicationEnabledSetting( in enablePackageForUser()
241 PackageManager pm = AppGlobals.getInitialApplication().getPackageManager(); in getPackageInfoForProvider()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DPrivateStorageInfo.java19 import android.app.AppGlobals;
42 final Context context = AppGlobals.getInitialApplication(); in getPrivateStorageInfo()
61 final Context context = AppGlobals.getInitialApplication(); in getTotalSize()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java19 import android.app.AppGlobals;
36 private static final IPackageManager mIPackageManager = AppGlobals.getPackageManager();
78 intent.resolveTypeIfNeeded(AppGlobals.getInitialApplication().getContentResolver()); in resolveActivity()
DDevicePolicyManagerWrapper.java19 import android.app.AppGlobals;
29 AppGlobals.getInitialApplication().getSystemService(DevicePolicyManager.class);
/frameworks/base/core/java/com/android/server/backup/
DPreferredActivityBackupHelper.java19 import android.app.AppGlobals;
50 IPackageManager pm = AppGlobals.getPackageManager(); in getBackupPayload()
74 IPackageManager pm = AppGlobals.getPackageManager(); in applyRestoredPayload()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java20 import android.app.AppGlobals;
42 mIPackageManager = AppGlobals.getPackageManager(); in PackageManagerAdapter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java19 import android.app.AppGlobals;
140 ComponentInfo componentInfo = AppGlobals.getPackageManager().getActivityInfo( in getComponentInfo()
143 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPackageFilter.java19 import android.app.AppGlobals;
44 IPackageManager pm = AppGlobals.getPackageManager(); in matches()
DSenderFilter.java19 import android.app.AppGlobals;
46 IPackageManager pm = AppGlobals.getPackageManager(); in isPrivilegedApp()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java21 import android.app.AppGlobals;
111 sWebViewSupported = AppGlobals.getInitialApplication().getPackageManager() in isWebViewSupported()
207 PackageManager packageManager = AppGlobals.getInitialApplication().getPackageManager(); in loadWebViewNativeLibraryFromPackage()
326 Application initialApplication = AppGlobals.getInitialApplication(); in getWebViewContextAndSetProvider()
396 Application initialApplication = AppGlobals.getInitialApplication(); in getProviderClass()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java30 import android.app.AppGlobals;
73 .mockStatic(AppGlobals.class) in setUp()
80 doReturn(mIPackageManager).when(() -> AppGlobals.getPackageManager()); in setUp()
/frameworks/base/core/java/com/android/internal/os/
DAppIdToPackageMap.java20 import android.app.AppGlobals;
45 packages = AppGlobals.getPackageManager() in getSnapshot()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java22 import android.app.AppGlobals;
55 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java19 import android.app.AppGlobals;
145 ResolveInfo ri = AppGlobals.getPackageManager().resolveIntent(intent, in createLocalApprovalIntent()
190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java40 import android.app.AppGlobals;
176 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked()
250 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked()
262 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked()
370 final IPackageManager pm = AppGlobals.getPackageManager(); in saveCompatModes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java20 import android.app.AppGlobals;
144 return showNotificationEvenIfUnprovisioned(AppGlobals.getPackageManager(), sbn); in showNotificationEvenIfUnprovisioned()
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureServiceInfo.java23 import android.app.AppGlobals;
65 si = AppGlobals.getPackageManager().getServiceInfo(comp, flags, userId); in getServiceInfoOrThrow()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java23 import android.app.AppGlobals;
73 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLImplHeader.java-impl21 import android.app.AppGlobals;
71 IPackageManager pm = AppGlobals.getPackageManager();
/frameworks/base/core/java/android/app/
DAppGlobals.java26 public class AppGlobals { class
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java22 import android.app.AppGlobals;
88 return AppGlobals.getPackageManager().getLastChosenActivity( in getLastChosen()
96 AppGlobals.getPackageManager().setLastChosenActivity(intent, in setLastChosen()
/frameworks/base/core/java/android/view/
DViewConfiguration.java21 import android.app.AppGlobals;
565 return AppGlobals.getIntCoreSetting(Settings.Secure.LONG_PRESS_TIMEOUT, in getLongPressTimeout()
575 return AppGlobals.getIntCoreSetting(Settings.Secure.MULTI_PRESS_TIMEOUT, in getMultiPressTimeout()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java20 import android.app.AppGlobals;
63 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(comp, in getServiceInfoOrThrow()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java20 import android.app.AppGlobals;
67 this(AppGlobals.getPackageManager()); in AppsQueryHelper()

12345