/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultDialerOperationsTest.java | 79 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetDefaultDialerPackage() 80 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage() 110 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testVoicemailReadWritePermissions() 128 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testSilenceRingerPermissions() 145 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testCancelMissedCallsNotificationPermissions() 167 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testHandlePinMmPermissions() 184 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetAdnForPhoneAccountPermissions() 201 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testSetDefaultDialerNoDialIntent_notSupported() 202 assertNotSame(result, TestUtils.PACKAGE); in testSetDefaultDialerNoDialIntent_notSupported() 211 final String result = TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testSetDefaultDialerNoDialIntent_notSupported() [all …]
|
D | SimCallManagerTest.java | 22 import static android.telecom.cts.TestUtils.PACKAGE; 43 new PhoneAccountHandle(new ComponentName(PACKAGE, COMPONENT), ACCOUNT_ID); 113 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetSimCallManager() 114 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager()
|
D | DataObjectUnitTests.java | 55 new ComponentName(PACKAGE, COMPONENT), in testPhoneAccount() 101 final ComponentName component = new ComponentName(PACKAGE, COMPONENT); in testPhoneAccountHandle() 128 new ComponentName(PACKAGE, COMPONENT), in testConnectionRequest() 133 PACKAGE); in testConnectionRequest() 202 PACKAGE); in testStatusHints() 237 PACKAGE, in testGatewayInfo() 240 assertEquals(PACKAGE, info.getGatewayProviderPackageName()); in testGatewayInfo() 252 assertEquals(PACKAGE, parcelInfo.getGatewayProviderPackageName()); in testGatewayInfo()
|
D | IncomingCallTest.java | 28 import static android.telecom.cts.TestUtils.PACKAGE; 37 new ComponentName(PACKAGE, COMPONENT), "WRONG_ID");
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | FontRequestTest.java | 45 private static final String PACKAGE = "com.test.fontprovider.package"; field in FontRequestTest 53 new FontRequest(null, PACKAGE, QUERY); in testShortConstructor_nullAuthority() 63 new FontRequest(PROVIDER, PACKAGE, null); in testShortConstructor_nullQuery() 69 FontRequest request = new FontRequest(PROVIDER, PACKAGE, QUERY); in testShortConstructor_defaults() 78 new FontRequest(null, PACKAGE, QUERY, CERTS); in testLongConstructor_nullAuthority() 88 new FontRequest(PROVIDER, PACKAGE, null, CERTS); in testLongConstructor_nullQuery() 93 new FontRequest(PROVIDER, PACKAGE, QUERY, null); in testLongConstructor_nullCerts()
|
D | FontsContractTest.java | 57 private static final String PACKAGE = "android.provider.cts"; field in FontsContractTest 153 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFont() 168 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in requestFontNegativeErrorCode() 185 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in querySingleFont() 202 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleFont() 220 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryAttributes() 250 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryNotFound() 266 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryUnavailable() 282 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMalformed() 298 FontRequest request = new FontRequest(AUTHORITY, PACKAGE, in queryMultipleOneNotFound() [all …]
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | InputMethodServiceLifecycleTest.java | 67 final TestInfo testSwitchIme1ToIme2 = new TestInfo(DeviceTestConstants.PACKAGE, in testSwitchIme() 83 final TestInfo testIme1IsNotCurrentIme = new TestInfo(DeviceTestConstants.PACKAGE, in testUninstallCurrentIme() 86 uninstallPackageIfExists(Ime1Constants.PACKAGE); in testUninstallCurrentIme() 95 final TestInfo testIme1IsNotCurrentIme = new TestInfo(DeviceTestConstants.PACKAGE, in testDisableCurrentIme() 107 final TestInfo testGiveFocusShowIme1 = new TestInfo(DeviceTestConstants.PACKAGE, in testSearchView_giveFocusShowIme() 118 final TestInfo testSetQueryHideIme1 = new TestInfo(DeviceTestConstants.PACKAGE, in testSearchView_setQueryHideIme() 129 final TestInfo testSetQueryHideIme1 = new TestInfo(DeviceTestConstants.PACKAGE, in testOnStartInputCalledOnce() 137 final TestInfo testCreateIme1 = new TestInfo(DeviceTestConstants.PACKAGE, in installAndSetIme1() 164 uninstallPackageIfExists(Ime1Constants.PACKAGE); in cleanUpTestImes() 165 uninstallPackageIfExists(Ime2Constants.PACKAGE); in cleanUpTestImes()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostTest.java | 36 private static final String PACKAGE = "android.sample.app"; field in SampleHostTest 47 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS); 52 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
|
D | SampleHostJUnit4Test.java | 47 private static final String PACKAGE = "android.sample.app"; field in SampleHostJUnit4Test 58 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS); 63 private static final String CLEAR_COMMAND = String.format("pm clear %s", PACKAGE);
|
/cts/tests/jank/src/android/jank/cts/ui/ |
D | CtsDeviceJankUi.java | 34 private final static String PACKAGE = "android.ui.cts"; field in CtsDeviceJankUi 35 private final static String CLASS = PACKAGE + ".ScrollingActivity"; 42 intent.setComponent(new ComponentName(PACKAGE, CLASS)); in setUp() 46 getUiDevice().wait(Until.hasObject(By.pkg(PACKAGE)), DEFAULT_ANIMATION_TIME); in setUp()
|
/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/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | Ime2Constants.java | 24 public static final String PACKAGE = "android.inputmethodservice.cts.ime2"; field in Ime2Constants 28 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
|
D | Ime1Constants.java | 24 public static final String PACKAGE = "android.inputmethodservice.cts.ime1"; field in Ime1Constants 28 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
|
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/ |
D | TrustedVoiceHostTest.java | 38 private static final String PACKAGE = "android.trustedvoice.app"; field in TrustedVoiceHostTest 64 "am start -W -a android.intent.action.MAIN -n %s/%s.%s", PACKAGE, PACKAGE, CLASS);
|
/cts/hostsidetests/appsecurity/test-apps/ClassLoaderSplitApp/src/com/android/cts/classloadersplitapp/ |
D | SplitAppTest.java | 59 private static final String PACKAGE = "com.android.cts.classloadersplitapp"; field in SplitAppTest 61 ComponentName.createRelative(PACKAGE, ".feature_a.FeatureAActivity"); 63 ComponentName.createRelative(PACKAGE, ".feature_b.FeatureBActivity"); 151 context.sendOrderedBroadcast(new Intent(PACKAGE + ".ACTION").setPackage(PACKAGE), null, in sendOrderedBroadcast()
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 35 private static final String PACKAGE = "com.android.gputest"; field in SustainedPerformanceHostTest 39 PACKAGE, PACKAGE, CLASS); 42 PACKAGE, PACKAGE, CLASS); 44 "am force-stop %s", PACKAGE);
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | SplitAppTest.java | 47 private static final String PACKAGE = "com.android.cts.isolatedsplitapp"; field in SplitAppTest 49 ComponentName.createRelative(PACKAGE, ".feature_a.FeatureAActivity"); 51 ComponentName.createRelative(PACKAGE, ".feature_b.FeatureBActivity"); 53 ComponentName.createRelative(PACKAGE, ".feature_c.FeatureCActivity"); 54 private static final String FEATURE_A_STRING = PACKAGE + ":string/feature_a_string"; 55 private static final String FEATURE_B_STRING = PACKAGE + ":string/feature_b_string"; 56 private static final String FEATURE_C_STRING = PACKAGE + ":string/feature_c_string"; 277 context.sendOrderedBroadcast(new Intent(PACKAGE + ".ACTION").setPackage(PACKAGE), null, in sendOrderedBroadcast()
|
/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()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 80 helper.launchActivity(DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testCreateIme1() 102 helper.launchActivity(DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testSwitchIme1ToIme2() 115 ACTION_IME_COMMAND, Ime1Constants.PACKAGE, in testSwitchIme1ToIme2() 142 helper.launchActivity(DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testIme1IsNotCurrentIme() 156 helper.launchActivity(DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testSearchView_giveFocusShowIme1() 176 DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testSearchView_setQueryHideIme1() 200 helper.launchActivity(DeviceTestConstants.PACKAGE, DeviceTestConstants.TEST_ACTIVITY_CLASS); in testOnStartInputCalledOnceIme1()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 30 private static final String PACKAGE = "package"; field in PackageDeviceInfo 39 store.startArray(PACKAGE); in collectDeviceInfo()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | InstallTimeTest.java | 48 static final String PACKAGE = "com.replica.replicaisland"; field in InstallTimeTest 71 mDevice.uninstallPackage(PACKAGE); in tearDown() 86 device.uninstallPackage(PACKAGE); in testInstallTime()
|
/cts/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 30 private static final String PACKAGE = "test.package"; field in ManifestGeneratorTest 71 ManifestGenerator.generate(output, PACKAGE, INSTRUMENT, MIN_SDK, TARGET_SDK, in testManifest()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MyServiceClient.java | 33 private static final String PACKAGE = MyServiceClient.class.getPackage().getName(); field in MyServiceClient 34 private static final String APP2_PACKAGE = PACKAGE + ".app2";
|
D | RemoteSocketFactoryClient.java | 37 private static final String PACKAGE = RemoteSocketFactoryClient.class.getPackage().getName(); field in RemoteSocketFactoryClient 38 private static final String APP2_PACKAGE = PACKAGE + ".app2";
|
/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | BaseTileServiceTest.java | 22 protected static final String PACKAGE = "android.systemui.cts"; field in BaseTileServiceTest 53 mComponent = PACKAGE + "/." + mService; in BaseTileServiceTest()
|