/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DockEventReceiver.java | 56 Log.d(TAG, "Action: " + intent.getAction() + " State:" + state + " Device: " in onReceive() 60 if (Intent.ACTION_DOCK_EVENT.equals(intent.getAction()) in onReceive() 61 || ACTION_DOCK_SHOW_UI.endsWith(intent.getAction())) { in onReceive() 62 if ((device == null) && (ACTION_DOCK_SHOW_UI.endsWith(intent.getAction()) || in onReceive() 84 } else if (BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction()) || in onReceive() 85 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) { in onReceive() 110 } else if (BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) { in onReceive()
|
D | RequestPermissionActivity.java | 85 && BluetoothAdapter.ACTION_STATE_CHANGED.equals(intent.getAction())) { 261 if (intent != null && intent.getAction().equals(BluetoothAdapter.ACTION_REQUEST_ENABLE)) { in parseIntent() 264 && intent.getAction().equals(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE)) { in parseIntent()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | InLineSettingKnob.java | 64 if (event.getAction() == MotionEvent.ACTION_DOWN) { 70 } else if (event.getAction() == MotionEvent.ACTION_UP 71 || event.getAction() == MotionEvent.ACTION_CANCEL) { 81 if (event.getAction() == MotionEvent.ACTION_DOWN) { 87 } else if (event.getAction() == MotionEvent.ACTION_UP 88 || event.getAction() == MotionEvent.ACTION_CANCEL) {
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | ContactsUtilsTests.java | 93 assertEquals(Intent.ACTION_SENDTO, imIntent.getAction()); in testImIntentCustom() 115 assertEquals(Intent.ACTION_SENDTO, imIntent.getAction()); in testImIntent() 134 assertEquals(Intent.ACTION_SENDTO, imIntent.getAction()); in testImIntentWithAudio() 138 assertEquals(Intent.ACTION_SENDTO, secondaryIntent.getAction()); in testImIntentWithAudio() 156 assertEquals(Intent.ACTION_SENDTO, imIntent.getAction()); in testImIntentWithVideo() 160 assertEquals(Intent.ACTION_SENDTO, secondaryIntent.getAction()); in testImIntentWithVideo() 181 assertEquals(Intent.ACTION_SENDTO, imIntent.getAction()); in testImEmailIntent() 185 assertEquals(Intent.ACTION_SENDTO, secondaryIntent.getAction()); in testImEmailIntent()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ScreensaverActivity.java | 58 LogUtils.v(TAG, "ScreensaverActivity onReceive, action: " + intent.getAction()); 60 boolean changed = intent.getAction().equals(Intent.ACTION_TIME_CHANGED) 61 || intent.getAction().equals(Intent.ACTION_TIMEZONE_CHANGED); 62 if (intent.getAction().equals(Intent.ACTION_POWER_CONNECTED)) { 65 } else if (intent.getAction().equals(Intent.ACTION_POWER_DISCONNECTED)) { 68 } else if (intent.getAction().equals(Intent.ACTION_USER_PRESENT)) { 78 if (intent.getAction().equals(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED)) {
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | BootAndPackageReplacedReceiver.java | 35 if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction()) in onReceive() 36 || Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction())) { in onReceive() 45 + intent.getAction()); in onReceive()
|
D | StorageStatusReceiver.java | 32 if (Intent.ACTION_DEVICE_STORAGE_LOW.equals(intent.getAction())) { in onReceive() 34 } else if (Intent.ACTION_DEVICE_STORAGE_OK.equals(intent.getAction())) { in onReceive()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateProviderTest.java | 93 assertEquals(UiModeManager.ACTION_ENTER_CAR_MODE, intentFilter.getValue().getAction(0)); in testReceiverAndIntentFilter() 94 assertEquals(UiModeManager.ACTION_EXIT_CAR_MODE, intentFilter.getValue().getAction(1)); in testReceiverAndIntentFilter() 105 when(mIntentEnter.getAction()).thenReturn(UiModeManager.ACTION_ENTER_CAR_MODE); in testOnEnterExitCarMode() 109 when(mIntentExit.getAction()).thenReturn(UiModeManager.ACTION_EXIT_CAR_MODE); in testOnEnterExitCarMode()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 90 if (intent.getAction().equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 93 } else if (intent.getAction().equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 96 } else if (intent.getAction().equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 98 } else if (intent.getAction().equals(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION)) { 100 } else if (intent.getAction().equals(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION)) { 105 } else if (intent.getAction().equals(WifiManager.RSSI_CHANGED_ACTION)) { 107 } else if (intent.getAction().equals(WifiManager.NETWORK_IDS_CHANGED_ACTION)) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | BeamShareActivity.java | 136 if (intent == null || (!intent.getAction().equalsIgnoreCase(Intent.ACTION_SEND) && in parseShareIntentAndFinish() 137 !intent.getAction().equalsIgnoreCase(Intent.ACTION_SEND_MULTIPLE))) return; in parseShareIntentAndFinish() 164 if (intent.getAction().equalsIgnoreCase(Intent.ACTION_SEND)) { in parseShareIntentAndFinish() 235 String action = intent.getAction(); 236 if (NfcAdapter.ACTION_ADAPTER_STATE_CHANGED.equals(intent.getAction())) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetHostView.java | 92 if (ev.getAction() == MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent() 108 switch (ev.getAction()) { in onInterceptTouchEvent() 135 switch (ev.getAction()) { in onTouchEvent() 193 && event.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent()
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 107 assertEquals(Intent.ACTION_SENDTO, intent.getAction()); in testSendSmsWhenOnlyOneNumberAvailable() 126 assertEquals(Intent.ACTION_SENDTO, intent.getAction()); in testSendSmsWhenDataIdIsProvided() 147 assertEquals(Intent.ACTION_SENDTO, intent.getAction()); in testSendSmsWhenThereIsPrimaryNumber() 188 assertEquals(TestConstants.CALL_INTENT_ACTION, intent.getAction()); in testCallNumberWhenThereAreDuplicates() 206 assertEquals(TestConstants.CALL_INTENT_ACTION, intent.getAction()); in testCallWithSip()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | WakeLockHelper.java | 84 + intent.getAction() + " opcode: " + opcode in ensure() 91 LogUtil.e(TAG, "WakeLockHelper.ensure called " + intent + " " + intent.getAction() in ensure() 113 + intent.getAction() + " opcode: " + opcode + " sWakeLock: " + mWakeLock in release()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 108 String provisioningAction = provisioningIntent.getAction(); in parse() 149 ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SOURCE.equals(intent.getAction()); in parseMinimalistSupportedProvisioningDataInternal() 237 ProvisionLogger.logi("Processing all supported extras intent: " + intent.getAction()); in parseAllSupportedProvisioningData() 258 intent.getAction())) in parseAllSupportedProvisioningData() 346 return ACTION_RESUME_PROVISIONING.equals(intent.getAction()); in isResumeProvisioningIntent()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetProvider.java | 57 final String action = intent.getAction(); in onReceive() 63 if (getAction().equals(action)) { in onReceive() 81 protected abstract String getAction(); in getAction() method in BaseWidgetProvider
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 123 if (intent.getAction().equals(ACTION_NEXT_TIP)) { in onReceiveAsync() 129 } else if (intent.getAction().equals(ACTION_POKE)) { in onReceiveAsync() 131 } else if (intent.getAction().equals(AppWidgetManager.ACTION_APPWIDGET_ENABLED)) { in onReceiveAsync() 133 } else if (intent.getAction().equals("android.provider.Telephony.SECRET_CODE")) { in onReceiveAsync()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogReceiver.java | 36 if (VoicemailContract.ACTION_NEW_VOICEMAIL.equals(intent.getAction())) { in onReceive() 38 } else if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { in onReceive()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryService.java | 164 if (SHOW_DOWNLOAD_TOAST_INTENT_ACTION.equals(intent.getAction())) { in onStartCommand() 167 Log.e(TAG, "Received " + intent.getAction() + " without locale; skipped"); in onStartCommand() 195 final String action = intent.getAction(); in dispatchBroadcast()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageRedEye.java | 62 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent() 67 if (event.getAction() == MotionEvent.ACTION_MOVE) { in onTouchEvent() 71 if (event.getAction() == MotionEvent.ACTION_UP) { in onTouchEvent()
|
D | ImageDraw.java | 148 if (event.getAction() != MotionEvent.ACTION_DOWN) { in onTouchEvent() 154 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent() 162 if (event.getAction() == MotionEvent.ACTION_MOVE) { in onTouchEvent() 176 if (event.getAction() == MotionEvent.ACTION_UP) { in onTouchEvent()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerReceiver.java | 35 LogUtils.e("TimerReceiver", "Received legacy timer broadcast: %s", intent.getAction()); in onReceive() 37 if ("times_up".equals(intent.getAction())) { in onReceive()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/activation/ |
D | ResponseReceiver.java | 41 if (!ACTION_ACTIVATION_RESPONSE.equals(intent.getAction())) { in onReceive() 42 Log.e(this, null, "Unexpected intent: " + intent.getAction()); in onReceive()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SearchActivityView.java | 319 if (event.getAction() == KeyEvent.ACTION_DOWN in dispatchKeyEventPreIme() 323 } else if (event.getAction() == KeyEvent.ACTION_UP in dispatchKeyEventPreIme() 423 if (event.getAction() == KeyEvent.ACTION_DOWN in onKey() 466 if (event.getAction() == KeyEvent.ACTION_UP) { in onEditorAction() 468 } else if (event.getAction() == KeyEvent.ACTION_DOWN) { in onEditorAction()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | NewStorageActivity.java | 79 final String action = getIntent().getAction(); in onCreate() 274 if (TextUtils.equals(intent.getAction(), VolumeInfo.ACTION_VOLUME_STATE_CHANGED)) { 380 if (TextUtils.equals(intent.getAction(), VolumeInfo.ACTION_VOLUME_STATE_CHANGED)) { in onReceive() 389 } else if (TextUtils.equals(intent.getAction(), DiskInfo.ACTION_DISK_SCANNED)) { in onReceive() 391 } else if (TextUtils.equals(intent.getAction(), in onReceive() 400 Log.e(TAG, intent.getAction() + " with no " + DiskInfo.EXTRA_DISK_ID); in handleScan()
|
/packages/apps/TV/src/com/android/tv/receiver/ |
D | GlobalKeyReceiver.java | 38 if (ACTION_GLOBAL_BUTTON.equals(intent.getAction())) { in onReceive() 42 int action = event.getAction(); in onReceive()
|