Searched refs:intent (Results 226 - 250 of 650) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGuestResumeSessionReceiver.java55 public void onReceive(Context context, Intent intent) { argument
56 String action = intent.getAction();
61 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
63 Log.e(TAG, intent + " sent to " + TAG + " without EXTRA_USER_HANDLE");
H A DSystemUIService.java35 public IBinder onBind(Intent intent) { argument
H A DSearchPanelView.java89 final Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
91 if (intent == null) return;
96 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
100 mContext.startActivityAsUser(intent, opts.toBundle(),
105 Log.w(TAG, "Activity not found for " + intent.getAction());
119 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
121 if (intent != null) {
122 ComponentName component = intent.getComponent();
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaProjectionPermissionActivity.java56 Intent intent = getIntent();
134 Intent intent = new Intent();
135 intent.putExtra(MediaProjectionManager.EXTRA_MEDIA_PROJECTION, projection.asBinder());
136 return intent;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DTakeScreenshotService.java55 public IBinder onBind(Intent intent) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java76 public void onReceive(Context context, Intent intent) {
77 String action = intent.getAction();
212 public void onReceive(Context context, Intent intent) { argument
213 final String action = intent.getAction();
H A DNextAlarmController.java60 public void onReceive(Context context, Intent intent) { argument
61 final String action = intent.getAction();
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyService.java58 public IBinder onBind(Intent intent) { argument
/frameworks/base/services/core/java/com/android/server/firewall/
H A DSenderPermissionFilter.java36 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, argument
H A DPortFilter.java44 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, argument
47 Uri uri = intent.getData();
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DIdleController.java116 Intent intent = new Intent(ACTION_TRIGGER_IDLE)
119 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
148 public void onReceive(Context context, Intent intent) { argument
149 final String action = intent.getAction();
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java93 public void sendBroadcast(Intent intent) { argument
94 mBroadcastIntents.add(intent);
98 public void sendOrderedBroadcast(Intent intent, String receiverPermission) { argument
99 mBroadcastIntents.add(intent);
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
H A DMainActivity.java98 private void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
101 temp.put("intent", intent);
109 Intent intent = (Intent) map.get("intent");
110 startActivity(intent);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java406 public Intent intent; field in class:PreferenceActivity.Header
485 if (intent != null) {
487 intent.writeToParcel(dest, flags);
508 intent = Intent.CREATOR.createFromParcel(in);
641 Intent intent = getIntent();
642 if (intent.getBooleanExtra(EXTRA_PREFS_SHOW_BUTTON_BAR, false)) {
669 if (intent.hasExtra(EXTRA_PREFS_SET_NEXT_TEXT)) {
670 String buttonText = intent.getStringExtra(EXTRA_PREFS_SET_NEXT_TEXT);
678 if (intent.hasExtra(EXTRA_PREFS_SET_BACK_TEXT)) {
679 String buttonText = intent
1494 addPreferencesFromIntent(Intent intent) argument
1549 onNewIntent(Intent intent) argument
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DSandman.java51 * Returns true if the specified dock app intent should be started.
54 public static boolean shouldStartDockApp(Context context, Intent intent) { argument
55 ComponentName name = intent.resolveActivity(context.getPackageManager());
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java84 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java151 public void onReceive(Context context, Intent intent) { argument
152 String action = intent.getAction();
155 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100);
157 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS,
160 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
162 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0);
213 setSaverMode(intent.getBooleanExtra(PowerManager.EXTRA_POWER_SAVE_MODE, false));
215 Slog.w(TAG, "unknown intent: " + intent);
/frameworks/base/services/core/java/com/android/server/
H A DServiceWatcher.java139 public void onReceive(Context context, Intent intent) {
140 String action = intent.getAction();
163 Intent intent = new Intent(mAction);
165 intent.setPackage(justCheckThisPackage);
167 List<ResolveInfo> rInfos = mPm.queryIntentServicesAsUser(intent,
214 if (D) Log.d(mTag, "Unable to query intent services for action: " + mAction);
237 Intent intent = new Intent(mAction);
238 intent.setPackage(packageName);
244 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceState.java47 int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) {
56 mIntent = intent;
46 GeofenceState(Geofence fence, long expireAt, int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) argument
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateService.java53 public void onReceive(Context context, Intent intent) {
55 if (webviewPackage.equals(intent.getDataString())) {
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java140 * the Home intent, wait for 2 seconds, and then return.
156 final Intent intent = intentForActivity(app);
157 if (intent == null) {
162 getContext().startActivity(intent);
169 // Send the "home" intent and wait 2 seconds for us to get there
256 final Intent intent = new Intent(Intent.ACTION_MAIN);
257 intent.setComponent(component);
258 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
259 intent.addFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
260 return intent;
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipManager.java71 * 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.
203 * receives a new call, it will send out an intent with the provided action
204 * string. The intent contains a call ID extra and an offer session
212 * intent to the caller with {@link #INCOMING_CALL_RESULT_CODE} as the
213 * result code and the intent t
428 isIncomingCallIntent(Intent intent) argument
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java215 Intent intent = new Intent(getAction());
216 intent.putExtra(TRIGGER_TIME, event.mTriggerTime);
218 PendingIntent.getBroadcast(mContext, 0, intent,
225 public synchronized void onReceive(Context context, Intent intent) { argument
227 String action = intent.getAction();
229 && intent.getExtras().containsKey(TRIGGER_TIME)) {
231 long triggerTime = intent.getLongExtra(TRIGGER_TIME, -1L);
234 log("onReceive: unrecognized intent: " + intent);
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompatSideChannelService.java31 * 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) { argument
47 if (intent.getAction().equals(NotificationManagerCompat.ACTION_BIND_SIDE_CHANNEL)) {
/frameworks/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java86 Intent intent = result.getParcelable(AccountManager.KEY_INTENT);
87 throw new AuthFailureError(intent);

Completed in 539 milliseconds

1234567891011>>