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

1 2 3 45 6 7 8 91011>>

  /packages/apps/DocumentsUI/src/com/android/documentsui/files/
LauncherActivity.java 25 import android.content.Intent;
71 Intent intent = findTask(activities); local
72 if (intent != null) {
73 if (restoreTask(intent)) {
86 private @Nullable Intent findTask(ActivityManager activities) {
89 Intent intent = task.getTaskInfo().baseIntent; local
90 Uri uri = intent.getData();
92 return intent;
99 Intent intent = createLaunchIntent(this); local
133 Intent intent = new Intent(activity, FilesActivity.class); local
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
MenuHelper.java 25 import android.content.Intent;
80 private static void startCameraActivity(Activity activity, Intent intent,
82 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
83 intent.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
84 intent.setClassName(activity.getPackageName(), className);
91 activity.startActivity(intent);
93 intent.setComponent(null)
122 Intent intent = new Intent(MediaStore.INTENT_ACTION_VIDEO_CAMERA); local
128 Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); local
152 Intent intent = new Intent(Intent.ACTION_VIEW, target); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleInsecureConnectionPriorityClientTestActivity.java 19 import android.content.Intent;
27 Intent intent = new Intent(BleInsecureConnectionPriorityClientTestActivity.this, local
29 startService(intent);
35 stopService(new Intent(this, BleConnectionPriorityClientService.class));
  /cts/tests/tests/content/src/android/content/cts/
HighPriorityBroadcastReceiver.java 20 import android.content.Intent;
25 public synchronized void onReceive(Context context, Intent intent) {
26 super.onReceive(context, intent);
ResultReceiver.java 21 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
35 mReceivedBroadCast = MOCK_ACTION.equals(intent.getAction());
  /cts/tests/tests/tv/src/android/tv/settings/cts/
SettingsLeanbackTest.java 20 import android.content.Intent;
33 "android.intent.category.LEANBACK_SETTINGS";
56 * category intent.
64 Intent intent = new Intent(Intent.ACTION_MAIN); local
65 intent.addCategory(Intent.CATEGORY_LEANBACK_LAUNCHER);
66 assertIntentCanBeHandled(intent);
79 Intent intent = new Intent(Intent.ACTION_MAIN); local
    [all...]
  /development/samples/Home/src/com/example/android/home/
ApplicationInfo.java 20 import android.content.Intent;
24 * Represents a launchable application. An application is made of a name (or title), an intent
34 * The intent used to start the application.
36 Intent intent; field in class:ApplicationInfo
49 * Creates the application intent based on a component name and various launch flags.
51 * @param className the class name of the component representing the intent
55 intent = new Intent(Intent.ACTION_MAIN)
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/notifier/
NotifierService.java 19 import android.content.Intent;
34 protected void onHandleIntent(Intent intent) {
37 Log.i(TAG, "Contact opened: " + intent.getData());
  /external/libmojo/base/android/java/src/org/chromium/base/
PowerStatusReceiver.java 9 import android.content.Intent;
15 * It's instantiated by the framework via the application intent-filter
20 public void onReceive(Context context, Intent intent) {
21 PowerMonitor.onBatteryChargingChanged(intent);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptsLiveFolder.java 21 import android.content.Intent;
22 import android.content.Intent.ShortcutIconResource;
38 final Intent intent = getIntent(); local
39 final String action = intent.getAction();
48 private Intent createLiveFolder(Context context, Uri uri, String name, int icon) {
49 final Intent intent = new Intent(); local
50 intent.setData(uri)
    [all...]
  /frameworks/base/core/java/android/print/
IPrintClient.aidl 29 void startPrintJobConfigActivity(in IntentSender intent);
  /packages/apps/Email/provider_src/com/android/email/service/
EmailBroadcastReceiver.java 21 import android.content.Intent;
28 public void onReceive(Context context, Intent intent) {
29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PackagesMonitor.java 22 import android.content.Intent;
38 public void onReceive(final Context context, final Intent intent) {
39 intent.setClass(context, AsyncService.class);
40 context.startService(intent);
49 protected void onHandleIntent(Intent intent) {
50 onReceiveAsync(this, intent);
55 private static void onReceiveAsync(Context context, Intent intent) {
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/receiver/
SmsDeliverReceiver.java 21 import android.content.Intent;
28 public void onReceive(final Context context, final Intent intent) {
29 SmsReceiver.deliverSmsIntent(context, intent);
  /packages/services/Telephony/tests/src/com/android/phone/tests/
SendInstantTextTestService.java 20 import android.content.Intent;
37 showMessageWithToast((Intent) msg.obj);
46 protected void onHandleIntent(Intent intent) {
47 String action = intent.getAction();
48 Uri uri = intent.getData();
49 String message = intent.getStringExtra(Intent.EXTRA_TEXT);
54 mHandler.sendMessageDelayed(Message.obtain(mHandler, 0, intent), 5 * 1000);
57 private void showMessageWithToast(Intent intent)
    [all...]
  /cts/tests/tests/libcorefileio/src/android/cts/
LockHoldingService.java 20 import android.content.Intent;
102 public IBinder onBind(Intent intent) {
107 public int onStartCommand(Intent intent, int flags, int startID) {
109 if (intent.getBooleanExtra(LOCK_BEHAVIOR_RELEASE_AND_NOTIFY_KEY, false)) {
110 acquireLockAndThenWaitThenRelease(intent);
112 acquireLock(intent);
123 private void acquireLock(Intent intent) throws IOException
185 Intent intent = new Intent() local
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
ClearTop.java 20 import android.content.Intent;
33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( local
35 startActivity(intent);
39 public void onNewIntent(Intent intent) {
41 if (LocalScreen.CLEAR_TASK.equals(intent.getAction())) {
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + inten
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BluetoothScanReceiver.java 22 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
35 Log.i(TAG, "Received scan results:" + intent);
36 Log.i(TAG, "ScanResults = " + intent.getParcelableArrayListExtra(
39 + intent.getIntExtra(BluetoothLeScanner.EXTRA_CALLBACK_TYPE, -1));
41 + intent.getIntExtra(BluetoothLeScanner.EXTRA_ERROR_CODE, -1));
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorTest.java 22 import android.content.Intent;
35 Intent intent = new Intent(); local
36 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class);
37 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
38 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.faces);
39 mActivity = (FaceDetectorStub) getInstrumentation().startActivitySync(intent);
  /cts/tests/tests/os/src/android/os/cts/
ClearTop.java 20 import android.content.Intent;
33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( local
35 startActivity(intent);
39 public void onNewIntent(Intent intent) {
41 if (LocalScreen.CLEAR_TASK.equals(intent.getAction())) {
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + inten
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
STKFrameworkTest.java 19 import android.content.Intent;
50 Intent intent = new Intent(); local
51 intent.setAction("com.android.internal.stk.command");
52 intent.putExtra("STK CMD", "test");
55 intent.setComponent(cn);
57 mContext.sendBroadcast(intent);
  /cts/tests/tests/telecom/src/android/telecom/cts/
MockPhoneAccountChangedReceiver.java 21 import android.content.Intent;
38 public void onReceive(Context context, Intent intent) {
40 if (TelecomManager.ACTION_PHONE_ACCOUNT_REGISTERED.equals(intent.getAction())) {
41 sIntentListener.onPhoneAccountRegistered(intent.getParcelableExtra(
44 intent.getAction())) {
45 sIntentListener.onPhoneAccountUnregistered(intent.getParcelableExtra(
  /cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
MainInteractionService.java 21 import android.content.Intent;
28 private Intent mIntent;
38 public int onStartCommand(Intent intent, int flags, int startId) {
40 mIntent = intent;
47 Log.wtf(TAG, "Can't start session because either intent is null or onReady() "
53 Intent intent = new Intent(); local
54 intent.setComponent(new ComponentName("android.voiceinteraction.testapp"
    [all...]
  /cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/
CaptureActivity.java 20 import android.content.Intent;
38 Intent intent = new Intent(); local
39 intent.setClassName("com.android.cts.holo", "android.holo.cts.ThemeTestActivity");
40 intent.putExtra("task", 2);
41 intent.putExtra("layoutAdapterMode", 1);
43 startActivityForResult(intent, requestCode);
47 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  /development/samples/ApiDemos/src/com/example/android/apis/nfc/
TechFilter.java 22 import android.content.Intent;
38 Intent intent = getIntent(); local
39 String action = intent.getAction();
41 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
48 public void onNewIntent(Intent intent) {
49 mText.setText("Discovered tag " + ++mCount + " with intent: " + intent);
    [all...]

Completed in 1956 milliseconds

1 2 3 45 6 7 8 91011>>