Home
last modified time | relevance | path

Searched refs:logSeparator (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
DActivityManagerAppConfigurationTests.java67 String logSeparator = clearLogcat(); in testConfigurationUpdatesWhenResizedFromFullscreen() local
70 logSeparator); in testConfigurationUpdatesWhenResizedFromFullscreen()
72 logSeparator = clearLogcat(); in testConfigurationUpdatesWhenResizedFromFullscreen()
75 logSeparator); in testConfigurationUpdatesWhenResizedFromFullscreen()
91 String logSeparator = clearLogcat(); in testConfigurationUpdatesWhenResizedFromDockedStack() local
94 logSeparator); in testConfigurationUpdatesWhenResizedFromDockedStack()
96 logSeparator = clearLogcat(); in testConfigurationUpdatesWhenResizedFromDockedStack()
99 logSeparator); in testConfigurationUpdatesWhenResizedFromDockedStack()
109 final String logSeparator = clearLogcat(); in testConfigurationUpdatesWhenRotatingWhileFullscreen() local
112 logSeparator); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
[all …]
DKeyguardTestBase.java40 protected void assertOnDismissSucceededInLogcat(String logSeparator) throws Exception { in assertOnDismissSucceededInLogcat() argument
41 assertInLogcat("KeyguardDismissLoggerCallback", "onDismissSucceeded", logSeparator); in assertOnDismissSucceededInLogcat()
44 protected void assertOnDismissCancelledInLogcat(String logSeparator) throws Exception { in assertOnDismissCancelledInLogcat() argument
45 assertInLogcat("KeyguardDismissLoggerCallback", "onDismissCancelled", logSeparator); in assertOnDismissCancelledInLogcat()
48 protected void assertOnDismissErrorInLogcat(String logSeparator) throws Exception { in assertOnDismissErrorInLogcat() argument
49 assertInLogcat("KeyguardDismissLoggerCallback", "onDismissError", logSeparator); in assertOnDismissErrorInLogcat()
52 private void assertInLogcat(String activityName, String entry, String logSeparator) in assertInLogcat() argument
57 final String[] lines = getDeviceLogsForComponent(activityName, logSeparator); in assertInLogcat()
DActivityManagerConfigChangeTests.java101 final String logSeparator = clearLogcat(); in testRotation() local
104 assertRelaunchOrConfigChanged(activityName, numRelaunch, numConfigChange, logSeparator); in testRotation()
120 final String logSeparator = clearLogcat(); in testChangeFontScale() local
124 logSeparator); in testChangeFontScale()
130 logSeparator); in testChangeFontScale()
145 final String logSeparator = clearLogcat(); in testUpdateApplicationInfo() local
151 return readAssetSeqNumber(TEST_ACTIVITY_NAME, logSeparator) == assetSeq + 1 in testUpdateApplicationInfo()
161 0 /* numConfigChange */, logSeparator); in testUpdateApplicationInfo()
162 final int newAssetSeq = readAssetSeqNumber(TEST_ACTIVITY_NAME, logSeparator); in testUpdateApplicationInfo()
170 private int readAssetSeqNumber(String activityName, String logSeparator) throws Exception { in readAssetSeqNumber() argument
[all …]
DActivityAndWindowManagerOverrideConfigTests.java43 private boolean findConfigurationChange(String activityName, String logSeparator) in findConfigurationChange() argument
48 final String[] lines = getDeviceLogsForComponent(activityName, logSeparator); in findConfigurationChange()
75 String logSeparator = clearLogcat(); in testReceiveOverrideConfigFromRelayout() local
79 logSeparator); in testReceiveOverrideConfigFromRelayout()
83 logSeparator = clearLogcat(); in testReceiveOverrideConfigFromRelayout()
86 logSeparator); in testReceiveOverrideConfigFromRelayout()
DKeyguardTests.java214 final String logSeparator = clearLogcat(); in testDismissKeyguardActivity_method() local
223 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method()
230 final String logSeparator = clearLogcat(); in testDismissKeyguardActivity_method_notTop() local
237 assertOnDismissErrorInLogcat(logSeparator); in testDismissKeyguardActivity_method_notTop()
244 final String logSeparator = clearLogcat(); in testDismissKeyguardActivity_method_turnScreenOn() local
253 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method_turnScreenOn()
DActivityManagerPinnedStackTests.java767 String logSeparator = clearLogcat(); in testConfigurationChangeOrderDuringTransition() local
771 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
775 logSeparator = clearLogcat(); in testConfigurationChangeOrderDuringTransition()
777 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
788 String logSeparator = clearLogcat(); in testStopBeforeMultiWindowCallbacksOnDismiss() local
795 logSeparator); in testStopBeforeMultiWindowCallbacksOnDismiss()
899 String logSeparator = clearLogcat(); in testNoResumeAfterTaskOverlayFinishes() local
905 logSeparator); in testNoResumeAfterTaskOverlayFinishes()
1018 String logSeparator = clearLogcat(); in testDisplayMetricsPinUnpin() local
1022 logSeparator); in testDisplayMetricsPinUnpin()
[all …]
DActivityManagerDisplayTests.java341 final String logSeparator = clearLogcat(); in testLaunchActivityOnSecondaryDisplay() local
358 logSeparator); in testLaunchActivityOnSecondaryDisplay()
539 final String logSeparator = clearLogcat(); in testLaunchNotEmbeddedOnVirtualDisplay() local
553 String[] logs = getDeviceLogsForComponent("LaunchBroadcastReceiver", logSeparator); in testLaunchNotEmbeddedOnVirtualDisplay()
954 final String logSeparator = clearLogcat(); in testPermissionLaunchFromDifferentApp() local
966 String[] logs = getDeviceLogsForComponent("LaunchBroadcastReceiver", logSeparator); in testPermissionLaunchFromDifferentApp()
1012 final String logSeparator = clearLogcat(); in testContentDestroyOnDisplayRemoved() local
1042 assertActivityDestroyed(TEST_ACTIVITY_NAME, logSeparator); in testContentDestroyOnDisplayRemoved()
1043 assertActivityDestroyed(RESIZEABLE_ACTIVITY_NAME, logSeparator); in testContentDestroyOnDisplayRemoved()
1069 final String logSeparator = clearLogcat(); in testDisplayResize() local
[all …]
DKeyguardLockedTests.java114 final String logSeparator = clearLogcat(); in testDismissKeyguardActivity_method() local
124 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method()
131 final String logSeparator = clearLogcat(); in testDismissKeyguardActivity_method_cancelled() local
137 assertOnDismissCancelledInLogcat(logSeparator); in testDismissKeyguardActivity_method_cancelled()
DActivityManagerFreeformStackTests.java104 final String logSeparator = clearLogcat(); in testActivityLifeCycleOnResizeFreeformTask() local
111 assertActivityLifecycle(TEST_ACTIVITY, true /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeFreeformTask()
112 assertActivityLifecycle(NO_RELAUNCH_ACTIVITY, false /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeFreeformTask()
DActivityManagerAmStartOptionsTests.java153 void verifyLogcat(String actualActivityName, boolean shouldStart, String logSeparator) in verifyLogcat() argument
158 for (String line : getDeviceLogsForComponent("ActivityManager", logSeparator)) { in verifyLogcat()
DActivityManagerDockedStackTests.java124 final String logSeparator = clearLogcat(); in testLaunchToSideMultiWindowCallbacks() local
127 TEST_ACTIVITY_NAME, logSeparator); in testLaunchToSideMultiWindowCallbacks()
503 final String logSeparator = clearLogcat(); in testActivityLifeCycleOnResizeDockedStack() local
516 assertActivityLifecycle(TEST_ACTIVITY_NAME, true /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeDockedStack()
517 assertActivityLifecycle(NO_RELAUNCH_ACTIVITY_NAME, false /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeDockedStack()
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/
DActivityManagerTestBase.java763 String logSeparator) throws DeviceNotAvailableException { in assertActivityLifecycle() argument
767 resultString = verifyLifecycleCondition(activityName, logSeparator, relaunched); in assertActivityLifecycle()
784 private String verifyLifecycleCondition(String activityName, String logSeparator, in verifyLifecycleCondition() argument
787 logSeparator); in verifyLifecycleCondition()
816 String activityName, int numRelaunch, int numConfigChange, String logSeparator) in assertRelaunchOrConfigChanged() argument
822 logSeparator); in assertRelaunchOrConfigChanged()
840 int numConfigChange, String logSeparator) throws DeviceNotAvailableException { in verifyRelaunchOrConfigChanged() argument
842 logSeparator); in verifyRelaunchOrConfigChanged()
857 protected void assertActivityDestroyed(String activityName, String logSeparator) in assertActivityDestroyed() argument
862 resultString = verifyActivityDestroyed(activityName, logSeparator); in assertActivityDestroyed()
[all …]