Searched refs:intent (Results 176 - 200 of 1110) sorted by relevance

1234567891011>>

/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/core/java/com/android/internal/policy/
H A DPhoneFallbackEventHandler.java125 Intent intent = new Intent(Intent.ACTION_VOICE_COMMAND);
126 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
129 mContext.startActivity(intent);
152 // Broadcast an intent that the Camera button was longpressed
153 Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null);
154 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
155 intent.putExtra(Intent.EXTRA_KEY_EVENT, event);
156 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF,
178 Intent intent = new Intent(Intent.ACTION_SEARCH_LONG_PRESS);
179 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/statusbar/car/
H A DCarNavigationBarController.java100 Log.e(TAG, "Malformed persistent task intent.");
229 Intent intent = new Intent();
230 intent.setPackage(packageName);
231 intent.setAction(Intent.ACTION_MAIN);
232 intent.addCategory(category);
233 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0);
273 Intent intent = new Intent();
274 intent.setAction(Intent.ACTION_MAIN);
275 intent.addCategory(category);
276 count += pm.queryIntentActivities(intent,
361 onFacetClicked(Intent intent, int index) argument
392 onFacetLongClicked(Intent intent, int index) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIAppTask.aidl29 in Intent intent, String resolvedType, in Bundle options);
/frameworks/base/core/java/android/content/
H A DIIntentSender.aidl25 void send(int code, in Intent intent, String resolvedType, in IBinder whitelistToken,
/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/support/fragment/tests/java/android/support/v4/app/test/
H A DNewIntentActivity.java41 public void onNewIntent(Intent intent) { argument
42 super.onNewIntent(intent);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DCategoryManagerTest.java128 tile1.intent =
132 tile2.intent =
136 tile3.intent =
161 tile1.intent =
165 tile2.intent =
169 tile3.intent =
194 tile1.intent =
198 tile2.intent =
202 tile3.intent =
228 tile1.intent
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DOffHostApduService.java96 * &lt;intent-filter&gt;
98 * &lt;/intent-filter&gt;
169 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/packages/Shell/tests/src/com/android/shell/
H A DActionSendMultipleConsumerActivity.java47 // The original intent cannot be broadcasted, it will fail due to security violations.
49 // intent with just them.
50 final Intent intent = getIntent();
52 customIntent.putExtras(intent.getExtras());
96 public void onReceive(Context context, Intent intent) {
98 mQueue.put(intent.getExtras());
111 * Gets the extras from the custom intent, blocking until it's received.
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaResourceMonitorService.java71 Intent intent = new Intent(Intent.ACTION_MEDIA_RESOURCE_GRANTED);
72 intent.putExtra(Intent.EXTRA_PACKAGES, pkgNames);
73 intent.putExtra(Intent.EXTRA_MEDIA_RESOURCE_TYPE, type);
75 getContext().sendBroadcastAsUser(intent, UserHandle.of(userId),
/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/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DWakeUpCall.java32 public void onReceive(Context context, Intent intent) { argument

Completed in 1470 milliseconds

1234567891011>>