/cts/hostsidetests/appsecurity/test-apps/InstantUpgradeApp/src/com/android/cts/instantupgradeapp/ |
D | ClientTest.java | 43 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/ |
D | CookieTest.java | 39 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/ |
D | CVE_2024_0046.java | 73 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/ |
D | InstantAppAccessTest.java | 33 assertThat(mContext.getPackageManager().isInstantApp()).isTrue(); in testInstantAppAccess()
|
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
D | MultiUserMockImeTest.java | 99 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()
|
D | MultiUserTest.java | 403 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/ |
D | SELinuxTargetSdkTest.java | 37 getContext().getPackageManager().isInstantApp()); in setUp()
|
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/ |
D | PermissionsAnnotationExecutor.kt | 158 if (packages().instrumented().isInstantApp) { in ensureCanGetPermission() 178 !packages().instrumented().isInstantApp, in requireNotInstantApp()
|
D | PermissionContextImpl.java | 129 if (TestApis.packages().instrumented().isInstantApp()) { in withoutPermission()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchInstantAppTest.java | 43 assertThat(context.getPackageManager().isInstantApp()).isTrue(); in testInstantAppDoesntHaveAccess()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | EndToEndImeTestBase.java | 148 .getPackageManager().isInstantApp()); in verifyAppModeConsistency() 153 .getPackageManager().isInstantApp()); in verifyAppModeConsistency()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 86 return getPackageManager().isInstantApp() || testNetworkAccess(); in doInBackground() 139 if (!getPackageManager().isInstantApp() && success != mExpectPermissionsAllowed) { in testNetworkAccessDone()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | CarTestUtil.java | 53 mIsInstantApp = mContext.getPackageManager().isInstantApp(); in CarTestUtil()
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 57 if (getPackageManager().isInstantApp()) { in getStringIntentExtra() 76 if (getPackageManager().isInstantApp()) { in getBooleanIntentExtra()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | ScopedStorageBaseDeviceTest.java | 47 if (!getContext().getPackageManager().isInstantApp()) { in setupStorage()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | EffectBeforeAfterRule.java | 78 .getContext().getPackageManager().isInstantApp()); in before()
|
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/ |
D | InputMethodManagerTest.kt | 52 context.getPackageManager().isInstantApp(), in <lambda>()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | InstantAppsTests.java | 60 assumeTrue(mContext.getPackageManager().isInstantApp()); in setUp()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/ |
D | Device.java | 54 if (TestApis.packages().instrumented().isInstantApp()) { in keyGuardLock()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CrossProcessExceptionTest.java | 88 if (!context.getPackageManager().isInstantApp()) { in tearDown()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | MediaRecorderCameraActivity.java | 62 File filesDir = getPackageManager().isInstantApp() in onCreate()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BatteryUtils.java | 87 if (InstrumentationRegistry.getContext().getPackageManager().isInstantApp()) { in waitForPlugStatus()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | GeocoderTest.java | 61 !mContext.getPackageManager().isInstantApp() || VERSION.SDK_INT >= VERSION_CODES.S); in setUp()
|
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/ |
D | BaseNetworkService.java | 145 && !getPackageManager().isInstantApp();
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 169 if (!context.getPackageManager().isInstantApp()) { in logToFile()
|