Searched refs:action (Results 1 - 25 of 255) sorted by relevance

1234567891011

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoveryReceiver.java39 String action = intent.getAction();
40 Log.v(TAG, "Received: " + action);
42 if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_STARTED) ||
43 action.equals(BluetoothAdapter.ACTION_DISCOVERY_FINISHED)) {
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DVoiceDialerReceiver.java35 String action = intent.getAction();
39 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
44 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
45 Intent.ACTION_PACKAGE_CHANGED.equals(action) ||
46 Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
47 Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) ||
48 Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
53 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
59 else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) {
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
H A DImsFrameworkService.java38 String action = intent.getAction();
39 Log.d(TAG, "Service starting for intent " + action);
40 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
44 stopSelf(); // stop service after handling the action
H A DImsFrameworkReceiver.java29 String action = intent.getAction();
30 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
37 } else if (Intent.ACTION_SHUTDOWN.equals(action)) {
41 Log.e(TAG, "Received unknown intent: " + action);
/packages/apps/Browser/src/com/android/browser/
H A DBookmarkSearch.java35 String action = intent.getAction();
36 if (Intent.ACTION_VIEW.equals(action)) {
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerReceiver.java33 final String action = intent.getAction();
35 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
46 Log.d(TAG, "action: " + action + " path: " + path);
47 if (Intent.ACTION_MEDIA_MOUNTED.equals(action)) {
50 } else if (Intent.ACTION_MEDIA_SCANNER_SCAN_FILE.equals(action) &&
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCorporaUpdateReceiver.java35 String action = intent.getAction();
36 if (SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED.equals(action)
37 || SearchManager.INTENT_ACTION_SEARCH_SETTINGS_CHANGED.equals(action)) {
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProviderIntentService.java36 final String action = intent.getAction();
37 if (!CalendarAlarmManager.ACTION_CHECK_NEXT_ALARM.equals(action)) {
39 Log.d(TAG, "Invalid Intent action: " + action);
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelReceiver.java42 final String action = intent.getAction();
47 Log.v(TAG, "Action: " + action);
64 if (action.equals(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION)) {
76 if (action.equals(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION)) {
82 if (action.equals("AudioEffect.ACTION_SET_PARAM")) {
93 if (action.equals("AudioEffect.ACTION_GET_PARAM")) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppHandoverReceiver.java35 String action = intent.getAction();
37 if (action.equals(Constants.ACTION_HANDOVER_SEND) ||
38 action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) {
46 if (action.equals(Constants.ACTION_HANDOVER_SEND)) {
57 } else if (action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) {
71 } else if (action.equals(Constants.ACTION_WHITELIST_DEVICE)) {
77 } else if (action.equals(Constants.ACTION_STOP_HANDOVER)) {
86 if (D) Log.d(TAG, "Unknown action: " + action);
/packages/apps/Stk/src/com/android/stk/
H A DBootCompletedReceiver.java32 String action = intent.getAction();
35 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
H A DStkCmdReceiver.java34 String action = intent.getAction();
36 if (action.equals(AppInterface.CAT_CMD_ACTION)) {
38 } else if (action.equals(AppInterface.CAT_SESSION_END_ACTION)) {
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsIntentResolver.java58 String action = intent.getAction();
60 Log.i(TAG, "Called with action: " + action);
62 if (UI.LIST_DEFAULT.equals(action) ) {
64 } else if (UI.LIST_ALL_CONTACTS_ACTION.equals(action)) {
66 } else if (UI.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) {
68 } else if (UI.LIST_STARRED_ACTION.equals(action)) {
70 } else if (UI.LIST_FREQUENT_ACTION.equals(action)) {
72 } else if (UI.LIST_STREQUENT_ACTION.equals(action)) {
74 } else if (UI.LIST_GROUP_ACTION.equals(action)) {
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactListFragment.java93 // Set action title based on summary value
94 final Action action = mActions.get(position);
95 String mimeType = action.getMimeType();
118 actionsContainer.setTag(action);
120 alternateActionButton.setTag(action);
122 final boolean hasAlternateAction = action.getAlternateIntent() != null;
124 alternateActionButton.setImageDrawable(action.getAlternateIcon());
125 alternateActionButton.setContentDescription(action.getAlternateIconDescription());
131 R.string.description_dial_phone_number, action.getBody()));
134 .getString(R.string.description_send_message, action
188 onItemClicked(Action action, boolean alternate) argument
[all...]
H A DResolveCache.java123 protected Entry getEntry(Action action) { argument
124 final String mimeType = action.getMimeType();
129 Intent intent = action.getIntent();
201 public boolean hasResolve(Action action) { argument
202 return getEntry(action).bestResolve != null;
209 public CharSequence getDescription(Action action) { argument
210 final CharSequence actionSubtitle = action.getSubtitle();
211 final ResolveInfo info = getEntry(action).bestResolve;
226 public Drawable getIcon(Action action) { argument
227 return getEntry(action)
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapReceiver.java54 String action = intent.getAction();
55 in.putExtra("action", action);
56 if (V) Log.v(TAG,"***********action = " + action);
59 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
77 if (V) Log.v(TAG,"***********Calling start service!!!! with action = " + in.getAction());
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPackagesMonitor.java61 String action = intent.getAction();
63 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
65 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
67 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java28 * Takes action to reload the necessary data when a dictionary pack was added/removed.
34 * The action of the intent for publishing that new dictionary data is available.
45 final String action = intent.getAction();
49 if (action.equals(Intent.ACTION_PACKAGE_ADDED)) {
75 } else if (action.equals(Intent.ACTION_PACKAGE_REMOVED)
87 } else if (action.equals(NEW_DICTIONARY_INTENT_ACTION)) {
/packages/apps/Camera/src/com/android/camera/
H A DSoundClips.java39 public void play(int action); argument
75 public synchronized void play(int action) { argument
76 switch(action) {
87 Log.w(TAG, "Unrecognized action:" + action);
109 // Maps a sound action to the id;
148 public synchronized void play(int action) { argument
149 if (action < 0 || action >= mSoundRes.length) {
150 Log.e(TAG, "Resource ID not found for action
[all...]
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java37 String action = intent.getAction();
39 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DCaffeinatedScrollView.java48 public void setFullScrollAction(Runnable action) { argument
49 mFullScrollAction = action;
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryAddWordActivity.java47 final String action = intent.getAction();
49 if (MODE_EDIT_ACTION.equals(action)) {
51 } else if (MODE_INSERT_ACTION.equals(action)) {
55 throw new RuntimeException("Unsupported action: " + action);
59 // We do need to add the action by hand, because UserDictionaryAddWordContents expects
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmInitReceiver.java39 final String action = intent.getAction();
40 if (Log.LOGV) Log.v("AlarmInitReceiver " + action);
48 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DNoConfirmationSendService.java42 "com.android.mms.intent.action.SENDTO_NO_CONFIRMATION";
49 String action = intent.getAction();
50 if (!SEND_NO_CONFIRM_INTENT_ACTION.equals(action)) {
51 ComposeMessageActivity.log("NoConfirmationSendService onHandleIntent wrong action: " +
52 action);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DEditorInfoCompatUtils.java65 final String action = imeActionName(imeOptions);
79 return (action != null) ? flags + action : flags.toString();

Completed in 745 milliseconds

1234567891011