/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
SingleSupportFragmentTestActivity.java | 24 import android.content.Intent; 45 Intent intent = getIntent(); local 47 final int uiOptions = intent.getIntExtra(EXTRA_UI_VISIBILITY, 0); 52 setContentView(intent.getIntExtra(EXTRA_ACTIVITY_LAYOUT, R.layout.single_fragment)); 56 intent.getStringExtra(EXTRA_FRAGMENT_NAME)).newInstance();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
AuthenticationService.java | 19 import android.content.Intent; 31 public IBinder onBind(Intent intent) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
UpgradeReceiver.java | 21 import android.content.Intent; 25 public void onReceive(final Context context, final Intent intent) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
IntentHelper.java | 19 import android.content.Intent; 32 public static Intent getGalleryIntent(Context context) { 33 Intent intent = new Intent(Intent.ACTION_MAIN); local 34 GalleryHelper.setGalleryIntentClassName(intent); 36 // check if intent can launch gallery 39 pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); 43 return intent; [all...] |
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
BootCompleteReceiver.java | 20 import android.content.Intent; 24 public void onReceive(Context context, Intent intent) { 25 Intent hvacUiService = new Intent(context, HvacUiService.class);
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettingsTest.java | 24 import android.content.Intent; 63 private Intent createActivityIntent() { 64 Intent intent = new Intent(mContext, CellBroadcastSettings.class); local 65 intent.setPackage("com.android.cellbroadcastreceiver"); 66 intent.setAction("android.intent.action.MAIN"); 67 return intent;
|
/packages/apps/Contacts/src/com/android/contacts/ |
ViewNotificationService.java | 20 import android.content.Intent; 40 public int onStartCommand(Intent intent, int flags, final int startId) { 41 if (DEBUG) { Log.d(TAG, "onHandleIntent(). Intent: " + intent); } 45 final ContactLoader contactLoader = new ContactLoader(this, intent.getData(), true); 72 public IBinder onBind(Intent intent) {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
OnContactPickerActionListener.java | 18 import android.content.Intent; 32 * Returns the selected contact as a shortcut intent. 34 void onShortcutIntentCreated(Intent intent);
|
OnPhoneNumberPickerActionListener.java | 19 import android.content.Intent; 40 * Returns the selected number as a shortcut intent. 42 void onShortcutIntentCreated(Intent intent);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
EmptyService.java | 20 import android.content.Intent; 30 public IBinder onBind(Intent intent) {
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
CallLogReceiver.java | 21 import android.content.Intent; 33 * Intent#ACTION_BOOT_COMPLETED}. 38 public void onReceive(Context context, Intent intent) { 39 if (VoicemailContract.ACTION_NEW_VOICEMAIL.equals(intent.getAction())) { 43 } else if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { 47 LogUtil.w("CallLogReceiver.onReceive", "could not handle: " + intent);
|
MissedCallNotificationReceiver.java | 21 import android.content.Intent; 43 public void onReceive(Context context, Intent intent) { 44 String action = intent.getAction(); 50 intent.getIntExtra( 52 String phoneNumber = intent.getStringExtra(EXTRA_NOTIFICATION_PHONE_NUMBER);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
VoicemailClientReceiver.java | 21 import android.content.Intent; 34 public void onReceive(Context context, Intent intent) { 37 "VoicemailClientReceiver.onReceive", "module disabled, ignoring " + intent.getAction()); 40 switch (intent.getAction()) { 45 Assert.fail("Unexpected action " + intent.getAction());
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
Tasks.java | 20 import android.content.Intent; 66 * Create an intent that when called with {@link Context#startService(Intent)}, will queue the 70 public static Intent createIntent(Context context, Class<? extends Task> task) { 71 Intent intent = new Intent(context, TaskReceiver.class); local 72 intent.setPackage(context.getPackageName()); 73 intent.putExtra(EXTRA_CLASS_NAME, task.getName()); 74 return intent; [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
ClearDefaultAppAction.java | 19 import android.content.Intent; 57 Intent intent = new Intent(Intent.ACTION_VIEW, mDoc.derivedUri); local 58 List<ResolveInfo> list = mPm.queryIntentActivities(intent, 78 Intent intent = new Intent(Intent.ACTION_VIEW, mDoc.derivedUri) local [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
BootReceiver.java | 21 import android.content.Intent; 30 public void onReceive(Context context, Intent intent) {
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
InspectorUiTest.java | 18 import android.content.Intent; 43 final Intent intent = context.getPackageManager().getLaunchIntentForPackage( local 45 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); 47 intent.setData(uri); 48 setActivityIntent(intent);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
TestActivity.java | 20 import android.content.Intent; 30 public TestEventListener<Pair<Integer, Intent>> setResult; 31 public TestEventListener<Pair<Intent, Integer>> startActivityForResult; 48 public void setResult(int resultCode, Intent intent, int notUsed) { 49 setResult.accept(Pair.create(resultCode, intent)); 53 public final void startActivityForResult(@RequiresPermission Intent intent, int requestCode) { 54 startActivityForResult.accept(Pair.create(intent, requestCode));
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailUpgradeBroadcastReceiver.java | 5 import android.content.Intent; 14 public void onReceive(final Context context, final Intent intent) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
OtaService.java | 20 import android.content.Intent; 29 public IBinder onBind(Intent intent) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
BootReminder.java | 20 import android.content.Intent; 32 public void onReceive(Context context, Intent intent) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
ProvisioningService.java | 20 import android.content.Intent; 29 public IBinder onBind(Intent intent) {
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
WebActivityTest.java | 22 import android.content.Intent; 44 Intent intent = WebActivity.createIntent(getInstrumentation().getTargetContext(), null, local 46 assertThat(intent, nullValue()); 61 private void startActivityOnMainSync(final Intent intent) { 62 getInstrumentation().runOnMainSync(() -> startActivity(intent, null, null));
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
DefaultSmsSubscriptionChangeReceiver.java | 20 import android.content.Intent; 29 public void onReceive(Context context, Intent intent) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ShareIntentActivity.java | 21 import android.content.Intent; 51 final Intent intent = getIntent(); local 52 if (Intent.ACTION_SEND.equals(intent.getAction()) && 53 (!TextUtils.isEmpty(intent.getStringExtra("address")) || 54 !TextUtils.isEmpty(intent.getStringExtra(Intent.EXTRA_EMAIL)))) { 55 // This is really more like a SENDTO intent because a destination is supplied. 56 // It's coming through the SEND intent because that's the intent that is use 74 final Intent intent = getIntent(); local [all...] |