Home
last modified time | relevance | path

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

12

/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractDeviceSupportHelper.java77 return isLowRamDevice() && isPhone() && hasGmsCore() && hasPlayStore(); in isGoDevice()
82 public final boolean isLowRamDevice() { in isLowRamDevice() method in AbstractDeviceSupportHelper
87 boolean isLowRamDevice = Boolean.valueOf(overriddenValue); in isLowRamDevice()
90 isLowRamDevice, in isLowRamDevice()
93 return isLowRamDevice; in isLowRamDevice()
97 boolean isLowRamDevice = isLowRamDeviceByDefault(); in isLowRamDevice()
99 boolean isIt = isPhone && isLowRamDevice; in isLowRamDevice()
103 isIt, isPhone, isLowRamDevice); in isLowRamDevice()
DAbstractAdServicesDeviceSupportedRule.java121 public final boolean isLowRamDevice() { in isLowRamDevice() method in AbstractAdServicesDeviceSupportedRule
122 boolean isLowRamDevice = mDeviceSupportHelper.isLowRamDevice(); in isLowRamDevice()
123 mLog.v("isLowRamDevice(): %b", isLowRamDevice); in isLowRamDevice()
124 return isLowRamDevice; in isLowRamDevice()
167 boolean isLowRamDevice = isLowRamDevice(); in apply()
183 isLowRamDevice, in apply()
197 if (!isLowRamDevice && requiresLowRamDevice != null) { in apply()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/
DSuggestionFeatureProviderImplTest.java74 when(mActivityManager.isLowRamDevice()).thenReturn(false); in setUp()
87 when(mActivityManager.isLowRamDevice()).thenReturn(true); in isSuggestionEnabled_isLowMemoryDevice_shouldReturnFalse()
94 when(mActivityManager.isLowRamDevice()).thenReturn(false); in isSuggestionEnabled_isNotLowMemoryDevice_shouldReturnTrue()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DProperty.java24 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isLowRamDevice;
48 public boolean isSupported() { return !isLowRamDevice(); } in isSupported()
DNetworkPolicyTestUtils.java148 public static boolean isLowRamDevice() { in isLowRamDevice() method in NetworkPolicyTestUtils
151 return am.isLowRamDevice(); in isLowRamDevice()
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/
DAbstractAdServicesDeviceSupportedRuleTest.java92 expect.that(mAdServicesDeviceSupportedRule.isLowRamDevice()).isTrue(); in testIsLowRamDevice_returnsTrue()
99 expect.that(mAdServicesDeviceSupportedRule.isLowRamDevice()).isFalse(); in testIsLowRamDevice_returnsFalse()
395 when(mAbstractDeviceSupportHelper.isLowRamDevice()).thenReturn(isLowRam); in mockIsLowRamDevice()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DActivityManagers.java29 Mockito.when(am.isLowRamDevice()).thenReturn(lowRamDevice); in create()
/packages/services/Telephony/src/com/android/phone/
DDiagnosticDataCollector.java69 DropBoxManager dropBoxManager, boolean isLowRamDevice) { in DiagnosticDataCollector() argument
73 mIsLowRamDevice = isLowRamDevice; in DiagnosticDataCollector()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/vrlistener/
DEnabledVrListenersController.java37 && !mActivityManager.isLowRamDevice() ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DVrListenerScreenPreferenceController.java37 && !mActivityManager.isLowRamDevice() in getAvailabilityStatus()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DActivityManagerCompatUtils.java34 public static boolean isLowRamDevice(Context context) { in isLowRamDevice() method in ActivityManagerCompatUtils
/packages/apps/Settings/src/com/android/settings/notification/
DBubbleHelper.java46 if (am.isLowRamDevice()) { in isSupportedByDevice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccess.java55 if (activityManager.isLowRamDevice()) { in updatePreferenceStates()
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionFeatureProviderImpl.java46 return !am.isLowRamDevice(); in isSuggestionEnabled()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesSupportHelper.java114 return mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in isLowRamDeviceByDefault()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java92 mIsLowRam = ActivityManagerCompat.isLowRamDevice( in BitmapCachingAsset()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/
DAssistantRoleBehavior.java102 if (!userActivityManager.isLowRamDevice()) { in getQualifyingPackagesInternal()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DDataRepository.kt53 ?.isLowRamDevice in <lambda>()
/packages/modules/SdkExtensions/javatests/com/android/os/ext/
DSdkExtensionsTest.java234 boolean isGoDevice = context.getSystemService(ActivityManager.class).isLowRamDevice(); in isGoWithSideloadedModules()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java343 mContext.getSystemService(ActivityManager.class).isLowRamDevice() ? 128 : 256)); in WifiInjector()
406 mContext.getSystemService(ActivityManager.class).isLowRamDevice() ? maxLinesLowRam in WifiInjector()
421 mContext.getSystemService(ActivityManager.class).isLowRamDevice() in WifiInjector()
DWifiNetworkSuggestionsManager.java973 boolean isLowRamDevice = mActivityManager.isLowRamDevice(); in add()
975 WifiManager.getMaxNumberOfNetworkSuggestionsPerApp(isLowRamDevice); in add()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java108 mUseTextClassifier = !(mAm.isLowRamDevice() || mPm.hasSystemFeature(FEATURE_WATCH)); in setUseTextClassifier()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantTest.kt174 doReturn(true).whenKt(mockAm).isLowRamDevice in <lambda>()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMultiRootDocumentsLoader.java122 am.isLowRamDevice() ? MAX_OUTSTANDING_TASK_SVELTE : MAX_OUTSTANDING_TASK); in MultiRootDocumentsLoader()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DLocationAccessCheckTest.java443 assumeFalse(sActivityManager.isLowRamDevice()); in assumeIsNotLowRamDevice()

12