Mock static initialization order 15
cpp static order initialization is not guarantee. In order to avoid the mess, we need to have a lazy init schema. Replacing all mock incrementation in mock_osi* ``` 's|mock_function_count_map\[__func__\]++|inc_func_call_count(__func__)|' ``` Bug: 265217208 Test: atest --host Change-Id: I8134688ae85fb2b6273ab5f2e18185557fc168cb
Loading
Please register or sign in to comment