Home
last modified time | relevance | path

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

123456

/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DLegalizerInfoTest.cpp63 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(8)}}), in TEST()
65 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(16)}}), in TEST()
67 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(32)}}), in TEST()
69 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(64)}}), in TEST()
73 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(128)}}), in TEST()
76 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(1)}}), in TEST()
78 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(31)}}), in TEST()
80 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(33)}}), in TEST()
82 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(63)}}), in TEST()
84 EXPECT_EQ(L.getAction({opcode, {LLT::scalar(65)}}), in TEST()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/
DLabeledIntentTest.java69 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_preferTitleWithEntity()
84 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_useAvailableTitle()
100 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_titleChooser()
116 assertThat(intent.getAction()).isEqualTo(intent.getAction()); in resolve_titleChooserReturnsNull()
180 assertThat(result.resolvedIntent.getAction()).isEqualTo(Intent.ACTION_VIEW); in resolve_noVisibilityToWebIntentHandler()
206 assertThat(result.resolvedIntent.getAction()).isEqualTo(Intent.ACTION_VIEW); in resolve_noVisibilityToWebIntentHandler_withDescriptionWithAppName()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
DScriptingLayerService.java166 if (intent == null || intent.getAction() == null) { in startAction()
175 if (intent.getAction().equals(Constants.ACTION_KILL_ALL)) { in startAction()
178 } else if (intent.getAction().equals(Constants.ACTION_KILL_PROCESS)) { in startAction()
183 } else if (intent.getAction().equals(Constants.ACTION_SHOW_RUNNING_SCRIPTS)) { in startAction()
186 if (intent.getAction().equals(Constants.ACTION_LAUNCH_SERVER)) { in startAction()
192 } else if (intent.getAction().equals(Constants.ACTION_LAUNCH_FOREGROUND_SCRIPT)) { in startAction()
203 } else if (intent.getAction().equals(Constants.ACTION_LAUNCH_BACKGROUND_SCRIPT)) { in startAction()
206 } else if (intent.getAction().equals(Constants.ACTION_LAUNCH_INTERPRETER)) { in startAction()
212 errmsg = "Action not implemented: " + intent.getAction(); in startAction()
234 Log.w("Intent for action " + intent.getAction() + " has been redelivered."); in onStartCommand()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp107 switch (Rule.getAction()) { in hasNoSimpleLoops()
126 if (Rule.getAction() == Custom || Rule.getAction() == Legal) in mutationIsSane()
133 switch (Rule.getAction()) { in mutationIsSane()
142 if (Rule.getAction() == FewerElements) { in mutationIsSane()
151 } else if (Rule.getAction() == MoreElements) in mutationIsSane()
169 if (Rule.getAction() == NarrowScalar) { in mutationIsSane()
201 LLVM_DEBUG(dbgs() << ".. .. " << Rule.getAction() << ", " in apply()
206 return {Rule.getAction(), Mutation.first, Mutation.second}; in apply()
466 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction() function in LegalizerInfo
486 LegalizerInfo::getAction(const MachineInstr &MI, in getAction() function in LegalizerInfo
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp104 switch (Rule.getAction()) { in hasNoSimpleLoops()
122 if (Rule.getAction() == Custom) in mutationIsSane()
129 switch (Rule.getAction()) { in mutationIsSane()
138 if (Rule.getAction() == FewerElements) { in mutationIsSane()
164 if (Rule.getAction() == NarrowScalar) { in mutationIsSane()
193 LLVM_DEBUG(dbgs() << ".. .. " << Rule.getAction() << ", " in apply()
198 return {Rule.getAction(), Mutation.first, Mutation.second}; in apply()
458 LegalizerInfo::getAction(const LegalityQuery &Query) const { in getAction() function in LegalizerInfo
478 LegalizerInfo::getAction(const MachineInstr &MI, in getAction() function in LegalizerInfo
506 return getAction({MI.getOpcode(), Types, MemDescrs}); in getAction()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPersistService.java84 if(RcsPresence.ACTION_PRESENCE_CHANGED.equals(intent.getAction())) { in onStartCommand()
90 } else if(RcsPresence.ACTION_PUBLISH_STATE_CHANGED.equals(intent.getAction())) { in onStartCommand()
137 if (RcsPresence.ACTION_PRESENCE_CHANGED.equals(intent.getAction())) { in handleMessage()
149 if (RcsPresence.ACTION_PUBLISH_STATE_CHANGED.equals(intent.getAction())) { in handleMessage()
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/firebase/android/src/org/tensorflow/lite/benchmark/firebase/
DBenchmarkModelActivity.java42 if (!intent.getAction().equals("com.google.intent.action.TEST_LOOP")) { in onCreate()
43 Log.e(TAG, "Received non Firebase Game Loop test intent " + intent.getAction()); in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPickerButton.java71 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in cancelLongpressIfRequired()
72 || (event.getAction() == MotionEvent.ACTION_UP)) { in cancelLongpressIfRequired()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DMediaButtonCallback.java60 String action = mediaButtonIntent.getAction(); in onMediaButtonEvent()
65 int keyAction = event.getAction(); in onMediaButtonEvent()
/external/oboe/samples/MegaDrone/src/main/java/com/google/oboe/samples/megadrone/
DMainActivity.java66 if (event.getAction() == MotionEvent.ACTION_DOWN){ in onTouchEvent()
68 } else if (event.getAction() == MotionEvent.ACTION_UP){ in onTouchEvent()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java61 public int getAction() in getAction() method in NGramParser.StateEntry
145 switch (entry.getAction()) in parse()
/external/downloader/src/main/java/com/google/android/downloader/
DAndroidConnectivityHandler.java249 if (!CONNECTIVITY_ACTION.equals(intent.getAction())) { in onReceive()
252 intent.getAction()); in onReceive()
263 intent.getAction(), intent.getExtras()); in onReceive()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java196 assertEquals("foo", intent.getAction()); in testGetActionReturnsWhatWasSet()
334 assertEquals("foo", intentA.getAction()); in shouldFillIn()
348 assertThat(chooserIntent.getAction()).isEqualTo(Intent.ACTION_CHOOSER); in createChooser_shouldWrapIntent()
403 assertThat(intent.getAction()).isEqualTo("roboaction"); in constructor_shouldSetComponentAndActionAndData()
451 assertThat(intent.getAction()).isEqualTo("FOO"); in cloneFilter_shouldIncludeAction()
468 assertThat(intent.getAction()).isEqualTo("Foo"); in getExtra_shouldWorkAfterParcel()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java136 throw new ActivityNotFoundException(intent.getAction()); in verifyActivityInManifest()
255 && wrapper.intentFilter.matchAction(intent.getAction())) { in getAppropriateWrappers()
484 if (unbindableActions.contains(intent.getAction())) {
597 stickyIntents.put(intent.getAction(), intent);
635 if (filter.matchAction(stickyIntent.getAction())) {
670 if (wrapper.intentFilter.matchAction(intent.getAction())) {
682 if (wrapper.intentFilter.matchAction(intent.getAction())) {
/external/llvm-project/clang/lib/Driver/
DAction.cpp179 : Action(OffloadClass, HDep.getAction()), HostTC(HDep.getToolChain()) { in OffloadAction()
182 HDep.getAction()->propagateHostOffloadInfo(HDep.getOffloadKinds(), in OffloadAction()
207 : Action(OffloadClass, HDep.getAction()), HostTC(HDep.getToolChain()), in OffloadAction()
212 HDep.getAction()->propagateHostOffloadInfo(HDep.getOffloadKinds(), in OffloadAction()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java192 assertThat(conversationActions.get(0).getAction().getContentDescription().toString()) in testDeduplicateActions()
194 assertThat(conversationActions.get(1).getAction().getContentDescription().toString()) in testDeduplicateActions()
196 assertThat(conversationActions.get(2).getAction()).isNull(); in testDeduplicateActions()
294 assertThat(labeledIntentResult.resolvedIntent.getAction()).isEqualTo(Intent.ACTION_VIEW); in createLabeledIntentResult()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DLayoutBindBackHelper.java34 bundle.putString("intentAction", activity.getIntent().getAction()); in getExtraBundle()
/external/replicaisland/src/com/replica/replicaisland/
DSingleTouchFilter.java9 if (event.getAction() == MotionEvent.ACTION_UP) { in updateTouch()
DMultiTouchFilter.java16 final int action = event.getAction(); in updateTouch()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DThaiStateTransition.java33 public final char getAction() in getAction() method in ThaiStateTransition
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DTouchableMovementMethod.java58 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterActionButton.java45 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onTouchEvent()
/external/oboe/samples/RhythmGame/src/main/java/com/google/oboe/samples/rhythmgame/
DGameSurfaceView.java57 switch (e.getAction()) { in onTouchEvent()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioBecomingNoisyManager.java69 if (AudioManager.ACTION_AUDIO_BECOMING_NOISY.equals(intent.getAction())) { in onReceive()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothFacade.java89 String action = intent.getAction(); in onReceive()
122 String action = intent.getAction(); in onReceive()
148 String action = intent.getAction(); in onReceive()

123456