/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() 45 } else if (BroadcastTest.BROADCAST_FAIL_BIND.equals(intent.getAction())) { in onReceive() 61 } else if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) { in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/ |
D | LabeledIntentTest.java | 80 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_preferTitleWithEntity() 103 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_useAvailableTitle() 125 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_titleChooser() 147 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_titleChooserReturnsNull()
|
D | LegacyIntentClassificationFactoryTest.java | 81 assertThat(intent.getAction()).isEqualTo(Intent.ACTION_DEFINE); in create_typeDictionary() 115 assertThat(intents.get(0).intent.getAction()).isEqualTo(Intent.ACTION_DEFINE); in create_translateAndDictionary() 116 assertThat(intents.get(1).intent.getAction()).isEqualTo(Intent.ACTION_TRANSLATE); in create_translateAndDictionary()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 113 if (Intent.ACTION_CHOOSER.equals(newIntent.getAction())) { in onCreate() 165 return (Intent.ACTION_SENDTO.equals(intent.getAction()) || isViewActionIntent(intent)) in isTextMessageIntent() 170 return Intent.ACTION_DIAL.equals(intent.getAction()) in isDialerIntent() 171 || Intent.ACTION_CALL.equals(intent.getAction()) in isDialerIntent() 172 || Intent.ACTION_CALL_PRIVILEGED.equals(intent.getAction()) in isDialerIntent() 173 || Intent.ACTION_CALL_EMERGENCY.equals(intent.getAction()) in isDialerIntent() 178 return Intent.ACTION_VIEW.equals(intent.getAction()) in isViewActionIntent() 201 if (Intent.ACTION_CHOOSER.equals(forwardIntent.getAction())) { in canForward()
|
D | NetInitiatedActivity.java | 61 if (DEBUG) Log.d(TAG, "NetInitiatedReceiver onReceive: " + intent.getAction()); 62 if (intent.getAction() == GpsNetInitiatedHandler.ACTION_NI_VERIFY) { 150 if (DEBUG) Log.d(TAG, "handleNIVerify action: " + intent.getAction()); in handleNIVerify()
|
/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/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 51 assertEquals(ACTION, keyEvent.getAction()); in testObtain() 70 assertEquals(keyEvent.getAction(), keyEvent2.getAction()); in testObtainFromKeyEvent() 89 assertEquals(ACTION, keyEvent.getAction()); in testObtainWithDisplayId()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntentBroadcaster.java | 46 String action = intent.getAction(); 56 logd("Rebroadcasting intent " + i.getAction() + " " 90 logd("Broadcasting and adding intent for rebroadcast: " + intent.getAction() + " " in broadcastStickyIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutsReceiver.java | 28 if (Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive() 30 } else if (Intent.ACTION_DISMISS_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierSignalAgentTest.java | 112 assertEquals(ACTION_CARRIER_SIGNAL_PCO_VALUE, capturedIntent.getAction()); in testNotifyManifestReceivers() 116 assertEquals(ACTION_CARRIER_SIGNAL_PCO_VALUE, capturedIntent.getAction()); in testNotifyManifestReceivers() 144 mCaptorIntent.getValue().getAction()); in testNotifyRuntimeReceivers() 170 argThat(o -> Objects.equals(o.getAction(), ACTION_CARRIER_SIGNAL_PCO_VALUE)), in testNotify() 182 assertEquals(ACTION_CARRIER_SIGNAL_PCO_VALUE, mCaptorIntent.getValue().getAction()); in testNotify() 191 mCaptorIntent.getValue().getAction()); in testNotify()
|
D | ContextFixture.java | 339 mBroadcastReceiversByAction.put(filter.getAction(i), receiver); in registerReceiverFakeImpl() 341 result = mStickyBroadcastByAction.get(filter.getAction(i)); in registerReceiverFakeImpl() 351 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast() 354 mBroadcastReceiversByAction.get(intent.getAction())) { in sendBroadcast() 362 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast() 368 logd("sendOrderedBroadcast called for " + intent.getAction()); in sendOrderedBroadcast() 427 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser() 440 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser() 454 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser() 468 logd("sendOrderedBroadcast called for " + intent.getAction()); in sendOrderedBroadcast() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 144 Log.d(TAG, "AppCommunicationReceiver#onReceive: " + intent.getAction()); in onReceive() 299 ACTION_REPORT_MY_PACKAGE_SUSPENDED, intentFromApp.getAction()); in testMyPackageSuspendedUnsuspended() 305 ACTION_REPORT_MY_PACKAGE_UNSUSPENDED, intentFromApp.getAction()); in testMyPackageSuspendedUnsuspended() 316 ACTION_REPORT_MY_PACKAGE_SUSPENDED, intentFromApp.getAction()); in testUpdatingAppExtras() 324 ACTION_REPORT_MY_PACKAGE_SUSPENDED, intentFromApp.getAction()); in testUpdatingAppExtras() 345 ACTION_REPORT_TEST_ACTIVITY_STARTED, intentFromApp.getAction()); in testActivityStoppedOnSuspend() 349 ACTION_REPORT_TEST_ACTIVITY_STOPPED, intentFromApp.getAction()); in testActivityStoppedOnSuspend() 486 ACTION_REPORT_MORE_DETAILS_ACTIVITY_STARTED, intentFromApp.getAction()); in testInterceptorActivity() 535 assertEquals(ACTION_REPORT_MY_PACKAGE_SUSPENDED, intentFromApp.getAction()); in testPackageUnsuspendedOnAddingDeviceOwner() 538 assertEquals(ACTION_REPORT_MY_PACKAGE_UNSUSPENDED, intentFromApp.getAction()); in testPackageUnsuspendedOnAddingDeviceOwner() [all …]
|
/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/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()
|
D | CustomConfigLoader.java | 80 switch (intent.getAction()) { in loadCarrierActionList() 103 + intent.getAction()); in loadCarrierActionList() 117 Log.d(TAG, "no matching entry for signal: " + intent.getAction() + "arg1: " + arg1 in loadCarrierActionList()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 330 assertTrue(intent.getAction().equals(Intent.ACTION_SEARCH) in queryIntentActivities() 331 || intent.getAction().equals(Intent.ACTION_WEB_SEARCH) in queryIntentActivities() 332 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in queryIntentActivities() 346 assertTrue(intent.getAction().equals(Intent.ACTION_WEB_SEARCH) in resolveActivity() 347 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in resolveActivity()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStateTrackerTest.java | 92 String action = intent.getAction(); in testSupplicantStateChangeIntent() 114 String action = intent.getAction(); in testAuthPassInSupplicantStateChangeIntent() 140 String action = intent.getAction(); in testAuthFailedInSupplicantStateChangeIntent() 167 String action = intent.getAction(); in testReasonCodeInSupplicantStateChangeIntent()
|
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/ |
D | SvcMonitor.java | 32 if ("stop".equals(intent.getAction())) { in onStartCommand() 34 } else if ("start".equals(intent.getAction())) { in onStartCommand() 36 } else if ("change".equals(intent.getAction())) { in onStartCommand() 39 Log.d(TAG, "unknown action: + " + intent.getAction()); in onStartCommand()
|
/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/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 208 final int action = event.getAction(); in onKeyEvent() 270 final int action = event.getAction(); in onTrackballEvent() 331 final int action = event.getAction(); in onTouchEvent() 475 final int action = event.getAction(); in onGenericMotionEvent() 629 + MotionEvent.actionToString(event.getAction())); in ensurePointerCountIsOneForThisAction() 637 MotionEvent.actionToString(event.getAction())); in ensureActionButtonIsNonZeroForThisAction() 646 + MotionEvent.actionToString(event.getAction())); in ensureHistorySizeIsZeroForThisAction()
|
/frameworks/base/core/java/android/service/chooser/ |
D | ChooserTargetService.java | 126 if (!SERVICE_INTERFACE.equals(intent.getAction())) { in onBind() 127 if (DEBUG) Log.d(TAG, "bad intent action " + intent.getAction() + "; returning null"); in onBind()
|
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/ |
D | TestJobActivity.java | 44 switch (intent.getAction()) { in onCreate() 62 Log.e(TAG, "Unknown action " + intent.getAction()); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButton.java | 72 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in onTouchEvent() 73 || (event.getAction() == MotionEvent.ACTION_UP)) { in onTouchEvent()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/voicerecognition/car/ |
D | ConnectedDeviceVoiceRecognitionNotifier.java | 55 || intent.getAction() == null 56 || !BluetoothHeadsetClient.ACTION_AG_EVENT.equals(intent.getAction())
|