/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/ |
D | AbstractDeviceSupportHelper.java | 77 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()
|
D | AbstractAdServicesDeviceSupportedRule.java | 121 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/ |
D | SuggestionFeatureProviderImplTest.java | 74 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/ |
D | Property.java | 24 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isLowRamDevice; 48 public boolean isSupported() { return !isLowRamDevice(); } in isSupported()
|
D | NetworkPolicyTestUtils.java | 148 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/ |
D | AbstractAdServicesDeviceSupportedRuleTest.java | 92 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/ |
D | ActivityManagers.java | 29 Mockito.when(am.isLowRamDevice()).thenReturn(lowRamDevice); in create()
|
/packages/services/Telephony/src/com/android/phone/ |
D | DiagnosticDataCollector.java | 69 DropBoxManager dropBoxManager, boolean isLowRamDevice) { in DiagnosticDataCollector() argument 73 mIsLowRamDevice = isLowRamDevice; in DiagnosticDataCollector()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/vrlistener/ |
D | EnabledVrListenersController.java | 37 && !mActivityManager.isLowRamDevice() ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|
D | VrListenerScreenPreferenceController.java | 37 && !mActivityManager.isLowRamDevice() in getAvailabilityStatus()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | ActivityManagerCompatUtils.java | 34 public static boolean isLowRamDevice(Context context) { in isLowRamDevice() method in ActivityManagerCompatUtils
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | BubbleHelper.java | 46 if (am.isLowRamDevice()) { in isSupportedByDevice()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | SpecialAppAccess.java | 55 if (activityManager.isLowRamDevice()) { in updatePreferenceStates()
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImpl.java | 46 return !am.isLowRamDevice(); in isSuggestionEnabled()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesSupportHelper.java | 114 return mContext.getSystemService(ActivityManager.class).isLowRamDevice(); in isLowRamDeviceByDefault()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapCachingAsset.java | 92 mIsLowRam = ActivityManagerCompat.isLowRamDevice( in BitmapCachingAsset()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/ |
D | AssistantRoleBehavior.java | 102 if (!userActivityManager.isLowRamDevice()) { in getQualifyingPackagesInternal()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | DataRepository.kt | 53 ?.isLowRamDevice in <lambda>()
|
/packages/modules/SdkExtensions/javatests/com/android/os/ext/ |
D | SdkExtensionsTest.java | 234 boolean isGoDevice = context.getSystemService(ActivityManager.class).isLowRamDevice(); in isGoWithSideloadedModules()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 343 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()
|
D | WifiNetworkSuggestionsManager.java | 973 boolean isLowRamDevice = mActivityManager.isLowRamDevice(); in add() 975 WifiManager.getMaxNumberOfNetworkSuggestionsPerApp(isLowRamDevice); in add()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | Assistant.java | 108 mUseTextClassifier = !(mAm.isLowRamDevice() || mPm.hasSystemFeature(FEATURE_WATCH)); in setUseTextClassifier()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | AssistantTest.kt | 174 doReturn(true).whenKt(mockAm).isLowRamDevice in <lambda>()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MultiRootDocumentsLoader.java | 122 am.isLowRamDevice() ? MAX_OUTSTANDING_TASK_SVELTE : MAX_OUTSTANDING_TASK); in MultiRootDocumentsLoader()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 443 assumeFalse(sActivityManager.isLowRamDevice()); in assumeIsNotLowRamDevice()
|