/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | DeviceTestConstants.java | 29 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/ |
D | BackupTransportHostSideTest.java | 27 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()
|
D | AutoRestoreHostSideTest.java | 39 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/ |
D | FontRequestTest.java | 42 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()
|
D | FontsContractTest.java | 56 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/ |
D | ActiveTileServiceCompatChangeTest.java | 28 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/ |
D | WakeLockHelper.java | 31 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);
|
D | AudioManagerHelper.java | 30 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/ |
D | EditTextAppConstants.java | 25 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";
|
D | Ime1Constants.java | 30 public static final String PACKAGE = "android.inputmethodservice.cts.ime1"; field in Ime1Constants 43 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
|
D | Ime2Constants.java | 30 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/ |
D | DefaultDialerOperationsTest.java | 95 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 …]
|
D | SimCallManagerTest.java | 22 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()
|
D | TestUtils.java | 72 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 …]
|
D | DataObjectUnitTests.java | 54 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/ |
D | InputMethodServiceDeviceTest.java | 80 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/ |
D | SampleHostJUnit4Test.java | 49 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/ |
D | AbiOverrideTest.java | 41 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/ |
D | SplitAppTest.java | 60 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/ |
D | WifiBroadcastsHostJUnit4Test.java | 50 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/ |
D | InputMethodServiceLifecycleTest.java | 167 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/ |
D | SustainedPerformanceHostTest.java | 37 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/ |
D | HdmiCecInvalidMessagesTest.java | 44 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/ |
D | ApiAnnotation.java | 22 import static java.lang.annotation.ElementType.PACKAGE; 30 TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE
|
/cts/tests/app/src/android/app/cts/ |
D | LauncherActivity_IconResizerTest.java | 29 private static final String PACKAGE = "android.app.stubs"; field in LauncherActivity_IconResizerTest 33 super(PACKAGE, LauncherActivityStub.class); in LauncherActivity_IconResizerTest()
|