/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ReceiverService.java | 21 import android.content.Intent; 40 public IBinder onBind(Intent intent) { 45 public int onStartCommand(Intent intent, int flags, int startId) { 50 body = intent.getByteArrayExtra("data"); 51 header = intent.getByteArrayExtra("header");
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
Receiver.java | 21 import android.content.Intent; 28 public void onReceive(Context context, Intent intent) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
RemoteInput.java | 19 import android.content.Intent; 34 /** Extra added to a clip data intent object to hold the results bundle. */ 181 * Get the remote input results bundle from an intent. The returned Bundle will 184 * @param intent The intent object that fired in response to an action or content intent 187 public static Bundle getResultsFromIntent(Intent intent) { 188 return IMPL.getResultsFromIntent(intent); 192 * Populate an intent object with the results gathered from remote input. This metho [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
IntentUtilities.java | 22 import android.content.Intent; 103 public static long getAccountIdFromIntent(Intent intent) { 104 return getLongFromIntent(intent, ACCOUNT_ID_PARAM); 110 public static String getAccountNameFromIntent(Intent intent) { 111 return getStringFromIntent(intent, ACCOUNT_NAME_PARAM); 117 public static long getMailboxIdFromIntent(Intent intent) { 118 return getLongFromIntent(intent, MAILBOX_ID_PARAM) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
UserInitializeReceiver.java | 21 import android.content.Intent; 29 public void onReceive(Context context, Intent intent) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SuggestionSpanPickedNotificationReceiver.java | 21 import android.content.Intent; 33 public void onReceive(Context context, Intent intent) { 34 if (SuggestionSpan.ACTION_SUGGESTION_PICKED.equals(intent.getAction())) { 36 final String before = intent.getStringExtra( 38 final String after = intent.getStringExtra(
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProviderIntentService.java | 19 import android.content.Intent; 32 protected void onHandleIntent(Intent intent) { 34 Log.d(TAG, "Received Intent: " + intent); 36 final String action = intent.getAction(); 39 Log.d(TAG, "Invalid Intent action: " + action); 45 final boolean removeAlarms = intent.getBooleanExtra(REMOVE_ALARMS_VALUE, false);
|
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminReceiverTest.java | 21 import android.content.Intent; 55 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_CHANGED)); 59 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_FAILED)); 63 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_SUCCEEDED)); 67 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_DEVICE_ADMIN_ENABLED)); 71 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_DEVICE_ADMIN_DISABLED)); 88 public void onPasswordChanged(Context context, Intent intent) { 89 super.onPasswordChanged(context, intent); 94 public void onPasswordFailed(Context context, Intent intent) [all...] |
/frameworks/testing/uiautomator/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
WakeUpCall.java | 23 import android.content.Intent; 45 public void onReceive(Context context, Intent intent) { 47 boolean cancel = intent.hasExtra(CANCEL); 49 long maxLoop = intent.getLongExtra(WakeLoopService.MAX_LOOP, 0); 50 long wakeupInterval = intent.getLongExtra(WakeLoopService.WAKEUP_INTERNAL, 0); 51 long thisLoop = intent.getLongExtra(WakeLoopService.THIS_LOOP, -1); 56 stopService(intent); 61 stopService(intent); 70 stopService(intent); [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
IntentProvider.java | 21 import android.content.Intent; 30 * Used to create an intent to attach to an action in the call log. 32 * The intent is constructed lazily with the given information. 38 public abstract Intent getIntent(Context context); 48 public Intent getIntent(Context context) { 62 public Intent getIntent(Context context) { 72 public Intent getIntent(Context context) { 73 Intent intent = new Intent(context, CallDetailActivity.class) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockSettingsHelper.java | 24 import android.content.Intent; 54 * @see #onActivityResult(int, int, android.content.Intent) 64 * @param returnCredentials if true, put credentials into intent. Note that if this is true, 67 * @see #onActivityResult(int, int, android.content.Intent) 92 * @param returnCredentials if true, put credentials into intent. 93 * @see #onActivityResult(int, int, android.content.Intent) 101 final Intent intent = new Intent(); local 102 // supply header and footer text in the intent [all...] |
/cts/tests/app/src/android/app/cts/ |
MockReceiver.java | 21 import android.content.Intent; 34 public void onReceive(Context context, Intent intent) { 35 sAction = intent.getAction();
|
/cts/tests/tests/content/src/android/content/cts/ |
ImageCaptureActivity.java | 21 import android.content.Intent; 38 Intent intent = getIntent(); local 41 String action = intent.getAction(); 45 writeToClipDataUri(intent); 51 // Sends ACTION_FILE_READY intent when write to clipdata uri is succesful. 52 private void writeToClipDataUri(Intent intent) { 53 if ((intent.getFlags() & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
EmptyService.java | 20 import android.content.Intent; 35 public IBinder onBind(Intent intent) { 36 if (IEmptyService.class.getName().equals(intent.getAction())) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AppUpdateSspReceiver.java | 21 import android.content.Intent; 29 public void onReceive(Context context, Intent intent) { 30 String msg = "Ssp update received: " + intent.getData();
|
IntentActivityFlags.java | 10 import android.content.Intent; 18 * Example of various Intent flags to modify the activity stack. 35 * This creates an array of Intent objects representing the back stack 39 private Intent[] buildIntentsToViewsLists() { 44 Intent[] intents = new Intent[3]; 47 // This is a convenient way to make the proper Intent to launch and 49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this, 52 Intent intent = new Intent(Intent.ACTION_MAIN) local [all...] |
/external/chromium_org/build/android/ |
adb_run_android_webview_shell | 12 -a android.intent.action.VIEW \
|
adb_run_chrome_shell | 12 -a android.intent.action.VIEW \
|
/frameworks/base/core/java/android/content/ |
IIntentSender.aidl | 20 import android.content.Intent; 24 int send(int code, in Intent intent, String resolvedType,
|
/frameworks/base/core/java/android/content/pm/ |
IPackageDeleteObserver2.aidl | 19 import android.content.Intent; 23 void onUserActionRequired(in Intent intent);
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageMonitor.java | 21 import android.content.Intent; 41 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED); 42 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED); 43 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED); 44 sPackageFilt.addAction(Intent.ACTION_QUERY_PACKAGE_RESTART); 45 sPackageFilt.addAction(Intent.ACTION_PACKAGE_RESTARTED); 46 sPackageFilt.addAction(Intent.ACTION_UID_REMOVED); 48 sNonDataFilt.addAction(Intent.ACTION_UID_REMOVED); 49 sNonDataFilt.addAction(Intent.ACTION_USER_STOPPED); 50 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 21 import android.content.Intent; 41 final Intent intent = makeBroadcastIntent(BROADCAST_REGISTERED); local 48 public void onSendFinished(PendingIntent pi, Intent intent, 50 gotReceive(RECEIVER_RESULTS, intent); 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); 70 final Intent intent = makeBroadcastIntent(BROADCAST_LOCAL_DENIED); local 75 public void onSendFinished(PendingIntent pi, Intent intent [all...] |
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
FusedLocationService.java | 20 import android.content.Intent; 27 public IBinder onBind(Intent intent) { 35 public boolean onUnbind(Intent intent) {
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 22 import android.content.Intent; 99 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA); local 100 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 101 intent.setClass(getInstrumentation().getTargetContext(), 103 getActivity().startActivity(intent); 105 intent = new Intent(); [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 22 import android.content.Intent; 98 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA); local 99 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); 100 intent.setClass(getInstrumentation().getTargetContext(), 102 getActivity().startActivity(intent); 104 intent = new Intent(); [all...] |