Home
last modified time | relevance | path

Searched refs:viewNode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/contentprotection/
DContentProtectionUtils.java43 public static String getViewNodeTextLower(@Nullable ViewNode viewNode) { in getViewNodeTextLower() argument
44 if (viewNode == null) { in getViewNodeTextLower()
47 CharSequence text = viewNode.getText(); in getViewNodeTextLower()
56 public static String getHintTextLower(@Nullable ViewNode viewNode) { in getHintTextLower() argument
57 if (viewNode == null) { in getHintTextLower()
60 String text = viewNode.getHint(); in getHintTextLower()
DContentProtectionEventProcessor.java115 ViewNode viewNode = (event.getViewNode() != null) ? event.getViewNode() : new ViewNode(); in storeEvent() local
116 viewNode.setTextIdEntry(mPackageName); in storeEvent()
117 event.setViewNode(viewNode); in storeEvent()
122 ViewNode viewNode = event.getViewNode(); in processViewAppearedEvent() local
124 String viewNodeText = ContentProtectionUtils.getViewNodeTextLower(viewNode); in processViewAppearedEvent()
125 String hintText = ContentProtectionUtils.getHintTextLower(viewNode); in processViewAppearedEvent()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/
DCredentialAutofillService.kt747 viewNode: AssistStructure.ViewNode, in <lambda>()
754 viewNode.autofillId?.let { in <lambda>()
755 val domain = viewNode.webDomain in <lambda>()
756 val request = viewNode.pendingCredentialRequest in <lambda>()
761 cmRequests.addAll(getCredentialOptionsFromViewNode(viewNode, traversedViewNodes, in <lambda>()
768 viewNode.run { in <lambda>()
781 viewNode: AssistStructure.ViewNode, in <lambda>()
787 if (Flags.autofillCredmanDevIntegration() && viewNode.pendingCredentialRequest != null) { in <lambda>()
788 viewNode.pendingCredentialRequest in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
DContentProtectionEventProcessorTest.java173 ViewNode viewNode = new ViewNode(); in processEvent_buffer_setsTextIdEntry_withExistingViewNode() local
174 viewNode.setTextIdEntry(PACKAGE_NAME + "TO BE OVERWRITTEN"); in processEvent_buffer_setsTextIdEntry_withExistingViewNode()
176 event.setViewNode(viewNode); in processEvent_buffer_setsTextIdEntry_withExistingViewNode()
180 assertThat(event.getViewNode()).isSameInstanceAs(viewNode); in processEvent_buffer_setsTextIdEntry_withExistingViewNode()
181 assertThat(viewNode.getTextIdEntry()).isEqualTo(PACKAGE_NAME); in processEvent_buffer_setsTextIdEntry_withExistingViewNode()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java569 ViewNode.Builder viewNode) {
576 viewNode.setClassnameIndex(classnameIndex)
599 viewNode.addChildren(childViewNode);
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java4707 ViewNode viewNode = viewStructure.getViewNode(); in getViewNodeParcelable() local
4708 if (viewNode != null && id.equals(viewNode.getAutofillId())) { in getViewNodeParcelable()
4709 return new ViewNodeParcelable(viewNode); in getViewNodeParcelable()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1851 public ViewNodeParcelable(@NonNull ViewNode viewNode) { in ViewNodeParcelable() argument
1852 mViewNode = viewNode; in ViewNodeParcelable()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java6608 ViewNode viewNode = getViewNodeFromContextsLocked(viewId); in sendResponseToViewNode() local
6609 if (viewNode != null && viewNode.getPendingCredentialCallback() != null) { in sendResponseToViewNode()
6615 viewNode.getPendingCredentialCallback().send(SUCCESS_CREDMAN_SELECTOR, in sendResponseToViewNode()
6621 viewNode.getPendingCredentialCallback().send(FAILURE_CREDMAN_SELECTOR, in sendResponseToViewNode()