Home
last modified time | relevance | path

Searched refs:createIntent (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java197 Intent createIntent = new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI); in onQueryComplete() local
198 createIntent.putExtras(mCreateExtras); in onQueryComplete()
199 createIntent.setType(RawContacts.CONTENT_TYPE); in onQueryComplete()
201 ImplicitIntentsUtil.startActivityInApp(this, createIntent); in onQueryComplete()
215 final Intent createIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); in onCreateDialog() local
216 createIntent.putExtras(mCreateExtras); in onCreateDialog()
217 createIntent.setType(RawContacts.CONTENT_ITEM_TYPE); in onCreateDialog()
225 new IntentClickListener(this, createIntent)) in onCreateDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogActivity.java112 public static Intent createIntent(Context context, String title, in createIntent() method in DialogActivity
115 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent()
119 public static Intent createIntent(Context context, String title, in createIntent() method in DialogActivity
133 public static Intent createIntent(Context context, String title, in createIntent() method in DialogActivity
136 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent()
140 public static Intent createIntent(Context context, String title, in createIntent() method in DialogActivity
154 public static Intent createIntent(Context context, String title, in createIntent() method in DialogActivity
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOpenNetworkNotifierTest.java382 private Intent createIntent(String action) { in createIntent() method in OpenNetworkNotifierTest
400 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_USER_DISMISSED_NOTIFICATION)); in userDismissedNotification_shouldBlacklistNetwork()
426 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in userConnectedNotification_shouldBlacklistNetwork()
501 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_notificationNotShowing_doesNothing()
520 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification()
550 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_PICK_WIFI_NETWORK)); in actionPickWifiNetwork_currentRecommendationExists_opensWifiSettings()
609 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionSuccess_wasInConnectingFlow_postsConnectedNotification()
659 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in networkConnectionFailure_wasInConnectingFlow_postsFailedToConnectNotification()
696 mBroadcastReceiver.onReceive(mContext, createIntent(ACTION_CONNECT_TO_NETWORK)); in connectionFailedCallback_postsFailedToConnectNotification()
728 createIntent(ACTION_PICK_WIFI_NETWORK_AFTER_CONNECT_FAILURE)); in connectionFailedCallback_postsFailedToConnectNotification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DVolumeSliceHelperTest.java75 mIntent = createIntent(AudioManager.VOLUME_CHANGED_ACTION) in setUp()
191 final Intent intent = createIntent(AudioManager.STREAM_MUTE_CHANGED_ACTION) in onReceive_streamVolumeMuted_shouldNotifyChange()
203 final Intent intent = createIntent(AudioManager.STREAM_DEVICES_CHANGED_ACTION) in onReceive_streamDevicesChanged_shouldNotifyChange()
215 final Intent intent = createIntent(AudioManager.MASTER_MUTE_CHANGED_ACTION); in onReceive_primaryMutedChanged_shouldNotifyChangeAll()
230 private Intent createIntent(String action) { in createIntent() method in VolumeSliceHelperTest
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConnectionActivity.java60 public static Intent createIntent(Context context, AccessPoint result, int security) { in createIntent() method in WifiConnectionActivity
66 public static Intent createIntent(Context context, AccessPoint result) { in createIntent() method in WifiConnectionActivity
68 return createIntent(context, result, security); in createIntent()
71 public static Intent createIntent(Context context, WifiConfiguration configuration) { in createIntent() method in WifiConnectionActivity
DNetworkFragment.java189 mEthernetProxyPref.setIntent(EditProxySettingsActivity.createIntent(getContext(), in onCreatePreferences()
192 mEthernetDhcpPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), in onCreatePreferences()
407 pref.setIntent(WifiConnectionActivity.createIntent(getContext(), accessPoint)); in updateWifiList()
DWifiDetailsFragment.java177 mProxySettingsPref.setIntent(EditProxySettingsActivity.createIntent(getContext(), in update()
183 mIpSettingsPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), networkId)); in update()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DBaseTask.java134 return createIntent(getContext(), this.getClass(), phoneAccountHandle); in createRestartIntent()
141 public static Intent createIntent( in createIntent() method in BaseTask
143 Intent intent = Tasks.createIntent(context, task); in createIntent()
DMinimalIntervalPolicy.java51 BaseTask.createIntent(task.getContext(), BlockerTask.class, id.phoneAccountHandle); in onCompleted()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java119 createIntent(ACTION_PROVISION_MANAGED_DEVICE)); in deviceOwnerDefaultLogo()
131 createIntent(ACTION_PROVISION_MANAGED_DEVICE) in deviceOwnerCustomLogo()
138 private Intent createIntent(String provisioningAction) { in createIntent() method in PreProvisioningActivityTest
DWebActivityTest.java50 Intent intent = WebActivity.createIntent(mInstrumentation.getTargetContext(), null); in testNoUrl()
61 WebActivity.createIntent(mInstrumentation.getTargetContext(), in testUrlLaunched()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java146 createIntent(ACTION_PROVISION_MANAGED_PROFILE, extraDisclaimers)); in expanderTest()
151 createIntent(ACTION_PROVISION_MANAGED_DEVICE, extraDisclaimers)); in expanderTest()
210 createIntent(ACTION_PROVISION_MANAGED_DEVICE, extraDisclaimers)); in expanderTest_automotive()
270 private Intent createIntent(String provisioningAction,
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DCacheClearingActivityTest.java42 activity.startActivityForResult(createIntent(), 42); in testSimple()
45 private static Intent createIntent() { in createIntent() method in CacheClearingActivityTest
DPermissionActivityTest.java119 activity.startActivityForResult(createIntent(), 42); in testSimple()
271 private static Intent createIntent() throws Exception { in createIntent() method in PermissionActivityTest
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleSearchTrampolineActivity.java51 newIntent = DefaultAppActivity.createIntent( in onCreate()
57 newIntent = SpecialAppAccessActivity.createIntent( in onCreate()
DSpecialAppAccessActivity.java36 public static Intent createIntent(@NonNull String roleName, @NonNull Context context) { in createIntent() method in SpecialAppAccessActivity
DHomeSettingsActivity.java34 Intent intent = DefaultAppActivity.createIntent(RoleManager.ROLE_HOME, in onCreate()
/packages/apps/TV/src/com/android/tv/
DLauncherActivity.java52 createIntent(baseActivity, intentToLaunch, false), REQUEST_CODE_DEFAULT); in startActivitySafe()
55 private static Intent createIntent( in createIntent() method in LauncherActivity
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt473 val showAndDismiss: Intent = AlarmInstance.createIntent(context, in showMissedNotification()
533 val contentIntent: Intent = AlarmInstance.createIntent(service, AlarmActivity::class.java, in showAlarmNotification()
540 AlarmInstance.createIntent(service, AlarmActivity::class.java, instance.mId) in showAlarmNotification()
586 return Alarm.createIntent(context, DeskClock::class.java, alarmId) in createViewAlarmIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/
DWifiDetailsState.java224 mProxySettingsPref.setIntent(EditProxySettingsActivity.createIntent(mContext, in update()
232 mIpSettingsPref.setIntent(EditIpSettingsActivity.createIntent(mContext, networkId)); in update()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java136 createIntent(name), connection, Context.BIND_AUTO_CREATE); in getConnectionOrNull()
154 private static Intent createIntent(ComponentName name) { in createIntent() method in AoapServiceManager
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
DTestInputControlUtils.java24 public static Intent createIntent() { in createIntent() method in TestInputControlUtils
/packages/apps/Settings/src/com/android/settings/password/
DManagedLockPasswordProvider.java64 Intent createIntent(boolean requirePasswordToDecrypt, LockscreenCredential password) { in createIntent() method in ManagedLockPasswordProvider
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DTrampolineActivity.java51 public static Intent createIntent(Context context, Intent target) { in createIntent() method in TrampolineActivity
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsAdapterUtils.java45 url -> WebActivity.createIntent(context, url)); in populateContentTextView()

123