HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 751 - 775 of 4230) sorted by null

<<31323334353637383940>>

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsStorageMonitor.java 21 import android.content.Intent;
53 /** Wake lock to ensure device stays awake while dispatching the SMS intent. */
87 filter.addAction(Intent.ACTION_DEVICE_STORAGE_FULL);
88 filter.addAction(Intent.ACTION_DEVICE_STORAGE_NOT_FULL);
144 // broadcast SIM_FULL intent
145 Intent intent = new Intent(Intents.SIM_FULL_ACTION); local
146 intent.setComponent(SmsApplication.getDefaultSimFullApplication(mContext, false));
148 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId())
    [all...]
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
SingleFragmentTestBase.java 18 import android.content.Intent;
45 * Options that will be passed throught Intent to SingleFragmentTestActivity
64 public void collect(Intent intent) {
66 intent.putExtra(SingleFragmentTestActivity.EXTRA_ACTIVITY_LAYOUT,
70 intent.putExtra(SingleFragmentTestActivity.EXTRA_UI_VISIBILITY, mUiVisibility);
86 Intent intent = new Intent(); local
87 intent.putExtra(SingleFragmentTestActivity.EXTRA_FRAGMENT_NAME, firstFragmentName)
    [all...]
SingleSupportFragmentTestBase.java 21 import android.content.Intent;
48 * Options that will be passed throught Intent to SingleSupportFragmentTestActivity
67 public void collect(Intent intent) {
69 intent.putExtra(SingleSupportFragmentTestActivity.EXTRA_ACTIVITY_LAYOUT,
73 intent.putExtra(SingleSupportFragmentTestActivity.EXTRA_UI_VISIBILITY, mUiVisibility);
89 Intent intent = new Intent(); local
90 intent.putExtra(SingleSupportFragmentTestActivity.EXTRA_FRAGMENT_NAME, firstFragmentName)
    [all...]
  /packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
InCallServiceImpl.java 18 import android.content.Intent;
76 public IBinder onBind(Intent intent) {
78 Log.d(TAG, "onBind: " + intent);
81 return ACTION_LOCAL_BIND.equals(intent.getAction())
83 : super.onBind(intent);
101 Intent launchIntent = getPackageManager()
109 public boolean onUnbind(Intent intent) {
111 Log.d(TAG, "onUnbind, intent: " + intent)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/voicemail/
LegacyVoicemailNotificationReceiver.java 23 import android.content.Intent;
57 public void onReceive(Context context, Intent intent) {
73 Assert.isNotNull(intent.getParcelableExtra(TelephonyManager.EXTRA_PHONE_ACCOUNT_HANDLE));
74 int count = intent.getIntExtra(TelephonyManager.EXTRA_NOTIFICATION_COUNT, -1);
105 String voicemailNumber = intent.getStringExtra(TelephonyManager.EXTRA_VOICEMAIL_NUMBER);
107 intent.getParcelableExtra(TelephonyManager.EXTRA_CALL_VOICEMAIL_INTENT);
109 intent.getParcelableExtra(TelephonyManager.EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT);
119 intent.getBooleanExtra(EXTRA_IS_REFRESH, false));
  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorActionProvider.java 20 import android.content.Intent;
95 Intent intent = new Intent(VoicemailContract.ACTION_SYNC_VOICEMAIL);
96 context.sendBroadcast(intent);
107 Intent intent = new Intent(Intent.ACTION_SEND);
108 intent.setType("text/plain")
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/widget/
BugleWidgetProvider.java 22 import android.content.Intent;
35 "com.android.Bugle.intent.action.ACTION_NOTIFY_CONVERSATIONS_CHANGED";
75 // Launch an intent to avoid ANRs
76 final Intent intent = new Intent(context, WidgetConversationListService.class); local
77 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
78 intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME)))
111 final Intent intent = new Intent(ACTION_NOTIFY_CONVERSATIONS_CHANGED); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageWizardMigrateConfirm.java 19 import android.content.Intent;
87 final Intent intent = new Intent(this, StorageWizardReady.class); local
88 intent.putExtra(DiskInfo.EXTRA_DISK_ID,
90 startActivity(intent);
105 final Intent intent = new Intent(this, StorageWizardMigrateProgress.class); local
106 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, mVolume.getId())
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/
TagViewer.java 24 import android.content.Intent;
57 void resolveIntent(Intent intent) {
58 // Parse the intent
59 String action = intent.getAction();
62 Parcelable[] rawMsgs = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);
70 Log.e(TAG, "Unknown intent " + intent);
110 public void onNewIntent(Intent intent) {
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleClientService.java 36 import android.content.Intent;
329 public int onStartCommand(final Intent intent, int flags, int startId) {
336 onTestFinish(intent.getAction());
471 public IBinder onBind(Intent intent) {
637 Intent intent = new Intent(BLE_CLIENT_ERROR); local
638 sendBroadcast(intent);
642 Intent intent = new Intent(BLE_BLUETOOTH_MISMATCH_SECURE); local
647 Intent intent = new Intent(BLE_BLUETOOTH_MISMATCH_INSECURE); local
652 Intent intent = new Intent(BLE_BLUETOOTH_DISABLED); local
658 Intent intent = new Intent(BLE_BLUETOOTH_CONNECTED); local
664 Intent intent = new Intent(BLE_BLUETOOTH_DISCONNECTED); local
670 Intent intent = new Intent(BLE_SERVICES_DISCOVERED); local
675 Intent intent; local
688 Intent intent = new Intent(BLE_CHARACTERISTIC_READ); local
695 Intent intent = new Intent(BLE_CHARACTERISTIC_WRITE); local
701 Intent intent = new Intent(BLE_CHARACTERISTIC_READ_NOPERMISSION); local
707 Intent intent = new Intent(BLE_CHARACTERISTIC_WRITE_NOPERMISSION); local
713 Intent intent = new Intent(BLE_CHARACTERISTIC_READ_NEED_ENCRYPTED); local
719 Intent intent = new Intent(BLE_CHARACTERISTIC_WRITE_NEED_ENCRYPTED); local
725 Intent intent = new Intent(BLE_CHARACTERISTIC_CHANGED); local
731 Intent intent = new Intent(BLE_CHARACTERISTIC_INDICATED); local
737 Intent intent = new Intent(BLE_DESCRIPTOR_READ); local
744 Intent intent = new Intent(BLE_DESCRIPTOR_WRITE); local
750 Intent intent = new Intent(BLE_DESCRIPTOR_READ_NOPERMISSION); local
756 Intent intent = new Intent(BLE_DESCRIPTOR_WRITE_NOPERMISSION); local
762 Intent intent = new Intent(BLE_DESCRIPTOR_READ_NEED_ENCRYPTED); local
768 Intent intent = new Intent(BLE_DESCRIPTOR_WRITE_NEED_ENCRYPTED); local
774 Intent intent = new Intent(BLE_RELIABLE_WRITE_COMPLETED); local
780 Intent intent = new Intent(BLE_RELIABLE_WRITE_BAD_RESP_COMPLETED); local
789 Intent intent = new Intent(BLE_READ_REMOTE_RSSI); local
    [all...]
BleScannerHardwareScanFilterActivity.java 24 import android.content.Intent;
63 Intent intent = new Intent(BleScannerHardwareScanFilterActivity.this,
65 intent.putExtra(BleScannerService.EXTRA_COMMAND,
67 startService(intent);
75 Intent intent = new Intent(BleScannerHardwareScanFilterActivity.this,
77 intent.putExtra(BleScannerService.EXTRA_COMMAND
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
ShortcutThrottlingResetActivity.java 21 import android.content.Intent;
60 private final AtomicReference<Intent> mReplyIntent = new AtomicReference<>(null);
101 public void onReceive(Context context, Intent intent) {
102 Log.i(TAG, "Received reply from robot helper: " + intent);
103 mReplyIntent.set(intent);
140 final Intent intent = new Intent(ACTION_RESET_SETUP_NOTIFICATION); local
141 intent.setPackage(NOTIFICATION_BOT_PACKAGE)
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AuthActivity.java 21 import android.content.Intent;
51 * authentication to access. It bundles the result in an Intent.
59 private Intent mReplyIntent;
62 final Intent intent = new Intent(context, AuthActivity.class); local
63 return PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT)
68 final Intent intent = new Intent(context, AuthActivity.class) local
124 Intent intent = getIntent(); local
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialIntentService.java 21 import android.content.Intent;
56 protected void onHandleIntent(Intent intent) {
57 Log.d(TAG, "onHandleIntent(): " + intent);
59 if (intent != null) {
60 final String action = intent.getAction();
62 handleActionComment(getMessage(intent));
121 private CharSequence getMessage(Intent intent) {
122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
182 Intent intent = new Intent(this, BigPictureSocialIntentService.class); local
    [all...]
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AuthActivity.java 21 import android.content.Intent;
51 * authentication to access. It bundles the result in an Intent.
59 private Intent mReplyIntent;
62 final Intent intent = new Intent(context, AuthActivity.class); local
63 return PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT)
68 final Intent intent = new Intent(context, AuthActivity.class) local
124 Intent intent = getIntent(); local
    [all...]
  /developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
BigPictureSocialIntentService.java 21 import android.content.Intent;
56 protected void onHandleIntent(Intent intent) {
57 Log.d(TAG, "onHandleIntent(): " + intent);
59 if (intent != null) {
60 final String action = intent.getAction();
62 handleActionComment(getMessage(intent));
121 private CharSequence getMessage(Intent intent) {
122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
182 Intent intent = new Intent(this, BigPictureSocialIntentService.class); local
    [all...]
  /development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
BigPictureSocialIntentService.java 21 import android.content.Intent;
56 protected void onHandleIntent(Intent intent) {
57 Log.d(TAG, "onHandleIntent(): " + intent);
59 if (intent != null) {
60 final String action = intent.getAction();
62 handleActionComment(getMessage(intent));
121 private CharSequence getMessage(Intent intent) {
122 Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
182 Intent intent = new Intent(this, BigPictureSocialIntentService.class); local
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
BatteryManagerFacade.java 22 import android.content.Intent;
79 public void onReceive(Context context, Intent intent) {
80 mBatteryStatus = intent.getIntExtra("status", 1);
81 mBatteryHealth = intent.getIntExtra("health", 1);
82 mPlugType = intent.getIntExtra("plugged", -1);
85 intent.getBooleanExtra(getBatteryManagerFieldValue("EXTRA_PRESENT"), false);
86 mBatteryLevel = intent.getIntExtra(getBatteryManagerFieldValue("EXTRA_LEVEL"), -1);
87 mBatteryMaxLevel = intent.getIntExtra(getBatteryManagerFieldValue("EXTRA_SCALE"), 0);
88 mBatteryVoltage = intent.getIntExtra(getBatteryManagerFieldValue("EXTRA_VOLTAGE"), -1)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
LeakReporter.java 25 import android.content.Intent;
105 private Intent getIntent(File hprofFile, File dumpFile) {
109 Intent intent = new Intent(Intent.ACTION_SEND_MULTIPLE); local
112 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
113 intent.addCategory(Intent.CATEGORY_DEFAULT)
    [all...]
  /frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
UsbAoapDeviceTestActivity.java 22 import android.content.Intent;
63 Intent intent = getIntent(); local
64 if (intent.getAction().equals(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)) {
66 (UsbAccessory) intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY);
99 Intent intent = new Intent(ACTION_USB_ACCESSORY_PERMISSION); local
100 intent.setPackage(getPackageName());
102 this, 0, intent, PendingIntent.FLAG_ONE_SHOT)
    [all...]
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
LocalServiceBroadcaster.java 25 import android.content.Intent;
72 public void onReceive(Context context, Intent intent) {
73 if (intent.getAction().equals(ACTION_STARTED)) {
75 } else if (intent.getAction().equals(ACTION_UPDATE)) {
76 callbackData.setText("Got update: " + intent.getIntExtra("value", 0));
77 } else if (intent.getAction().equals(ACTION_STOPPED)) {
100 startService(new Intent(LocalServiceBroadcaster.this, LocalService.class));
107 stopService(new Intent(LocalServiceBroadcaster.this, LocalService.class));
123 Intent intent = new Intent(ACTION_UPDATE)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/beam/
BeamSendService.java 23 import android.content.Intent;
50 public void onReceive(Context context, Intent intent) {
51 String action = intent.getAction();
53 handleBluetoothStateChanged(intent);
82 public int onStartCommand(Intent intent, int flags, int startId) {
86 if (intent == null ||
87 (transferRecord = intent.getParcelableExtra(EXTRA_BEAM_TRANSFER_RECORD)) == null) {
93 mCompleteCallback = intent.getParcelableExtra(EXTRA_BEAM_COMPLETE_CALLBACK)
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
ReceiveUriService.java 22 import android.content.Intent;
39 public int onStartCommand(Intent intent, int flags, int startId) {
68 public IBinder onBind(Intent intent) {
73 Intent intent = new Intent(); local
74 intent.setComponent(new ComponentName(
77 context.stopService(intent);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
FaceDetector_FaceTest.java 22 import android.content.Intent;
36 Intent intent = new Intent(); local
37 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class);
38 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
39 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.single_face);
40 mActivity = (FaceDetectorStub) getInstrumentation().startActivitySync(intent);
  /cts/tests/tests/permission2/src/android/permission2/cts/
NoProcessOutgoingCallPermissionTest.java 21 import android.content.Intent;
42 Intent intent = new Intent(Intent.ACTION_CALL, uri); local
43 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
44 mContext.startActivity(intent);
63 Intent ntnt = mContext.registerReceiver(rcvr,
64 new IntentFilter(Intent.ACTION_NEW_OUTGOING_CALL))
    [all...]

Completed in 1498 milliseconds

<<31323334353637383940>>