Home
last modified time | relevance | path

Searched refs:viewStructure (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java267 ViewNodeBuilder viewStructure = new ViewNodeBuilder(); in testViewNodeParcelableForCredentialManager() local
268 viewStructure.setAutofillId(view.getAutofillId()); in testViewNodeParcelableForCredentialManager()
269 viewStructure.setPendingCredentialRequest(view.getPendingCredentialRequest(), in testViewNodeParcelableForCredentialManager()
271 view.onProvideAutofillStructure(viewStructure, /* flags= */ 0); in testViewNodeParcelableForCredentialManager()
272 ViewNodeParcelable viewNodeParcelable = new ViewNodeParcelable(viewStructure.getViewNode()); in testViewNodeParcelableForCredentialManager()
291 ViewNodeBuilder viewStructure = new ViewNodeBuilder(); in testViewNodeClearCredentialManagerRequest() local
294 viewStructure.setPendingCredentialRequest(view.getPendingCredentialRequest(), in testViewNodeClearCredentialManagerRequest()
298 assertEquals(viewStructure.getPendingCredentialRequest(), GET_CREDENTIAL_REQUEST); in testViewNodeClearCredentialManagerRequest()
299 assertEquals(viewStructure.getPendingCredentialCallback(), in testViewNodeClearCredentialManagerRequest()
302 viewStructure.clearCredentialManagerRequest(); in testViewNodeClearCredentialManagerRequest()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
DContentProtectionEventProcessorTest.java425 ViewStructureImpl viewStructure = new ViewStructureImpl(view); in createProcessEvent() local
427 viewStructure.setText(viewNodeText); in createProcessEvent()
430 viewStructure.setHint(hintText); in createProcessEvent()
434 event.setViewNode(viewStructure.getNode()); in createProcessEvent()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java4700 ViewNodeBuilder viewStructure = new ViewNodeBuilder(); in getViewNodeParcelable() local
4701 viewStructure.setAutofillId(view.getAutofillId()); in getViewNodeParcelable()
4702 view.onProvideAutofillStructure(viewStructure, /* flags= */ 0); in getViewNodeParcelable()
4707 ViewNode viewNode = viewStructure.getViewNode(); in getViewNodeParcelable()