Searched refs:action (Results 1 - 25 of 324) 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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DIntentCompatUtils.java32 public static boolean is_ACTION_USER_INITIALIZE(final String action) { argument
33 return ACTION_USER_INITIALIZE != null && ACTION_USER_INITIALIZE.equals(action);
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallApp.java59 final String action = intent.getAction();
60 Log.i(this, "Broadcast from Notification: " + action);
62 if (action.equals(ACTION_HANG_UP_ONGOING_CALL)) {
/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/apps/UnifiedEmail/src/com/android/mail/browse/
H A DEmlTempFileDeletionService.java39 final String action = intent.getAction();
40 if (Intent.ACTION_DELETE.equals(action)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DIntentUtils.java35 final String action = INPUT_METHOD_SUBTYPE_SETTINGS;
36 final Intent intent = new Intent(action);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java55 Action action = getItem(i);
56 action.clearBitmap();
70 public void add(Action action) { argument
71 super.add(action);
72 action.setAdapter(this);
97 Action action = getItem(position);
98 view.setAction(action, this);
101 if (action.getType() == Action.SPACER) {
108 if (action.getType() == Action.ADD_ACTION
156 Action action
179 remove(Action action) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java58 public void add(Action action) { argument
59 super.add(action);
60 action.setAdapter(this);
63 private void deletePreset(Action action) { argument
64 FilterRepresentation rep = action.getRepresentation();
68 remove(action);
72 private void changePreset(Action action) { argument
73 FilterRepresentation rep = action.getRepresentation();
74 rep.setName(action.getName());
108 Action action
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java32 * Receives broadcasts pertaining to dictionary management and takes the appropriate action.
64 final String action = intent.getAction();
68 if (action.equals(Intent.ACTION_PACKAGE_ADDED)) {
70 Log.e(TAG, "Called with intent " + action + " but we don't know the service: this "
99 } else if (action.equals(Intent.ACTION_PACKAGE_REMOVED)
102 Log.e(TAG, "Called with intent " + action + " but we don't know the service: this "
116 } else if (action.equals(DictionaryPackConstants.NEW_DICTIONARY_INTENT_ACTION)) {
118 Log.e(TAG, "Called with intent " + action + " but we don't know the service: this "
123 } else if (action.equals(DictionaryPackConstants.UNKNOWN_DICTIONARY_PROVIDER_CLIENT)) {
127 // the above action, s
[all...]
/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)) {
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DNotificationActionIntentService.java34 * Processes notification action {@link Intent}s that need to run off the main thread.
40 public static final String ACTION_REPLY = "com.android.mail.action.notification.REPLY";
41 public static final String ACTION_REPLY_ALL = "com.android.mail.action.notification.REPLY_ALL";
42 public static final String ACTION_FORWARD = "com.android.mail.action.notification.FORWARD";
44 public static final String ACTION_MARK_READ = "com.android.mail.action.notification.MARK_READ";
48 "com.android.mail.action.notification.ARCHIVE";
49 public static final String ACTION_DELETE = "com.android.mail.action.notification.DELETE";
52 * This action cancels the undo notification, and does not commit any changes.
54 public static final String ACTION_UNDO = "com.android.mail.action.notification.UNDO";
57 * This action perform
70 logNotificationAction(String intentAction, NotificationAction action) argument
[all...]
/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.java99 // Set action title based on summary value
100 final Action action = mActions.get(position);
101 String mimeType = action.getMimeType();
124 actionsContainer.setTag(action);
126 alternateActionButton.setTag(action);
128 final boolean hasAlternateAction = action.getAlternateIntent() != null;
130 alternateActionButton.setImageDrawable(action.getAlternateIcon());
131 alternateActionButton.setContentDescription(action.getAlternateIconDescription());
140 R.string.description_dial_phone_number, action.getBody()));
143 .getString(R.string.description_send_message, action
197 onItemClicked(Action action, boolean alternate) argument
[all...]
/packages/apps/Nfc/nci/jni/
H A DRoutingManager.cpp324 tNFA_EE_ACTION& action = eventData->action; local
325 if (action.trigger == NFC_EE_TRIG_SELECT)
326 ALOGD ("%s: NFA_EE_ACTION_EVT; h=0x%X; trigger=select (0x%X)", fn, action.ee_handle, action.trigger);
327 else if (action.trigger == NFC_EE_TRIG_APP_INIT)
329 tNFC_APP_INIT& app_init = action.param.app_init;
331 action.ee_handle, action.trigger, app_init.len_aid, app_init.len_data);
344 else if (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/providers/MediaProvider/src/com/android/providers/media/
H A DMediaScannerReceiver.java36 final String action = intent.getAction();
38 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) {
60 Log.d(TAG, "action: " + action + " path: " + path);
61 if (Intent.ACTION_MEDIA_MOUNTED.equals(action)) {
64 } else if (Intent.ACTION_MEDIA_SCANNER_SCAN_FILE.equals(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/Camera2/src/com/android/camera/
H A DSoundClips.java42 public void play(int action); argument
85 public synchronized void play(int action) { argument
86 switch(action) {
100 Log.w(TAG, "Unrecognized action:" + action);
122 // Maps a sound action to the id;
159 public synchronized void play(int action) { argument
160 if (action < 0 || action >= mSoundRes.length) {
161 Log.e(TAG, "Resource ID not found for action
[all...]

Completed in 532 milliseconds

1234567891011>>