Home
last modified time | relevance | path

Searched refs:isInstantApp (Results 1 – 25 of 56) sorted by relevance

123

/cts/hostsidetests/appsecurity/test-apps/InstantUpgradeApp/src/com/android/cts/instantupgradeapp/
DClientTest.java43 assertTrue(InstrumentationRegistry.getContext().getPackageManager().isInstantApp()); in testInstantApplicationWritePreferences()
51 assertFalse(InstrumentationRegistry.getContext().getPackageManager().isInstantApp()); in testFullApplicationReadPreferences()
59 assertTrue(InstrumentationRegistry.getContext().getPackageManager().isInstantApp()); in testInstantApplicationWriteFile()
68 assertFalse(InstrumentationRegistry.getContext().getPackageManager().isInstantApp()); in testFullApplicationReadFile()
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java39 assertTrue(pm.isInstantApp()); in testCookieUpdateAndRetrieval()
85 assertTrue(pm.isInstantApp()); in testCookiePersistedUpgradeFromInstant1()
96 assertFalse(pm.isInstantApp()); in testCookiePersistedUpgradeFromInstant2()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2024_0046.java73 assume().that(packageManager.isInstantApp(mSettingsPackageName)).isFalse(); in testPocCVE_2024_0046()
82 return packageManager.isInstantApp( in testPocCVE_2024_0046()
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DInstantAppAccessTest.java33 assertThat(mContext.getPackageManager().isInstantApp()).isTrue(); in testInstantAppAccess()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java99 final boolean isInstant = isInstantApp(context, uiAutomation); in testProfileSwitching()
148 private boolean isInstantApp(@NonNull Context context, @NonNull UiAutomation uiAutomation) { in isInstantApp() method in MultiUserMockImeTest
158 && instantAppInfo.get().getApplicationInfo().isInstantApp(); in isInstantApp()
DMultiUserTest.java403 try (AutoCloseable ignored = MockTestActivityUtil.launchSyncAsUser(userId, isInstantApp(), in assertConnectingToTheSameUserIme() argument
430 isInstantApp())); in installExistingPackageAsUser()
434 private boolean isInstantApp() { in isInstantApp() method in MultiUserTest
445 && instantAppInfo.get().getApplicationInfo().isInstantApp()) { in isInstantApp()
/cts/tests/tests/selinux/selinuxEphemeral/src/android/security/
DSELinuxTargetSdkTest.java37 getContext().getPackageManager().isInstantApp()); in setUp()
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/
DPermissionsAnnotationExecutor.kt158 if (packages().instrumented().isInstantApp) { in ensureCanGetPermission()
178 !packages().instrumented().isInstantApp, in requireNotInstantApp()
DPermissionContextImpl.java129 if (TestApis.packages().instrumented().isInstantApp()) { in withoutPermission()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DAppSearchInstantAppTest.java43 assertThat(context.getPackageManager().isInstantApp()).isTrue(); in testInstantAppDoesntHaveAccess()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java148 .getPackageManager().isInstantApp()); in verifyAppModeConsistency()
153 .getPackageManager().isInstantApp()); in verifyAppModeConsistency()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java86 return getPackageManager().isInstantApp() || testNetworkAccess(); in doInBackground()
139 if (!getPackageManager().isInstantApp() && success != mExpectPermissionsAllowed) { in testNetworkAccessDone()
/cts/tests/filesystem/src/android/filesystem/cts/
DCarTestUtil.java53 mIsInstantApp = mContext.getPackageManager().isInstantApp(); in CarTestUtil()
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DMainActivity.java57 if (getPackageManager().isInstantApp()) { in getStringIntentExtra()
76 if (getPackageManager().isInstantApp()) { in getBooleanIntentExtra()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DScopedStorageBaseDeviceTest.java47 if (!getContext().getPackageManager().isInstantApp()) { in setupStorage()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DEffectBeforeAfterRule.java78 .getContext().getPackageManager().isInstantApp()); in before()
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/
DInputMethodManagerTest.kt52 context.getPackageManager().isInstantApp(), in <lambda>()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DInstantAppsTests.java60 assumeTrue(mContext.getPackageManager().isInstantApp()); in setUp()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/
DDevice.java54 if (TestApis.packages().instrumented().isInstantApp()) { in keyGuardLock()
/cts/tests/tests/os/src/android/os/cts/
DCrossProcessExceptionTest.java88 if (!context.getPackageManager().isInstantApp()) { in tearDown()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java62 File filesDir = getPackageManager().isInstantApp() in onCreate()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java87 if (InstrumentationRegistry.getContext().getPackageManager().isInstantApp()) { in waitForPlugStatus()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DGeocoderTest.java61 !mContext.getPackageManager().isInstantApp() || VERSION.SDK_INT >= VERSION_CODES.S); in setUp()
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DBaseNetworkService.java145 && !getPackageManager().isInstantApp();
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java169 if (!context.getPackageManager().isInstantApp()) { in logToFile()

123