/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 49 uint32_t handle; 50 uint32_t domain; 54 uint32_t tile_mode; 55 uint32_t tile_flags; 60 uint32_t channel_hint; 61 uint32_t align; 65 uint32_t handle; 66 uint32_t tile_mode; 67 uint32_t tile_flags; 72 uint32_t valid; [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/ |
D | local_poc.h | 67 uint32_t modem_offset_start; 68 uint32_t modem_offset_end; 72 uint32_t route_tbl_start_addr; 73 uint32_t num_indices; 77 uint32_t block_start_addr; 78 uint32_t size; 82 uint32_t modem_offset_start; 83 uint32_t modem_offset_end; 87 uint32_t modem_offset_start; 88 uint32_t modem_offset_end; [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_resize.rscript | 45 uchar4 __attribute__((kernel)) bicubic_U4(uint32_t x, uint32_t y) { 56 uint32_t xs0 = (uint32_t) max(0, startx + 0); 57 uint32_t xs1 = (uint32_t) max(0, startx + 1); 58 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 59 uint32_t xs3 = (uint32_t) min(maxx, startx + 3); 61 uint32_t ys0 = (uint32_t) max(0, starty + 0); 62 uint32_t ys1 = (uint32_t) max(0, starty + 1); 63 uint32_t ys2 = (uint32_t) min(maxy, starty + 2); 64 uint32_t ys3 = (uint32_t) min(maxy, starty + 3); 95 uchar3 __attribute__((kernel)) bicubic_U3(uint32_t x, uint32_t y) { [all …]
|
D | intrinsic_convolve5x5.rscript | 26 uchar4 __attribute__((kernel)) convolve_U4(uint32_t x, uint32_t y) { 27 uint32_t x0 = max((int32_t)x-2, 0); 28 uint32_t x1 = max((int32_t)x-1, 0); 29 uint32_t x2 = x; 30 uint32_t x3 = min((int32_t)x+1, gWidth-1); 31 uint32_t x4 = min((int32_t)x+2, gWidth-1); 33 uint32_t y0 = max((int32_t)y-2, 0); 34 uint32_t y1 = max((int32_t)y-1, 0); 35 uint32_t y2 = y; 36 uint32_t y3 = min((int32_t)y+1, gHeight-1); [all …]
|
D | void_ptr.rscript | 7 void set_output_void_int(void *out, uint32_t x, uint32_t y) { 12 void __attribute__((kernel))check_output_int(const int in, uint32_t x, uint32_t y) 19 void set_output_void_char(void *out, uint32_t x, uint32_t y) { 24 void __attribute__((kernel))check_output_char(const uchar in, uint32_t x, uint32_t y) 31 int __attribute__((kernel)) set_output_int(uint32_t x, uint32_t y) { 35 void copy_void_int(const void *in, uint32_t x, uint32_t y) 41 uchar __attribute__((kernel)) set_output_char(uint32_t x, uint32_t y) { 45 void copy_void_char(const void *in, uint32_t x, uint32_t y)
|
D | intrinsic_convolve3x3.rscript | 25 uchar4 __attribute__((kernel)) convolve_U4(uint32_t x, uint32_t y) { 26 uint32_t x1 = min((int32_t)x+1, gWidth-1); 27 uint32_t x2 = max((int32_t)x-1, 0); 28 uint32_t y1 = min((int32_t)y+1, gHeight-1); 29 uint32_t y2 = max((int32_t)y-1, 0); 66 uchar3 __attribute__((kernel)) convolve_U3(uint32_t x, uint32_t y) { 67 uint32_t x1 = min((int32_t)x+1, gWidth-1); 68 uint32_t x2 = max((int32_t)x-1, 0); 69 uint32_t y1 = min((int32_t)y+1, gHeight-1); 70 uint32_t y2 = max((int32_t)y-1, 0); [all …]
|
D | AtomicTest.rscript | 21 volatile uint32_t gUSum; 27 void __attribute__((kernel)) test_uInc(uint32_t v) { 34 void __attribute__((kernel)) test_uDec(uint32_t v) { 42 void __attribute__((kernel)) test_u##op(uint32_t v) { \ 65 uint32_t dimX = rsAllocationGetDimX(a); 66 uint32_t dimY = rsAllocationGetDimY(a); 67 for (uint32_t y = 0; y < dimY; y++) { 68 for (uint32_t x = 0; x < dimX; x++) { 77 uint32_t dimX = rsAllocationGetDimX(a); 78 uint32_t dimY = rsAllocationGetDimY(a); [all …]
|
D | verify.rscript | 33 uint32_t w = rsAllocationGetDimX(in1); 34 uint32_t h = rsAllocationGetDimY(in1); 35 for (uint32_t y = 0; y < h; y++) { 36 for (uint32_t x=0; x < w; x++) { 54 uint32_t w = rsAllocationGetDimX(in1); 55 uint32_t h = rsAllocationGetDimY(in1); 56 for (uint32_t y = 0; y < h; y++) { 57 for (uint32_t x=0; x < w; x++) { 74 uint32_t w = rsAllocationGetDimX(in1); 75 uint32_t h = rsAllocationGetDimY(in1); [all …]
|
D | setelementat.rscript | 12 uint32_t dimX = 0; 13 uint32_t dimY = 0; 33 void setLargeArray(const int *ain, uint32_t x) { 36 for (uint32_t i = 0; i < dimX; i++) { 42 void setLargeArray2D(const int *ain, uint32_t x) { 45 for (uint32_t y = 0; y < dimY; y++) { 46 for (uint32_t xtemp = 0; xtemp < dimX; xtemp++) {
|
D | launchclip.rscript | 40 int RS_KERNEL write1d(uint32_t x) { 44 int RS_KERNEL write2d(uint32_t x, uint32_t y) { 48 int RS_KERNEL write3d(uint32_t x, uint32_t y, uint32_t z) {
|
D | get_element_at_x_y.rscript | 6 void root(uint32_t *out, uint32_t x, uint32_t y) { 7 const uint32_t * tm = rsGetElementAt (gIn, x, y);
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | local_poc.h | 101 uint32_t handle; 102 uint32_t domain; 106 uint32_t tile_mode; 107 uint32_t tile_flags; 111 uint32_t handle; 112 uint32_t domain; 116 uint32_t tile_mode; 117 uint32_t tile_flags; 121 uint32_t handle; 122 uint32_t pad; [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 29 static constexpr uint32_t kTestImageWidth = 1920; 30 static constexpr uint32_t kTestImageHeight = 1080; 31 static constexpr uint32_t kTestImageFormat = AIMAGE_FORMAT_YUV_420_888; 34 static constexpr uint32_t kTestImageCount = 3; 38 bool fuzzyMatch(uint32_t value1, uint32_t value2, int32_t tolerance) { in fuzzyMatch() 41 uint32_t mask = 0x000000FF << shift; in fuzzyMatch() 53 uint32_t swizzleBgraToRgba(uint32_t bgra) { in swizzleBgraToRgba() 54 uint32_t result = 0; in swizzleBgraToRgba() 119 std::vector<uint32_t> framePixels; in loadMediaAndVerifyFrameImport() 132 uint32_t *referenceData = reinterpret_cast<uint32_t *>( in loadMediaAndVerifyFrameImport() [all …]
|
D | VulkanTestHelpers.h | 38 uint32_t queueFamilyIndex() { return mQueueFamilyIndex; } in queueFamilyIndex() 44 uint32_t findMemoryType(uint32_t memoryTypeBitsRequirement, 52 uint32_t mQueueFamilyIndex = 0; 85 VkImageRenderer(VkInit *init, uint32_t width, uint32_t height, 86 VkFormat format, uint32_t bytesPerPixel); 97 std::vector<uint32_t> *data); 104 const uint32_t mWidth; 105 const uint32_t mHeight;
|
D | android_graphics_cts_CameraVulkanGpuTest.cpp | 29 static constexpr uint32_t kTestImageWidth = 640; 30 static constexpr uint32_t kTestImageHeight = 480; 31 static constexpr uint32_t kTestImageFormat = AIMAGE_FORMAT_PRIVATE; 34 static constexpr uint32_t kTestImageCount = 3; 81 std::vector<uint32_t> imageData; in loadCameraAndVerifyFrameImport()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioProtocol.h | 34 uint32_t mSamplingF; 35 uint32_t mMode; 36 uint32_t mNumberRepetition; // only for playback 37 uint32_t mVolume; 38 uint32_t mId; 56 static const uint32_t REPLY_HEADER_SIZE = 12; 70 virtual bool handleReply(const uint32_t* data, AudioParam* param); 79 static bool handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id); 82 AudioProtocol(ClientSocket& socket, uint32_t command) in AudioProtocol() 90 bool checkHeaderId(const uint32_t* data, uint32_t command); [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | verify.rscript | 39 uint32_t w = rsAllocationGetDimX(in1); 40 uint32_t h = rsAllocationGetDimY(in1); 41 for (uint32_t y=0; y < h; y++) { 42 for (uint32_t x=0; x < w; x++) { 61 uint32_t w = rsAllocationGetDimX(in1); 62 uint32_t h = rsAllocationGetDimY(in1); 63 for (uint32_t y=0; y < h; y++) { 64 for (uint32_t x=0; x < w; x++) { 82 uint32_t w = rsAllocationGetDimX(in1); 83 uint32_t h = rsAllocationGetDimY(in1); [all …]
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 328 static uint32_t SrgbColorToLinear(uint32_t color) { in SrgbColorToLinear() 332 uint32_t r8 = r * 255.0f; in SrgbColorToLinear() 333 uint32_t g8 = g * 255.0f; in SrgbColorToLinear() 334 uint32_t b8 = b * 255.0f; in SrgbColorToLinear() 335 uint32_t a8 = color >> 24; in SrgbColorToLinear() 339 static uint32_t LinearColorToSrgb(uint32_t color) { in LinearColorToSrgb() 343 uint32_t r8 = r * 255.0f; in LinearColorToSrgb() 344 uint32_t g8 = g * 255.0f; in LinearColorToSrgb() 345 uint32_t b8 = b * 255.0f; in LinearColorToSrgb() 346 uint32_t a8 = color >> 24; in LinearColorToSrgb() [all …]
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | verify.rscript | 28 uint32_t vs = rsElementGetVectorSize(e); \ 78 uint32_t w = rsAllocationGetDimX(in1); 79 uint32_t h = rsAllocationGetDimY(in1); 80 for (uint32_t y = 0; y < h; y++) { 81 uint32_t xStart = 0; 86 for (uint32_t x = xStart; x < w; x++) { 102 uint32_t w = rsAllocationGetDimX(in1); 103 uint32_t h = rsAllocationGetDimY(in1); 104 for (uint32_t y = 0; y < h; y++) { 105 uint32_t xStart = 0; [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-38195738/ |
D | poc.c | 33 *(uint32_t *)0x20000ff8 = (uint32_t)0x80; in main() 34 *(uint32_t *)0x20000ffc = (uint32_t)0x8000; in main() 35 *(uint32_t *)0x20001000 = (uint32_t)0x12345678; in main()
|
/cts/tests/tests/content/jni/ |
D | NativeCursorWindow.cpp | 32 uint32_t freeOffset; 35 uint32_t firstChunkOffset; 37 uint32_t numRows; 38 uint32_t numColumns; 42 uint32_t offset; 49 uint32_t nextChunkOffset; 68 uint32_t offset; 69 uint32_t size;
|
/cts/tests/tests/rscpp/librscpptest/ |
D | setelementat.rscript | 11 uint32_t dimX = 0; 12 uint32_t dimY = 0; 32 void setLargeArray(const int *ain, uint32_t x) { 35 for (uint32_t i = 0; i < dimX; i++) { 41 void setLargeArray2D(const int *ain, uint32_t x) { 44 for (uint32_t y = 0; y < dimY; y++) { 45 for (uint32_t xtemp = 0; xtemp < dimX; xtemp++) {
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioProtocol.cpp | 36 bool AudioProtocol::handleReply(const uint32_t* data, AudioParam* param) in handleReply() 52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id) in handleReplyHeader() 58 uint32_t command = ntohl(data[0]); in handleReplyHeader() 77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command) in checkHeaderId() 115 uint32_t mode = param.mStereo ? 0x80000000 : 0; in sendCommand() 136 uint32_t mode = param.mStereo ? 0x80000000 : 0; in sendCommand() 140 uint32_t samples = param.mBuffer->getSize() / (param.mStereo ? 4 : 2); in sendCommand() 149 bool CmdStartRecording::handleReply(const uint32_t* data, AudioParam* param) in handleReply() 175 bool CmdGetDeviceInfo::handleReply(const uint32_t* data, AudioParam* param) in handleReply()
|
/cts/suite/audio_quality/test/ |
D | RemoteAudioFakeTcpTest.cpp | 126 uint32_t prepareSend[] = { in doDownload() 132 uint32_t prepareReply[] = { in doDownload() 168 uint32_t prepareSend[] = { in TEST_F() 177 uint32_t prepareReply[] = { in TEST_F() 201 uint32_t startPlaybackSend[] = { in TEST_F() 210 uint32_t startReply[] = { in TEST_F() 216 uint32_t stopPlaybackSend[] = { in TEST_F() 221 uint32_t stopReply[] = { in TEST_F() 265 uint32_t startSend[] = { in TEST_F() 275 uint32_t startReply[noSamples/2 + 2 + 3]; in TEST_F() [all …]
|
/cts/hostsidetests/gputools/layers/jni/ |
D | nullLayer.cpp | 51 VkResult getProperties(const uint32_t count, const T *properties, uint32_t *pCount, in getProperties() 53 uint32_t copySize; in getProperties() 74 VKAPI_ATTR VkResult VKAPI_CALL EnumerateInstanceLayerProperties(uint32_t *pCount, VkLayerProperties… in EnumerateInstanceLayerProperties() 78 … VKAPI_CALL EnumerateDeviceLayerProperties(VkPhysicalDevice /* physicalDevice */, uint32_t *pCount, in EnumerateDeviceLayerProperties() 83 …ult VKAPI_CALL EnumerateInstanceExtensionProperties(const char* /* pLayerName */, uint32_t *pCount, in EnumerateInstanceExtensionProperties() 89 … uint32_t *pCount, VkExtensionProperties *pProperties) { in EnumerateDeviceExtensionProperties() 190 …ty("default"))) VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t *pCount, in vkEnumerateInstanceLayerProperties() 195 …sult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pCount, in vkEnumerateDeviceLayerProperties() 200 …kResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, in vkEnumerateInstanceExtensionProperties() 206 … const char *pLayerName, uint32_t *pCount, in vkEnumerateDeviceExtensionProperties()
|