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

<<41424344454647484950>>

  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationActionUtils.java 25 import android.content.Intent;
193 * @param notificationIntent The {@link Intent} used when the notification is clicked
199 final Intent notificationIntent, final NotificationCompat.Builder notification,
219 // Use a different intent for wear because it triggers different set of behavior:
351 final Folder folder, final Intent notificationIntent,
365 final Intent intent = createReplyIntent(context, account, messageUri, false); local
366 intent.setPackage(context.getPackageName());
367 intent.setData(conversation.uri);
368 intent.putExtra(ComposeActivity.EXTRA_NOTIFICATION_FOLDER, folder)
379 final Intent intent = createReplyIntent(context, account, messageUri, true); local
392 final Intent intent = new Intent(intentAction); local
402 final Intent intent = new Intent(intentAction); local
435 final Intent intent = createReplyIntent(context, account, messageUri, local
453 final Intent intent = new Intent(intentAction); local
475 final Intent intent = ComposeActivity.createReplyIntent(context, account, messageUri, local
722 final Intent intent = new Intent(NotificationActionIntentService.ACTION_UNDO_TIMEOUT); local
872 final Intent intent = new Intent(MailIntentService.ACTION_RESEND_NOTIFICATIONS); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierSignalAgent.java 22 import android.content.Intent;
54 * repeated polling and send the intent to the interested receivers.
74 * This is a map of intent action -> set of component name of statically registered
85 * This is a map of intent action -> set of component name of dynamically registered
108 public void onReceive(Context context, Intent intent) {
109 String action = intent.getAction();
149 Intent intent = new Intent(TelephonyIntent
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
BeamShareActivity.java 29 import android.content.Intent;
65 Intent mLaunchIntent;
151 public void parseShareIntentAndFinish(Intent intent) {
152 if (intent == null || intent.getAction() == null ||
153 (!intent.getAction().equalsIgnoreCase(Intent.ACTION_SEND) &&
154 !intent.getAction().equalsIgnoreCase(Intent.ACTION_SEND_MULTIPLE))) return
    [all...]
  /packages/services/Car/TrustAgent/src/com/android/car/trust/
CarBleTrustAgent.java 26 import android.content.Intent;
77 public void onReceive(Context context, Intent intent) {
78 String action = intent.getAction();
85 byte[] token = intent.getByteArrayExtra(INTENT_EXTRA_ESCROW_TOKEN);
88 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1);
91 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1);
127 Intent intent = new Intent(this, CarUnlockService.class) local
281 Intent intent = new Intent(); local
294 Intent intent = new Intent(); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BroadcastQueue.java 37 import android.content.Intent;
119 final Intent[] mBroadcastSummaryHistory = new Intent[MAX_BROADCAST_SUMMARY_HISTORY];
142 * Intent broadcasts that we have tried to start, but are
240 * Find the same intent from queued parallel broadcast, replace with a new one and return
248 * Find the same intent from queued ordered broadcast, replace with a new one and return
257 final Intent intent = r.intent; local
260 if (old.userId == r.userId && intent.filterEquals(old.intent))
746 final Intent intent = new Intent(Intent.ACTION_REVIEW_PERMISSIONS); local
1709 Intent intent = mBroadcastSummaryHistory[ringIndex]; local
    [all...]
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
ConnectActivity.java 16 import android.content.Intent;
138 // If an implicit VIEW intent is launching the app, go directly to that URL.
139 final Intent intent = getIntent(); local
140 if ("android.intent.action.VIEW".equals(intent.getAction())
143 boolean loopback = intent.getBooleanExtra(
145 int runTimeMs = intent.getIntExtra(
164 Intent intent = new Intent(this, SettingsActivity.class) local
347 Intent intent = new Intent(this, CallActivity.class); local
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockContext.java 26 import android.content.Intent;
312 public void startActivity(Intent intent) {
317 public void startActivity(Intent intent, Bundle options) {
318 startActivity(intent);
322 public void startActivities(Intent[] intents) {
327 public void startActivities(Intent[] intents, Bundle options) {
332 public void startIntentSender(IntentSender intent,
333 Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactSelectionActivity.java 21 import android.content.Intent;
117 // Extract relevant information from the intent
328 fragment.setShortcutAction(Intent.ACTION_CALL);
336 fragment.setShortcutAction(Intent.ACTION_SENDTO);
524 public void onShortcutIntentCreated(Intent intent) {
525 returnPickerResult(intent);
543 public void onShortcutIntentCreated(Intent intent) {
544 returnPickerResult(intent);
556 Intent intent = new Intent(null, contactUri); local
578 final Intent intent = new Intent(); local
590 final Intent intent = new Intent(); local
639 Intent intent = new Intent(); local
658 Intent intent = getIntent(); local
672 Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
AccessPermissionWithDiffSigTest.java 25 import android.content.Intent;
93 Intent intent = item.getIntent(); local
94 uri = intent.getData();
98 ClipData intentClip = intent.getClipData();
183 Intent intent = item.getIntent(); local
184 uri = intent.getData();
188 ClipData intentClip = intent.getClipData();
282 // Intent
284 Intent intent = new Intent(Intent.ACTION_VIEW, grantClip4Uri); local
296 Intent intent = new Intent(); local
505 Intent intent = new Intent(); local
594 Intent intent = new Intent(); local
604 Intent intent = new Intent(); local
615 Intent intent = new Intent(); local
635 Intent intent = item.getIntent(); local
747 Intent intent = item.getIntent(); local
1373 Intent intent = new Intent(); local
    [all...]
  /art/test/596-app-images/src/
Main.java 65 assertEqual(intern, StaticInternString.intent, "Static encoded literal String not interned.");
70 Field f = StaticInternString.class.getDeclaredField("intent");
138 final public static String intent = "java.abc.Action"; field in class:StaticInternString
140 return intent;
149 final public static String intent = "java.abc.Action"; field in class:StaticInternString2
152 return intent;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResult.java 22 import android.content.Intent;
71 private static Intent createResult(Activity activity, int testResult, String testName,
73 Intent data = new Intent(activity, activity.getClass());
78 public static void addResultData(Intent intent, int testResult, String testName,
80 intent.putExtra(TEST_NAME, testName);
81 intent.putExtra(TEST_RESULT, testResult);
82 intent.putExtra(TEST_DETAILS, testDetails);
83 intent.putExtra(TEST_METRICS, reportLog)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
SampleTestActivity.java 26 import android.content.Intent;
93 * Creates a temporary file containing the test string and then issues the intent to share it.
109 // Create the share intent.
110 Intent intent = new Intent(); local
111 intent.setAction(Intent.ACTION_SEND);
112 intent.setType("text/plain");
113 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file))
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskHostDrivenTest.java 25 import android.content.Intent;
116 Intent intent = new Intent(); local
117 intent.setClassName(PACKAGE_NAME, LOCK_TASK_ACTIVITY);
118 intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
119 intent.putExtra(LockTaskUtilityActivity.START_LOCK_TASK, true);
120 mContext.startActivity(intent);
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
SuspendPackageTest.java 1 package com.android.cts.intent.sender;
4 import android.content.Intent;
36 private static final String INTENT_RECEIVER_PKG = "com.android.cts.intent.receiver";
38 = "com.android.cts.intent.receiver.SimpleIntentReceiverActivity";
67 Intent intent = new Intent(); local
68 intent.setClassName(INTENT_RECEIVER_PKG, TARGET_ACTIVITY_NAME);
69 Intent result = mActivity.getResult(intent);
    [all...]
  /cts/tests/tests/accounts/common/src/android/accounts/cts/common/
TestAccountAuthenticator.java 33 import android.content.Intent;
83 Intent eventualActivityResultData = new Intent();
86 // Fill result with Intent.
87 Intent intent = new Intent(mContext, TestAuthenticatorActivity.class); local
88 intent.putExtra(Fixtures.KEY_RESULT, eventualActivityResultData);
89 intent.putExtra(Fixtures.KEY_CALLBACK, response);
91 result.putParcelable(AccountManager.KEY_INTENT, intent);
133 Intent intent = new Intent(mContext, TestAuthenticatorActivity.class); local
188 Intent intent = new Intent(mContext, TestAuthenticatorActivity.class); local
242 Intent intent = new Intent(mContext, TestAuthenticatorActivity.class); local
282 Intent intent = new Intent(mContext, TestAuthenticatorActivity.class); local
    [all...]
  /cts/tests/tests/assist/testapp/src/android/assist/testapp/
TextViewActivity.java 23 import android.content.Intent;
68 sendBroadcast(new Intent(Utils.APP_3P_HASRESUMED));
83 public void onReceive(Context context, Intent intent) {
85 scrollX = intent.getIntExtra(Utils.SCROLL_X_POSITION, 0);
86 scrollY = intent.getIntExtra(Utils.SCROLL_Y_POSITION, 0);
87 if (intent.getAction().equals(Utils.SCROLL_TEXTVIEW_ACTION)) {
96 } else if (intent.getAction().equals(Utils.SCROLL_SCROLLVIEW_ACTION)) {
  /cts/tests/tests/content/src/android/content/pm/cts/
ResolveInfoTest.java 21 import android.content.Intent;
30 private static final String MAIN_ACTION_NAME = "android.intent.action.MAIN";
39 Intent intent = new Intent(MAIN_ACTION_NAME); local
40 intent.setComponent(new ComponentName(PACKAGE_NAME, ACTIVITY_NAME));
41 ResolveInfo resolveInfo = pm.resolveActivity(intent, 0);
53 Intent intent = new Intent(SERVICE_NAME) local
    [all...]
  /cts/tests/tests/externalservice/service/src/android/externalservice/service/
ServiceCreator.java 22 import android.content.Intent;
49 Intent intent = new Intent();
50 intent.setComponent(new ComponentName(pkgName, pkgName+".ExternalService"));
52 boolean result = context.bindService(intent, conn,
73 public IBinder onBind(Intent intent) {
74 Log.d(TAG, "onBind " + intent);
  /cts/tests/tests/telecom/src/android/telecom/cts/
TelecomAvailabilityTest.java 22 import android.content.Intent;
78 final Intent intent = new Intent(Intent.ACTION_CALL, Uri.fromParts("tel", "1234567", null)); local
80 mPackageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
108 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); local
109 assertNotNull(intent);
112 mPackageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY)
    [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
TargetActivity.java 21 import android.content.Intent;
55 Intent intent = getIntent(); local
59 if (intent != null) {
60 layoutId = intent.getIntExtra(EXTRA_LAYOUT_ID, layoutId);
61 useAnimator = intent.getBooleanExtra(EXTRA_USE_ANIMATOR, false);
62 excludeId = intent.getIntExtra(EXTRA_EXCLUDE_ID, 0);
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/
MultiplePartitionsActivity.java 19 import android.content.Intent;
53 public static Intent getStartActivityIntent(Context context) {
54 Intent intent = new Intent(context, MultiplePartitionsActivity.class); local
55 return intent;
78 Intent intent = getIntent(); local
79 if (intent != null) {
80 int newType = intent.getIntExtra("dateType", -1)
    [all...]
  /developers/build/prebuilts/gradle/DoneBar/Application/src/main/java/com/example/android/donebar/
MainActivity.java 21 import android.content.Intent;
59 startActivity(mSamples[position].intent);
96 Intent intent; field in class:MainActivity.Sample
98 private Sample(int titleResId, int descriptionResId, Intent intent) {
99 this.intent = intent;
107 new Intent(MainActivity.this, activityClass));
  /developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/
CheckInAndDeleteDataItemsService.java 26 import android.content.Intent;
64 protected void onHandleIntent(Intent intent) {
65 if (ACTION_CHECK_IN.equals(intent.getAction())) {
72 } else if (!ACTION_DELETE_DATA_ITEM.equals(intent.getAction())) {
74 // (which causes an intent with ACTION_DELETE_DATA_ITEM).
75 Log.e(TAG, "Unrecognized action: " + intent.getAction());
82 Uri dataItemUri = intent.getData();
105 Intent confirmationActivity = new Intent(this, ConfirmationActivity.class
    [all...]
  /developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
MainActivity.java 21 import android.content.Intent;
57 startActivity(mSamples[position].intent);
94 Intent intent; field in class:MainActivity.Sample
96 private Sample(int titleResId, int descriptionResId, Intent intent) {
97 this.intent = intent;
105 new Intent(MainActivity.this, activityClass));
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DismissListener.java 21 import android.content.Intent;
71 public int onStartCommand(Intent intent, int flags, int startId) {
72 if (null != intent) {
73 String action = intent.getAction();
77 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1);
83 return super.onStartCommand(intent, flags, startId);

Completed in 924 milliseconds

<<41424344454647484950>>