Searched refs:isMemoryLow (Results 1 – 7 of 7) sorted by relevance
20 boolean isMemoryLow(); in isMemoryLow() method
344 public boolean isMemoryLow() {
261 Mockito.when(dsmMock.isMemoryLow()).thenReturn(true); in testCreateProfileForUser_lowStorageException()278 Mockito.when(dsmMock.isMemoryLow()).thenReturn(false); in testCreateProfileForUser_unknownParentUser()296 Mockito.when(dsmMock.isMemoryLow()).thenReturn(false); in testCreateManagedProfileForUser_maxManagedUsersException()
186 when(mDeviceStorageMonitorInternal.isMemoryLow()).thenReturn(false); in setFixtures()
5453 if (dsm.isMemoryLow()) {
4456 return dsm.isMemoryLow();
12566 if (deviceStorageMonitorInternal.isMemoryLow()) {