Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
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()
303 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testAppSeletedChannelYesFeatureNo()
[all …]
DNotificationManagerServiceTest.java1450 when(mActivityManager.isLowRamDevice()).thenReturn(false); in testDefaultAssistant_overrideDefault()
5207 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetListenerAccess_onLowRam()
5221 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetAssistantAccess_onLowRam()
5240 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetDndAccess_onLowRam()
5254 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetListenerAccess_doesNothingOnLowRam_exceptWatch()
5270 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetAssistantAccess_doesNothingOnLowRam_exceptWatch()
5291 when(mActivityManager.isLowRamDevice()).thenReturn(true); in testSetDndAccess_doesNothingOnLowRam_exceptWatch()
10582 when(mActivityManager.isLowRamDevice()).thenReturn(true);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureExecutor.kt41 private val isLowRamDevice = activityManager.isLowRamDevice in <lambda>() constant
159 return !isLowRamDevice in <lambda>()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl185 void setLowRamDevice(boolean isLowRamDevice, long totalMemory); in setLowRamDevice() argument
/frameworks/base/services/core/java/com/android/server/notification/
DBubbleExtractor.java80 && !mActivityManager.isLowRamDevice() in process()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h315 virtual status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) = 0;
474 status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
719 Status setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) override;
DAudioSystem.h433 static status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory);
/frameworks/av/services/audioflinger/
DAudioFlinger.h181 status_t setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) final
363 bool isLowRamDevice() const final { return mIsLowRamDevice; } in isLowRamDevice() function
DIAfThread.h85 virtual bool isLowRamDevice() const = 0;
DAudioFlinger.cpp2694 status_t AudioFlinger::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) in setLowRamDevice() argument
2704 mIsLowRamDevice = isLowRamDevice; in setLowRamDevice()
2712 isLowRamDevice ? kMinimumClientSharedHeapSizeBytes in setLowRamDevice()
2727 (isLowRamDevice ? "true" : "false"), in setLowRamDevice()
DThreads.cpp5355 mFastMixerDumpState.increaseSamplingN(mAfThreadCallback->isLowRamDevice() ? in threadLoop_write()
8482 mFastCaptureDumpState.increaseSamplingN(mAfThreadCallback->isLowRamDevice() ? in threadLoop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java522 boolean isLowRamDevice = ActivityManager.isLowRamDeviceStatic(); in getIcon()
524 int maxIconSize = res.getDimensionPixelSize(isLowRamDevice in getIcon()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp675 status_t AudioFlingerClientAdapter::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) { in setLowRamDevice() argument
676 return statusTFromBinderStatus(mDelegate->setLowRamDevice(isLowRamDevice, totalMemory)); in setLowRamDevice()
1296 Status AudioFlingerServerAdapter::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) { in setLowRamDevice() argument
1297 return Status::fromStatusT(mDelegate->setLowRamDevice(isLowRamDevice, totalMemory)); in setLowRamDevice()
DAudioSystem.cpp1570 status_t AudioSystem::setLowRamDevice(bool isLowRamDevice, int64_t totalMemory) { in setLowRamDevice() argument
1573 return af->setLowRamDevice(isLowRamDevice, totalMemory); in setLowRamDevice()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java919 private void mockIsLowRamDevice(boolean isLowRamDevice) { in mockIsLowRamDevice() argument
920 doReturn(isLowRamDevice).when(ActivityManager::isLowRamDeviceStatic); in mockIsLowRamDevice()
/frameworks/base/media/java/android/media/
DAudioSystem.java1945 public static native int setLowRamDevice(boolean isLowRamDevice, long totalMemory); in setLowRamDevice() argument
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java347 public static boolean isLowRamDevice(Instrumentation instrumentation) throws JSONException { in isLowRamDevice() method in ShortcutManagerTestUtils
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp931 JNIEnv *env, jobject clazz, jboolean isLowRamDevice, jlong totalMemory) in android_media_AudioSystem_setLowRamDevice() argument
933 return AudioSystem::setLowRamDevice(isLowRamDevice, totalMemory); in android_media_AudioSystem_setLowRamDevice()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java2669 if (activityManager.isLowRamDevice() || ActivityManager.isSmallBatteryDevice()) { in onBootPhase()
/frameworks/base/core/java/android/app/
DActivityManager.java1667 public boolean isLowRamDevice() { in isLowRamDevice() method in ActivityManager
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java12042 boolean isLowRamDevice = ActivityManager.isLowRamDeviceStatic(); in readAndSetLowRamDevice()
12051 isLowRamDevice = true; in readAndSetLowRamDevice()
12054 final int status = AudioSystem.setLowRamDevice(isLowRamDevice, totalMemory); in readAndSetLowRamDevice()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java208 private static final int MAX_WAKELOCKS_PER_UID = isLowRamDevice() ? 40 : 200;
15950 if (isLowRamDevice()) {
16020 isLowRamDevice() ? DEFAULT_MAX_HISTORY_FILES_LOW_RAM_DEVICE
16023 isLowRamDevice() ? DEFAULT_MAX_HISTORY_BUFFER_LOW_RAM_DEVICE_KB
/frameworks/base/core/java/android/os/
DBatteryStats.java9051 protected static boolean isLowRamDevice() { in isLowRamDevice() method
9055 protected static boolean isLowRamDevice$ravenwood() { in isLowRamDevice$ravenwood()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt774 HSPLandroid/app/ActivityManager;->isLowRamDevice()Z

12