Home
last modified time | relevance | path

Searched refs:mPersistentState (Results 1 – 2 of 2) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/
DActivityCreatedEvent.java62 PersistableBundleQueryHelper<ActivityCreatedEventQuery> mPersistentState = field in ActivityCreatedEvent.ActivityCreatedEventQuery
86 return mPersistentState; in wherePersistentState()
106 if (!mPersistentState.matches(event.mPersistentState)) { in filter()
122 .field("persistentState", mPersistentState) in describeQuery()
159 mEvent.mPersistentState = new SerializableParcelWrapper<>(persistentState); in setPersistentState()
172 protected SerializableParcelWrapper<PersistableBundle> mPersistentState; field in ActivityCreatedEvent
193 if (mPersistentState == null) { in persistentState()
196 return mPersistentState.get(); in persistentState()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/activities/
DActivityCreatedEventTest.java46 private final PersistableBundle mPersistentState = new PersistableBundle(); field in ActivityCreatedEventTest
97 mPersistentState.putString(STRING_KEY, STRING_VALUE); in wherePersistentState_works()
100 .setPersistentState(mPersistentState) in wherePersistentState_works()
108 assertThat(eventLogs.poll().persistentState()).isEqualTo(mPersistentState); in wherePersistentState_works()
115 mPersistentState.putString(STRING_KEY, STRING_VALUE); in wherePersistentState_skipsNonMatching()
121 .setPersistentState(mPersistentState) in wherePersistentState_skipsNonMatching()
130 assertThat(eventLogs.poll().persistentState()).isEqualTo(mPersistentState); in wherePersistentState_skipsNonMatching()