Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java26 import static com.android.server.pdb.PersistentDataBlockService.MAX_TEST_MODE_DATA_SIZE;
246 byte[] maxData = new byte[MAX_TEST_MODE_DATA_SIZE]; in testHardnessWriteOutOfBound()
249 byte[] overflowData = new byte[MAX_TEST_MODE_DATA_SIZE + 1]; in testHardnessWriteOutOfBound()
562 MAX_TEST_MODE_DATA_SIZE).array()) in clearTestHarnessModeData()
563 .isEqualTo(new byte[MAX_TEST_MODE_DATA_SIZE]); in clearTestHarnessModeData()
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java166 static final int MAX_TEST_MODE_DATA_SIZE = TEST_MODE_RESERVED_SIZE - 4; field in PersistentDataBlockService
1304 writeInternal(data, getTestHarnessModeDataOffset(), MAX_TEST_MODE_DATA_SIZE); in setTestHarnessModeData()
1309 byte[] data = readInternal(getTestHarnessModeDataOffset(), MAX_TEST_MODE_DATA_SIZE); in getTestHarnessModeData()
1318 int size = Math.min(MAX_TEST_MODE_DATA_SIZE, getTestHarnessModeData().length) + 4; in clearTestHarnessModeData()