Home
last modified time | relevance | path

Searched refs:isLowRamDevice (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java91 if (!mActivityManager.isLowRamDevice()) { in tearDown()
100 if (mActivityManager.isLowRamDevice()) { in testOnNotificationEnqueued()
137 if (mActivityManager.isLowRamDevice()) { in testAdjustNotification_userSentimentKey()
171 if (mActivityManager.isLowRamDevice()) { in testAdjustNotification_importanceKey()
204 if (mActivityManager.isLowRamDevice()) { in testAdjustNotification_smartActionKey()
254 if (mActivityManager.isLowRamDevice()) { in testAdjustNotification_smartReplyKey()
300 if (mActivityManager.isLowRamDevice()) { in testAdjustNotification_importanceKey_notAllowed()
335 if (mActivityManager.isLowRamDevice()) { in testGetAllowedAssistantCapabilities_permission()
350 if (mActivityManager.isLowRamDevice()) { in testGetAllowedAssistantCapabilities()
382 if (mActivityManager.isLowRamDevice()) { in testOnActionInvoked_methodExists()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java75 assumeFalse(mActivityManager.isLowRamDevice()); in setUp()
117 if (mActivityManager.isLowRamDevice()) { in testUnboundCPSMaintainsCondition_addsNewRule()
150 if (mActivityManager.isLowRamDevice()) { in testUnboundCPSMaintainsCondition_otherConditionChanges()
187 if (mActivityManager.isLowRamDevice()) { in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
222 if (mActivityManager.isLowRamDevice()) { in testRequestRebindWhenLostAccess()
253 if (mActivityManager.isLowRamDevice()) { in testRequestRebindWhenStillHasAccess()
281 if (mActivityManager.isLowRamDevice()) { in testMethodsExistAndDoNotThrow()
DLegacyNotificationManagerTest.java101 if (mActivityManager.isLowRamDevice()) { in testPrePCannotToggleAlarmsAndMediaTest()
144 if (mActivityManager.isLowRamDevice()) { in testSetNotificationPolicy_preP_setOldFields()
167 if (mActivityManager.isLowRamDevice()) { in testSetNotificationPolicy_preP_setNewFields()
190 if (mActivityManager.isLowRamDevice()) { in testSuspendPackage()
225 if (mActivityManager.isLowRamDevice()) { in testSuspendedPackageSendNotification()
258 if (mActivityManager.isLowRamDevice()) { in testResetListenerHints_singleListener()
280 if (mActivityManager.isLowRamDevice()) { in testResetListenerHints_multiListener()
310 if (mActivityManager.isLowRamDevice()) { in testSetNotificationPolicy_preP_setOldNewFields()
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java38 if (mActivityManager.isLowRamDevice()) { in testRedScreenshot()
58 if (mActivityManager.isLowRamDevice()) { in testGreenScreenshot()
78 if (mActivityManager.isLowRamDevice()) { in testBlueScreenshot()
DLargeViewHierarchyTest.java37 if (mActivityManager.isLowRamDevice()) { in testTextView()
DWebViewTest.java50 if (mActivityManager.isLowRamDevice()) { in testWebView()
DExtraAssistDataTest.java35 if (mActivityManager.isLowRamDevice()) { in testAssistContentAndAssistData()
DFocusChangeTest.java60 if (mActivityManager.isLowRamDevice()) { in testLayerCausesUnderlyingActivityToLoseFocus()
DAssistantContentViewTest.java54 if (mActivityManager.isLowRamDevice()) { in testAssistantContentViewDimens()
DTextViewTest.java38 if (mActivityManager.isLowRamDevice()) { in testTextView()
DLifecycleTest.java104 if (mActivityManager.isLowRamDevice()) { in testNoUiLayerDoesNotTriggerLifecycleMethods()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DProperty.java24 import static com.android.cts.net.hostside.NetworkPolicyTestUtils.isLowRamDevice;
48 public boolean isSupported() { return !isLowRamDevice(); } in isSupported()
DNetworkPolicyTestUtils.java113 public static boolean isLowRamDevice() { in isLowRamDevice() method in NetworkPolicyTestUtils
116 return am.isLowRamDevice(); in isLowRamDevice()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java618 if (mActivityManager.isLowRamDevice()) { in testPostPCanToggleAlarmsMediaSystemTest()
995 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendPackage_withoutShellPermission()
1027 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendPackage()
1073 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testSuspendedPackageSendsNotification()
1119 if ((mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) in testCanBubble_ranking()
1170 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testShowBadging_ranking()
1226 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testGetSuppressedVisualEffectsOff_ranking()
1256 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testGetSuppressedVisualEffects_ranking()
1311 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) { in testKeyChannelGroupOverrideImportanceExplanation_ranking()
1716 if (mActivityManager.isLowRamDevice()) { in testAddAutomaticZenRule_configActivity()
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureTest.java65 if (mActivityManager.isLowRamDevice()) { in testNoManagedUsersIfLowRamDevice()
96 if (mActivityManager.isLowRamDevice()) { in testManagedProfileSupported()
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java94 final boolean TEST_IS_LOW_RAM_DEVICE = isLowRamDevice(); in testPlayStreamData()
158 private boolean isLowRamDevice() { in isLowRamDevice() method in AudioNativeTest
160 ).isLowRamDevice(); in isLowRamDevice()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java239 boolean isLowRamDevice = isLowRamDevice(); in createMultiNetworkValidators()
241 if (!isLowRamDevice || validator.shouldRunOnLowRamDevice()) { in createMultiNetworkValidators()
255 if (isLowRamDevice()) { in requestSystemAlertWindowPerimissionIfRequired()
542 private boolean isLowRamDevice() { in isLowRamDevice() method in MultiNetworkConnectivityTestActivity
545 return activityManager.isLowRamDevice(); in isLowRamDevice()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMemoryDeviceInfo.java35 store.addResult("low_ram_device", activityManager.isLowRamDevice()); in collectDeviceInfo()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java97 Boolean lowRamDevice = mActivityManager.isLowRamDevice(); in testMinimumMemory()
201 boolean lowRamDevice = mActivityManager.isLowRamDevice(); in assertMinMemoryMb()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewCtsActivity.java55 !getSystemService(ActivityManager.class).isLowRamDevice(); in isMultiprocessMode()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java170 addResult(IS_LOW_RAM_DEVICE, isLowRamDevice()); in onStart()
449 private String isLowRamDevice() { in isLowRamDevice() method in DeviceInfoInstrument
452 return activityManager.isLowRamDevice() ? "true" : "false"; in isLowRamDevice()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java115 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideDefault()
129 boolean expectDisabled = mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in testLookasideCustom()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_stream_builder.cpp64 static bool isLowRamDevice() { in isLowRamDevice() function
163 if (isSampleRateValid && isLowRamDevice() && (sampleRate > 192000)) { in TEST_P()
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java229 Boolean.toString(activityManager.isLowRamDevice())); in TestEnvironment()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java229 Boolean.toString(activityManager.isLowRamDevice())); in TestEnvironment()

12