HomeSort by relevance Sort by last modified time
    Searched defs:intent (Results 151 - 175 of 2642) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/services/Telephony/src/com/android/phone/
DataUsagePreference.java 21 import android.content.Intent;
64 public Intent getIntent() {
65 Intent intent = new Intent(Settings.ACTION_MOBILE_DATA_USAGE); local
66 intent.putExtra(SettingsDrawerActivity.EXTRA_SHOW_MENU, true);
68 intent.putExtra(Settings.EXTRA_NETWORK_TEMPLATE, mTemplate);
69 intent.putExtra(Settings.EXTRA_SUB_ID, mSubId);
71 return intent;
NetworkSelectSettingActivity.java 23 import android.content.Intent;
37 * Returns the Android Intent that led to this Activity being created.
39 public static Intent getIntent(Context context, int phoneId) {
40 Intent intent = new Intent(context, NetworkSelectSettingActivity.class); local
41 intent.putExtra(KEY_PHONE_ID, phoneId);
42 return intent;
SubscriptionInfoHelper.java 21 import android.content.Intent;
41 // Extra on intent containing the id of a subscription.
44 // Extra on intent containing the label of a subscription.
54 * Instantiates the helper, by extracting the subscription id and label from the intent.
56 public SubscriptionInfoHelper(Context context, Intent intent) {
59 intent.getParcelableExtra(TelephonyManager.EXTRA_PHONE_ACCOUNT_HANDLE);
64 mSubId = intent.getIntExtra(SUB_ID_EXTRA, SubscriptionManager.INVALID_SUBSCRIPTION_ID);
66 mSubLabel = intent.getStringExtra(SUB_LABEL_EXTRA);
70 * @param newActivityClass The class of the activity for the intent to start
74 Intent intent = new Intent(mContext, newActivityClass); local
    [all...]
  /packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
SideChannel.java 21 import android.content.Intent;
42 Intent intent = new Intent(ACTION_TRIGGER_CLEANUP); local
43 intent.setComponent(MIDDLEWARE_RECEIVER);
44 context.sendBroadcast(intent);
48 Intent intent = new Intent(ACTION_REQUEST_SPURIOUS_TEMP_FILES); local
49 intent.putExtra(EXTRA_SERVICE_INFO, serviceInfo)
55 Intent intent = new Intent(ACTION_DELAY_DOWNLOAD); local
    [all...]
  /prebuilts/misc/common/android-support-test/espresso/
espresso_intents_release_no_deps.jar 
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
BroadcastTestStartActivity.java 20 import android.content.Intent;
41 Intent intent = new Intent(); local
43 intent.putExtra(BroadcastUtils.TESTCASE_TYPE, testCaseType);
44 intent.setAction("android.intent.action.VIMAIN_" + testCaseType);
45 intent.setComponent(new ComponentName(pkg, cls));
46 startActivity(intent);
  /cts/tests/leanbackjank/src/android/leanbackjank/cts/
CtsDeviceLeanback.java 18 import android.content.Intent;
68 Intent intent = new Intent(Intent.ACTION_MAIN); local
69 intent.setComponent(new ComponentName(APP_PACKAGE, CLASS));
72 intent.putExtra(IntentKeys.SCROLL_DELAY, PRE_SCROLL_DELAY_MILLIS);
73 intent.putExtra(IntentKeys.SCROLL_COUNT, SCROLL_COUNT);
74 intent.putExtra(IntentKeys.SCROLL_INTERVAL, SCROLL_INTERVAL_MILLIS);
75 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
    [all...]
  /cts/tests/tests/alarmclock/src/android/alarmclock/cts/
TestStartActivity.java 21 import android.content.Intent;
42 Intent intent = new Intent(); local
44 intent.putExtra(Utils.TESTCASE_TYPE, testCaseType);
45 intent.setAction("android.intent.action.VIMAIN_" + testCaseType);
46 intent.setComponent(new ComponentName("android.alarmclock.service",
48 startActivity(intent);
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java 21 import android.content.Intent;
50 public void onReceive(Context context, Intent intent) {
89 Intent intent = new Intent(action); local
90 intent.setComponent(new ComponentName("android.content.cts",
92 intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(mTestFile));
93 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
HarmfulAppWarningActivity.java 21 import android.content.Intent;
50 final Intent intent = getIntent(); local
51 mPackageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME);
52 mTarget = intent.getParcelableExtra(Intent.EXTRA_INTENT);
53 mHarmfulAppWarning = intent.getStringExtra(EXTRA_HARMFUL_APP_WARNING);
56 Log.wtf(TAG, "Invalid intent: " + intent.toString())
117 final Intent intent = new Intent(); local
    [all...]
UnlaunchableAppActivity.java 19 import static android.content.Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS;
20 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
26 import android.content.Intent;
57 Intent intent = getIntent(); local
58 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1);
59 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
60 mTarget = intent.getParcelableExtra(Intent.EXTRA_INTENT)
105 Intent intent = new Intent(); local
112 Intent intent = createBaseIntent(); local
119 Intent intent = createInQuietModeDialogIntent(userId); local
    [all...]
  /frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
TargetPackageUtils.java 22 import android.content.Intent;
71 final Intent intent = new Intent(); local
72 intent.putExtra(Intent.EXTRA_RESULT_RECEIVER, new CountDownResultReceiver(countDownLatch));
73 intent.setClassName(PACKAGE_NAME, START_SERVICE_NAME);
74 final ServiceConnection serviceConnection = bindAndWaitForConnectedService(context, intent);
108 public static ServiceConnection bindAndWaitForConnectedService(Context context, Intent intent) {
    [all...]
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
Utils.java 19 import android.content.Intent;
65 Intent intent = new Intent(Intent.ACTION_MAIN); local
66 intent.setComponent(new ComponentName(PACKAGE, ELEMENT_LAYOUT_CLASS));
67 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
68 intent.putExtra(ElementLayoutActivity.NUM_ELEMENTS_KEY, numElements);
69 instrumentation.getTargetContext().startActivity(intent);
    [all...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
AccountImageHelper.java 21 import android.content.Intent;
22 import android.content.Intent.ShortcutIconResource;
99 final Intent intent = new Intent(); local
100 intent.setClassName(servicePackageName, serviceName);
101 intent.setAction(Intent.ACTION_VIEW);
102 intent.setDataAndType(uri, RawContacts.CONTENT_ITEM_TYPE);
104 context.startService(intent);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ShortcutInfo.java 24 import android.content.Intent;
34 * The intent used to start the application.
36 Intent intent; field in class:ShortcutInfo
54 Intent.ShortcutIconResource iconResource;
68 intent = new Intent(info.intent);
70 iconResource = new Intent.ShortcutIconResource();
82 intent = new Intent(info.intent)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ShareIntentActivity.java 21 import android.content.Intent;
52 final Intent intent = getIntent(); local
53 if (Intent.ACTION_SEND.equals(intent.getAction()) &&
54 (!TextUtils.isEmpty(intent.getStringExtra("address")) ||
55 !TextUtils.isEmpty(intent.getStringExtra(Intent.EXTRA_EMAIL)))) {
56 // This is really more like a SENDTO intent because a destination is supplied.
57 // It's coming through the SEND intent because that's the intent that is use
75 final Intent intent = getIntent(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SettingsLicenseActivity.java 23 import android.content.Intent;
117 final Intent intent = new Intent(Intent.ACTION_VIEW); local
118 intent.setDataAndType(uri, "text/html");
119 intent.putExtra(Intent.EXTRA_TITLE, getString(R.string.settings_license_activity_title));
121 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
    [all...]
TetherProvisioningActivity.java 20 import android.content.Intent;
53 Intent intent = new Intent(Intent.ACTION_MAIN); local
54 intent.setClassName(provisionApp[0], provisionApp[1]);
55 intent.putExtra(EXTRA_TETHER_TYPE, tetherType);
60 if (getPackageManager().queryIntentActivities(intent,
68 startActivityForResultAsUser(intent, PROVISION_REQUEST, UserHandle.CURRENT);
72 public void onActivityResult(int requestCode, int resultCode, Intent intent)
    [all...]
  /packages/apps/Settings/src/com/android/settings/enterprise/
ActionDisabledByAdminDialogHelper.java 24 import android.content.Intent;
180 final Intent intent = new Intent(); local
182 intent.setClass(activity, DeviceAdminAdd.class);
183 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN,
185 intent.putExtra(DeviceAdminAdd.EXTRA_CALLED_FROM_SUPPORT_DIALOG, true);
187 activity.startActivityAsUser(intent,
190 intent.setClass(activity, Settings.DeviceAdminSettingsActivity.class);
191 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
LicenseActivity.java 23 import android.content.Intent;
117 final Intent intent = new Intent(Intent.ACTION_VIEW); local
118 intent.setDataAndType(uri, "text/html");
119 intent.putExtra(Intent.EXTRA_TITLE, getString(R.string.about_legal_license));
121 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AbstractConversationWebViewClient.java 24 import android.content.Intent;
51 * Handles proxying the view intent so that additional information can
52 * be sent with the intent when links are clicked.
144 final Intent intent; local
146 intent = generateProxyIntent(uri);
148 intent = new Intent(Intent.ACTION_VIEW, uri);
149 intent.putExtra(Browser.EXTRA_APPLICATION_ID, mActivity.getPackageName())
174 final Intent intent = new Intent(Intent.ACTION_VIEW, proxyUri); local
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
OpenHelper.java 30 import android.content.Intent;
43 * Build and start an {@link Intent} to view the download with given ID,
47 final Intent intent = OpenHelper.buildViewIntent(context, id); local
48 if (intent == null) {
49 Log.w(TAG, "No intent built for " + id);
53 intent.addFlags(intentFlags);
55 context.startActivity(intent);
58 Log.w(TAG, "Failed to start " + intent + ": " + e);
64 * Build an {@link Intent} to view the download with given ID, handlin
86 final Intent intent = new Intent(Intent.ACTION_VIEW); local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/components/
UserCallIntentProcessor.java 21 import android.content.Intent;
71 * @param intent The intent.
77 * and we can skip the re-broadcast of the intent to Telecom.
78 * When {@code false}, we need to re-broadcast the intent to Telcom
82 public void processIntent(Intent intent, String callingPackageName,
89 String action = intent.getAction();
91 if (Intent.ACTION_CALL.equals(action) ||
92 Intent.ACTION_CALL_PRIVILEGED.equals(action) |
218 final Intent intent = new Intent(context, ErrorDialogActivity.class); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleAdvertiserHardwareScanFilterActivity.java 26 import android.content.Intent;
48 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this,
50 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND,
52 startService(intent);
66 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this,
68 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND
115 Intent intent = new Intent(BleAdvertiserHardwareScanFilterActivity.this, local
    [all...]
BleAdvertiserPowerLevelActivity.java 24 import android.content.Intent;
47 Intent intent = new Intent(BleAdvertiserPowerLevelActivity.this,
49 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND,
51 startService(intent);
87 Intent intent = new Intent(BleAdvertiserPowerLevelActivity.this, local
89 intent.putExtra(BleAdvertiserService.EXTRA_COMMAND
    [all...]

Completed in 1493 milliseconds

1 2 3 4 5 67 8 91011>>