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

<<71727374757677787980>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NextAlarmControllerImpl.java 22 import android.content.Intent;
43 filter.addAction(Intent.ACTION_USER_SWITCHED);
63 public void onReceive(Context context, Intent intent) {
64 final String action = intent.getAction();
65 if (action.equals(Intent.ACTION_USER_SWITCHED)
  /frameworks/base/services/backup/java/com/android/server/backup/internal/
RunBackupReceiver.java 28 import android.content.Intent;
42 public void onReceive(Context context, Intent intent) {
43 if (RUN_BACKUP_ACTION.equals(intent.getAction())) {
56 Slog.e(TAG, "Run init intent cancelled");
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
SimChangeListener.java 24 import android.content.Intent;
100 public void onReceive(Context context, Intent intent) {
109 final String state = intent.getStringExtra(INTENT_KEY_ICC_STATE);
  /frameworks/base/services/core/java/com/android/server/firewall/
PortFilter.java 20 import android.content.Intent;
44 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
47 Uri uri = intent.getData();
  /frameworks/base/services/core/java/com/android/server/location/
GeofenceState.java 47 int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) {
56 mIntent = intent;
  /frameworks/base/services/core/java/com/android/server/timezone/
IntentHelperImpl.java 24 import android.content.Intent;
50 // The intent filter that triggers when package update events happen that indicate there may
64 packageIntentFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
72 packageIntentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED);
82 /** Sends an intent to trigger an update check. */
108 public void onReceive(Context context, Intent intent) {
109 Slog.d(TAG, "Received intent: " + intent.toString());
  /frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
ProcessErrorsTest.java 23 import android.content.Intent;
45 private final Intent mHomeIntent;
58 mHomeIntent = new Intent(Intent.ACTION_MAIN);
59 mHomeIntent.addCategory(Intent.CATEGORY_HOME);
60 mHomeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
140 * the Home intent, wait for 2 seconds, and then return.
156 final Intent intent = intentForActivity(app); local
157 if (intent == null)
256 final Intent intent = new Intent(Intent.ACTION_MAIN); local
    [all...]
  /frameworks/opt/net/voip/src/java/android/net/sip/
SipManager.java 21 import android.content.Intent;
71 * Key to retrieve the call ID from an incoming call intent.
78 * intent.
91 * Action string for the incoming call intent for the Phone app.
98 * Action string for the add-phone intent.
105 * Action string for the remove-phone intent.
113 * Action string for the SIP call option configuration changed intent.
213 * receives a new call, it will send out an intent with the provided action
214 * string. The intent contains a call ID extra and an offer session
221 * {@link PendingIntent#send(Context, int, Intent)} to send back th
486 Intent intent = new Intent(); local
    [all...]
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipWakeupTimer.java 23 import android.content.Intent;
215 Intent intent = new Intent(getAction()); local
216 intent.putExtra(TRIGGER_TIME, event.mTriggerTime);
218 PendingIntent.getBroadcast(mContext, 0, intent,
225 public synchronized void onReceive(Context context, Intent intent) {
227 String action = intent.getAction();
229 && intent.getExtras().containsKey(TRIGGER_TIME))
    [all...]
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DrawingTestHelper.java 23 import android.content.Intent;
44 final Intent intent = new Intent(context, DrawingTestActivity.class); local
50 intent,
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierSmsUtils.java 21 import android.content.Intent;
45 * @param intent that should match a CarrierSmsFilter
50 Context context, Phone phone, Intent intent) {
59 List<ResolveInfo> receivers = packageManager.queryIntentServices(intent, 0);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CarrierSignalAgentTest.java 18 import android.content.Intent;
75 Intent intent = new Intent(ACTION_CARRIER_SIGNAL_PCO_VALUE); local
83 mCarrierSignalAgentUT.notifyCarrierSignalReceivers(intent);
84 ArgumentCaptor<Intent> mCaptorIntent = ArgumentCaptor.forClass(Intent.class);
88 mContext.sendBroadcast(new Intent(CarrierConfigManager.ACTION_CARRIER_CONFIG_CHANGED));
93 mCarrierSignalAgentUT.notifyCarrierSignalReceivers(intent);
98 .when(mPackageManager).queryBroadcastReceivers((Intent) any(), anyInt())
119 Intent intent = new Intent(ACTION_CARRIER_SIGNAL_PCO_VALUE); local
    [all...]
  /frameworks/support/compat/java/android/support/v4/app/
NotificationCompatSideChannelService.java 21 import android.content.Intent;
31 * android manifest with an intent filter for the BIND_NOTIFICATION_SIDE_CHANNEL action.
38 * &lt;intent-filter&gt;
40 * &lt;/intent-filter&gt;
46 public IBinder onBind(Intent intent) {
47 if (intent.getAction().equals(NotificationManagerCompat.ACTION_BIND_SIDE_CHANNEL)) {
  /frameworks/support/compat/java/android/support/v4/net/
ConnectivityManagerCompat.java 30 import android.content.Intent;
132 public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager cm, Intent intent) {
133 final NetworkInfo info = intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
  /frameworks/support/customtabs/src/android/support/customtabs/
CustomTabsSessionToken.java 19 import android.content.Intent;
36 * Obtain a {@link CustomTabsSessionToken} from an intent. See {@link CustomTabsIntent.Builder}
37 * for ways to generate an intent for custom tabs.
38 * @param intent The intent to generate the token from. This has to include an extra for
42 public static CustomTabsSessionToken getSessionTokenFromIntent(Intent intent) {
43 Bundle b = intent.getExtras();
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
WizardExample4thStepFragment.java 17 import android.content.Intent;
68 Intent intent = new Intent(getActivity().getBaseContext(), local
70 startActivity(intent);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppFileProvider.java 20 import android.content.Intent;
46 public void onReceive(final Context context, Intent intent) {
47 if (Intent.ACTION_USER_UNLOCKED.equals(intent.getAction())) {
68 userFilter.addAction(Intent.ACTION_USER_UNLOCKED);
92 * to an {@link Intent} by calling {@link Intent#setData(Uri) setData()} and then
93 * {@link Intent#setFlags(int) setFlags()}; in both cases, the applicable flags are
94 * {@link Intent#FLAG_GRANT_READ_URI_PERMISSION} an
    [all...]
  /packages/apps/Car/Dialer/src/com/android/car/dialer/
UiBluetoothMonitor.java 24 import android.content.Intent;
105 public void onReceive(Context context, Intent intent) {
107 Log.d(TAG, "Bluetooth broadcast intent action received: " + intent.getAction());
  /packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
CellBroadcastActivityTestCase.java 22 import android.content.Intent;
72 protected Intent createActivityIntent() {
73 Intent intent = new Intent(); local
74 return intent;
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountFilterUtil.java 26 import android.content.Intent;
72 * {@link Fragment#startActivityForResult(Intent, int)}.
74 * @param requestCode requestCode for {@link Activity#startActivityForResult(Intent, int)}
81 final Intent intent = new Intent(activity, AccountFilterActivity.class); local
82 fragment.startActivityForResult(intent, requestCode);
95 ContactListFilterController filterController, int resultCode, Intent data) {
184 * Start editor intent; and if filter is an account filter, we pass account info to editor so
187 public static void startEditorIntent(Context context, Intent src, ContactListFilter filter)
    [all...]
PermissionsUtil.java 23 import android.content.Intent;
80 * public void onReceive(Context context, Intent intent) {
88 * granted by inspecting {@link Intent#getAction()}.
105 final Intent intent = new Intent(permission); local
106 LocalBroadcastManager.getInstance(context).sendBroadcast(intent);
  /packages/apps/Contacts/src/com/android/contacts/vcard/
ExportProcessor.java 22 import android.content.Intent;
287 final Intent intent = new Intent(); local
288 intent.setClassName(mService, mCallingActivity);
291 description, intent);
297 * Pass intent with ACTION_SEND to notification so that user can press the notification to
303 final Intent intent = new Intent(Intent.ACTION_SEND) local
    [all...]
  /packages/apps/DeskClock/src/com/android/alarmclock/
AnalogAppWidgetProvider.java 24 import android.content.Intent;
38 public void onReceive(Context context, Intent intent) {
39 super.onReceive(context, intent);
67 final Intent openApp = new Intent(context, DeskClock.class);
  /packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
VideoCallNotAvailablePrompt.java 22 import android.content.Intent;
70 Intent intent = local
74 DialerUtils.startActivityWithErrorToast(context, intent);
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DemoProvider.java 21 import android.content.Intent;
94 Intent intent = new Intent("com.android.documentsui.test.action.AUTHENTICATE"); local
96 AbstractActionHandler.CODE_AUTHENTICATION, intent, 0);

Completed in 1103 milliseconds

<<71727374757677787980>>