Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 121) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEventRedirector.java48 String action = intent.getAction();
51 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) {
55 } else if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_STARTED)) {
58 } else if (action.equals(BluetoothAdapter.ACTION_DISCOVERY_FINISHED)) {
61 } else if (action.equals(BluetoothDevice.ACTION_FOUND)) {
69 } else if (action.equals(BluetoothDevice.ACTION_DISAPPEARED)) {
72 } else if (action.equals(BluetoothDevice.ACTION_NAME_CHANGED)) {
75 } else if (action.equals(BluetoothDevice.ACTION_BOND_STATE_CHANGED)) {
84 } else if (action.equals(BluetoothHeadset.ACTION_STATE_CHANGED)) {
95 } else if (action.equals(BluetoothA2dp.ACTION_SINK_STATE_CHANGED)) {
[all …]
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerReceiver.java37 String action = intent.getAction(); in onReceive() local
41 if (Intent.ACTION_BOOT_COMPLETED.equals(action)) { in onReceive()
46 else if (Intent.ACTION_PACKAGE_ADDED.equals(action) || in onReceive()
47 Intent.ACTION_PACKAGE_CHANGED.equals(action) || in onReceive()
48 Intent.ACTION_PACKAGE_REMOVED.equals(action)) { in onReceive()
53 else if (Intents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) { in onReceive()
59 else if (Intents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) { in onReceive()
/packages/apps/Contacts/src/com/android/contacts/
DContactsLiveFolders.java37 final String action = intent.getAction(); in onCreate() local
39 if (LiveFolders.ACTION_CREATE_LIVE_FOLDER.equals(action)) { in onCreate()
60 final String action = intent.getAction(); in onCreate() local
62 if (LiveFolders.ACTION_CREATE_LIVE_FOLDER.equals(action)) { in onCreate()
83 final String action = intent.getAction(); in onCreate() local
85 if (LiveFolders.ACTION_CREATE_LIVE_FOLDER.equals(action)) { in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSdCardIntentReceiver.java39 String action = intent.getAction(); in onReceive() local
40 if (Config.LOGD) Log.d(TAG, "onReceiveIntent " + action); in onReceive()
42 if (action.equals(Intent.ACTION_MEDIA_MOUNTED)) { in onReceive()
54 } else if (action.equals(Intent.ACTION_MEDIA_REMOVED)) { in onReceive()
56 } else if (action.equals(Intent.ACTION_MEDIA_SHARED)) { in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java62 String action = intent.getAction(); in onCreate() local
64 if (action.equals(Intent.ACTION_SEND) || action.equals(Intent.ACTION_SEND_MULTIPLE)) { in onCreate()
70 if (action.equals(Intent.ACTION_SEND)) { in onCreate()
86 } else if (action.equals(Intent.ACTION_SEND_MULTIPLE)) { in onCreate()
134 } else if (action.equals(Constants.ACTION_OPEN)) { in onCreate()
139 intent1.setAction(action); in onCreate()
DBluetoothOppReceiver.java62 String action = intent.getAction(); in onReceive() local
64 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
67 } else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
94 } else if (action.equals(BluetoothDevicePicker.ACTION_DEVICE_SELECTED)) { in onReceive()
114 } else if (action.equals(Constants.ACTION_INCOMING_FILE_CONFIRM)) { in onReceive()
129 } else if (action.equals(BluetoothShare.INCOMING_FILE_CONFIRMATION_REQUEST_ACTION)) { in onReceive()
135 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) { in onReceive()
137 if (action.equals(Constants.ACTION_OPEN)) { in onReceive()
171 } else if (action.equals(Constants.ACTION_HIDE)) { in onReceive()
194 } else if (action.equals(BluetoothShare.TRANSFER_COMPLETED_ACTION)) { in onReceive()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java162 MediaAction action = audio.getCurrentAction(); in presentAudio() local
163 if (action == MediaAction.START) { in presentAudio()
165 } else if (action == MediaAction.PAUSE) { in presentAudio()
167 } else if (action == MediaAction.STOP) { in presentAudio()
169 } else if (action == MediaAction.SEEK) { in presentAudio()
234 MediaAction action = video.getCurrentAction(); in presentVideo() local
235 if (action == MediaAction.START) { in presentVideo()
237 } else if (action == MediaAction.PAUSE) { in presentVideo()
239 } else if (action == MediaAction.STOP) { in presentVideo()
241 } else if (action == MediaAction.SEEK) { in presentVideo()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmInitReceiver.java31 String action = intent.getAction(); in onReceive() local
32 if (Log.LOGV) Log.v("AlarmInitReceiver" + action); in onReceive()
38 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
DDockEventReceiver.java43 String action = intent.getAction(); in onReceive() local
44 if (Intent.ACTION_DOCK_EVENT.equals(action)) { in onReceive()
68 } else if (android.provider.Telephony.Intents.SECRET_CODE_ACTION.equals(action)) { in onReceive()
/packages/apps/AlarmClock/src/com/android/alarmclock/
DAlarmInitReceiver.java31 String action = intent.getAction(); in onReceive() local
32 if (Log.LOGV) Log.v("AlarmInitReceiver" + action); in onReceive()
38 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerReceiver.java36 String action = intent.getAction(); in onReceive() local
40 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
47 if (action.equals(Intent.ACTION_MEDIA_MOUNTED) && in onReceive()
50 } else if (action.equals(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE) && in onReceive()
/packages/apps/Mms/src/com/android/mms/model/
DVideoModel.java104 MediaAction action = MediaAction.NO_ACTIVE_ACTION; in handleEvent() local
106 action = MediaAction.START; in handleEvent()
114 action = MediaAction.STOP; in handleEvent()
119 action = MediaAction.PAUSE; in handleEvent()
122 action = MediaAction.SEEK; in handleEvent()
127 appendAction(action); in handleEvent()
DAudioModel.java135 MediaAction action = MediaAction.NO_ACTIVE_ACTION; in handleEvent() local
137 action = MediaAction.START; in handleEvent()
142 action = MediaAction.STOP; in handleEvent()
144 action = MediaAction.PAUSE; in handleEvent()
146 action = MediaAction.SEEK; in handleEvent()
150 appendAction(action); in handleEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarReceiver.java39 String action = intent.getAction(); in onReceive() local
45 if (action.equals(SCHEDULE)) { in onReceive()
47 } else if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
/packages/apps/Calculator/src/com/android/calculator2/
DEventListener.java85 int action = keyEvent.getAction(); in onKey() local
94 if (action == KeyEvent.ACTION_MULTIPLE && keyCode == KeyEvent.KEYCODE_UNKNOWN) { in onKey()
101 if (action == KeyEvent.ACTION_UP) { in onKey()
121 if (action == KeyEvent.ACTION_UP) { in onKey()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapReceiver.java54 String action = intent.getAction(); in onReceive() local
55 in.putExtra("action", action); in onReceive()
57 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
DBluetoothPbapService.java245 String action = intent.getStringExtra("action"); in parseIntent() local
246 if (VERBOSE) Log.v(TAG, "action: " + action); in parseIntent()
250 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in parseIntent()
256 } else if (action.equals(ACCESS_ALLOWED_ACTION)) { in parseIntent()
270 } else if (action.equals(ACCESS_DISALLOWED_ACTION)) { in parseIntent()
272 } else if (action.equals(AUTH_RESPONSE_ACTION)) { in parseIntent()
275 } else if (action.equals(AUTH_CANCELLED_ACTION)) { in parseIntent()
619 private void createPbapNotification(String action) { in createPbapNotification() argument
629 clickIntent.setAction(action); in createPbapNotification()
638 if (action.equals(ACCESS_REQUEST_ACTION)) { in createPbapNotification()
[all …]
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java928 protected Entry getEntry(Action action) { in getEntry() argument
929 final String mimeType = action.getMimeType(); in getEntry()
934 final Intent intent = action.getIntent(); in getEntry()
1003 public boolean hasResolve(Action action) { in hasResolve() argument
1004 return getEntry(action).bestResolve != null; in hasResolve()
1011 public CharSequence getDescription(Action action) { in getDescription() argument
1012 final CharSequence actionHeader = action.getHeader(); in getDescription()
1013 final ResolveInfo info = getEntry(action).bestResolve; in getDescription()
1028 public Drawable getIcon(Action action) { in getIcon() argument
1029 final SoftReference<Drawable> iconRef = getEntry(action).icon; in getIcon()
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DMmsSystemEventReceiver.java62 String action = intent.getAction(); in onReceive() local
63 if (action.equals(Mms.Intents.CONTENT_CHANGED_ACTION)) { in onReceive()
66 } else if (action.equals(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED)) { in onReceive()
76 } else if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
/packages/apps/Stk/src/com/android/stk/
DStkCmdReceiver.java34 String action = intent.getAction(); in onReceive() local
36 if (action.equals(AppInterface.STK_CMD_ACTION)) { in onReceive()
38 } else if (action.equals(AppInterface.STK_SESSION_END_ACTION)) { in onReceive()
DBootCompletedReceiver.java32 String action = intent.getAction(); in onReceive() local
35 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive()
/packages/apps/Phone/src/com/android/phone/
DGetPin2Screen.java69 Intent action = new Intent(); in returnResult() local
70 if (uri != null) action.setAction(uri.toString()); in returnResult()
71 setResult(RESULT_OK, action.putExtras(map)); in returnResult()
DOutgoingCallBroadcaster.java199 String action = intent.getAction(); in onCreate() local
222 if (Intent.ACTION_CALL_PRIVILEGED.equals(action)) { in onCreate()
223 action = emergencyNumber in onCreate()
226 intent.setAction(action); in onCreate()
229 if (Intent.ACTION_CALL.equals(action)) { in onCreate()
253 } else if (Intent.ACTION_CALL_EMERGENCY.equals(action)) { in onCreate()
/packages/apps/Browser/src/com/android/browser/
DBookmarkSearch.java35 String action = intent.getAction(); in onCreate() local
36 if (Intent.ACTION_VIEW.equals(action)) { in onCreate()
/packages/apps/Calendar/src/com/android/calendar/
DAgendaActivity.java60 String action = intent.getAction();
61 if (action.equals(Intent.ACTION_TIME_CHANGED)
62 || action.equals(Intent.ACTION_DATE_CHANGED)
63 || action.equals(Intent.ACTION_TIMEZONE_CHANGED)) {

12345