Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dotapreopt.cpp524 static int32_t ChooseRelocationOffsetDelta(int32_t min_delta, int32_t max_delta) { in ChooseRelocationOffsetDelta() argument
527 CHECK_EQ(min_delta % kPageSize, 0u); in ChooseRelocationOffsetDelta()
529 CHECK_LT(min_delta, max_delta); in ChooseRelocationOffsetDelta()
533 std::uniform_int_distribution<int32_t> distribution(min_delta, max_delta); in ChooseRelocationOffsetDelta()
540 CHECK_LE(min_delta, r); in ChooseRelocationOffsetDelta()