Searched refs:NO_SESSION (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillId.java | 31 public static final int NO_SESSION = 0; field in AutofillId 46 this(/* flags= */ 0, id, View.NO_ID, NO_SESSION); in AutofillId() 52 this(FLAG_IS_VIRTUAL_INT, hostId.mViewId, virtualChildId, NO_SESSION); in AutofillId() 58 this(FLAG_IS_VIRTUAL_INT, hostId, virtualChildId, NO_SESSION); in AutofillId() 83 return new AutofillId(flags, id.mViewId, virtualChildId, NO_SESSION); in withoutSession() 169 mSessionId = NO_SESSION; in resetSessionId() 251 final int sessionId = (flags & FLAG_HAS_SESSION) != 0 ? source.readInt() : NO_SESSION;
|
D | AutofillManager.java | 459 public static final int NO_SESSION = Integer.MAX_VALUE; field in AutofillManager 480 private int mSessionId = NO_SESSION; 726 mSessionId = savedInstanceState.getInt(SESSION_ID_TAG, NO_SESSION); in onCreate() 729 if (mSessionId != NO_SESSION) { in onCreate() 743 mSessionId = NO_SESSION; in onCreate() 817 if (mSessionId != NO_SESSION) { in onSaveInstanceState() 1833 if (mSessionId != NO_SESSION) { in startSessionLocked() 1882 mSessionId = NO_SESSION; in resetSessionLocked() 1957 && mSessionId == NO_SESSION in startAutofillIfNeededLocked() 2414 if (mSessionId != NO_SESSION) { in setSaveUiState() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/autofill/ |
D | AutofillIdTest.java | 19 import static android.view.autofill.AutofillId.NO_SESSION; 39 assertNonVirtual(id, 42, NO_SESSION); in testNonVirtual() 42 assertNonVirtual(clone, 42, NO_SESSION); in testNonVirtual() 125 assertNonVirtual(idWithoutSession, 42, NO_SESSION); in testFactoryMethod_withoutSession() 138 assertThat(idWithoutSession.getSessionId()).isEqualTo(NO_SESSION); in testVirtual_Long_withoutSession() 151 assertThat(idWithoutSession.getSessionId()).isEqualTo(NO_SESSION); in testVirtual_Int_withoutSession() 157 assertNonVirtual(id, 42, NO_SESSION); in testSetResetSession() 165 assertThat(id.getSessionId()).isEqualTo(NO_SESSION); in testSetResetSession() 167 assertNonVirtual(clone2, 42, NO_SESSION); in testSetResetSession()
|