Home
last modified time | relevance | path

Searched refs:getAction (Results 1 – 25 of 820) sorted by relevance

12345678910>>...33

/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java42 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate()
50 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate()
56 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate()
71 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume()
99 if (CLEAR_TASK.equals(getIntent().getAction())) {
112 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle()
115 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in queueIdle()
DLocalReceiver.java36 if (BroadcastTest.BROADCAST_FAIL_REGISTER.equals(intent.getAction())) { in onReceive()
46 } else if (BroadcastTest.BROADCAST_FAIL_BIND.equals(intent.getAction())) { in onReceive()
62 } else if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) { in onReceive()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricDanglingReceiver.java72 Slog.d(TAG, "Received: " + intent.getAction()); in onReceive()
73 if (ACTION_FINGERPRINT_RE_ENROLL_LAUNCH.equals(intent.getAction())) { in onReceive()
76 } else if (ACTION_FINGERPRINT_RE_ENROLL_DISMISS.equals(intent.getAction())) { in onReceive()
78 } else if (ACTION_FACE_RE_ENROLL_LAUNCH.equals(intent.getAction())) { in onReceive()
81 } else if (ACTION_FACE_RE_ENROLL_DISMISS.equals(intent.getAction())) { in onReceive()
DAuthenticationStatsBroadcastReceiver.java60 && Intent.ACTION_USER_UNLOCKED.equals(intent.getAction())) { in onReceive()
61 Slog.d(TAG, "Received: " + intent.getAction()); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutsReceiver.java46 if (Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
48 } else if (Intent.ACTION_DISMISS_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
52 if (Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
54 } else if (Intent.ACTION_DISMISS_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestReceiver.java43 Log.d(TAG, "Received action " + intent.getAction()); in onReceive()
45 switch (intent.getAction()) { in onReceive()
68 Log.e(TAG, "Unknown action: " + intent.getAction()); in onReceive()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java95 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener()
153 if (Intent.ACTION_USER_UNLOCKED.equals(intent.getAction())) { in onReceive()
159 } else if (DISABLE_PLUGIN.equals(intent.getAction())) { in onReceive()
181 if (Intent.ACTION_PACKAGE_REPLACED.equals(intent.getAction()) in onReceive()
194 if (Intent.ACTION_PACKAGE_ADDED.equals(intent.getAction()) in onReceive()
195 || Intent.ACTION_PACKAGE_CHANGED.equals(intent.getAction()) in onReceive()
196 || Intent.ACTION_PACKAGE_REPLACED.equals(intent.getAction())) { in onReceive()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierSignalAgentTest.java200 assertEquals(ACTION_CARRIER_SIGNAL_PCO_VALUE, dcErrorIntent.getAction()); in testNotifyManifestReceivers()
204 assertEquals(ACTION_CARRIER_SIGNAL_PCO_VALUE, pcoReceiverIntent.getAction()); in testNotifyManifestReceivers()
209 legacyReceiverIntent.getAction()); in testNotifyManifestReceivers()
244 assertEquals(TelephonyIntents.ACTION_CARRIER_SIGNAL_PCO_VALUE, intent.getAction()); in testLegacyConversionSupport()
262 assertEquals(TelephonyIntents.ACTION_CARRIER_SIGNAL_REDIRECTED, intent.getAction()); in testLegacyConversionSupport()
279 intent.getAction()); in testLegacyConversionSupport()
295 assertEquals(TelephonyIntents.ACTION_CARRIER_SIGNAL_RESET, intent.getAction()); in testLegacyConversionSupport()
308 intent.getAction()); in testLegacyConversionSupport()
354 mCaptorIntent.getValue().getAction()); in testNotifyRuntimeReceivers()
380 argThat(o -> Objects.equals(o.getAction(), ACTION_CARRIER_SIGNAL_PCO_VALUE)), in testNotify()
[all …]
DContextFixture.java458 mBroadcastReceiversByAction.put(filter.getAction(i), receiver); in registerReceiverFakeImpl()
460 result = mStickyBroadcastByAction.get(filter.getAction(i)); in registerReceiverFakeImpl()
470 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast()
473 mBroadcastReceiversByAction.get(intent.getAction())) { in sendBroadcast()
481 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast()
487 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast()
493 logd("sendOrderedBroadcast called for " + intent.getAction()); in sendOrderedBroadcast()
558 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
571 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
585 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricDanglingReceiverTest.java93 when(mIntent.getAction()).thenReturn( in testOnReceive_fingerprintReEnrollLaunch()
100 assertThat(mArgumentCaptor.getValue().getAction()) in testOnReceive_fingerprintReEnrollLaunch()
114 when(mIntent.getAction()).thenReturn( in testOnReceive_faceReEnrollLaunch()
121 assertThat(mArgumentCaptor.getValue().getAction()) in testOnReceive_faceReEnrollLaunch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DIntentCreatorTest.java80 assertEquals(Intent.ACTION_EDIT, intent.getAction()); in test_getImageEditIntent()
100 assertEquals(Intent.ACTION_CHOOSER, intent.getAction()); in test_getShareIntent_plaintext()
113 assertEquals(Intent.ACTION_CHOOSER, intent.getAction()); in test_getShareIntent_html()
127 assertEquals(Intent.ACTION_CHOOSER, intent.getAction()); in test_getShareIntent_image()
140 assertEquals(Intent.ACTION_CHOOSER, intent.getAction()); in test_getShareIntent_spannableText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntentBroadcaster.java45 String action = intent.getAction();
55 logd("Rebroadcasting intent " + i.getAction() + " "
89 logd("Broadcasting and adding intent for rebroadcast: " + intent.getAction() + " " in broadcastStickyIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowView.java77 if (ev.getAction() == ACTION_DOWN && ev.getRawY() > getHeight()) { in dispatchTouchEvent()
80 } else if (ev.getAction() == ACTION_MOVE && mTouchDownY != 0) { in dispatchTouchEvent()
82 } else if (ev.getAction() == ACTION_UP) { in dispatchTouchEvent()
/frameworks/base/core/java/android/service/media/
DCameraPrewarmService.java62 if (ACTION_PREWARM.equals(intent.getAction())) { in onBind()
72 if (ACTION_PREWARM.equals(intent.getAction())) { in onUnbind()
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/
DTestCommsReceiver.java40 switch (intent.getAction()) { in onReceive()
47 Log.e(TAG, "Unknown action " + intent.getAction()); in onReceive()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitorTest.java116 assertThat(mShadowApplication.getBroadcastIntents().get(0).getAction()) in testOnUxRestrictionsChanged_triggersExit()
125 assertThat(mShadowApplication.getBroadcastIntents().get(0).getAction()) in testStartMonitorWhileDriving_triggersExit()
135 assertThat(mShadowApplication.getBroadcastIntents().get(0).getAction()) in testOnUxRestrictionsChangedForNonSetup_triggersExit()
144 assertThat(mShadowApplication.getBroadcastIntents().get(0).getAction()) in testStartMonitorWhileDrivingForNonSetup_triggersExit()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportRequestedReceiver.java42 Log.d(TAG, "onReceive() ACTION: " + serviceIntent.getAction()); in onReceive()
43 serviceIntent.setAction(intent.getAction()); in onReceive()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierDefaultBroadcastReceiver.java30 Log.d(TAG, "onReceive intent: " + intent.getAction()); in onReceive()
35 if (Intent.ACTION_LOCALE_CHANGED.equals(intent.getAction())) { in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuNotificationFactoryTest.java46 assertThat(notification.contentIntent.getIntent().getAction()).isEqualTo( in createHiddenNotification_hasUndoAndDeleteAction()
48 assertThat(notification.deleteIntent.getIntent().getAction()).isEqualTo( in createHiddenNotification_hasUndoAndDeleteAction()
/frameworks/base/core/java/android/app/admin/
DPolicyUpdateReceiver.java158 Objects.requireNonNull(intent.getAction()); in onReceive()
159 switch (intent.getAction()) { in onReceive()
171 Log.e(TAG, "Unknown action received: " + intent.getAction()); in onReceive()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
DBatterySaverUtilsTest.java88 assertThat(intentCaptor.getValue().getAction()).isEqualTo( in testSetPowerSaveMode_enableWithWarning_firstCall_needConfirmationWarning()
112 assertThat(intentCaptor.getValue().getAction()).isEqualTo( in testSetPowerSaveMode_enableWithWarning_secondCall_expectUpdateIntent()
135 assertThat(intentCaptor.getValue().getAction()).isEqualTo( in testSetPowerSaveMode_enableWithWarning_thirdCall_expectUpdateIntent()
159 assertThat(values.get(0).getAction()).isEqualTo(ACTION_SHOW_AUTO_SAVER_SUGGESTION); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning()
160 assertThat(values.get(1).getAction()).isEqualTo(ACTION_SAVER_STATE_MANUAL_UPDATE); in testSetPowerSaveMode_enableWithWarning_5thCall_needAutoSuggestionWarning()
181 assertThat(intentCaptor.getValue().getAction()).isEqualTo( in testSetPowerSaveMode_enableWithoutWarning_expectUpdateIntent()
287 assertThat(intentCaptor.getValue().getAction()).isEqualTo( in verifyDisablePowerSaveMode()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemScreenInteractiveHelper.java56 if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in onSystemReady()
58 } else if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) { in onSystemReady()
/frameworks/base/ravenwood/mockito/test/com/android/ravenwoodtest/mockito/
DRavenwoodMockitoTest.java47 when(object.getAction()).thenReturn("ACTION_RAVENWOOD"); in testMockAndroidClass1()
49 assertThat(object.getAction()).isEqualTo("ACTION_RAVENWOOD"); in testMockAndroidClass1()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java57 IntentFilter filter = new IntentFilter(getAction()); in SipWakeupTimer()
215 Intent intent = new Intent(getAction()); in scheduleNext()
227 String action = intent.getAction(); in onReceive()
228 if (getAction().equals(action) in onReceive()
275 private String getAction() { in getAction() method in SipWakeupTimer
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationViewController.java73 if (ev.getAction() == MotionEvent.ACTION_UP) { in onTouch()
81 if (ev.getAction() == MotionEvent.ACTION_UP) { in onTouch()

12345678910>>...33