Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0596/
Dpoc.cpp29 size_t pageSize = getpagesize(); in sigsegv_handler() local
30 if (pageSize) { in sigsegv_handler()
31 char *vulnPtrGuardPage = (char *) ((size_t) vulnPtr & PAGE_MASK) - pageSize; in sigsegv_handler()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java286 final int pageSize = 3; in testSubscribeWithOptions() local
287 final int lastPage = (StubMediaBrowserService.MEDIA_ID_CHILDREN.length - 1) / pageSize; in testSubscribeWithOptions()
289 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeWithOptions()
304 assertEquals(pageSize, mSubscriptionCallback.mLastChildMediaItems.size()); in testSubscribeWithOptions()
306 assertEquals((StubMediaBrowserService.MEDIA_ID_CHILDREN.length - 1) % pageSize + 1, in testSubscribeWithOptions()
311 assertEquals(StubMediaBrowserService.MEDIA_ID_CHILDREN[page * pageSize + i], in testSubscribeWithOptions()
352 final int pageSize = 5; in testSubscribeInvalidItemWithOptions() local
355 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testSubscribeInvalidItemWithOptions()
368 assertEquals(pageSize, in testSubscribeInvalidItemWithOptions()
422 final int pageSize = 1; in testUnsubscribeForMultipleSubscriptions() local
[all …]
DMediaBrowserServiceTest.java178 final int pageSize = 5; in testNotifyChildrenChangedWithPagination() local
181 options.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testNotifyChildrenChangedWithPagination()
197 final int overlappingNewPage = pageSize * page / newPageSize; in testNotifyChildrenChangedWithPagination()
209 nonOverlappingOptions.putInt(MediaBrowser.EXTRA_PAGE_SIZE, pageSize); in testNotifyChildrenChangedWithPagination()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0925/
Dpoc.cpp34 size_t pageSize = getpagesize(); in sigsegv_handler() local
35 if (pageSize) { in sigsegv_handler()
36 char *vulnPtrGuardPage = (char *)((size_t)vulnPtr & PAGE_MASK) + pageSize; in sigsegv_handler()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2021/
Dpoc.cpp31 size_t pageSize = getpagesize(); in sigsegv_handler() local
32 if (pageSize) { in sigsegv_handler()
33 char *vulnPtrGuardPage = (char *) ((size_t) vulnPtr & PAGE_MASK) + pageSize; in sigsegv_handler()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2013/
Dpoc.cpp34 size_t pageSize = getpagesize(); in sigsegv_handler() local
35 if (pageSize) { in sigsegv_handler()
36 char *vulnPtrGuardPage = (char *) ((size_t) vulnPtr & PAGE_MASK) + pageSize; in sigsegv_handler()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2022/
Dpoc.cpp34 size_t pageSize = getpagesize(); in sigsegv_handler() local
35 if (pageSize) { in sigsegv_handler()
36 char *vulnPtrGuardPage = (char *) ((size_t) vulnPtr & PAGE_MASK) + pageSize; in sigsegv_handler()
/cts/tests/app/AppExitTest/src/android/app/cts/
DMemoryConsumerService.java88 final int pageSize = 4096; in fillUpMemoryAndCheck() local
115 for (int j = 0; j < oneMb; j += pageSize) { in fillUpMemoryAndCheck()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGlobalSearchSessionCtsTestBase.java226 int pageSize = 7; in testGlobalQuery_getNextPage() local
232 .setResultCountPerPage(pageSize) in testGlobalQuery_getNextPage()
254 int expectedPages = (int) Math.ceil(totalDocuments * 1.0 / pageSize) + 1; in testGlobalQuery_getNextPage()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dtest-current.txt961 field public long pageSize;