Home
last modified time | relevance | path

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

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DDefaultDialerOperationsTest.java79 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 …]
DSimCallManagerTest.java22 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()
DDataObjectUnitTests.java55 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()
DIncomingCallTest.java28 import static android.telecom.cts.TestUtils.PACKAGE;
37 new ComponentName(PACKAGE, COMPONENT), "WRONG_ID");
/cts/tests/tests/provider/src/android/provider/cts/
DFontRequestTest.java45 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()
DFontsContractTest.java57 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/
DInputMethodServiceLifecycleTest.java67 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/
DSampleHostTest.java36 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);
DSampleHostJUnit4Test.java47 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/
DCtsDeviceJankUi.java34 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/
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/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DIme2Constants.java24 public static final String PACKAGE = "android.inputmethodservice.cts.ime2"; field in Ime2Constants
28 public static final String IME_ID = ComponentNameUtils.buildComponentName(PACKAGE, CLASS);
DIme1Constants.java24 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/
DTrustedVoiceHostTest.java38 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/
DSplitAppTest.java59 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/
DSustainedPerformanceHostTest.java35 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/
DSplitAppTest.java47 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/
DLauncherActivity_IconResizerTest.java29 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/
DInputMethodServiceDeviceTest.java80 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/
DPackageDeviceInfo.java30 private static final String PACKAGE = "package"; field in PackageDeviceInfo
39 store.startArray(PACKAGE); in collectDeviceInfo()
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java48 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/
DManifestGeneratorTest.java30 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/
DMyServiceClient.java33 private static final String PACKAGE = MyServiceClient.class.getPackage().getName(); field in MyServiceClient
34 private static final String APP2_PACKAGE = PACKAGE + ".app2";
DRemoteSocketFactoryClient.java37 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/
DBaseTileServiceTest.java22 protected static final String PACKAGE = "android.systemui.cts"; field in BaseTileServiceTest
53 mComponent = PACKAGE + "/." + mService; in BaseTileServiceTest()

12