/frameworks/base/core/java/android/app/ |
H A D | PackageInstallObserver.java | 19 import android.content.Intent; 27 public void onUserActionRequired(Intent intent) { 44 public void onUserActionRequired(Intent intent) {
|
H A D | IAppTask.aidl | 20 import android.content.Intent; 29 in Intent intent, String resolvedType, in Bundle options);
|
H A D | IActivityContainer.aidl | 20 import android.content.Intent; 30 int startActivity(in Intent intent); 32 void checkEmbeddedAllowed(in Intent intent);
|
H A D | IntentService.java | 19 import android.content.Intent; 28 * requests (expressed as {@link Intent}s) on demand. Clients send requests 29 * through {@link android.content.Context#startService(Intent)} calls; the 30 * service is started as needed, handles each Intent in turn using a worker 36 * IntentService and implement {@link #onHandleIntent(Intent)}. IntentService 65 onHandleIntent((Intent)msg.obj); 85 * {@link #onStartCommand(Intent, int, int)} will return 87 * {@link #onHandleIntent(Intent)} returns, the process will be restarted 92 * {@link #onStartCommand(Intent, int, int)} will return 93 * {@link Service#START_NOT_STICKY}, and if the process dies, the Intent [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ExternalMediaFormatActivity.java | 25 import android.content.Intent; 41 public void onReceive(Context context, Intent intent) { 45 if (action == Intent.ACTION_MEDIA_REMOVED || 46 action == Intent.ACTION_MEDIA_CHECKING || 47 action == Intent.ACTION_MEDIA_MOUNTED || 48 action == Intent.ACTION_MEDIA_SHARED) { 75 filter.addAction(Intent.ACTION_MEDIA_REMOVED); 76 filter.addAction(Intent.ACTION_MEDIA_CHECKING); 77 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); 78 filter.addAction(Intent [all...] |
H A D | IntentForwarderActivity.java | 27 import android.content.Intent; 58 Intent intentReceived = getIntent(); 80 Intent newIntent = new Intent(intentReceived); 84 newIntent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT 85 |Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP); 89 if (newIntent.getAction().equals(Intent.ACTION_CHOOSER)) { 90 Intent innerIntent = (Intent) newIntent.getParcelableExtra(Intent [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | ReferrerIntent.java | 19 import android.content.Intent; 23 * Subclass of Intent that also contains referrer (as a package name) information. 25 public class ReferrerIntent extends Intent { 28 public ReferrerIntent(Intent baseIntent, String referrer) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadTabActivity.java | 21 import android.content.Intent; 33 Intent tabIntent = new Intent(getIntent());
|
H A D | RemoteReceiver.java | 20 import android.content.Intent; 32 public void onReceive(Context context, Intent intent) 35 Intent newIntent = new Intent(intent);
|
H A D | ResultReceiver.java | 20 import android.content.Intent; 34 public void onReceive(Context context, Intent intent)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 21 import android.content.Intent; 45 public void onReceive(Context context, Intent intent) { 47 if (Intent.ACTION_TIME_TICK.equals(action) 48 || Intent.ACTION_TIME_CHANGED.equals(action) 49 || Intent.ACTION_TIMEZONE_CHANGED.equals(action) 50 || Intent.ACTION_LOCALE_CHANGED.equals(action)) { 51 if (Intent.ACTION_LOCALE_CHANGED.equals(action) 52 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) { 83 filter.addAction(Intent.ACTION_TIME_TICK); 84 filter.addAction(Intent [all...] |
H A D | SplitClockView.java | 22 import android.content.Intent; 43 public void onReceive(Context context, Intent intent) { 45 if (Intent.ACTION_TIME_CHANGED.equals(action) 46 || Intent.ACTION_TIMEZONE_CHANGED.equals(action) 47 || Intent.ACTION_LOCALE_CHANGED.equals(action) 48 || Intent.ACTION_CONFIGURATION_CHANGED.equals(action) 49 || Intent.ACTION_USER_SWITCHED.equals(action)) { 73 filter.addAction(Intent.ACTION_TIME_CHANGED); 74 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); 75 filter.addAction(Intent [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | ActivityCompatJB.java | 21 import android.content.Intent; 25 public static void startActivity(Context context, Intent intent, Bundle options) { 29 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) {
|
H A D | TaskStackBuilderJellybean.java | 21 import android.content.Intent; 27 Intent[] intents, int flags, Bundle options) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NavUtils.java | 22 import android.content.Intent; 43 Intent getParentActivityIntent(Activity activity); 44 boolean shouldUpRecreateTask(Activity activity, Intent targetIntent); 45 void navigateUpTo(Activity activity, Intent upIntent); 52 public Intent getParentActivityIntent(Activity activity) { 60 final Intent parentIntent = grandparent == null 62 : new Intent().setComponent(target); 72 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { 74 return action != null && !action.equals(Intent.ACTION_MAIN); 78 public void navigateUpTo(Activity activity, Intent upInten [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IRestrictionsManager.aidl | 19 import android.content.Intent; 33 Intent createLocalApprovalIntent();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | IRemoteViewsFactory.aidl | 19 import android.content.Intent; 26 oneway void onDestroy(in Intent intent);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PackageReceiver.java | 22 import android.content.Intent; 30 public void onReceive(Context context, Intent intent) { 34 if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) { 37 } else if (Intent.ACTION_PACKAGE_DATA_CLEARED.equals(action)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BootReceiver.java | 22 import android.content.Intent; 34 public void onReceive(final Context context, Intent intent) { 39 Intent loadavg = new Intent(context, com.android.systemui.LoadAverageService.class);
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | OffHostApduService.java | 6 import android.content.Intent; 126 * The {@link Intent} action that must be declared as handled by the service. 153 public abstract IBinder onBind(Intent intent);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | MountReceiver.java | 22 import android.content.Intent; 26 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPreloadReceiver.java | 21 import android.content.Intent; 25 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserReceiver.java | 21 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
H A D | WakeUpCall.java | 21 import android.content.Intent; 32 public void onReceive(Context context, Intent intent) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UriPermission.java | 19 import android.content.Intent; 105 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION 106 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); 116 final boolean persistable = (modeFlags & Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION) != 0; 117 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION 118 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); 127 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { 130 if ((modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { 142 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION 143 | Intent [all...] |