Home
last modified time | relevance | path

Searched refs:setWindow (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/idle/
DDeviceIdlenessTrackerTest.java182 .setWindow(anyInt(), eq(expectedAlarmElapsed), anyLong(), anyString(), in testAlarmSkippedIfAlreadyIdle()
199 .setWindow(anyInt(), anyLong(), anyLong(), anyString(), in testAlarmSkippedIfAlreadyIdle()
217 .setWindow(anyInt(), eq(expectedAlarmElapsed), anyLong(), anyString(), in testAlarmSkippedIfNoThresholdChange()
226 .setWindow(anyInt(), eq(expectedAlarmElapsed), anyLong(), anyString(), in testAlarmSkippedIfNoThresholdChange()
232 .setWindow(anyInt(), anyLong(), anyLong(), anyString(), in testAlarmSkippedIfNoThresholdChange()
251 .setWindow(anyInt(), eq(expectedUnstableAlarmElapsed), anyLong(), anyString(), in testThresholdChangeWithStablePowerChange()
260 .setWindow(anyInt(), anyLong(), anyLong(), anyString(), in testThresholdChangeWithStablePowerChange()
266 .setWindow(anyInt(), eq(expectedStableAlarmElapsed), anyLong(), anyString(), in testThresholdChangeWithStablePowerChange()
272 .setWindow(anyInt(), eq(expectedUnstableAlarmElapsed), anyLong(), anyString(), in testThresholdChangeWithStablePowerChange()
278 .setWindow(anyInt(), anyLong(), anyLong(), anyString(), in testThresholdChangeWithStablePowerChange()
/frameworks/base/core/java/android/database/
DBulkCursorToCursorAdaptor.java47 setWindow(d.window); in initialize()
82 setWindow(mBulkCursor.getWindow(newPosition)); in onMove()
DAbstractWindowedCursor.java165 public void setWindow(CursorWindow window) { in setWindow() method in AbstractWindowedCursor
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java347 .setWindow(anyInt(), anyLong(), anyLong(), anyString(), any(), any(Handler.class)); in setUp()
660 verify(mAlarmManager).setWindow( in testStateActiveToStateInactive_DoNotUseMotionSensor()
685 verify(mAlarmManager, never()).setWindow( in testStateActiveToStateInactive_MissingMotionSensor()
852 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
864 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
874 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
885 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
901 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
913 .setWindow(anyInt(), anyLong(), anyLong(), in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
1317 doNothing().when(mAlarmManager).setWindow(anyInt(), anyLong(), anyLong(), in testLightStepIdleStateIdlingTimeIncreasesExponentially()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java591 verify(mAlarmManager, never()).setWindow( in testMaybeScheduleStartAlarmLocked()
598 verify(mAlarmManager, never()).setWindow( in testMaybeScheduleStartAlarmLocked()
606 verify(mAlarmManager, never()).setWindow( in testMaybeScheduleStartAlarmLocked()
613 verify(mAlarmManager, never()).setWindow( in testMaybeScheduleStartAlarmLocked()
619 verify(mAlarmManager, timeout(1000).times(1)).setWindow( in testMaybeScheduleStartAlarmLocked()
625 verify(mAlarmManager, times(1)).setWindow( in testMaybeScheduleStartAlarmLocked()
661 .setWindow(anyInt(), anyLong(), anyLong(), eq(TAG_QUOTA_CHECK), any(), in testMaybeScheduleStartAlarmLocked_CategoryChange()
670 .setWindow(anyInt(), eq(expectedWorkingAlarmTime), anyLong(), in testMaybeScheduleStartAlarmLocked_CategoryChange()
677 .setWindow(anyInt(), eq(expectedFrequentAlarmTime), anyLong(), in testMaybeScheduleStartAlarmLocked_CategoryChange()
684 .setWindow(anyInt(), eq(expectedRareAlarmTime), anyLong(), in testMaybeScheduleStartAlarmLocked_CategoryChange()
[all …]
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/
DWindowObserver.kt22 fun setWindow(window: Window) method
DBaseDemoActivity.kt54 view.setWindow(window) in onCreate()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java244 public void setWindow(CursorWindow window) { in setWindow() method in SQLiteCursor
245 super.setWindow(window); in setWindow()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java2852 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_Active()
2869 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_Active()
2878 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_Active()
2893 verify(mAlarmManager, timeout(1000).times(1)).setWindow( in testMaybeScheduleStartAlarmLocked_Active()
2916 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
2927 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
2941 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
2953 verify(mAlarmManager, timeout(1000).times(0)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
2963 verify(mAlarmManager, timeout(1000).times(1)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
2972 verify(mAlarmManager, timeout(1000).times(1)).setWindow( in testMaybeScheduleStartAlarmLocked_WorkingSet()
[all …]
DPrefetchControllerTest.java283 .setWindow( in testConstantsUpdating_ThresholdChangesAlarms()
289 .setWindow( in testConstantsUpdating_ThresholdChangesAlarms()
421 .setWindow( in testEstimatedLaunchTimeChangedToLate()
471 .setWindow( in testEstimatedLaunchTimeAllowance()
/frameworks/libs/systemui/motiontoollib/tests/com/android/app/motiontool/
DDdmHandleMotionToolTest.kt167 .setWindow(WindowIdentifier.newBuilder() in <lambda>()
176 .setWindow(WindowIdentifier.newBuilder() in <lambda>()
/frameworks/base/core/java/android/app/servertransaction/
DWindowStateTransactionItem.java70 void setWindow(@NonNull IWindow window) { in setWindow() method in WindowStateTransactionItem
DWindowStateInsetsControlChangeItem.java76 instance.setWindow(window); in obtain()
DWindowStateResizeItem.java91 instance.setWindow(window); in obtain()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java632 public void setWindow(@AlarmType int type, long windowStartMillis, long windowLengthMillis, in setWindow() method in AlarmManager
655 public void setWindow(@AlarmType int type, long windowStartMillis, long windowLengthMillis, in setWindow() method in AlarmManager
678 public void setWindow(@AlarmType int type, long windowStartMillis, long windowLengthMillis, in setWindow() method in AlarmManager
704 public void setWindow(@AlarmType int type, long windowStartMillis, long windowLengthMillis, in setWindow() method in AlarmManager
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt98 override fun setWindow(window: Window) { in <lambda>() method in com.android.test.silkfx.common.ColorModeControls
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java181 ac.setWindow(cw); in testCustomWindowSize()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java163 mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, when, in scheduleBatchFinalization()
/frameworks/base/services/core/java/com/android/server/utils/
DAlarmQueue.java128 alarmManager.setWindow(AlarmManager.ELAPSED_REALTIME,
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
DDeviceIdlenessTracker.java337 mAlarm.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, in maybeScheduleIdlenessCheck()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/
DAlarmQueueTest.java225 verify(mAlarmManager, timeout(1000).times(1)).setWindow(
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java4274 mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleAlarmLocked()
4293 mAlarmManager.setWindow( in scheduleLightAlarmLocked()
4317 mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleMotionRegistrationAlarmLocked()
4333 mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleMotionTimeoutAlarmLocked()
4348 mAlarmManager.setWindow(AlarmManager.ELAPSED_REALTIME_WAKEUP, in scheduleSensingTimeoutAlarmLocked()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java295 setWindow(window); in DecorView()
2076 void setWindow(PhoneWindow phoneWindow) { in setWindow() method
DPhoneWindow.java2882 mDecor.setWindow(this);
/frameworks/base/core/api/
Dtest-lint-baseline.txt1816 SamShouldBeLast: android.app.AlarmManager#setWindow(int, long, long, String, android.app.AlarmManag…
1817 …arameters (such as parameter 5, "listener", in android.app.AlarmManager.setWindow) should be last …

12