CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Module Intent

Import path

import semmle.code.java.frameworks.android.Intent

Imports

java

Provides all default Java QL imports.

Predicates

allowIntentExtrasImplicitRead

Holds if extras may be implicitly read from the Intent node.

Classes

AndroidBundle

The class android.os.BaseBundle, or a class that extends it.

AndroidGetIntentMethod

The method Activity.getIntent

AndroidReceiveIntentMethod

The method BroadcastReceiver.onReceive.

AndroidServiceIntentMethod

The method Service.onStart, onStartCommand, onBind, onRebind, onUnbind, or onTaskRemoved.

ContextStartActivityMethod

The method Context.startActivity or startActivities.

ExplicitIntent

An Intent that explicitly sets a destination component.

ExplicitIntentSanitizer

A sanitizer for explicit intents.

GrantReadUriPermissionFlag

The field Intent.FLAG_GRANT_READ_URI_PERMISSION.

GrantUriPermissionFlag

The fields to grant URI permissions of the class android.content.Intent:

GrantWriteUriPermissionFlag

The field Intent.FLAG_GRANT_WRITE_URI_PERMISSION.

IntentGetParcelableExtraMethod

The method Intent.getParcelableExtra.

SendBroadcastMethod

The method Context.sendBroadcast, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, or sendBroadcastWithMultiplePermissions.

StartActivityMethod

The method Context.startActivity, Context.startActivities, Activity.startActivity,Activity.startActivities, Activity.startActivityForResult, Activity.startActivityIfNeeded, Activity.startNextMatchingActivity, Activity.startActivityFromChild, or Activity.startActivityFromFragment.

StartServiceMethod

The method Context.startService, startForegroundService, bindIsolatedService, bindService, or bindServiceAsUser.

TypeActivity

The class android.app.Activity.

TypeBroadcastReceiver

The class android.content.BroadcastReceiver.

TypeComponentName

The class android.content.ComponentName.

TypeContext

The class android.content.Context.

TypeIntent

The class android.content.Intent.

TypeService

The class android.app.Service.