/system/bt/gd/crypto_toolbox/ |
D | aes.cc | 92 #define sb_data(w) … argument 94 …w(0x63), w(0x7c), w(0x77), w(0x7b), w(0xf2), w(0x6b), w(0x6f), w(0xc5), w(0x30), w(0x01), w(0x67),… 95 …w(0xfe), w(0xd7), w(0xab), w(0x76), w(0xca), w(0x82), w(0xc9), w(0x7d), w(0xfa), w(0x59), w(0x47),… 96 …w(0xad), w(0xd4), w(0xa2), w(0xaf), w(0x9c), w(0xa4), w(0x72), w(0xc0), w(0xb7), w(0xfd), w(0x93),… 97 …w(0x36), w(0x3f), w(0xf7), w(0xcc), w(0x34), w(0xa5), w(0xe5), w(0xf1), w(0x71), w(0xd8), w(0x31),… 98 …w(0x04), w(0xc7), w(0x23), w(0xc3), w(0x18), w(0x96), w(0x05), w(0x9a), w(0x07), w(0x12), w(0x80),… 99 …w(0xeb), w(0x27), w(0xb2), w(0x75), w(0x09), w(0x83), w(0x2c), w(0x1a), w(0x1b), w(0x6e), w(0x5a),… 100 …w(0x52), w(0x3b), w(0xd6), w(0xb3), w(0x29), w(0xe3), w(0x2f), w(0x84), w(0x53), w(0xd1), w(0x00),… 101 …w(0x20), w(0xfc), w(0xb1), w(0x5b), w(0x6a), w(0xcb), w(0xbe), w(0x39), w(0x4a), w(0x4c), w(0x58),… 102 …w(0xd0), w(0xef), w(0xaa), w(0xfb), w(0x43), w(0x4d), w(0x33), w(0x85), w(0x45), w(0xf9), w(0x02),… [all …]
|
D | crypto_toolbox.cc | 30 Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid) { in h6() argument 31 return aes_cmac(w, keyid.data(), keyid.size()); in h6() 34 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7() argument 35 return aes_cmac(salt, w.data(), w.size()); in h7() 78 void f5(uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, uint8_t* a2, Octet16* mac_ke… in f5() argument 84 Octet16 t = aes_cmac(salt, w, OCTET32_LEN); in f5() 100 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, const Octet16& r, uint8_t* iocap, uint8_… in f6() argument 117 return aes_cmac(w, msg.data(), msg.size()); in f6()
|
D | crypto_toolbox.h | 44 …uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, uint8_t* a2, Octet16* mac_key, Octe… 46 …const Octet16& w, const Octet16& n1, const Octet16& n2, const Octet16& r, uint8_t* iocap, uint8_t*… 47 extern Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid); 48 extern Octet16 h7(const Octet16& salt, const Octet16& w);
|
/system/bt/stack/crypto_toolbox/ |
D | aes.cc | 95 #define sb_data(w) \ argument 97 w(0x63), w(0x7c), w(0x77), w(0x7b), w(0xf2), w(0x6b), w(0x6f), w(0xc5), \ 98 w(0x30), w(0x01), w(0x67), w(0x2b), w(0xfe), w(0xd7), w(0xab), \ 99 w(0x76), w(0xca), w(0x82), w(0xc9), w(0x7d), w(0xfa), w(0x59), \ 100 w(0x47), w(0xf0), w(0xad), w(0xd4), w(0xa2), w(0xaf), w(0x9c), \ 101 w(0xa4), w(0x72), w(0xc0), w(0xb7), w(0xfd), w(0x93), w(0x26), \ 102 w(0x36), w(0x3f), w(0xf7), w(0xcc), w(0x34), w(0xa5), w(0xe5), \ 103 w(0xf1), w(0x71), w(0xd8), w(0x31), w(0x15), w(0x04), w(0xc7), \ 104 w(0x23), w(0xc3), w(0x18), w(0x96), w(0x05), w(0x9a), w(0x07), \ 105 w(0x12), w(0x80), w(0xe2), w(0xeb), w(0x27), w(0xb2), w(0x75), \ [all …]
|
D | crypto_toolbox.cc | 29 Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid) { in h6() argument 30 return aes_cmac(w, keyid.data(), keyid.size()); in h6() 33 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7() argument 34 return aes_cmac(salt, w.data(), w.size()); in h7() 76 void f5(const uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, in f5() argument 78 DVLOG(2) << __func__ << "W=" << HexEncode(w, BT_OCTET32_LEN) in f5() 85 Octet16 t = aes_cmac(salt, w, BT_OCTET32_LEN); in f5() 100 Octet16 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, in f6() argument 107 DVLOG(2) << __func__ << "W=" << HexEncode(w.data(), w.size()) in f6() 123 return aes_cmac(w, msg.data(), msg.size()); in f6()
|
D | crypto_toolbox.h | 29 extern void f5(const uint8_t* w, const Octet16& n1, const Octet16& n2, 31 extern Octet16 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, 33 extern Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid); 34 extern Octet16 h7(const Octet16& salt, const Octet16& w);
|
/system/bt/test/mock/ |
D | mock_stack_crypto_toolbox.h | 58 std::function<Octet16(const Octet16& w, std::array<uint8_t, 4> keyid)> body{ 59 [this](const Octet16& w, std::array<uint8_t, 4> keyid) { 62 Octet16 operator()(const Octet16& w, std::array<uint8_t, 4> keyid) { in operator() 63 return body(w, keyid); in operator() 72 std::function<Octet16(const Octet16& salt, const Octet16& w)> body{ 73 [this](const Octet16& salt, const Octet16& w) { return octet16; }}; 74 Octet16 operator()(const Octet16& salt, const Octet16& w) { in operator() 75 return body(salt, w); in operator() 98 std::function<void(const uint8_t* w, const Octet16& n1, const Octet16& n2, 100 body{[](const uint8_t* w, const Octet16& n1, const Octet16& n2, [all …]
|
D | mock_stack_crypto_toolbox.cc | 60 Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid) { in h6() argument 62 return test::mock::stack_crypto_toolbox::h6(w, keyid); in h6() 64 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7() argument 66 return test::mock::stack_crypto_toolbox::h7(salt, w); in h7() 72 void f5(const uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, in f5() argument 75 test::mock::stack_crypto_toolbox::f5(w, n1, n2, a1, a2, mac_key, ltk); in f5() 77 Octet16 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, in f6() argument 80 return test::mock::stack_crypto_toolbox::f6(w, n1, n2, r, iocap, a1, a2); in f6()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | WakeupList.cpp | 32 for (const WakeupInfo& w : mWakeups) { in getWakeupStats() local 33 wakeups->push_back(w); in getWakeupStats() 49 WakeupInfo w; in update() local 50 w.name = key; in update() 51 w.count = 1; in update() 53 insert(std::move(w)); in update()
|
/system/bt/stack/smp/ |
D | crypto_toolbox.h | 29 extern void smp_calculate_f5(uint8_t* w, const Octet16& n1, const Octet16& n2, 32 extern Octet16 smp_calculate_f6(const Octet16& w, const Octet16& n1, 35 extern Octet16 smp_calculate_h6(const Octet16& w, std::array<uint8_t, 4> keyid); 36 extern Octet16 smp_calculate_h7(const Octet16& salt, const Octet16& w);
|
/system/extras/tests/framebuffer/ |
D | fb_test.c | 207 void draw_grid(int w, int h, void* _loc) { in draw_grid() argument 214 for (i = 0; i < w/2; i++) in draw_grid() 219 for (; i < w; i++) in draw_grid() 227 for (i = 0; i < w/2; i++) in draw_grid() 232 for (; i < w; i++) in draw_grid() 241 void clear_screen(int w, int h, void* _loc) in clear_screen() argument 249 for (i = 0; i < w; i++) in clear_screen() 257 int w; in main() local 271 w = atoi(argv[2]); in main() 274 w = vi.xres; in main() [all …]
|
D | refresh.c | 134 int l,t,w,h; in main() local 137 w=320; in main() 141 info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in main()
|
/system/teeui/libteeui/src/ |
D | button.cpp | 43 for (int x = 0; x < box.w().count(); ++x) { in draw() 66 cBounds.translateSelf(Point<intpxs>(right * (intBounds.w() - intRadius), in draw() 74 for (int x = 0; x < cBounds.w().count(); ++x) { in draw() 97 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, 0, intRadius, intRadius) in draw() 117 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intBounds.h() - intRadius, in draw() 125 auto centerbox = Box<intpxs>(intRadius, intRadius, intBounds.w() - intRadius - intRadius, in draw() 138 drawBox(Box<intpxs>(intRadius, 0, intBounds.w() - intRadius - intRadius, intRadius) in draw() 143 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intRadius, intRadius, in draw() 150 intBounds.w() - intRadius - intRadius, intRadius) in draw() 163 auto start = PxPoint{bounds.w() - coBBox.w(), bounds.h() - coBBox.h()} / pxs(2.0); in draw() [all …]
|
D | label.cpp | 42 intpxs((int64_t)bounds.w().count()), intpxs((int64_t)bounds.h().count())); in draw() 57 for (int x = 0; x < box.w().count(); ++x) { in draw() 87 pen += {(bounds.w() - bBox.w()) / 2.0_px, 0}; in draw() 90 pen += {bounds.w() - bBox.w(), 0}; in draw()
|
/system/tools/aidl/build/ |
D | aidl_mapping.go | 83 Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) { 84 android.WriteAndroidMkData(w, data) 86 fmt.Fprintln(w, ".PHONY:", targetName) 87 fmt.Fprintln(w, targetName+":", m.outputFilePath.String())
|
/system/extras/cppreopts/ |
D | cppreopts.sh | 28 log -p w -t cppreopts "Unable to copy file ${source_file} to ${temp_dest_name}!" 33 log -p w -t cppreopts "Unable to rename temporary file from ${temp_dest_name} to ${dest_name}" 34 … rm ${temp_dest_name} || log -p w -t cppreopts "Unable to remove temporary file ${temp_dest_name}"
|
/system/extras/slideshow/ |
D | slideshow.cpp | 61 int w, h, x, y; in draw() local 68 w = gr_get_width(surface); in draw() 70 x = (gr_fb_width() - w) / 2; in draw() 73 gr_blit(surface, 0, 0, w, h, x, y); in draw()
|
/system/media/audio_utils/ |
D | fixedfft.cpp | 131 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() local 132 i = w >> 31; in fixed_fft() 133 w = ((int32_t) twiddle[(w ^ i) - i]) ^ (i << 16); in fixed_fft() 136 int32_t y = mult(w, v[i + p]); in fixed_fft()
|
/system/teeui/libteeui/example/ |
D | phys_button_example.cpp | 60 uint32_t renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t lineStride, 105 uint32_t GUIStatePhysButtons::renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, in renderUIIntoBuffer() argument 113 __builtin_add_overflow(afterLastPixelIndex, w, &afterLastPixelIndex) || in renderUIIntoBuffer() 123 for (uint32_t xi = 0; xi < w; ++xi) { in renderUIIntoBuffer() 131 fb.width_ = w; in renderUIIntoBuffer()
|
D | touch_button_example.cpp | 83 uint32_t renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t lineStride, 142 uint32_t GUIStateTouch::renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, in renderUIIntoBuffer() argument 150 __builtin_add_overflow(afterLastPixelIndex, w, &afterLastPixelIndex) || in renderUIIntoBuffer() 160 for (uint32_t xi = 0; xi < w; ++xi) { in renderUIIntoBuffer() 168 fb.width_ = w; in renderUIIntoBuffer()
|
/system/sepolicy/build/soong/ |
D | selinux_contexts.go | 219 Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) { 224 fmt.Fprintln(w, "\ninclude $(CLEAR_VARS)") 225 fmt.Fprintln(w, "LOCAL_PATH :=", moduleDir) 226 fmt.Fprintln(w, "LOCAL_MODULE :=", name+nameSuffix) 227 data.Entries.WriteLicenseVariables(w) 228 fmt.Fprintln(w, "LOCAL_MODULE_CLASS := ETC") 230 fmt.Fprintln(w, "LOCAL_MODULE_OWNER :=", m.Owner()) 232 fmt.Fprintln(w, "LOCAL_MODULE_TAGS := optional") 233 fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", m.outputPath.String()) 234 fmt.Fprintln(w, "LOCAL_MODULE_PATH :=", m.installPath.ToMakePath().String()) [all …]
|
/system/core/llkd/ |
D | llkd-debuggable.rc | 17 file /dev/kmsg w 18 file /proc/sysrq-trigger w
|
/system/core/healthd/ |
D | healthd_draw.cpp | 108 int w = gr_get_width(surface); in draw_surface_centered() local 110 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered() 113 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered() 114 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered() 117 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered() 118 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered()
|
/system/teeui/test/ |
D | teeui_device_config.cpp | 47 uint32_t w = device_info_ptr->width_; in runRenderTest() local 49 uint32_t linestride = w; in runRenderTest() 56 sCurrentExample->renderUIIntoBuffer(0, 0, w, h, linestride, buffer.data(), buffer_size); in runRenderTest()
|
/system/bt/gd/dumpsys/ |
D | Android.bp | 78 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m bluetooth.DumpsysData -f dumpsys_module_schem… 92 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m bluetooth.DumpsysData -f generated_dumpsys_bu… 106 …cmd: "$(location bluetooth_flatbuffer_bundler) -w -m testing.DumpsysTestDataRoot -f generated_dum…
|