Home
last modified time | relevance | path

Searched refs:PACKAGE (Results 1 – 25 of 61) sorted by relevance

123

/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
DDeviceTestConstants.java29 public static final String PACKAGE = "android.inputmethodservice.cts.devicetest"; field in DeviceTestConstants
41 new TestInfo(PACKAGE, SERVICE_TEST, "testCreateIme1");
43 new TestInfo(PACKAGE, SERVICE_TEST, "testSwitchIme1ToIme2");
45 new TestInfo(PACKAGE, SERVICE_TEST, "testSwitchInputMethod");
47 new TestInfo(PACKAGE, SERVICE_TEST, "testSwitchToNextInputMethod");
49 new TestInfo(PACKAGE, SERVICE_TEST, "switchToPreviousInputMethod");
51 new TestInfo(PACKAGE, SERVICE_TEST, "testInputUnbindsOnImeStopped");
53 new TestInfo(PACKAGE, SERVICE_TEST, "testInputUnbindsOnAppStopped");
55 new TestInfo(PACKAGE, SERVICE_TEST, "testImeVisibilityAfterImeSwitching");
57 new TestInfo(PACKAGE, SERVICE_TEST,
[all …]
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupTransportHostSideTest.java27 private static final String PACKAGE = "android.cts.backup.backuptransportapp"; field in BackupTransportHostSideTest
28 private static final String CLASS = PACKAGE + ".BackupTransportTest";
34 assertTrue(runDeviceTests(PACKAGE, CLASS)); in testBackupTransport()
35 uninstallPackage(PACKAGE); in testBackupTransport()
DAutoRestoreHostSideTest.java39 private static final String PACKAGE = "android.cts.backup.autorestoreapp"; field in AutoRestoreHostSideTest
40 private static final String CLASS = PACKAGE + ".AutoRestoreTest";
62 uninstallPackage(PACKAGE); in tearDown()
118 mBackupUtils.backupNowAndAssertSuccess(PACKAGE); in backupAndReinstallPackage()
119 uninstallPackage(PACKAGE); in backupAndReinstallPackage()
134 runDeviceTests(PACKAGE, CLASS, testName); in runDeviceProcedure()
/cts/tests/tests/provider/src/android/provider/cts/
DFontRequestTest.java42 private static final String PACKAGE = "com.test.fontprovider.package"; field in FontRequestTest
50 new FontRequest(null, PACKAGE, QUERY); in testShortConstructor_nullAuthority()
60 new FontRequest(PROVIDER, PACKAGE, null); in testShortConstructor_nullQuery()
66 FontRequest request = new FontRequest(PROVIDER, PACKAGE, QUERY); in testShortConstructor_defaults()
75 new FontRequest(null, PACKAGE, QUERY, CERTS); in testLongConstructor_nullAuthority()
85 new FontRequest(PROVIDER, PACKAGE, null, CERTS); in testLongConstructor_nullQuery()
90 new FontRequest(PROVIDER, PACKAGE, QUERY, null); in testLongConstructor_nullCerts()
DFontsContractTest.java56 private static final String PACKAGE = "android.provider.cts"; field in FontsContractTest
152 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFont()
167 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFontNegativeErrorCode()
184 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in querySingleFont()
201 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleFont()
219 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryAttributes()
249 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryNotFound()
265 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryUnavailable()
281 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMalformed()
297 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleOneNotFound()
[all …]
/cts/hostsidetests/systemui/src/android/host/systemui/
DActiveTileServiceCompatChangeTest.java28 private static final String PACKAGE = "android.systemui.cts"; field in ActiveTileServiceCompatChangeTest
43 private final String mComponent = PACKAGE + "/." + mService;
52 + " " + PACKAGE;
87 setCompatConfig(enabledSet, disabledSet, PACKAGE); in testRequestListeningBadPackage_changeEnabled_SecurityException()
102 setCompatConfig(enabledSet, disabledSet, PACKAGE); in runTest()
105 createAndUploadStatsdConfig(configId, PACKAGE); in runTest()
110 resetCompatChanges(Set.of(REQUEST_LISTENING_MUST_MATCH_PACKAGE), PACKAGE); in runTest() local
111 validatePostRunStatsdReport(configId, PACKAGE, enabledSet, disabledSet); in runTest()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DWakeLockHelper.java31 private static final String PACKAGE = "android.hdmicec.app"; field in WakeLockHelper
38 String.format("am start -n %s/%s.%s -a ", PACKAGE, PACKAGE, CLASS);
41 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
DAudioManagerHelper.java30 private static final String PACKAGE = "android.hdmicec.app"; field in AudioManagerHelper
37 String.format("am start -n %s/%s.%s -a ", PACKAGE, PACKAGE, CLASS);
40 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DEditTextAppConstants.java25 public static final String PACKAGE = "android.inputmethodservice.cts.edittextapp"; field in EditTextAppConstants
26 public static final String CLASS = PACKAGE + ".MainActivity";
28 public static final String EDIT_TEXT_RES_NAME = PACKAGE + ":id/edit_text_entry";
DIme1Constants.java30 public static final String PACKAGE = "android.inputmethodservice.cts.ime1"; field in Ime1Constants
43 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
DIme2Constants.java30 public static final String PACKAGE = "android.inputmethodservice.cts.ime2"; field in Ime2Constants
43 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
/cts/tests/tests/telecom/src/android/telecom/cts/
DDefaultDialerOperationsTest.java95 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetDefaultDialerPackage()
96 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage()
171 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testVoicemailReadWritePermissions()
189 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testSilenceRingerPermissions()
206 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testCancelMissedCallsNotificationPermissions()
228 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testHandlePinMmPermissions()
245 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetAdnForPhoneAccountPermissions()
265 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in donotTestSetDefaultDialerNoDialIntent_notSupported()
267 assertNotSame(result, TestUtils.PACKAGE); in donotTestSetDefaultDialerNoDialIntent_notSupported()
278 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in donotTestSetDefaultDialerNoDialIntent_notSupported()
[all …]
DSimCallManagerTest.java22 import static android.telecom.cts.TestUtils.PACKAGE;
44 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID_1);
114 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetSimCallManager()
115 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager()
DTestUtils.java72 public static String PACKAGE = "android.telecom.cts"; field in TestUtils
85 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID_1);
87 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID_SIM);
89 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID_2);
91 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID_EMERGENCY);
95 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT),
98 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT),
101 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), "handoverFrom");
103 new PhoneAccountHandle(new ComponentName(PACKAGE, SELF_MANAGED_COMPONENT),
108 new PhoneAccountHandle(new ComponentName(PACKAGE, SELF_MANAGED_COMPONENT),
[all …]
DDataObjectUnitTests.java54 new ComponentName(PACKAGE, COMPONENT), in testPhoneAccount()
100 final ComponentName component = new ComponentName(PACKAGE, COMPONENT); in testPhoneAccountHandle()
127 new ComponentName(PACKAGE, COMPONENT), in testConnectionRequest()
132 PACKAGE); in testConnectionRequest()
206 PACKAGE); in testStatusHints()
241 PACKAGE, in testGatewayInfo()
244 assertEquals(PACKAGE, info.getGatewayProviderPackageName()); in testGatewayInfo()
256 assertEquals(PACKAGE, parcelInfo.getGatewayProviderPackageName()); in testGatewayInfo()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java80 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testCreateIme1()
99 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchIme1ToIme2()
116 ACTION_IME_COMMAND, Ime1Constants.PACKAGE, in testSwitchIme1ToIme2()
145 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchInputMethod()
156 ACTION_IME_COMMAND, Ime1Constants.PACKAGE, in testSwitchInputMethod()
175 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchToNextInputMethod()
187 ACTION_IME_COMMAND, Ime1Constants.PACKAGE, in testSwitchToNextInputMethod()
201 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in switchToPreviousInputMethod()
212 ACTION_IME_COMMAND, Ime2Constants.PACKAGE, in switchToPreviousInputMethod()
227 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testInputUnbindsOnImeStopped()
[all …]
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java49 private static final String PACKAGE = "android.sample.app"; field in SampleHostJUnit4Test
60 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS);
65 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java41 private static final String PACKAGE = "android.abioverride.app"; field in AbiOverrideTest
57 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS);
74 device.uninstallPackage(PACKAGE); in setUp()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java60 private static final String PACKAGE = "com.android.cts.classloadersplitapp"; field in SplitAppTest
62 ComponentName.createRelative(PACKAGE, ".feature_a.FeatureAActivity");
64 ComponentName.createRelative(PACKAGE, ".feature_b.FeatureBActivity");
66 ComponentName.createRelative(PACKAGE, ".feature_a.FeatureAService");
68 ComponentName.createRelative(PACKAGE, ".feature_b.FeatureBService");
193 context.sendOrderedBroadcast(new Intent(PACKAGE + ".ACTION").setPackage(PACKAGE), null, in sendOrderedBroadcast()
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java50 private static final String PACKAGE = "android.wifibroadcasts.app"; field in WifiBroadcastsHostJUnit4Test
61 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS);
66 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java167 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchIme()
199 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testUninstallCurrentIme()
207 uninstallPackageSyncIfExists(Ime1Constants.PACKAGE); in testUninstallCurrentIme()
232 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testDisableCurrentIme()
264 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchInputMethod()
296 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchToNextInput()
330 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testSwitchToPreviousInput()
362 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testInputUnbindsOnImeStopped()
396 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testInputUnbindsOnAppStop()
428 EditTextAppConstants.APK, EditTextAppConstants.PACKAGE, instant); in testImeVisibilityAfterImeSwitching()
[all …]
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/
DSustainedPerformanceHostTest.java37 private static final String PACKAGE = "com.android.gputest"; field in SustainedPerformanceHostTest
41 PACKAGE, PACKAGE, CLASS);
44 PACKAGE, PACKAGE, CLASS);
46 "am force-stop %s", PACKAGE);
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecInvalidMessagesTest.java44 private static final String PACKAGE = "android.hdmicec.app"; field in HdmiCecInvalidMessagesTest
51 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS);
54 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
/cts/tests/signature/tests/src/android/signature/cts/tests/data/
DApiAnnotation.java22 import static java.lang.annotation.ElementType.PACKAGE;
30 TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE
/cts/tests/app/src/android/app/cts/
DLauncherActivity_IconResizerTest.java29 private static final String PACKAGE = "android.app.stubs"; field in LauncherActivity_IconResizerTest
33 super(PACKAGE, LauncherActivityStub.class); in LauncherActivity_IconResizerTest()

123