Home
last modified time | relevance | path

Searched refs:APP_PACKAGE_NAME (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DComponents.java103 public final String APP_PACKAGE_NAME; field in Components
136 APP_PACKAGE_NAME = appPackageName; in Components()
139 component(APP_PACKAGE_NAME, "BackgroundActivity"); in Components()
141 component(APP_PACKAGE_NAME, "SecondBackgroundActivity"); in Components()
143 component(APP_PACKAGE_NAME, "ForegroundActivity"); in Components()
145 component(APP_PACKAGE_NAME, "ForegroundEmbeddingActivity"); in Components()
147 component(APP_PACKAGE_NAME, "StartPendingIntentActivity"); in Components()
149 component(APP_PACKAGE_NAME, "SimpleBroadcastReceiver"); in Components()
151 component(APP_PACKAGE_NAME, "SimpleAdminReceiver"); in Components()
153 component(APP_PACKAGE_NAME, "PipActivity"); in Components()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DBasePermissionUiTest.kt65 const val APP_PACKAGE_NAME = "android.security.cts.usepermission" in <lambda>() constant
182 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!!.size, in <lambda>()
183 result.resultData!!.getIntArrayExtra("$APP_PACKAGE_NAME.GRANT_RESULTS")!!.size in <lambda>()
188 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!! in <lambda>()
190 result.resultData!!.getIntArrayExtra("$APP_PACKAGE_NAME.GRANT_RESULTS")!! in <lambda>()
207 Log.v("BaseClass", "$APP_PACKAGE_NAME.PERMISSIONS = $permissions") in <lambda>()
212 APP_PACKAGE_NAME, "$APP_PACKAGE_NAME.RequestPermissionActivity" in <lambda>()
214 putExtra("$APP_PACKAGE_NAME.PERMISSIONS", permissions) in <lambda>()
236 APP_PACKAGE_NAME in <lambda>()
240 NOTIF_TEXT, APP_PACKAGE_NAME in <lambda>()
[all …]
DSplitPermissionAutoGrantTest.kt35 uninstallPackage(APP_PACKAGE_NAME) in uninstallApp()
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DRequestInfoTest.java65 private static final String APP_PACKAGE_NAME = "mock_package"; field in RequestInfoTest
80 TOKEN, createCredentialRequest, APP_PACKAGE_NAME, in testConstructCreateRequestInfo()
86 assertThat(requestInfo.getPackageName()).isEqualTo(APP_PACKAGE_NAME); in testConstructCreateRequestInfo()
114 TOKEN, getCredentialRequest, APP_PACKAGE_NAME, HAS_PERMISSION_TO_OVERRIDE_DEFAULT, in testConstructGetRequestInfo()
119 assertThat(requestInfo.getPackageName()).isEqualTo(APP_PACKAGE_NAME); in testConstructGetRequestInfo()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java130 AppOpsUtils.setOpMode(components.APP_PACKAGE_NAME, "android:system_alert_window", in setUp()
132 assertEquals(AppOpsUtils.getOpMode(components.APP_PACKAGE_NAME, in setUp()
143 + app.APP_PACKAGE_NAME); in setUp()
161 stopTestPackage(app.APP_PACKAGE_NAME); in tearDown()
162 AppOpsUtils.reset(app.APP_PACKAGE_NAME); in tearDown()
453 return getTestService(new ComponentName(c.APP_PACKAGE_NAME, TEST_SERVICE)); in getTestService()
DBackgroundActivityLaunchTest.java1118 runShellCommandOrThrow("cmd appops set " + APP_A.APP_PACKAGE_NAME in testManageSpacePendingIntentNoBalAllowed()
1293 waitUntilForegroundChanged(app.APP_PACKAGE_NAME, true, in assertActivityNotResumed()
1377 grantSystemAlertWindow(app.APP_PACKAGE_NAME, allow); in grantSystemAlertWindow()
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java53 private static final String APP_PACKAGE_NAME = "android.theme.app"; field in ThemeHostTest
63 APP_PACKAGE_NAME, TEST_CLASS);
66 private static final String STOP_CMD = String.format("am force-stop %s", APP_PACKAGE_NAME);
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt2059 …public static final String EXTRAINFO_APP_PACKAGE_NAME = "android.app.cloudsearch.APP_PACKAGE_NAME";