Home
last modified time | relevance | path

Searched refs:INTENT_ACTION (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/tests/mediatestutils/tests/src/java/com/android/media/mediatestutils/
DGetFutureForIntentTest.java44 public static final String INTENT_ACTION = "com.android.media.mediatestutils.TEST_ACTION"; field in GetFutureForIntentTest
54 final var future = getFutureForIntent(mContext, INTENT_ACTION, mPred); in futureCompletes_afterBroadcastFiresPredicatePasses()
57 assertThat(intent.getAction()).isEqualTo(INTENT_ACTION); in futureCompletes_afterBroadcastFiresPredicatePasses()
63 final var future = getFutureForIntent(mContext, INTENT_ACTION, mPred); in futureDoesNotComplete_afterBroadcastFiresPredicateFails()
73 assertThat(intent.getAction()).isEqualTo(INTENT_ACTION); in futureDoesNotComplete_afterBroadcastFiresPredicateFails()
82 INTENT_ACTION, in futureCompletesExceptionally_afterBroadcastFiresPredicateThrows()
98 final var future = getFutureForIntent(mContext, INTENT_ACTION, mPred); in doesNotThrow_whenDoubleSet()
102 assertThat(intent.getAction()).isEqualTo(INTENT_ACTION); in doesNotThrow_whenDoubleSet()
152 final Intent intent = new Intent(INTENT_ACTION).setPackage(mContext.getPackageName()); in sendIntent()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt71 private const val INTENT_ACTION = "com.android.server.pm.test.test_app.action" in <lambda>() constant
95 Intent(INTENT_ACTION).setPackage(context.packageName), in <lambda>()
169 context.registerReceiver(receiver, IntentFilter(INTENT_ACTION)) in <lambda>()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java54 private static final String INTENT_ACTION = "com.android.intent.action.MANAGE_SOUND_TRIGGER"; field in SoundTriggerTestService
94 filter.addAction(INTENT_ACTION); in onCreate()
115 if (intent != null && INTENT_ACTION.equals(intent.getAction())) {
118 Log.e(TAG, "No 'command' specified in " + INTENT_ACTION);
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java83 private static final String INTENT_ACTION = "TESTACTION"; field in AccessibilityManagerTest
86 InstrumentationRegistry.getTargetContext(), 0, new Intent(INTENT_ACTION),
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java159 private static final String INTENT_ACTION = "TESTACTION"; field in AccessibilityManagerServiceTest
162 ApplicationProvider.getApplicationContext(), 0, new Intent(INTENT_ACTION)
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java1167 proto.write(BroadcastRecordProto.INTENT_ACTION, intent.getAction()); in dumpDebug()