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

1 2 3 4 5 67 8 91011>>

  /frameworks/support/lifecycle/service/src/main/java/androidx/lifecycle/
LifecycleService.java 20 import android.content.Intent;
43 public IBinder onBind(Intent intent) {
51 public void onStart(Intent intent, int startId) {
53 super.onStart(intent, startId);
62 public int onStartCommand(Intent intent, int flags, int startId) {
63 return super.onStartCommand(intent, flags, startId);
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
GattDebugUtils.java 19 import android.content.Intent;
71 static boolean handleDebugAction(GattService svc, Intent intent) {
76 String action = intent.getAction();
87 boolean bEnable = intent.getBooleanExtra(EXTRA_ENABLE, true);
91 String address = intent.getStringExtra(EXTRA_ADDRESS);
92 int type = intent.getIntExtra(EXTRA_TYPE, 2 /* LE device */);
93 int addrType = intent.getIntExtra(EXTRA_ADDR_TYPE, 0 /* Static */);
100 UUID uuid = getUuidExtra(intent);
101 int type = intent.getIntExtra(EXTRA_TYPE, 1 /* All services */)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogNotificationsActivity.java 19 import android.content.Intent;
26 * Provides operations for managing call-related notifications. This is used to forward intent
51 Intent intent = getIntent(); local
57 String action = intent.getAction();
62 intent.getStringExtra(EXTRA_MISSED_CALL_NUMBER), intent.getData());
65 LogUtil.d("CallLogNotificationsActivity.onCreate", "could not handle: " + intent);
  /packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/
LauncherActivity.java 22 import android.content.Intent;
43 final Intent intent = new Intent("android.intent.action.OPEN_DOCUMENT");
44 intent.addCategory(Intent.CATEGORY_OPENABLE);
45 intent.putExtra(EXTRA_BENCHMARK, true);
46 intent.setType("*/*");
49 startActivityForResult(intent, BENCHMARK_REQUEST_CODE)
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/
ManagedUserCreationListener.java 21 import android.content.Intent;
32 public void onReceive(Context context, Intent intent) {
33 if (DevicePolicyManager.ACTION_MANAGED_USER_CREATED.equals(intent.getAction())) {
34 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
35 final boolean leaveAllSystemAppsEnabled = intent.getBooleanExtra(
46 ProvisionLogger.logw("Unexpected intent action: " + intent.getAction());
  /packages/apps/Messaging/src/com/android/messaging/receiver/
MmsWapPushDeliverReceiver.java 21 import android.content.Intent;
28 * Class that handles MMS WAP push intent from telephony on KLP+ Devices.
33 public void onReceive(final Context context, final Intent intent) {
34 if (Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION.equals(intent.getAction())
35 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
38 intent, MmsWapPushReceiver.EXTRA_SUBSCRIPTION);
39 byte[] data = intent.getByteArrayExtra(MmsWapPushReceiver.EXTRA_DATA);
  /packages/apps/Messaging/src/com/android/messaging/ui/
RemoteInputEntrypointActivity.java 18 import android.content.Intent;
32 Intent intent = getIntent(); local
33 if (intent == null) {
34 LogUtil.w(TAG, "No intent attached");
40 // Perform some action depending on the intent
41 String action = intent.getAction();
42 if (Intent.ACTION_SENDTO.equals(action)) {
43 // Build and send the intent
44 final Intent sendIntent = new Intent(this, NoConfirmationSmsSendService.class)
    [all...]
UIIntentsImpl.java 27 import android.content.Intent;
88 * Get an intent which takes you to a conversation
90 private Intent getConversationActivityIntent(final Context context,
93 final Intent intent = new Intent(context, ConversationActivity.class); local
97 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
101 intent.putExtra(UI_INTENT_EXTRA_CONVERSATION_ID, conversationId);
104 intent.putExtra(UI_INTENT_EXTRA_DRAFT_DATA, draft)
139 final Intent intent = new Intent(context, PermissionCheckActivity.class); local
152 final Intent intent = getConversationListActivityIntent(context); local
168 final Intent intent = getConversationActivityIntent(context, conversationId, draft, local
176 final Intent intent = getConversationActivityIntent(context, conversationId, null, local
198 final Intent intent = getConversationActivityIntent(context, null, draft, local
210 final Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
220 final Intent intent = new Intent(context, SettingsActivity.class); local
226 final Intent intent = new Intent(context, ArchivedConversationListActivity.class); local
232 final Intent intent = new Intent(context, BlockedParticipantsActivity.class); local
238 final Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
249 final Intent intent = new Intent(activity, PeopleAndOptionsActivity.class); local
257 final Intent intent = new Intent(Intent.ACTION_CALL, local
290 final Intent intent = new Intent(); local
300 final Intent intent = new Intent(activity, AttachmentChooserActivity.class); local
307 final Intent intent = new Intent(Intent.ACTION_VIEW); local
339 final Intent intent = new Intent(context, ApplicationSettingsActivity.class); local
347 final Intent intent = getPerSubscriptionSettingsIntent(context, subId, settingTitle); local
360 final Intent intent = new Intent(CONVERSATION_SELF_ID_CHANGE_BROADCAST_ACTION); local
368 final Intent intent = getConversationListActivityIntent(context); local
375 final Intent intent = getConversationActivityIntent(context, conversationId, draft, local
385 final Intent intent = getConversationActivityIntent(context, conversationId, draft, local
394 final Intent intent = new Intent(context, RemoteInputEntrypointActivity.class); local
409 final Intent intent = new Intent(context, NotificationReceiver.class); local
470 final Intent intent = new Intent(Intent.ACTION_MAIN); local
478 final Intent intent = new Intent(context, ApnEditorActivity.class); local
486 final Intent intent = new Intent(context, ApnSettingsActivity.class) local
498 final Intent intent = new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT); local
505 final Intent intent = getViewUrlIntent(url); local
530 final Intent intent = new Intent(context, LaunchConversationActivity.class); local
537 final Intent intent = new Intent(MEDIA_SCANNER_SCAN_ACTION) local
546 final Intent intent = getConversationActivityIntent(context, null, null, local
563 final Intent intent = getConversationListActivityIntent(context); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/autofill/
AutofillPickerActivity.java 16 import android.content.Intent;
25 * {@link android.provider.Settings#ACTION_REQUEST_SET_AUTOFILL_SERVICE} intent.
31 final Intent intent = getIntent(); local
32 final String packageName = intent.getData().getSchemeSpecificPart();
33 intent.putExtra(EXTRA_SHOW_FRAGMENT, DefaultAutofillPicker.class.getName());
34 intent.putExtra(EXTRA_SHOW_FRAGMENT_TITLE_RESID, R.string.autofill_app);
35 intent.putExtra(DefaultAutofillPicker.EXTRA_PACKAGE_NAME, packageName);
  /packages/apps/Settings/src/com/android/settings/fingerprint/
SetupFingerprintEnrollFinish.java 19 import android.content.Intent;
31 protected Intent getEnrollingIntent() {
32 Intent intent = new Intent(this, SetupFingerprintEnrollEnrolling.class); local
33 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken);
35 intent.putExtra(Intent.EXTRA_USER_ID, mUserId);
37 SetupWizardUtils.copySetupExtras(getIntent(), intent); local
38 return intent;
    [all...]
  /packages/apps/Settings/src/com/android/settings/search/
SearchResultTrampoline.java 22 import android.content.Intent;
43 final Intent intent = getIntent(); local
45 // Hack to take EXTRA_FRAGMENT_ARG_KEY from intent and set into
46 // EXTRA_SHOW_FRAGMENT_ARGUMENTS. This is necessary because intent could be from external
48 final String settingKey = intent.getStringExtra(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY);
51 intent.putExtra(EXTRA_SHOW_FRAGMENT_ARGUMENTS, args);
54 intent.setClass(this /* context */, SubSettings.class)
55 .addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
56 startActivity(intent);
    [all...]
  /packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/service/
AnomalyService.java 21 import android.content.Intent;
37 protected void onHandleIntent(@Nullable Intent intent) {
38 final String action = intent.getStringExtra(AnomalyActions.KEY_ACTION);
39 final long durationMs = intent.getLongExtra(AnomalyActions.KEY_DURATION_MS, 0);
40 final ResultReceiver resultReceiver = intent.getParcelableExtra(
46 resultReceiver.send(0 /* resultCode */, intent.getExtras());
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
BluetoothDiscoverableTimeoutReceiver.java 25 import android.content.Intent;
33 "android.bluetooth.intent.DISCOVERABLE_TIMEOUT";
38 Intent intent = new Intent(INTENT_DISCOVERABLE_TIMEOUT); local
39 intent.setClass(context, BluetoothDiscoverableTimeoutReceiver.class);
41 context, 0, intent, 0);
51 context, 0, intent, 0);
59 Intent intent = new Intent(INTENT_DISCOVERABLE_TIMEOUT) local
    [all...]
  /frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
BasePerfTest.java 20 import android.content.Intent;
55 protected Intent createServiceIntent() {
56 final Intent intent = new Intent(); local
57 intent.setClassName(TargetPackageUtils.PACKAGE_NAME,
59 putTimeReceiverBinderExtra(intent);
60 return intent;
63 protected Intent createBroadcastIntent(String action) {
64 final Intent intent = new Intent(action) local
    [all...]
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
ConstraintProxyUpdateReceiver.java 21 import android.content.Intent;
53 * @return an {@link Intent} with information about the constraint proxies which need to be
56 public static Intent newConstraintProxyUpdateIntent(
62 Intent intent = new Intent(ACTION); local
63 intent.putExtra(KEY_BATTERY_NOT_LOW_PROXY_ENABLED, batteryNotLowProxyEnabled)
68 return intent;
72 public void onReceive(Context context, Intent intent) {
    [all...]
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
BatteryNotLowTracker.java 19 import android.content.Intent;
61 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);
62 Intent intent = mAppContext.registerReceiver(null, intentFilter); local
63 if (intent == null) {
64 Log.e(TAG, "getInitialState - null intent received");
67 int plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, BATTERY_PLUGGED_NONE);
68 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
69 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
70 int scale = intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetConfigure.java 23 import android.content.Intent;
60 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); local
61 intent.setType("image/*");
62 intent.putExtra("crop", "true");
63 intent.putExtra("aspectX", 1);
64 intent.putExtra("aspectY", 1);
65 intent.putExtra("outputX", maxDimension)
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DelegatedCertInstallerTest.java 24 import android.content.Intent;
150 public void onReceive(Context context, Intent intent) {
151 if (ACTION_CERT_OPERATION_DONE.equals(intent.getAction())) {
153 mReceivedResult = intent.getBooleanExtra(EXTRA_RESULT_VALUE, false);
155 (Exception) intent.getSerializableExtra(EXTRA_RESULT_EXCEPTION);
292 Intent intent = new Intent(); local
293 intent.setAction(ACTION_INSTALL_CERT)
301 Intent intent = new Intent(); local
310 Intent intent = new Intent(); local
342 Intent intent = new Intent(); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
InstallApk.java 25 import android.content.Intent;
44 * package installation API that uses {@link Intent#ACTION_INSTALL_PACKAGE}.
70 public void onActivityResult(int requestCode, int resultCode, Intent intent) {
92 Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
93 intent.setData(getApkUri("HelloActivity.apk"));
94 intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
    [all...]
DocumentsSample.java 22 import android.content.Intent;
80 Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
81 intent.addCategory(Intent.CATEGORY_OPENABLE);
82 intent.setType("*/*");
84 intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true)
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkCmdReceiver.java 24 import android.content.Intent;
36 public void onReceive(Context context, Intent intent) {
37 String action = intent.getAction();
43 handleAction(context, intent, StkAppService.OP_CMD);
45 handleAction(context, intent, StkAppService.OP_END_SESSION);
47 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED);
48 } else if (action.equals(Intent.ACTION_LOCALE_CHANGED)) {
51 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY);
55 private void handleAction(Context context, Intent intent, int op)
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
LocalActivityManagerTestHelper.java 23 import android.content.Intent;
91 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
92 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
93 mLocalActivityManager.startActivity(id, intent);
119 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class) local
161 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
180 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
194 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
208 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
230 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
265 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
319 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DemoModeFragment.java 20 import android.content.Intent;
151 Intent intent = new Intent(DemoMode.ACTION_DEMO); local
153 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_ENTER);
154 getContext().sendBroadcast(intent);
156 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_CLOCK);
165 intent.putExtra("hhmm", demoTime);
166 getContext().sendBroadcast(intent);
168 intent.putExtra(DemoMode.EXTRA_COMMAND, DemoMode.COMMAND_NETWORK)
200 Intent intent = new Intent(DemoMode.ACTION_DEMO); local
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowPendingIntentTest.java 16 import android.content.Intent;
39 Intent intent = new Intent(); local
40 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 99, intent, 100);
46 assertThat(intent).isEqualTo(shadow.getSavedIntent());
54 Intent intent = new Intent(); local
55 PendingIntent pendingIntent = PendingIntent.getActivity(context, 99, intent, 100)
98 Intent intent = new Intent(); local
133 Intent intent = new Intent(); local
172 Intent intent = new Intent(); local
188 Intent intent = new Intent().putExtra("whatever", 5); local
204 Intent intent = new Intent(); local
210 Intent intent = new Intent(); local
217 Intent intent = new Intent(); local
228 Intent intent = new Intent(); local
276 Intent intent = new Intent(); local
283 Intent intent = new Intent(); local
290 Intent intent = new Intent(); local
301 Intent intent = new Intent(); local
312 Intent intent = new Intent(); local
319 Intent intent = new Intent(); local
326 Intent intent = new Intent(); local
337 Intent intent = new Intent(); local
348 Intent intent = new Intent(); local
358 Intent intent = new Intent(); local
378 Intent intent = new Intent(); local
388 Intent intent = new Intent(); local
413 Intent intent = new Intent(); local
425 Intent intent = new Intent(); local
433 Intent intent = new Intent(); local
    [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...]

Completed in 1237 milliseconds

1 2 3 4 5 67 8 91011>>