Searched refs:mGenerator (Results 1 – 5 of 5) sorted by relevance
52 private final MediaProjectionSessionIdGenerator mGenerator = field in MediaProjectionSessionIdGeneratorTest68 assertThat(mGenerator.getCurrentSessionId()).isEqualTo(0); in getCurrentSessionId_byDefault_returns0()73 assertThat(mGenerator.getCurrentSessionId()).isEqualTo(0); in getCurrentSessionId_multipleTimes_returnsSameValue()74 assertThat(mGenerator.getCurrentSessionId()).isEqualTo(0); in getCurrentSessionId_multipleTimes_returnsSameValue()75 assertThat(mGenerator.getCurrentSessionId()).isEqualTo(0); in getCurrentSessionId_multipleTimes_returnsSameValue()80 int previousValue = mGenerator.getCurrentSessionId(); in createAndGetNewSessionId_returnsIncrementedId()82 int newValue = mGenerator.createAndGetNewSessionId(); in createAndGetNewSessionId_returnsIncrementedId()89 int newValue = mGenerator.createAndGetNewSessionId(); in createAndGetNewSessionId_persistsNewValue()
27 void SetUp() override { mGenerator.reset(new IdGenerator(GetParam())); } in SetUp()29 std::unique_ptr<IdGenerator> mGenerator; member in android::test::IdGeneratorTest34 mGenerator->nextId(); in TEST_P()40 int32_t id = mGenerator->nextId(); in TEST_P()
61 private KeyPairGenerator mGenerator; field in KeyPairGeneratorPerfTest73 this.mGenerator = KeyPairGenerator.getInstance(mGeneratorAlgorithm, provider); in setUp()74 this.mGenerator.initialize(1024); in setUp()83 KeyPair keyPair = mGenerator.generateKeyPair(); in time()
47 const Id id{mDistribution(mGenerator)}; in generateId()67 std::default_random_engine mGenerator{std::random_device()()};
49 private InspectionCompanionGenerator mGenerator; field in InspectionCompanionGeneratorTest54 mGenerator = new InspectionCompanionGenerator(null, getClass()); in setup()159 mGenerator.generateFile(mModel).toString()); in assertGeneratedFileEquals()