Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBubbleExtractorTest.java171 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppYesChannelNo()
185 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppYesChannelDefault()
199 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppYesChannelYes()
213 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppYesChannelYesFeatureNo()
228 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppNoChannelYes()
243 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppNoChannelDefault()
258 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppSelectedChannelDefault()
273 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppSelectedChannelNo()
288 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppSeletedChannelYes()
476 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testFlagBubble_false_lowRamDevice()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/
H A 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()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DProperty.java24 import static com.android.cts.net.hostside.NetworkPolicyTestUtils.isLowRamDevice;
48 public boolean isSupported() { return !isLowRamDevice(); } in isSupported()
H A DNetworkPolicyTestUtils.java138 public static boolean isLowRamDevice() { in isLowRamDevice() method in NetworkPolicyTestUtils
141 return am.isLowRamDevice(); in isLowRamDevice()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DActivityManagers.java29 Mockito.when(am.isLowRamDevice()).thenReturn(lowRamDevice); in create()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DActivityManagerCompatUtils.java34 public static boolean isLowRamDevice(Context context) { in isLowRamDevice() method in ActivityManagerCompatUtils
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/vrlistener/
H A DEnabledVrListenersController.java37 && !mActivityManager.isLowRamDevice() ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
H A DVrListenerScreenPreferenceController.java37 && !mActivityManager.isLowRamDevice() in getAvailabilityStatus()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DBubbleSummaryNotificationPreferenceController.java53 return am.isLowRamDevice() ? UNSUPPORTED_ON_DEVICE : AVAILABLE; in getAvailabilityStatus()
H A DBubbleNotificationPreferenceController.java83 return am.isLowRamDevice() ? UNSUPPORTED_ON_DEVICE : AVAILABLE; in getAvailabilityStatus()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
H A DSpecialAppAccess.java55 if (activityManager.isLowRamDevice()) { in updatePreferenceStates()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
H A DAssistantRoleBehavior.java117 if (!userActivityManager.isLowRamDevice()) { in getQualifyingPackagesAsUser()
152 if (!activityManager.isLowRamDevice()) { in isPackageQualified()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DBubbleSummaryPreferenceController.java109 return !am.isLowRamDevice() && Settings.Secure.getInt(mContext.getContentResolver(), in isGloballyEnabled()
H A DBubblePreferenceController.java150 return !am.isLowRamDevice() && Settings.Secure.getInt(mContext.getContentResolver(), in isEnabled()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DDataRepository.kt53 ActivityManager::class.java)?.isLowRamDevice ?: false
/aosp12/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
H A DSuggestionFeatureProviderImpl.java52 return !am.isLowRamDevice(); in isSuggestionEnabled()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DBitmapCachingAsset.java88 mIsLowRam = ActivityManagerCompat.isLowRamDevice( in BitmapCachingAsset()
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DIAudioFlingerService.aidl178 void setLowRamDevice(boolean isLowRamDevice, long totalMemory); in setLowRamDevice() argument
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h308 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
428 status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
624 Status setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DBubbleExtractor.java75 && !mActivityManager.isLowRamDevice() in process()
/aosp12/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp652 status_t AudioFlingerClientAdapter::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) { in setLowRamDevice() argument
653 return statusTFromBinderStatus(mDelegate->setLowRamDevice(isLowRamDevice, totalMemory)); in setLowRamDevice()
1136 Status AudioFlingerServerAdapter::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) { in setLowRamDevice() argument
1137 return Status::fromStatusT(mDelegate->setLowRamDevice(isLowRamDevice, totalMemory)); in setLowRamDevice()
/aosp12/frameworks/av/services/audioflinger/
H A DAudioFlinger.h244 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
974 bool isLowRamDevice() const { return mIsLowRamDevice; } in isLowRamDevice() function
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DMultiRootDocumentsLoader.java122 am.isLowRamDevice() ? MAX_OUTSTANDING_TASK_SVELTE : MAX_OUTSTANDING_TASK); in MultiRootDocumentsLoader()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/
H A DSettingsHomepageActivity.java169 if (!getSystemService(ActivityManager.class).isLowRamDevice()) { in onCreate()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiInjector.java353 mContext.getSystemService(ActivityManager.class).isLowRamDevice() ? maxLinesLowRam in WifiInjector()
363 mContext.getSystemService(ActivityManager.class).isLowRamDevice() ? 128 : 256), in WifiInjector()

123