Home
last modified time | relevance | path

Searched refs:sourcePackage (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DInputMethodEnumerationTests.java107 private String[] getInputMethodList(String sourcePackage) throws Exception { in getInputMethodList() argument
108 final Bundle response = sendCommandBlocking(sourcePackage, null /* targetPackageName */, in getInputMethodList()
118 private String[] getEnabledInputMethodList(String sourcePackage) throws Exception { in getEnabledInputMethodList() argument
119 final Bundle response = sendCommandBlocking(sourcePackage, null /* targetPackageName */, in getEnabledInputMethodList()
129 private String[] getEnabledInputMethodSubtypeList(String sourcePackage, String targetPackage) in getEnabledInputMethodSubtypeList() argument
135 final Bundle response = sendCommandBlocking(sourcePackage, null /* targetPackageName */, in getEnabledInputMethodSubtypeList()
DTextServicesEnumerationTests.java82 private String[] getEnabledSpellCheckerInfos(String sourcePackage) in getEnabledSpellCheckerInfos() argument
84 final Bundle response = sendCommandBlocking(sourcePackage, null /* targetPackageName */, in getEnabledSpellCheckerInfos()
DAppEnumerationTests.java1598 private void startExplicitIntentViaComponent(String sourcePackage, String targetPackage) in startExplicitIntentViaComponent() argument
1600 sendCommandBlocking(sourcePackage, targetPackage, in startExplicitIntentViaComponent()
1606 String sourcePackage, String targetPackage) throws Exception { in startExplicitIntentNotExportedViaComponent() argument
1607 sendCommandBlocking(sourcePackage, targetPackage, in startExplicitIntentNotExportedViaComponent()
1612 private void startExplicitIntentViaPackageName(String sourcePackage, String targetPackage) in startExplicitIntentViaPackageName() argument
1614 sendCommandBlocking(sourcePackage, targetPackage, in startExplicitIntentViaPackageName()
1620 String sourcePackage, String targetPackage) throws Exception { in startExplicitPermissionProtectedIntentViaComponent() argument
1621 sendCommandBlocking(sourcePackage, targetPackage, in startExplicitPermissionProtectedIntentViaComponent()
1627 private void startImplicitIntent(String sourcePackage) throws Exception { in startImplicitIntent() argument
1628 sendCommandBlocking(sourcePackage, TARGET_FILTERS, new Intent(ACTION_MANIFEST_ACTIVITY), in startImplicitIntent()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java717 public static void sendCommand(Context context, int command, String sourcePackage, in sendCommand() argument
719 final Intent intent = makeIntent(command, sourcePackage, targetPackage, flags, extras); in sendCommand()
725 String sourcePackage, String targetPackage, int flags, Bundle extras, in sendCommandWithResultReceiver() argument
727 final Intent intent = makeIntent(command, sourcePackage, targetPackage, flags, extras); in sendCommandWithResultReceiver()
734 String sourcePackage, String targetPackage, int flags, Bundle extras, in sendCommandWithBroadcastOptions() argument
736 final Intent intent = makeIntent(command, sourcePackage, targetPackage, flags, extras); in sendCommandWithBroadcastOptions()
741 private static Intent makeIntent(int command, String sourcePackage, in makeIntent() argument
749 intent.setComponent(new ComponentName(sourcePackage, "android.app.stubs.CommandReceiver")); in makeIntent()