/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | TestedScreen.java | 42 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()
|
D | LocalReceiver.java | 36 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/ |
D | BiometricDanglingReceiver.java | 72 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()
|
D | AuthenticationStatsBroadcastReceiver.java | 60 && 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/ |
D | KeyboardShortcutsReceiver.java | 46 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/ |
D | SuspendTestReceiver.java | 43 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/ |
D | PluginManagerImpl.java | 95 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/ |
D | CarrierSignalAgentTest.java | 200 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 …]
|
D | ContextFixture.java | 458 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/ |
D | BiometricDanglingReceiverTest.java | 93 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/ |
D | IntentCreatorTest.java | 80 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/ |
D | IntentBroadcaster.java | 45 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/ |
D | StatusBarWindowView.java | 77 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/ |
D | CameraPrewarmService.java | 62 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/ |
D | TestCommsReceiver.java | 40 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/ |
D | CarDrivingStateMonitorTest.java | 116 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/ |
D | BugreportRequestedReceiver.java | 42 Log.d(TAG, "onReceive() ACTION: " + serviceIntent.getAction()); in onReceive() 43 serviceIntent.setAction(intent.getAction()); in onReceive()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultBroadcastReceiver.java | 30 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/ |
D | MenuNotificationFactoryTest.java | 46 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/ |
D | PolicyUpdateReceiver.java | 158 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/ |
D | BatterySaverUtilsTest.java | 88 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/ |
D | SystemScreenInteractiveHelper.java | 56 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/ |
D | RavenwoodMockitoTest.java | 47 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/ |
D | SipWakeupTimer.java | 57 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/ |
D | ActivatableNotificationViewController.java | 73 if (ev.getAction() == MotionEvent.ACTION_UP) { in onTouch() 81 if (ev.getAction() == MotionEvent.ACTION_UP) { in onTouch()
|