HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 676 - 700 of 4825) sorted by null

<<21222324252627282930>>

  /packages/apps/Settings/src/com/android/settings/wifi/tether/
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
249 Intent intent = getProvisionBroadcastIntent(index); local
263 Intent intent = new Intent(provisionAction); local
274 Intent intent = getProvisionBroadcastIntent(index); local
292 Intent intent = new Intent(this, TetherService.class); local
313 Intent intent = new Intent(context, TetherService.class); local
324 Intent intent = new Intent(this, TetherService.class); local
    [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/com/android/internal/app/
HarmfulAppWarningActivity.java 21 import android.content.Intent;
50 final Intent intent = getIntent(); local
51 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME);
52 mTarget = intent.getParcelableExtra(Intent.EXTRA_INTENT);
53 mHarmfulAppWarning = intent.getStringExtra(EXTRA_HARMFUL_APP_WARNING);
56 Log.wtf(TAG, "Invalid intent: " + intent.toString())
117 final Intent intent = new Intent(); local
    [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/apps/Settings/src/com/android/settings/
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...]
  /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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
BaseDraggingActivity.java 23 import android.content.Intent;
51 // The Intent extra that defines whether to ignore the launch animation
53 "com.android.launcher3.intent.extra.shortcut.INGORE_LAUNCH_ANIMATION";
151 public boolean startActivitySafely(View v, Intent intent, ItemInfo item) {
152 if (mIsSafeModeEnabled && !Utilities.isSystemApp(this, intent)) {
160 !intent.hasExtra(INTENT_EXTRA_IGNORE_LAUNCH_ANIMATION);
167 // Prepare intent
168 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
SliceBroadcastReceiverTest.java 34 import android.content.Intent;
112 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); local
113 intent.putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key);
118 mReceiver.onReceive(mContext, intent);
152 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); local
153 intent.putExtra(SettingsSliceProvider.EXTRA_SLICE_KEY, key)
181 Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); local
212 Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED); local
247 Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED); local
258 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED) local
267 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); local
273 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED) local
299 final Intent intent = new Intent(SettingsSliceProvider.ACTION_TOGGLE_CHANGED); local
339 final Intent intent = new Intent(SettingsSliceProvider.ACTION_SLIDER_CHANGED); 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...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbUserSettingsManager.java 23 import android.content.Intent;
204 private void requestPermissionDialog(Intent intent, String packageName, PendingIntent pi) {
219 intent.setClassName("com.android.systemui",
221 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
222 intent.putExtra(Intent.EXTRA_INTENT, pi);
223 intent.putExtra("package", packageName);
224 intent.putExtra(Intent.EXTRA_UID, uid)
235 Intent intent = new Intent(); local
267 Intent intent = new Intent(); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
TelephonyTester.java 21 import android.content.Intent;
64 * Test-only intent used to send a test conference event package to the IMS framework.
70 * Test-only intent used to send a test dialog event package to the IMS framework.
84 * Test-only intent used to trigger supp service notification failure.
91 * Test-only intent used to trigger the signalling which occurs when a handover to WIFI fails.
97 * Test-only intent used to trigger signalling of a
123 private Intent mServiceStateTestIntent;
127 // The static intent receiver one for all instances and we assume this
131 public void onReceive(Context context, Intent intent) {
    [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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 27 import android.content.Intent;
110 public void onReceive(Context context, Intent intent) {
112 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID);
119 public void onReceive(Context context, Intent intent) {
134 move.packageName = extras.getString(Intent.EXTRA_PACKAGE_NAME);
135 move.label = extras.getString(Intent.EXTRA_TITLE);
481 final PendingIntent intent; local
483 intent = buildWizardMovePendingIntent(move)
530 final PendingIntent intent; local
590 final Intent intent = new Intent(); local
606 final Intent intent = new Intent(); local
622 final Intent intent = new Intent(); local
643 final Intent intent = vol.buildBrowseIntentForUser(vol.getMountUserId()); local
651 final Intent intent = new Intent(); local
677 final Intent intent = new Intent(ACTION_SNOOZE_VOLUME); local
687 final Intent intent = new Intent(); local
698 final Intent intent = new Intent(); local
717 final Intent intent = new Intent(); local
732 final Intent intent = new Intent(); local
    [all...]
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
ActivityTransitionTest.java 20 import android.content.Intent;
91 Intent intent = new Intent(mActivity, ActivityTransitionActivity.class);
92 intent.putExtra(ActivityTransitionActivity.TEST,
94 intent.putExtra(ActivityTransitionActivity.LAYOUT_ID, R.layout.end);
95 intent.putExtra(ActivityTransitionActivity.RESULT_RECEIVER, mReceiver);
96 mActivity.startActivityForResult(intent, 0, options);
139 Intent intent = new Intent(mActivity, ActivityTransitionActivity.class)
    [all...]
  /packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
ActiveDeviceManagerTest.java 28 import android.content.Intent;
308 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); local
309 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
310 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_DISCONNECTED);
311 intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED);
312 mActiveDeviceManager.getBroadcastReceiver().onReceive(mContext, intent);
319 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED) local
330 Intent intent = new Intent(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); local
339 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
350 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); local
361 Intent intent = new Intent(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); local
370 Intent intent = new Intent(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED); local
    [all...]
  /frameworks/base/core/java/android/app/
Instrumentation.java 25 import android.content.Intent;
418 * (its class name is specified in the Intent that this method ultimately
420 * different process. In addition, if the given Intent resolves to
429 * @param intent Description of the activity to start.
432 * @see #startActivitySync(Intent, Bundle)
434 public Activity startActivitySync(Intent intent) {
435 return startActivitySync(intent, null /* options */);
443 * (its class name is specified in the Intent that this method ultimately
445 * different process. In addition, if the given Intent resolves t
1240 final Intent intent = aw.intent; local
2183 public final Intent intent; field in class:Instrumentation.ActivityWaiter
    [all...]
  /frameworks/support/browser/src/main/java/androidx/browser/browseractions/
BrowserActionsIntent.java 23 import android.content.Intent;
44 * Class holding the {@link Intent} and start bundle for a Browser Actions Activity.
52 // Used to verify that an URL intent handler exists.
96 * selected. The id of the chosen item will be notified through the data of its Intent.
140 * An {@link Intent} used to start the Browser Actions Activity.
142 @NonNull private final Intent mIntent;
145 * Gets the Intent of {@link BrowserActionsIntent}.
146 * @return the Intent of {@link BrowserActionsIntent}.
148 @NonNull public Intent getIntent() {
152 private BrowserActionsIntent(@NonNull Intent intent)
279 BrowserActionsIntent intent = new BrowserActionsIntent.Builder(context, uri).build(); local
295 BrowserActionsIntent intent = new BrowserActionsIntent.Builder(context, uri) local
351 Intent intent = local
    [all...]
  /frameworks/base/telephony/java/android/telephony/mbms/
MbmsDownloadReceiver.java 23 import android.content.Intent;
76 * Indicates that the intent sent had an invalid action. This will be the result if
77 * {@link Intent#getAction()} returns anything other than
88 * Indicates that the intent was missing some required extras.
142 public void onReceive(Context context, Intent intent) {
145 if (!verifyIntentContents(context, intent)) {
149 if (!Objects.equals(intent.getStringExtra(VendorUtils.EXTRA_TEMP_FILE_ROOT),
155 if (VendorUtils.ACTION_DOWNLOAD_RESULT_INTERNAL.equals(intent.getAction())) {
156 moveDownloadedFile(context, intent);
    [all...]

Completed in 701 milliseconds

<<21222324252627282930>>