Home
last modified time | relevance | path

Searched refs:fromContext (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java52 public LayoutInflaterBuilder(@NonNull Context fromContext) { in LayoutInflaterBuilder() argument
53 mFromContext = fromContext; in LayoutInflaterBuilder()
54 mTargetContext = fromContext; in LayoutInflaterBuilder()
/frameworks/base/tests/EnforcePermission/service-app/src/android/tests/enforcepermission/service/
DNestedTestService.java46 super(PermissionEnforcer.fromContext(context)); in Stub()
DTestService.java88 super(PermissionEnforcer.fromContext(context)); in Stub()
/frameworks/base/services/core/java/com/android/server/location/provider/
DPassiveLocationProvider.java51 super(DIRECT_EXECUTOR, CallerIdentity.fromContext(context), PROPERTIES, in PassiveLocationProvider()
/frameworks/base/services/core/java/com/android/server/
DSerialService.java46 super(PermissionEnforcer.fromContext(context)); in SerialService()
DUiModeManagerService.java699 super(PermissionEnforcer.fromContext(context)); in Stub()
/frameworks/base/services/fakes/java/com/android/server/
DFakeClipboardService.java43 super(PermissionEnforcer.fromContext(context)); in FakeClipboardService()
/frameworks/base/core/java/android/os/
DPermissionEnforcer.java211 public static PermissionEnforcer fromContext(@NonNull Context context) { in fromContext() method in PermissionEnforcer
/frameworks/base/location/java/android/location/util/identity/
DCallerIdentity.java74 public static CallerIdentity fromContext(Context context) { in fromContext() method in CallerIdentity
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java86 super(PermissionEnforcer.fromContext(context)); in BinderService()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java72 super(PermissionEnforcer.fromContext(getContext())); in LightsManagerBinderService()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java663 super(PermissionEnforcer.fromContext(context)); in BinderService()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java297 super(PermissionEnforcer.fromContext(context));
/frameworks/base/services/core/java/com/android/server/net/
DNetworkManagementService.java248 super(PermissionEnforcer.fromContext(context)); in NetworkManagementService()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java408 super(FgThread.getExecutor(), CallerIdentity.fromContext(context), PROPERTIES, in GnssLocationProvider()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java543 CallerIdentity.fromContext(mContext), Collections.emptySet())); in onSystemThirdPartyAppsCanStart()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java232 super(PermissionEnforcer.fromContext(context));
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java344 super(PermissionEnforcer.fromContext(context)); in AbstractAccessibilityServiceConnection()
DAccessibilityManagerService.java529 super(PermissionEnforcer.fromContext(context)); in AccessibilityManagerService()
/frameworks/base/core/java/android/content/
DIntent.java918 public static ShortcutIconResource fromContext(Context context, @AnyRes int resourceId) { in fromContext() method in Intent.ShortcutIconResource
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1053 PermissionEnforcer.fromContext(context), in Lifecycle()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7840 …method public static android.content.Intent.ShortcutIconResource fromContext(android.content.Conte…
/frameworks/base/core/api/
Dcurrent.txt11496 …method public static android.content.Intent.ShortcutIconResource fromContext(android.content.Conte…