/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
ChooseLockPatternTest.java | 23 import android.content.Intent; 64 Intent intent = new IntentBuilder(application) local 69 assertThat(intent 73 assertThat(intent 77 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) 84 Intent intent = new IntentBuilder(application) local 89 assertThat(intent [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/dream/ |
DreamSettingsLaunchTest.java | 20 import android.content.Intent; 35 Intent intent = new Intent(Settings.ACTION_DREAM_SETTINGS); local 37 context.startActivity(intent);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
TestFragmentActivity.java | 22 import android.content.Intent; 29 * and call setIntent() with an intent that specifies the fragment to load in the activity. 45 final Intent intent = getIntent(); local 46 final String fragmentName = intent.getStringExtra(EXTRA_SHOW_FRAGMENT);
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
IInstrumentClusterManagerService.aidl | 18 import android.content.Intent; 28 oneway void startClusterActivity(in Intent intent);
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
PrimaryCallReceiver.java | 7 import android.content.Intent; 19 public void onReceive(Context context, Intent intent) { 22 getTelecomSystem().getCallIntentProcessor().processIntent(intent);
|
/packages/services/Telephony/src/com/android/phone/ |
OutgoingCallBroadcaster.java | 28 import android.content.Intent; 51 * ACTION_NEW_OUTGOING_CALL intent. ACTION_NEW_OUTGOING_CALL is an ordered broadcast intent which 52 * contains the phone number being dialed. Applications can use this intent to (1) see which numbers 57 * ACTION_NEW_OUTGOING_CALL intent, it finally reaches the 59 * intent on to the {@link SipCallOptionHandler}, which will 87 * Identifier for intent extra for sending an empty Flash message for 91 * TODO: Receiving an intent extra to tell the phone to send this flash is a 111 * {@link #EVENT_OUTGOING_CALL_TIMEOUT} msec to handle the incoming Intent. 145 public void onReceive(Context context, Intent intent) 285 Intent intent = getIntent(); local [all...] |
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
ExternalServiceTest.java | 21 import android.content.Intent; 55 Intent intent = new Intent(); local 56 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".IsolatedService")); 58 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 66 Intent intent = new Intent(); local 67 intent.setComponent(new ComponentName(sServicePackage, sServicePackage+".IsolatedService")) 79 Intent intent = new Intent(); local 91 Intent intent = new Intent(); local 104 Intent intent = new Intent(); local 117 Intent intent = new Intent(); local 129 Intent intent = new Intent(); local 156 Intent intent = new Intent(); local 246 Intent intent = new Intent(); local [all...] |
/frameworks/support/compat/tests/java/android/support/v4/app/ |
JobIntentServiceTest.java | 25 import android.content.Intent; 59 static ArrayList<Intent> sFinishedWork; 74 public final Intent intent; field in class:JobIntentServiceTest.TestIntentItem 80 public TestIntentItem(Intent intent) { 81 this.intent = intent; 88 public TestIntentItem(Intent intent, int flags) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
TetherService.java | 30 import android.content.Intent; 74 public IBinder onBind(Intent intent) { 101 public int onStartCommand(Intent intent, int flags, int startId) { 102 if (intent.hasExtra(ConnectivityManager.EXTRA_ADD_TETHER_TYPE)) { 103 int type = intent.getIntExtra(ConnectivityManager.EXTRA_ADD_TETHER_TYPE, 106 intent.getParcelableExtra(ConnectivityManager.EXTRA_PROVISION_CALLBACK); 125 if (intent.hasExtra(ConnectivityManager.EXTRA_REM_TETHER_TYPE)) { 127 int type = intent.getIntExtra(ConnectivityManager.EXTRA_REM_TETHER_TYPE 244 Intent intent = getProvisionBroadcastIntent(index); local 258 Intent intent = new Intent(provisionAction); local 269 Intent intent = getProvisionBroadcastIntent(index); local 287 Intent intent = new Intent(this, TetherService.class); local 308 Intent intent = new Intent(context, TetherService.class); local 319 Intent intent = new Intent(this, TetherService.class); local [all...] |
AppWidgetPickActivity.java | 23 import android.content.Intent; 75 final Intent intent = getIntent(); local 76 if (intent.hasExtra(AppWidgetManager.EXTRA_APPWIDGET_ID)) { 77 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 146 Intent intent = getIntentForPosition(which); local 153 setResultData(RESULT_OK, intent); 157 if (intent.getExtras() != null) { 158 options = intent.getExtras().getBundle [all...] |
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
MainInteractionSession.java | 22 import android.content.Intent; 73 Intent intent; local 76 intent = new Intent(AlarmClock.ACTION_DISMISS_ALARM); 77 intent.putExtra(AlarmClock.EXTRA_ALARM_SEARCH_MODE, 83 intent = new Intent(AlarmClock.ACTION_SET_ALARM); 84 intent.putExtra(AlarmClock.EXTRA_HOUR, 14); 88 intent = new Intent(AlarmClock.ACTION_SNOOZE_ALARM) [all...] |
/developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ResponderService.java | 22 import android.content.Intent; 67 public IBinder onBind(Intent intent) { 72 public int onStartCommand(Intent intent, int flags, int startId) { 73 if (null == intent || null == intent.getAction()) { 76 String action = intent.getAction(); 78 Bundle remoteInputResults = RemoteInput.getResultsFromIntent(intent); 101 Intent intent = new Intent(ACTION_RESPONSE) local 134 Intent intent = new Intent(MainActivity.ACTION_NOTIFY); local [all...] |
/developers/samples/android/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ResponderService.java | 22 import android.content.Intent; 67 public IBinder onBind(Intent intent) { 72 public int onStartCommand(Intent intent, int flags, int startId) { 73 if (null == intent || null == intent.getAction()) { 76 String action = intent.getAction(); 78 Bundle remoteInputResults = RemoteInput.getResultsFromIntent(intent); 101 Intent intent = new Intent(ACTION_RESPONSE) local 134 Intent intent = new Intent(MainActivity.ACTION_NOTIFY); local [all...] |
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
ResponderService.java | 22 import android.content.Intent; 67 public IBinder onBind(Intent intent) { 72 public int onStartCommand(Intent intent, int flags, int startId) { 73 if (null == intent || null == intent.getAction()) { 76 String action = intent.getAction(); 78 Bundle remoteInputResults = RemoteInput.getResultsFromIntent(intent); 101 Intent intent = new Intent(ACTION_RESPONSE) local 134 Intent intent = new Intent(MainActivity.ACTION_NOTIFY); local [all...] |
/frameworks/base/core/java/android/app/ |
PendingIntent.java | 23 import android.content.Intent; 42 * A description of an Intent and target action to perform with it. Instances 52 * almost always, for example, the base Intent you supply should have the component 61 * same kind of PendingIntent (same operation, same Intent action, data, 71 * parts of the Intent that are used for matching are the same ones defined 72 * by {@link Intent#filterEquals(Intent) Intent.filterEquals}. If you use two 73 * Intent objects that are equivalent as per 74 * {@link Intent#filterEquals(Intent) Intent.filterEquals}, then you will ge [all...] |
/frameworks/base/services/core/java/com/android/server/ |
MasterClearReceiver.java | 23 import android.content.Intent; 45 public void onReceive(final Context context, final Intent intent) { 46 if (intent.getAction().equals(Intent.ACTION_REMOTE_INTENT)) { 47 if (!"google.com".equals(intent.getStringExtra("from"))) { 52 if (Intent.ACTION_MASTER_CLEAR.equals(intent.getAction())) { 53 Slog.w(TAG, "The request uses the deprecated Intent#ACTION_MASTER_CLEAR, " 54 + "Intent#ACTION_FACTORY_RESET should be used instead.") [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
DismissAlarmsService.java | 24 import android.content.Intent; 55 public IBinder onBind(Intent intent) { 60 public void onHandleIntent(Intent intent) { 62 Log.d(TAG, "onReceive: a=" + intent.getAction() + " " + intent.toString()); 65 long eventId = intent.getLongExtra(AlertUtils.EVENT_ID_KEY, -1); 66 long eventStart = intent.getLongExtra(AlertUtils.EVENT_START_KEY, -1); 67 long eventEnd = intent.getLongExtra(AlertUtils.EVENT_END_KEY, -1) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
LaunchConversationActivity.java | 21 import android.content.Intent; 61 final Intent intent = getIntent(); local 62 final String action = intent.getAction(); 63 if (Intent.ACTION_SENDTO.equals(action) || Intent.ACTION_VIEW.equals(action)) { 64 String[] recipients = UriUtil.parseRecipientsFromSmsMmsUri(intent.getData()); 65 final boolean haveAddress = !TextUtils.isEmpty(intent.getStringExtra(ADDRESS)); 66 final boolean haveEmail = !TextUtils.isEmpty(intent.getStringExtra(Intent.EXTRA_EMAIL)) [all...] |
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
DeleteFdnContactScreen.java | 22 import android.content.Intent; 74 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { 79 Bundle extras = (intent != null) ? intent.getExtras() : null; 96 Intent intent = getIntent(); local 98 mSubscriptionInfoHelper = new SubscriptionInfoHelper(this, intent); 100 mName = intent.getStringExtra(INTENT_EXTRA_NAME); 101 mNumber = intent.getStringExtra(INTENT_EXTRA_NUMBER) 130 Intent intent = new Intent(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MovieActivity.java | 24 import android.content.Intent; 50 * The client of this activity can pass a logo bitmap in the intent (KEY_LOGO_BITMAP) 86 Intent intent = getIntent(); local 87 initializeActionBar(intent); 88 mFinishOnCompletion = intent.getBooleanExtra( 90 mTreatUpAsBack = intent.getBooleanExtra(KEY_TREAT_UP_AS_BACK, false); 91 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState, 100 if (intent.hasExtra(MediaStore.EXTRA_SCREEN_ORIENTATION)) { 101 int orientation = intent.getIntExtra 188 Intent intent = new Intent(Intent.ACTION_SEND); local [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
LockTaskTest.java | 30 import android.content.Intent; 58 = "com.android.cts.intent.receiver"; 60 = "com.android.cts.intent.receiver.IntentReceiverActivity"; 79 public void onReceive(Context context, Intent intent) { 80 String action = intent.getAction(); 103 // Notify that intent has been handled. 121 sendBroadcast(new Intent(RECEIVING_ACTIVITY_CREATED_ACTION)); 231 Intent launchIntent = getIntentReceivingActivityIntent(0); 232 Intent lockTaskUtility = getLockTaskUtility(UTILITY_ACTIVITY) 409 Intent intent = getLockTaskUtility(className); local 418 Intent intent = getLockTaskUtility(className); local 427 Intent intent = getLockTaskUtility(className); local 453 Intent intent = new Intent(); local 460 Intent intent = new Intent(); local [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
AuthActivity.kt | 22 import android.content.Intent 45 * authentication to access. It bundles the result in an Intent. 49 private var replyIntent: Intent? = null 87 val intent = intent 88 val forResponse = intent.getBooleanExtra(EXTRA_FOR_RESPONSE, true) 89 val structure = intent.getParcelableExtra<AssistStructure>(EXTRA_ASSIST_STRUCTURE) 93 replyIntent = Intent() 99 val datasetName = intent.getStringExtra(EXTRA_DATASET_NAME) 122 val intent = Intent(context, AuthActivity::class.java [all...] |
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
AuthActivity.kt | 22 import android.content.Intent 45 * authentication to access. It bundles the result in an Intent. 49 private var replyIntent: Intent? = null 87 val intent = intent 88 val forResponse = intent.getBooleanExtra(EXTRA_FOR_RESPONSE, true) 89 val structure = intent.getParcelableExtra<AssistStructure>(EXTRA_ASSIST_STRUCTURE) 93 replyIntent = Intent() 99 val datasetName = intent.getStringExtra(EXTRA_DATASET_NAME) 122 val intent = Intent(context, AuthActivity::class.java [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
CarrierActionUtils.java | 24 import android.content.Intent; 60 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { 63 onEnableAllMeteredApns(intent, context); 66 onDisableAllMeteredApns(intent, context); 69 onDisableRadio(intent, context); 72 onEnableRadio(intent, context); 75 onShowCaptivePortalNotification(intent, context); 90 onRegisterDefaultNetworkAvail(intent, context); 93 onDeregisterDefaultNetworkAvail(intent, context) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 23 import android.content.Intent; 121 * @param data The intent that was returned. 124 public boolean handlePhotoActivityResult(int requestCode, int resultCode, Intent data) { 238 protected abstract void startPhotoActivity(Intent intent, int requestCode, Uri photoUri); 244 final Intent intent = getCropImageIntent(inputUri, outputUri); local 245 if (!hasIntentHandler(intent)) { 257 startPhotoActivity(intent, REQUEST_CROP_PHOTO, inputUri); 271 final Intent intent = getTakePhotoIntent(photoUri) local 282 final Intent intent = getPhotoPickIntent(photoUri); local 310 final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE, null); local 319 final Intent intent = new Intent(Intent.ACTION_PICK, null); local 335 Intent intent = new Intent("com.android.camera.action.CROP"); local [all...] |