Used for mocks and constants, but put and get extras must be implemented
| 58 | * Used for mocks and constants, but put and get extras must be implemented |
| 59 | */ |
| 60 | public class Intent implements Parcelable, Cloneable { |
| 61 | private static final String TAG = "Intent"; |
| 62 | private static final String ATTR_ACTION = "action"; |
| 63 | private static final String TAG_CATEGORIES = "categories"; |
| 64 | private static final String ATTR_CATEGORY = "category"; |
| 65 | private static final String TAG_EXTRA = "extra"; |
| 66 | private static final String ATTR_TYPE = "type"; |
| 67 | private static final String ATTR_IDENTIFIER = "ident"; |
| 68 | private static final String ATTR_COMPONENT = "component"; |
| 69 | private static final String ATTR_DATA = "data"; |
| 70 | private static final String ATTR_FLAGS = "flags"; |
| 71 | public static final String ACTION_MAIN = "android.intent.action.MAIN"; |
| 72 | public static final String ACTION_VIEW = "android.intent.action.VIEW"; |
| 73 | public static final String EXTRA_FROM_STORAGE = "android.intent.extra.FROM_STORAGE"; |
| 74 | public static final String ACTION_DEFAULT = ACTION_VIEW; |
| 75 | public static final String ACTION_QUICK_VIEW = "android.intent.action.QUICK_VIEW"; |
| 76 | public static final String ACTION_ATTACH_DATA = "android.intent.action.ATTACH_DATA"; |
| 77 | public static final String ACTION_EDIT = "android.intent.action.EDIT"; |
| 78 | public static final String ACTION_INSERT_OR_EDIT = "android.intent.action.INSERT_OR_EDIT"; |
| 79 | public static final String ACTION_PICK = "android.intent.action.PICK"; |
| 80 | public static final String ACTION_CREATE_REMINDER = "android.intent.action.CREATE_REMINDER"; |
| 81 | public static final String ACTION_CREATE_SHORTCUT = "android.intent.action.CREATE_SHORTCUT"; |
| 82 | @Deprecated |
| 83 | public static final String EXTRA_SHORTCUT_INTENT = "android.intent.extra.shortcut.INTENT"; |
| 84 | @Deprecated |
| 85 | public static final String EXTRA_SHORTCUT_NAME = "android.intent.extra.shortcut.NAME"; |
| 86 | @Deprecated |
| 87 | public static final String EXTRA_SHORTCUT_ICON = "android.intent.extra.shortcut.ICON"; |
| 88 | @Deprecated |
| 89 | public static final String EXTRA_SHORTCUT_ICON_RESOURCE = |
| 90 | "android.intent.extra.shortcut.ICON_RESOURCE"; |
| 91 | public static final String ACTION_APPLICATION_PREFERENCES |
| 92 | = "android.intent.action.APPLICATION_PREFERENCES"; |
| 93 | public static final String ACTION_SHOW_APP_INFO |
| 94 | = "android.intent.action.SHOW_APP_INFO"; |
| 95 | public static final String ACTION_ACTIVITY_RECOGNIZER = |
| 96 | "android.intent.action.ACTIVITY_RECOGNIZER"; |
| 97 | public static class ShortcutIconResource implements Parcelable { |
| 98 | public String packageName; |
| 99 | public String resourceName; |
| 100 | public static ShortcutIconResource fromContext(Context context, int resourceId) { |
| 101 | return null; |
| 102 | } |
| 103 | public static final Creator<ShortcutIconResource> CREATOR = |
| 104 | new Creator<ShortcutIconResource>() { |
| 105 | public ShortcutIconResource createFromParcel(Parcel source) { |
| 106 | ShortcutIconResource icon = new ShortcutIconResource(); |
| 107 | return null; |
| 108 | } |
| 109 | public ShortcutIconResource[] newArray(int size) { |
| 110 | return null; |
| 111 | } |
| 112 | }; |
| 113 | public int describeContents() { |
| 114 | return 0; |
| 115 | } |
| 116 | public void writeToParcel(Parcel dest, int flags) { |
| 117 | } |
no outgoing calls
no test coverage detected