Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerAppConfigurationTests.java104 LogSeparator logSeparator = separateLogs(); in testConfigurationUpdatesWhenResizedFromFullscreen() local
107 logSeparator); in testConfigurationUpdatesWhenResizedFromFullscreen()
109 logSeparator = separateLogs(); in testConfigurationUpdatesWhenResizedFromFullscreen()
112 logSeparator); in testConfigurationUpdatesWhenResizedFromFullscreen()
127 LogSeparator logSeparator = separateLogs(); in testConfigurationUpdatesWhenResizedFromDockedStack() local
130 logSeparator); in testConfigurationUpdatesWhenResizedFromDockedStack()
132 logSeparator = separateLogs(); in testConfigurationUpdatesWhenResizedFromDockedStack()
135 logSeparator); in testConfigurationUpdatesWhenResizedFromDockedStack()
150 final LogSeparator logSeparator = separateLogs(); in testConfigurationUpdatesWhenRotatingWhileFullscreen() local
154 logSeparator); in testConfigurationUpdatesWhenRotatingWhileFullscreen()
[all …]
DKeyguardTestBase.java44 void assertOnDismissSucceededInLogcat(LogSeparator logSeparator) { in assertOnDismissSucceededInLogcat() argument
45 assertInLogcat(KEYGUARD_DISMISS_LOG_TAG, ENTRY_ON_DISMISS_SUCCEEDED, logSeparator); in assertOnDismissSucceededInLogcat()
48 void assertOnDismissCancelledInLogcat(LogSeparator logSeparator) { in assertOnDismissCancelledInLogcat() argument
49 assertInLogcat(KEYGUARD_DISMISS_LOG_TAG, ENTRY_ON_DISMISS_CANCELLED, logSeparator); in assertOnDismissCancelledInLogcat()
52 void assertOnDismissErrorInLogcat(LogSeparator logSeparator) { in assertOnDismissErrorInLogcat() argument
53 assertInLogcat(KEYGUARD_DISMISS_LOG_TAG, ENTRY_ON_DISMISS_ERROR, logSeparator); in assertOnDismissErrorInLogcat()
56 private void assertInLogcat(String logTag, String entry, LogSeparator logSeparator) { in assertInLogcat() argument
59 final String[] lines = getDeviceLogsForComponents(logSeparator, logTag); in assertInLogcat()
DActivityManagerConfigChangeTests.java114 final LogSeparator logSeparator = separateLogs(); in testRotation() local
118 logSeparator); in testRotation()
136 LogSeparator logSeparator = separateLogs(); in testChangeFontScale() local
140 final int densityDpi = getActivityDensityDpi(activityName, logSeparator); in testChangeFontScale()
143 logSeparator = separateLogs(); in testChangeFontScale()
147 logSeparator); in testChangeFontScale()
153 logSeparator); in testChangeFontScale()
170 final LogSeparator logSeparator = separateLogs(); in testUpdateApplicationInfo() local
176 return readAssetSeqNumber(TEST_ACTIVITY, logSeparator) == assetSeq + 1 in testUpdateApplicationInfo()
186 0 /* numConfigChange */, logSeparator); in testUpdateApplicationInfo()
[all …]
DActivityAndWindowManagerOverrideConfigTests.java53 ComponentName activityName, LogSeparator logSeparator) { in findConfigurationChange() argument
56 getDeviceLogsForComponents(logSeparator, getLogTag(activityName)); in findConfigurationChange()
82 LogSeparator logSeparator = separateLogs(); in testReceiveOverrideConfigFromRelayout() local
86 LOG_CONFIGURATION_ACTIVITY, logSeparator); in testReceiveOverrideConfigFromRelayout()
90 logSeparator = separateLogs(); in testReceiveOverrideConfigFromRelayout()
93 LOG_CONFIGURATION_ACTIVITY, logSeparator); in testReceiveOverrideConfigFromRelayout()
DActivityManagerActivityVisibilityTests.java375 final LogSeparator logSeparator = separateLogs(); in testTurnScreenOnAttrNoLockScreen() local
379 assertSingleLaunch(TURN_SCREEN_ON_ATTR_ACTIVITY, logSeparator); in testTurnScreenOnAttrNoLockScreen()
392 final LogSeparator logSeparator = separateLogs(); in testTurnScreenOnAttrWithLockScreen() local
397 assertSingleLaunchAndStop(TURN_SCREEN_ON_ATTR_ACTIVITY, logSeparator); in testTurnScreenOnAttrWithLockScreen()
406 final LogSeparator logSeparator = separateLogs(); in testTurnScreenOnShowOnLockAttr() local
410 assertSingleLaunch(TURN_SCREEN_ON_SHOW_ON_LOCK_ACTIVITY, logSeparator); in testTurnScreenOnShowOnLockAttr()
419 LogSeparator logSeparator = separateLogs(); in testTurnScreenOnAttrRemove() local
422 assertSingleLaunch(TURN_SCREEN_ON_ATTR_REMOVE_ATTR_ACTIVITY, logSeparator); in testTurnScreenOnAttrRemove()
426 logSeparator = separateLogs(); in testTurnScreenOnAttrRemove()
431 assertSingleStartAndStop(TURN_SCREEN_ON_ATTR_REMOVE_ATTR_ACTIVITY, logSeparator); in testTurnScreenOnAttrRemove()
[all …]
DKeyguardTransitionTests.java117 final LogSeparator logSeparator = separateLogs(); in testOccludeManifestAttr() local
122 assertSingleLaunch(SHOW_WHEN_LOCKED_ATTR_ACTIVITY, logSeparator); in testOccludeManifestAttr()
130 LogSeparator logSeparator = separateLogs(); in testOccludeAttrRemove() local
135 assertSingleLaunch(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_ACTIVITY, logSeparator); in testOccludeAttrRemove()
138 logSeparator = separateLogs(); in testOccludeAttrRemove()
141 assertSingleStartAndStop(SHOW_WHEN_LOCKED_ATTR_REMOVE_ATTR_ACTIVITY, logSeparator); in testOccludeAttrRemove()
DKeyguardTests.java243 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardActivity_method() local
252 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method()
259 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardActivity_method_notTop() local
266 assertOnDismissErrorInLogcat(logSeparator); in testDismissKeyguardActivity_method_notTop()
273 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardActivity_method_turnScreenOn() local
282 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method_turnScreenOn()
352 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardAttrActivity_method_turnScreenOn() local
359 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardAttrActivity_method_turnScreenOn()
367 final LogSeparator logSeparator = separateLogs(); in testScreenOffWhileOccludedStopsActivity() local
375 assertSingleLaunchAndStop(SHOW_WHEN_LOCKED_ATTR_ACTIVITY, logSeparator); in testScreenOffWhileOccludedStopsActivity()
[all …]
DActivityManagerMultiDisplayTests.java112 final LogSeparator logSeparator = separateLogs(); in testLaunchActivityOnSecondaryDisplay() local
130 logSeparator); in testLaunchActivityOnSecondaryDisplay()
371 final LogSeparator logSeparator = separateLogs(); in testLaunchWithoutPermissionOnVirtualDisplay() local
381 assertSecurityException("ActivityLauncher", logSeparator); in testLaunchWithoutPermissionOnVirtualDisplay()
593 final LogSeparator logSeparator = separateLogs(); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding() local
601 assertSecurityException("ActivityLauncher", logSeparator); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
762 LogSeparator logSeparator; in tryCreatingAndRemovingDisplayWithActivity() local
782 logSeparator = separateLogs(); in tryCreatingAndRemovingDisplayWithActivity()
786 assertActivityLifecycle(RESIZEABLE_ACTIVITY, false /* relaunched */, logSeparator); in tryCreatingAndRemovingDisplayWithActivity()
1050 final LogSeparator logSeparator = separateLogs(); in testPermissionLaunchFromDifferentApp() local
[all …]
DActivityManagerPinnedStackTests.java853 LogSeparator logSeparator = separateLogs(); in testConfigurationChangeOrderDuringTransition() local
857 waitForValidPictureInPictureCallbacks(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
858 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
862 logSeparator = separateLogs(); in testConfigurationChangeOrderDuringTransition()
864 waitForValidPictureInPictureCallbacks(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
865 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, logSeparator); in testConfigurationChangeOrderDuringTransition()
912 LogSeparator logSeparator = separateLogs(); in testEnterPipInterruptedCallbacks() local
921 PIP_ACTIVITY, logSeparator); in testEnterPipInterruptedCallbacks()
942 LogSeparator logSeparator = separateLogs(); in testStopBeforeMultiWindowCallbacksOnDismiss() local
949 logSeparator); in testStopBeforeMultiWindowCallbacksOnDismiss()
[all …]
DActivityManagerFreeformStackTests.java125 final LogSeparator logSeparator = separateLogs(); in testActivityLifeCycleOnResizeFreeformTask() local
132 assertActivityLifecycle(TEST_ACTIVITY, true /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeFreeformTask()
133 assertActivityLifecycle(NO_RELAUNCH_ACTIVITY, false /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeFreeformTask()
DKeyguardLockedTests.java135 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardActivity_method() local
145 assertOnDismissSucceededInLogcat(logSeparator); in testDismissKeyguardActivity_method()
153 final LogSeparator logSeparator = separateLogs(); in testDismissKeyguardActivity_method_cancelled() local
159 assertOnDismissCancelledInLogcat(logSeparator); in testDismissKeyguardActivity_method_cancelled()
DActivityManagerSplitScreenTests.java154 final LogSeparator logSeparator = separateLogs(); in testLaunchToSideMultiWindowCallbacks() local
157 TEST_ACTIVITY, logSeparator); in testLaunchToSideMultiWindowCallbacks()
168 LogSeparator logSeparator = separateLogs(); in testNoUserLeaveHintOnMultiWindowModeChanged() local
171 TEST_ACTIVITY, logSeparator); in testNoUserLeaveHintOnMultiWindowModeChanged()
181 logSeparator = separateLogs(); in testNoUserLeaveHintOnMultiWindowModeChanged()
183 lifecycleCounts = waitForOnMultiWindowModeChanged(TEST_ACTIVITY, logSeparator); in testNoUserLeaveHintOnMultiWindowModeChanged()
585 final LogSeparator logSeparator = separateLogs(); in testActivityLifeCycleOnResizeDockedStack() local
598 assertActivityLifecycle(TEST_ACTIVITY, true /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeDockedStack()
599 assertActivityLifecycle(NO_RELAUNCH_ACTIVITY, false /* relaunched */, logSeparator); in testActivityLifeCycleOnResizeDockedStack()
/cts/tests/framework/base/activitymanager/util/src/android/server/am/
DActivityManagerTestBase.java807 final LogSeparator logSeparator = new LogSeparator();
808 executeShellCommand("log -t " + LOG_SEPARATOR + " " + logSeparator);
809 return logSeparator;
813 LogSeparator logSeparator, String... logTags) {
820 if (logSeparator == null) {
828 if (result[i].contains(logSeparator.toString())) {
884 ActivityLifecycleCountsValidator(ComponentName activityName, LogSeparator logSeparator,
888 mLogSeparator = logSeparator;
921 LogSeparator logSeparator) {
928 new ActivityLifecycleCounts(activityName, logSeparator);
[all …]