/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 38 import android.content.Intent; 72 * Intent indicating incoming obex authentication request which is from 78 * Intent indicating timeout for user confirmation, which is sent to 85 * Intent Extra name indicating session key which is sent from 138 // package and class name to which we send intent to check message access access permission 402 Intent intent = new local 403 Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REQUEST); 404 intent.setClassName(ACCESS_AUTHORITY_PACKAGE, ACCESS_AUTHORITY_CLASS); 405 intent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE 485 Intent intent = new Intent(BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 49 import android.content.Intent; 84 * Intent indicating incoming obex authentication request which is from 90 * Intent indicating obex session key input complete by user which is sent 96 * Intent indicating user canceled obex authentication session key input 102 * Intent indicating timeout for user confirmation, which is sent to 109 * Intent Extra name indicating session key which is sent from 179 // package and class name to which we send intent to check phone book access permission 209 public int onStartCommand(Intent intent, int flags, int startId) { 210 //int retCode = super.onStartCommand(intent, flags, startId) 580 Intent intent = new local 679 Intent intent = new Intent(BluetoothPbap.PBAP_STATE_CHANGED_ACTION); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 23 import android.content.Intent; 285 Intent intent = new Intent(); local 286 intent.setClass(a, AlertReceiver.class); 288 intent.setAction(AlertReceiver.ACTION_DISMISS_OLD_REMINDERS); 290 intent.setAction(AlertReceiver.EVENT_REMINDER_APP_ACTION); 292 a.sendBroadcast(intent); 317 Intent intent = new Intent(Utils.getWidgetScheduledUpdateAction(activity)) local [all...] |
SearchActivity.java | 29 import android.content.Intent; 147 // Didn't find a time in the bundle, look in intent or current time 151 Intent intent = getIntent(); local 152 if (Intent.ACTION_SEARCH.equals(intent.getAction())) { 157 query = intent.getStringExtra(SearchManager.QUERY); 199 Intent intent = new Intent(Intent.ACTION_VIEW) local [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 25 import android.content.Intent; 55 * Receives android.intent.action.EVENT_REMINDER intents and handles 56 * event reminders. The intent URI specifies an alert id in the 58 * BOOT_COMPLETED intent so that it can add a status bar notification 65 * adb shell am broadcast -a "android.intent.action.EVENT_REMINDER" 101 public void onReceive(final Context context, final Intent intent) { 103 Log.d(TAG, "onReceive: a=" + intent.getAction() + " " + intent.toString()); 105 if (MAP_ACTION.equals(intent.getAction())) 215 Intent intent = new Intent(); local 237 Intent intent = new Intent(); local 729 Intent intent = null; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ActionModeHandler.java | 21 import android.content.Intent; 225 public boolean onShareTargetSelected(ShareActionProvider source, Intent intent) { 318 // Share intent needs to expand the selection set so we can get URI of 320 private Intent computePanoramaSharingIntent(JobContext jc, int maxItems) { 323 return new Intent(); 327 final Intent intent = new Intent(); local 336 intent.setAction(Intent.ACTION_SEND_MULTIPLE) 359 final Intent intent = new Intent(); local [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
InCallPresenter.java | 24 import android.content.Intent; 351 // By the time we receive this intent, we could be shut down and call list 697 public Intent getInCallIntent(boolean showDialpad) { 698 final Intent intent = new Intent(Intent.ACTION_MAIN, null); local 699 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK 700 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENT [all...] |
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 28 import android.content.Intent; 104 f.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); 105 f.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); 106 f.addAction(Intent.ACTION_MEDIA_UNMOUNTED); 198 public void onReceive(Context context, Intent intent) { 205 public void onReceive(Context context, Intent intent) { 208 if (intent.getAction().equals(Intent.ACTION_MEDIA_UNMOUNTED)) 315 Intent intent = new Intent(); local 339 Intent intent = new Intent(); local 407 Intent intent = new Intent(Intent.ACTION_PICK); local 430 Intent intent; local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 28 import android.content.Intent; 87 private Intent mResultData; 102 final Intent intent = getIntent(); local 103 if (intent.hasExtra(AppWidgetManager.EXTRA_APPWIDGET_ID)) { 104 mAppWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, 109 mExtraConfigureOptions = intent.getBundleExtra(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS); 131 * Convenience method for setting the result code and intent. This method 135 void setResultData(int code, Intent intent) { 184 Intent intent = new Intent(); local 509 Intent intent = item.getIntent(); local 572 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); local [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictedProfileSettings.java | 26 import android.content.Intent; 149 public void startActivityForResult(Intent intent, int requestCode) { 151 super.startActivityForResult(intent, requestCode); 155 public void onActivityResult(int requestCode, int resultCode, Intent data) { 310 public boolean onActivityResult(int requestCode, int resultCode, Intent data) { 395 new Intent(MediaStore.ACTION_IMAGE_CAPTURE), 400 Intent intent = new Intent(Intent.ACTION_GET_CONTENT) local 407 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local 413 Intent intent = new Intent(Intent.ACTION_GET_CONTENT, null); local 421 Intent intent = new Intent("com.android.camera.action.CROP"); local [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
CommandRecognizerEngine.java | 21 import android.content.Intent; 58 * <li>Pass a list of {@link Intent} corresponding to the recognition results 242 new Intent(Intent.ACTION_MAIN). 243 addCategory("android.intent.category.VOICE_LAUNCH"), 247 new Intent(Intent.ACTION_MAIN). 248 addCategory("android.intent.category.LAUNCHER"), 1111 Intent intent = new Intent(RecognizerEngine.ACTION_RECOGNIZER_RESULT, null); local 1136 Intent intent = Intent.getIntent(commands[i]); local 1164 Intent intent = new Intent(Intent.ACTION_MAIN); local 1209 Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri) local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupWizardActivity.java | 21 import android.content.Intent; 249 final Intent intent = new Intent(); local 250 intent.setClass(this, SetupWizardActivity.class); 251 intent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED 252 | Intent.FLAG_ACTIVITY_SINGLE_TOP 253 | Intent.FLAG_ACTIVITY_CLEAR_TOP); 254 startActivity(intent); 259 final Intent intent = new Intent(); local 267 final Intent intent = new Intent(); local 285 final Intent intent = new Intent(); local [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadInfo.java | 24 import android.content.Intent; 278 Intent intent; local 280 intent = new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE); 281 intent.setPackage(mPackage); 282 intent.putExtra(DownloadManager.EXTRA_DOWNLOAD_ID, mId); 287 intent = new Intent(Downloads.Impl.ACTION_DOWNLOAD_COMPLETED); 288 intent.setClassName(mPackage, mClass) 584 Intent intent = new Intent(Intent.ACTION_VIEW); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 26 import android.content.Intent; 137 Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN); local 138 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, 140 startActivityForResult(intent, ADD_DEVICE_ADMIN_REQUEST_CODE); 144 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 153 private void handleAddDeviceAdminResult(int resultCode, Intent data) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
WidgetCtsProvider.java | 26 import android.content.Intent; 75 public void onReceive(Context ctx, Intent intent) { 76 final String action = intent.getAction(); 80 int widgetId = (Integer) intent.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID, 101 super.onReceive(ctx, intent); 257 final Intent intent = new Intent(context, WidgetCtsService.class); local 258 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId) [all...] |
/cts/tests/src/android/app/cts/ |
DialogStubActivity.java | 30 import android.content.Intent; 296 Intent intent = new Intent(Intent.ACTION_MAIN); local 297 intent.putExtra(TEST_DIALOG_NUMBER_EXTRA, dialogNumber); 298 testCase.setActivityIntent(intent); 308 Intent intent = getIntent(); local 309 int dialogNum = intent.getIntExtra(TEST_DIALOG_NUMBER_EXTRA, -1) [all...] |
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 20 import android.content.Intent; 54 * for a given intent. Launches when clicked. 58 Intent mIntent; 94 * Adapter which shows the set of activities that can be performed for a given intent. 116 public Intent intentForPosition(int position) { 121 Intent intent = new Intent(mIntent); local 123 intent.setClassName(item.packageName, item.className); 125 intent.putExtras(item.extras) 403 Intent intent = intentForPosition(position); local [all...] |
SearchManager.java | 24 import android.content.Intent; 47 * and the {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} 48 * {@link android.content.Intent Intent}. 83 * Intent extra data key: Use this key with 84 * {@link android.content.Intent#getStringExtra 85 * content.Intent.getStringExtra()} 86 * to obtain the query string from Intent.ACTION_SEARCH. 91 * Intent extra data key: Use this key with 92 * {@link android.content.Intent#getStringExtr 546 Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH); local 868 Intent intent = new Intent(Intent.ACTION_ASSIST); local [all...] |
/frameworks/base/core/java/android/net/ |
CaptivePortalTracker.java | 21 import android.content.Intent; 155 public void onReceive(Context context, Intent intent) { 156 String action = intent.getAction(); 163 NetworkInfo info = intent.getParcelableExtra( 302 Intent intent = new Intent( local 304 intent.putExtra(ConnectivityManager.EXTRA_IS_CAPTIVE_PORTAL, captive); 305 intent.setPackage(SETUP_WIZARD_PACKAGE) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
AsyncChannel.java | 21 import android.content.Intent; 240 /* Send intent to create the connection */ 241 Intent intent = new Intent(Intent.ACTION_MAIN); local 242 intent.setClassName(dstPackageName, dstClassName); 243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
|
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
KeyguardTestActivity.java | 28 import android.content.Intent; 129 Intent intent = new Intent(); local 130 intent.setClassName(KEYGUARD_PACKAGE, KEYGUARD_CLASS); 132 if (!bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) { 244 startActivity(new Intent(Settings.ACTION_SECURITY_SETTINGS));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentTasksLoader.java | 22 import android.content.Intent; 149 homeInfo = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME) 158 TaskDescription createTaskDescription(int taskId, int persistentTaskId, Intent baseIntent, 160 Intent intent = new Intent(baseIntent); local 162 intent.setComponent(origActivity); 165 intent.setFlags((intent.getFlags()&~Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED 376 Intent intent = new Intent(recentInfo.baseIntent); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
BaseStatusBar.java | 26 import android.content.Intent; 174 public boolean onClickHandler(View view, PendingIntent pendingIntent, Intent fillInIntent) { 176 Log.v(TAG, "Notification click handler invoked for intent: " + pendingIntent); 181 // The intent we are sending is for the application, which 206 public void onReceive(Context context, Intent intent) { 207 String action = intent.getAction(); 208 if (Intent.ACTION_USER_SWITCHED.equals(action)) { 209 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1) 381 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardServiceDelegate.java | 5 import android.content.Intent; 106 Intent intent = new Intent(); local 107 intent.setClassName(KEYGUARD_PACKAGE, KEYGUARD_CLASS); 109 if (!context.bindServiceAsUser(intent, mKeyguardConnection,
|
/frameworks/base/services/java/com/android/server/ |
BatteryService.java | 26 import android.content.Intent; 57 * watching the {@link android.content.Intent#ACTION_BATTERY_CHANGED 59 * <p>The new values are stored in the Intent data and can be retrieved by 60 * calling {@link android.content.Intent#getExtra Intent.getExtra} with the 252 Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); 253 intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false) 471 final Intent intent = new Intent(Intent.ACTION_BATTERY_CHANGED); local [all...] |