Home
last modified time | relevance | path

Searched refs:testTag (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/scaffold/
DCustomizedAppBarTest.kt41 import androidx.compose.ui.platform.testTag in <lambda>()
91 Box(Modifier.testTag(TopAppBarTestTag)) { in <lambda>()
101 Box(Modifier.testTag(TopAppBarTestTag)) { in <lambda>()
104 FakeIcon(Modifier.testTag(NavigationIconTestTag)) in <lambda>()
107 Text("Title", Modifier.testTag(TitleTestTag)) in <lambda>()
110 FakeIcon(Modifier.testTag(ActionsTestTag)) in <lambda>()
121 Box(Modifier.testTag(TopAppBarTestTag)) { in <lambda>()
124 Text("Title", Modifier.testTag(TitleTestTag)) in <lambda>()
127 FakeIcon(Modifier.testTag(ActionsTestTag)) in <lambda>()
164 FakeIcon(Modifier.testTag(NavigationIconTestTag)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestMatchers.kt26 hasTestTag(element.testTag) in isElement()
28 hasTestTag(element.testTag) and hasAnyAncestor(hasTestTag(scene.testTag)) in isElement()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/compose/modifiers/
DSysuiTestTag.kt21 import androidx.compose.ui.platform.testTag
31 return this.semantics { testTagsAsResourceId = true }.testTag("com.android.systemui:id/$resId") in sysuiResTag()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DKey.kt51 val testTag: String = "scene:$debugName" constant
75 val testTag: String = "element:$debugName" constant
DScene.kt29 import androidx.compose.ui.platform.testTag in <lambda>()
82 .testTag(key.testTag) in <lambda>()
DElement.kt44 import androidx.compose.ui.platform.testTag in <lambda>()
145 return then(ElementModifier(layoutImpl, currentTransitions, scene, key)).testTag(key.testTag) in element()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutTest.kt37 import androidx.compose.ui.platform.testTag
139 .testTag(TestElements.Bar.debugName) in SceneScope()
228 var sharedFoo = rule.onNodeWithTag(TestElements.Foo.testTag, useUnmergedTree = true) in testSharedElement()
326 layoutModifier = Modifier.testTag(layoutTag), in layoutSizeIsAnimated()
348 SceneTransitionLayout(state, Modifier.testTag(layoutTag)) { in layoutSizeDoesNotOverscrollWhenOverscrollIsSpecified()
395 scene(SceneA) { Box(Modifier.testTag("aRoot").fillMaxSize()) } in multipleTransitionsWillComposeMultipleScenes()
396 scene(SceneB) { Box(Modifier.testTag("bRoot").fillMaxSize()) } in multipleTransitionsWillComposeMultipleScenes()
397 scene(SceneC) { Box(Modifier.testTag("cRoot").fillMaxSize()) } in multipleTransitionsWillComposeMultipleScenes()
DSwipeToSceneTest.kt32 import androidx.compose.ui.platform.testTag in <lambda>()
86 modifier = Modifier.size(LayoutWidth, LayoutHeight).testTag(TestElements.Foo.debugName), in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/modifiers/
DSizeTest.kt24 import androidx.compose.ui.platform.testTag
51 Box(Modifier.noResizeDuringTransitions().testTag(parentTag)) { in noResizeDuringTransitions()
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/
DComposeContentTestRuleExt.kt24 import androidx.compose.ui.platform.testTag
82 .testTag(SIZE_ASSERTION_TAG) in ComposeContentTestRule()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/editor/
DSettingsTextFieldPassword.kt36 import androidx.compose.ui.platform.testTag
71 .testTag("Visibility Icon") in SettingsTextFieldPassword()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java356 String fileName, String testTag) throws IOException { in processGraphicBufferResult() argument
458 addResults(status, testTag, KEY_POST_TIME, postTimes); in processGraphicBufferResult()
459 addResults(status, testTag, KEY_READY_TIME, readyTimes); in processGraphicBufferResult()
460 addResults(status, testTag, KEY_LATENCY, latencyTimes); in processGraphicBufferResult()
461 status.put(testTag + "_" + KEY_MISSED_FRAME_RATE, in processGraphicBufferResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/composable/
DBouncerContentTest.kt24 import androidx.compose.ui.platform.testTag
86 modifier = Modifier.fillMaxSize().testTag("BouncerContent"), in BouncerContentUnderTest()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DStateControllerTest.java134 private JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() argument
140 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "SCTest", testTag); in createJobStatus()
DPrefetchControllerTest.java187 private JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() argument
188 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, createJobInfo(jobId)); in createJobStatus()
191 private static JobStatus createJobStatus(String testTag, String packageName, int callingUid, in createJobStatus() argument
194 jobInfo, callingUid, packageName, SOURCE_USER_ID, "PCTest", testTag); in createJobStatus()
DBackgroundJobsControllerTest.java202 private JobStatus createJobStatus(String testTag, String packageName, int callingUid, in createJobStatus() argument
205 jobInfo, callingUid, packageName, SOURCE_USER_ID, "BJCTest", testTag); in createJobStatus()
DBatteryControllerTest.java182 private JobStatus createJobStatus(String testTag, String packageName, int callingUid, in createJobStatus() argument
185 jobInfo, callingUid, packageName, SOURCE_USER_ID, "BCTest", testTag); in createJobStatus()
DFlexibilityControllerTest.java274 private JobStatus createJobStatus(String testTag, JobInfo.Builder job) { in createJobStatus() argument
275 return createJobStatus(testTag, job, SOURCE_PACKAGE); in createJobStatus()
278 private JobStatus createJobStatus(String testTag, JobInfo.Builder job, String sourcePackage) { in createJobStatus() argument
281 jobInfo, 1000, sourcePackage, SOURCE_USER_ID, "FCTest", testTag); in createJobStatus()
DTimeControllerTest.java139 private JobStatus createJobStatus(String testTag, JobInfo.Builder job) { in createJobStatus() argument
142 jobInfo, 1000, SOURCE_PACKAGE, SOURCE_USER_ID, "TCTest", testTag); in createJobStatus()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt74 import androidx.compose.ui.platform.testTag in <lambda>()
353 .testTag("BesideUserSwitcherLayout") in BesideUserSwitcherLayout()
405 modifier = Modifier.weight(1f).swappable().testTag("UserSwitcher"), in BesideUserSwitcherLayout()
409 modifier = Modifier.weight(1f).swappable(inversed = true).testTag("FoldAware"), in BesideUserSwitcherLayout()
422 modifier = Modifier.padding(top = 24.dp).testTag("OutputArea") in BesideUserSwitcherLayout()
446 modifier = Modifier.align(Alignment.BottomCenter).testTag("InputArea"), in BesideUserSwitcherLayout()
452 modifier = Modifier.padding(top = 48.dp).testTag("ActionArea"), in BesideUserSwitcherLayout()
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java205 private static JobStatus createJobStatus(String testTag, int jobId, int callingUid) { in createJobStatus() argument
211 jobInfo, callingUid, SOURCE_PACKAGE, SOURCE_USER_ID, null, testTag); in createJobStatus()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java57 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder, in createJobStatus() argument
59 return createJobStatus(testTag, jobInfoBuilder, callingUid, "PJQTest"); in createJobStatus()
62 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder, in createJobStatus() argument
65 jobInfoBuilder.build(), callingUid, "com.android.test", 0, namespace, testTag); in createJobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java247 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder) { in createJobStatus() argument
248 return createJobStatus(testTag, jobInfoBuilder, 1234); in createJobStatus()
251 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder, in createJobStatus() argument
253 return createJobStatus(testTag, jobInfoBuilder, callingUid, "com.android.test"); in createJobStatus()
256 private JobStatus createJobStatus(String testTag, JobInfo.Builder jobInfoBuilder, in createJobStatus() argument
259 jobInfoBuilder.build(), callingUid, sourcePkg, 0, "JSSTest", testTag); in createJobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java620 private JobStatus createJobStatus(String testTag, JobInfo jobInfo) { in createJobStatus() argument
622 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "TSRTest", testTag); in createJobStatus()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt112 import androidx.compose.ui.platform.testTag in <lambda>()
197 .testTag(COMMUNAL_HUB_TEST_TAG) in <lambda>()

12