Home
last modified time | relevance | path

Searched refs:manualTimeSuggestion (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/timedetector/
DTimeDetector.java138 ManualTimeSuggestion manualTimeSuggestion = new ManualTimeSuggestion(unixEpochTime); in createManualTimeSuggestion() local
139 manualTimeSuggestion.addDebugInfo(why); in createManualTimeSuggestion()
140 return manualTimeSuggestion; in createManualTimeSuggestion()
/frameworks/base/core/java/android/app/time/
DTimeManager.java349 ManualTimeSuggestion manualTimeSuggestion = new ManualTimeSuggestion(unixEpochTime); in setManualTime() local
350 manualTimeSuggestion.addDebugInfo("TimeManager.setTime()"); in setManualTime()
351 manualTimeSuggestion.addDebugInfo("UID: " + android.os.Process.myUid()); in setManualTime()
352 manualTimeSuggestion.addDebugInfo("UserHandle: " + android.os.Process.myUserHandle()); in setManualTime()
353 manualTimeSuggestion.addDebugInfo("Process: " + android.os.Process.myProcessName()); in setManualTime()
354 return mITimeDetectorService.setManualTime(manualTimeSuggestion); in setManualTime()
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorServiceTest.java275 ManualTimeSuggestion manualTimeSuggestion = createManualTimeSuggestion(); in testSuggestManualTime_withoutPermission() local
278 () -> mTimeDetectorService.suggestManualTime(manualTimeSuggestion)); in testSuggestManualTime_withoutPermission()
287 ManualTimeSuggestion manualTimeSuggestion = createManualTimeSuggestion(); in testSuggestManualTime() local
289 assertTrue(mTimeDetectorService.suggestManualTime(manualTimeSuggestion)); in testSuggestManualTime()
293 expectedUserId, manualTimeSuggestion, expectedBypassUserPolicyChecks); in testSuggestManualTime()
DTimeDetectorStrategyImplTest.java839 ManualTimeSuggestion manualTimeSuggestion = in testSuggestManualTime_retainsAutoSignal() local
844 script.calculateTimeInMillisForNow(manualTimeSuggestion.getUnixEpochTime()); in testSuggestManualTime_retainsAutoSignal()
848 ARBITRARY_USER_ID, manualTimeSuggestion, bypassUserPolicyChecks, expectedResult) in testSuggestManualTime_retainsAutoSignal()