Searched refs:intent (Results 101 - 125 of 713) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java54 * @param intent The Intent being received.
57 public void onReceive(Context context, Intent intent) { argument
60 String action = intent.getAction();
62 Bundle extras = intent.getExtras();
70 Bundle extras = intent.getExtras();
76 Bundle extras = intent.getExtras();
89 Bundle extras = intent.getExtras();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListEmptyViewTest.java73 Intent intent = new Intent();
74 intent.setClass(mActivity, ListWithEmptyView.class);
75 mActivity.startActivity(intent);
116 Intent intent = new Intent();
117 intent.setClass(mActivity, ListWithEmptyView.class);
118 mActivity.startActivity(intent);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothEventManager.java57 void onReceive(Context context, Intent intent, BluetoothDevice device); argument
139 public void onReceive(Context context, Intent intent) {
140 String action = intent.getAction();
141 BluetoothDevice device = intent
146 handler.onReceive(context, intent, device);
152 public void onReceive(Context context, Intent intent, argument
154 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
175 public void onReceive(Context context, Intent intent, argument
187 public void onReceive(Context context, Intent intent, argument
189 short rssi = intent
209 onReceive(Context context, Intent intent, BluetoothDevice device) argument
234 onReceive(Context context, Intent intent, BluetoothDevice device) argument
252 onReceive(Context context, Intent intent, BluetoothDevice device) argument
259 onReceive(Context context, Intent intent, BluetoothDevice device) argument
333 onReceive(Context context, Intent intent, BluetoothDevice device) argument
340 onReceive(Context context, Intent intent, BluetoothDevice device) argument
347 onReceive(Context context, Intent intent, BluetoothDevice device) argument
365 onReceive(Context context, Intent intent, BluetoothDevice device) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DMasterClearReceiver.java38 public void onReceive(final Context context, final Intent intent) { argument
39 if (intent.getAction().equals(Intent.ACTION_REMOTE_INTENT)) {
40 if (!"google.com".equals(intent.getStringExtra("from"))) {
46 final boolean shutdown = intent.getBooleanExtra("shutdown", false);
47 final String reason = intent.getStringExtra(Intent.EXTRA_REASON);
48 final boolean wipeExternalStorage = intent.getBooleanExtra(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsStorageMonitor.java53 /** Wake lock to ensure device stays awake while dispatching the SMS intent. */
144 // broadcast SIM_FULL intent
145 Intent intent = new Intent(Intents.SIM_FULL_ACTION);
147 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId());
148 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS);
158 public void onReceive(Context context, Intent intent) {
159 if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_FULL)) {
162 } else if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_NOT_FULL)) {
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportReceiver.java65 private static final String EXTRA_BUGREPORT = "android.intent.extra.BUGREPORT";
66 private static final String EXTRA_SCREENSHOT = "android.intent.extra.SCREENSHOT";
80 public void onReceive(Context context, Intent intent) { argument
82 final File bugreportFile = getFileExtra(intent, EXTRA_BUGREPORT);
83 final File screenshotFile = getFileExtra(intent, EXTRA_SCREENSHOT);
104 * "share" intent with the bug report. On watches we have other methods to allow the user to
105 * start this intent (usually by triggering it on another connected device); we don't need to
126 final Intent intent = new Intent(context, BugreportWarningActivity.class);
127 intent.putExtra(Intent.EXTRA_INTENT, sendIntent);
128 return intent;
271 getFileExtra(Intent intent, String key) argument
[all...]
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java142 public void onReceive(Context context, Intent intent) {
143 String action = intent.getAction();
146 if (intent.getBooleanExtra(EXTRA_INITIATED_BY_USER, false)) {
149 if (intent.getBooleanExtra(EXTRA_DISMISS_KEYGUARD, false)) {
154 grantTrust(intent.getStringExtra(EXTRA_MESSAGE),
155 intent.getLongExtra(EXTRA_DURATION, 0), flags);
167 Intent intent = new Intent(ACTION_GRANT_TRUST);
168 intent.putExtra(EXTRA_MESSAGE, message);
169 intent.putExtra(EXTRA_DURATION, durationMs);
170 intent
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
H A DSearchablesTest.java272 public void sendBroadcast(Intent intent) { argument
273 mRealContext.sendBroadcast(intent);
312 * Find activities that support a given intent.
314 * Retrieve all activities that can be performed for the given intent.
316 * @param intent The desired intent as per resolveActivity().
328 public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { argument
329 assertNotNull(intent);
330 assertTrue(intent.getAction().equals(Intent.ACTION_SEARCH)
331 || intent
344 resolveActivity(Intent intent, int flags) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java104 public void onReceive(Context context, Intent intent) {
106 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID);
113 public void onReceive(Context context, Intent intent) {
452 final PendingIntent intent;
454 intent = buildWizardMovePendingIntent(move);
456 intent = buildWizardMigratePendingIntent(move);
464 .setContentIntent(intent)
499 final PendingIntent intent;
501 intent = buildWizardReadyPendingIntent(privateVol.getDisk());
503 intent
[all...]
/frameworks/base/core/java/android/app/
H A DIAppTask.aidl29 in Intent intent, String resolvedType, in Bundle options);
/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsFactory.aidl26 oneway void onDestroy(in Intent intent);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DAbortReceiver.java33 public void onReceive(Context context, Intent intent) argument
37 IBinder caller = intent.getIBinderExtra("caller");
H A DResultReceiver.java34 public void onReceive(Context context, Intent intent) argument
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DDeviceDisconnectedReceiver.java44 public void onReceive(Context context, Intent intent) { argument
45 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerProvider.java34 Intent intent = new Intent(mContext, PrintSpoolerService.class);
35 mContext.bindService(intent, this, 0);
/frameworks/base/services/core/java/com/android/server/firewall/
H A DAndFilter.java28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, argument
31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
H A DCategoryFilter.java37 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, argument
39 Set<String> categories = intent.getCategories();
H A DOrFilter.java28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, argument
31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSchedulerService.java28 public int onStartCommand(Intent intent, int flags, int startId) { argument
46 public IBinder onBind(Intent intent) { argument
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestAlertActivity.java17 Intent intent = getIntent();
18 mId = intent.getIntExtra("id", -1);
/frameworks/base/core/java/android/nfc/cardemulation/
H A DOffHostApduService.java80 * &lt;intent-filter&gt;
82 * &lt;/intent-filter&gt;
153 public abstract IBinder onBind(Intent intent); argument
/frameworks/base/core/java/android/preference/
H A DPreferenceInflater.java40 private static final String INTENT_TAG_NAME = "intent";
71 Intent intent = null;
74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
82 if (intent != null) {
83 parentPreference.setIntent(intent);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DMountReceiver.java26 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserReceiver.java28 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModel.java108 Intent intent = new Intent();
109 intent.setAction(Intent.ACTION_PICK);
110 intent.setClassName("com.android.modelviewer",
112 startActivityForResult(intent, FIND_A3D_MODEL);

Completed in 653 milliseconds

1234567891011>>