Searched refs:manualTimeSuggestion (Results 1 – 4 of 4) sorted by relevance
138 ManualTimeSuggestion manualTimeSuggestion = new ManualTimeSuggestion(unixEpochTime); in createManualTimeSuggestion() local139 manualTimeSuggestion.addDebugInfo(why); in createManualTimeSuggestion()140 return manualTimeSuggestion; in createManualTimeSuggestion()
349 ManualTimeSuggestion manualTimeSuggestion = new ManualTimeSuggestion(unixEpochTime); in setManualTime() local350 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()
275 ManualTimeSuggestion manualTimeSuggestion = createManualTimeSuggestion(); in testSuggestManualTime_withoutPermission() local278 () -> mTimeDetectorService.suggestManualTime(manualTimeSuggestion)); in testSuggestManualTime_withoutPermission()287 ManualTimeSuggestion manualTimeSuggestion = createManualTimeSuggestion(); in testSuggestManualTime() local289 assertTrue(mTimeDetectorService.suggestManualTime(manualTimeSuggestion)); in testSuggestManualTime()293 expectedUserId, manualTimeSuggestion, expectedBypassUserPolicyChecks); in testSuggestManualTime()
839 ManualTimeSuggestion manualTimeSuggestion = in testSuggestManualTime_retainsAutoSignal() local844 script.calculateTimeInMillisForNow(manualTimeSuggestion.getUnixEpochTime()); in testSuggestManualTime_retainsAutoSignal()848 ARBITRARY_USER_ID, manualTimeSuggestion, bypassUserPolicyChecks, expectedResult) in testSuggestManualTime_retainsAutoSignal()