/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | FdTest.cpp | 74 UniqueFd u(97); in TEST_F() local 75 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 77 ss << u; in TEST_F() 79 u.reset(); in TEST_F() 84 UniqueFd u(98); in TEST_F() local 85 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 92 UniqueFd u(99); in TEST_F() local 93 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F() 94 u.reset(); in TEST_F() 135 const UniqueFd u(kFd); in TEST_F() local [all …]
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_hh_co.cc | 180 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output))) { in uhid_read_event() 182 sizeof(ev.type) + sizeof(ev.u.output)); in uhid_read_event() 187 ev.u.output.rtype, ev.u.output.size); in uhid_read_event() 190 if (ev.u.output.rtype == UHID_FEATURE_REPORT) in uhid_read_event() 191 btif_hh_setreport(p_uhid, BTHH_FEATURE_REPORT, ev.u.output.size, in uhid_read_event() 192 ev.u.output.data); in uhid_read_event() 193 else if (ev.u.output.rtype == UHID_OUTPUT_REPORT) in uhid_read_event() 194 btif_hh_senddata(p_uhid, ev.u.output.size, ev.u.output.data); in uhid_read_event() 196 log::error("UHID_OUTPUT: Invalid report type = {}", ev.u.output.rtype); in uhid_read_event() 199 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output_ev))) { in uhid_read_event() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | uuid.cc | 134 Uuid u = kBase; in From16Bit() local 136 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit() 137 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit() 138 return u; in From16Bit() 142 Uuid u = kBase; in From32Bit() local 144 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit() 145 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit() 146 u.uu[2] = (uint8_t)((0x0000FF00 & uuid32) >> 8); in From32Bit() 147 u.uu[3] = (uint8_t)(0x000000FF & uuid32); in From32Bit() 148 return u; in From32Bit() [all …]
|
/packages/modules/Bluetooth/system/types/bluetooth/ |
D | uuid.cc | 110 Uuid u = kBase; in From16Bit() local 112 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit() 113 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit() 114 return u; in From16Bit() 118 Uuid u = kBase; in From32Bit() local 120 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit() 121 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit() 122 u.uu[2] = (uint8_t)((0x0000FF00 & uuid32) >> 8); in From32Bit() 123 u.uu[3] = (uint8_t)(0x000000FF & uuid32); in From32Bit() 124 return u; in From32Bit() [all …]
|
/packages/apps/TV/jni/ |
D | DvbManager.cpp | 166 deliverySystemProperty.u.data = SYS_DVBT; in tuneInternal() 169 deliverySystemProperty.u.data = SYS_DVBT2; in tuneInternal() 172 deliverySystemProperty.u.data = SYS_DVBS; in tuneInternal() 175 deliverySystemProperty.u.data = SYS_DVBS2; in tuneInternal() 178 deliverySystemProperty.u.data = SYS_DVBC_ANNEX_A; in tuneInternal() 182 deliverySystemProperty.u.data = SYS_ATSC; in tuneInternal() 192 .cmd = DTV_BANDWIDTH_HZ, .u.data = 8000000 in tuneInternal() 194 frequencyProperty.u.data = static_cast<__u32>(frequency); in tuneInternal() 197 modulationProperty.u.data = QAM_AUTO; in tuneInternal() 199 modulationProperty.u.data = VSB_8; in tuneInternal() [all …]
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | rfc_ts_frames.cc | 240 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn() 699 p_rx_frame->u.pn.frame_type = *p_data & RFCOMM_PN_FRAME_TYPE_MASK; in rfc_process_mx_message() 700 p_rx_frame->u.pn.conv_layer = *p_data++ & RFCOMM_PN_CONV_LAYER_MASK; in rfc_process_mx_message() 701 p_rx_frame->u.pn.priority = *p_data++ & RFCOMM_PN_PRIORITY_MASK; in rfc_process_mx_message() 702 p_rx_frame->u.pn.t1 = *p_data++; in rfc_process_mx_message() 703 p_rx_frame->u.pn.mtu = *p_data + (*(p_data + 1) << 8); in rfc_process_mx_message() 705 p_rx_frame->u.pn.n2 = *p_data++; in rfc_process_mx_message() 706 p_rx_frame->u.pn.k = *p_data++ & RFCOMM_PN_K_MASK; in rfc_process_mx_message() 709 (p_rx_frame->u.pn.mtu < RFCOMM_MIN_MTU) || in rfc_process_mx_message() 710 (p_rx_frame->u.pn.mtu > RFCOMM_MAX_MTU)) { in rfc_process_mx_message() [all …]
|
D | rfc_port_fsm.cc | 645 PORT_ParNegInd(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn() 646 p_frame->u.pn.k); in rfc_process_pn() 667 PORT_ParNegCnf(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn() 668 p_frame->u.pn.k); in rfc_process_pn() 692 p_frame->u.rpn.param_mask); in rfc_process_rpn() 709 p_frame->u.rpn.param_mask); in rfc_process_rpn() 735 p_frame->u.rpn.param_mask = RFCOMM_RPN_PM_MASK; in rfc_process_rpn() 751 if (((p_frame->u.rpn.param_mask & in rfc_process_rpn() 754 ((p_frame->u.rpn.param_mask & in rfc_process_rpn() 797 uint8_t modem_signals = p_frame->u.msc.signals; in rfc_process_msc() [all …]
|
/packages/services/Car/car_product/sepolicy/private/ |
D | file_contexts | 1 /system/bin/com\.android\.car\.procfsinspector u:object_r:procfsinspector_exec:s0 4 /data/system/car(/.*)? u:object_r:system_car_data_file:s0 7 /system/bin/carbugreportd u:object_r:dumpstate_exec:s0 8 /dev/socket/car_br_progress_socket u:object_r:dumpstate_socket:s0 9 /dev/socket/car_br_output_socket u:object_r:dumpstate_socket:s0 10 /dev/socket/car_br_extra_output_socket u:object_r:dumpstate_socket:s0
|
D | property_contexts | 1 boot.car_service_created u:object_r:system_prop:s0 2 boot.car_kernel_boot_time u:object_r:car_boot_prop:s0 exact string 3 boot.car_device_start_time u:object_r:car_boot_prop:s0 exact string
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 192 int y,v,u, r, g, b; in yvu2rgb() local 203 u = (*uimg); in yvu2rgb() 207 if (u < 0) u = 0; in yvu2rgb() 208 if (u > 255) u = 255; in yvu2rgb() 212 b = (int) ( 1.164*(y - 16) + 2.018*(u-128)); in yvu2rgb() 213 g = (int) ( 1.164*(y - 16) - 0.813*(v-128) - 0.391*(u-128)); in yvu2rgb() 237 int y,v,u, r, g, b; in yvu2bgr() local 248 u = (*uimg); in yvu2bgr() 252 if (u < 0) u = 0; in yvu2bgr() 253 if (u > 255) u = 255; in yvu2bgr() [all …]
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 8 …T�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ�o���Q���'$�I`�6�� KV��+�#�'u,��\��%&1\��r}�''��)… 10 …��r�z�?���(D��Ox��Z��O���U��5�T ��L|��{�I��Y�S;�T�A��ZY}����<c�uϠ���j�ڭx�Βή!n�%c�… 14 …ar�� f����Go�'�5���vb�E�%X_�k.�d�G�����n�����n@d}5NWH���L�y];�n�v�b��?��-�+'EB�8�u��j�MY 19 …u����&���QI(L�j�L���+m֡$y@�pζwpn��ꔢ8��f�Ӆ�)e����4g���&� 0��$�[V�*�5灑�D^@�`��f}�����W�K���F�… 20 {�t̞�H�$]1�g���$���x9ؘ��g��]�46i�C�zT�R��o��u 26 �R�u�fo�?��J⁴���-{��87o(��d]aRK��]��� K纫�|T�s�->^v���������D�6�B�j���;���YN��7��J�ͥ�y… 28 0�d�M�B�=h��@��uu�@��%ə&�ĭ�cyo�J%\'/+7�,�����b��&��FKf8��~9��0�>'<u��s]��}��+�LK&�(�… 32 ��0P\�A^u�[��V�������#��L��{K@K�!���s������!l�H�&���ͧ��O��[�̮��zP��m��ԣ�x��>I��� 38 `�IF闆�+Ƒ��=�mÅ��P���u@�0TP�Tz;I�i�'�1sj;�9^����9���i}�զA��� 39 ���㉌������E�xj��V��&CT�B�J�z�(Z4)�u'�q(nNq¬�`[�
|
/packages/modules/NeuralNetworks/driver/ |
D | file_contexts | 1 (/.*)? u:object_r:vendor_file:s0 2 /etc(/.*)? u:object_r:vendor_configs_file:s0 3 /bin/hw/android\.hardware\.neuralnetworks-shim-service-sample u:object_r:hal_neuralnetworks_sampl… 4 /bin/hw/android\.hardware\.neuralnetworks-service-sample-.* u:object_r:hal_neuralnetworks_sampl…
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | UriTest.java | 43 private void parcelAndUnparcel(Uri u) { in parcelAndUnparcel() argument 45 Uri.writeToParcel(p, u); in parcelAndUnparcel() 47 assertEquals(u, Uri.CREATOR.createFromParcel(p)); in parcelAndUnparcel() 50 u = u.buildUpon().build(); in parcelAndUnparcel() 51 Uri.writeToParcel(p, u); in parcelAndUnparcel() 53 assertEquals(u, Uri.CREATOR.createFromParcel(p)); in parcelAndUnparcel() 57 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon() local 58 assertEquals("robert", u.getScheme()); in testBuildUpon() 59 assertEquals("lee", u.getEncodedSchemeSpecificPart()); in testBuildUpon() 60 assertEquals("lee", u.getSchemeSpecificPart()); in testBuildUpon() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/ |
D | MediaData.java | 43 final MediaData u = (MediaData) o; in equals() 45 if (!MediaPlayerWrapper.playstateEquals(state, u.state)) { in equals() 49 if (!Objects.equals(metadata, u.metadata)) { in equals() 53 if (!Objects.equals(queue, u.queue)) { in equals()
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/avrc/ |
D | fuzz_avrc.cc | 106 (void**)&result.get_items.p_item_list[i].u.player.name.p_str); in free_avrc_response() 110 (void**)&result.get_items.p_item_list[i].u.folder.name.p_str); in free_avrc_response() 114 (void**)&result.get_items.p_item_list[i].u.media.name.p_str); in free_avrc_response() 116 j < result.get_items.p_item_list[i].u.media.attr_count; j++) { in free_avrc_response() 118 .u.media.p_attr_list[j] in free_avrc_response() 122 (void**)&result.get_items.p_item_list[i].u.media.p_attr_list); in free_avrc_response()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 264 float x[], float u[], int div[], int source, int target) { in stretch() argument 279 u[0] = 0; in stretch() 285 u[i + 1] = Math.min((div[i] + 0.5f) / textureSize, textureBound); in stretch() 296 u[i + 2] = Math.min((lastU - 0.5f)/ textureSize, textureBound); in stretch() 300 u[div.length + 1] = textureBound; in stretch() 307 u[last] = u[i]; in stretch() 312 private void prepareVertexData(float x[], float y[], float u[], float v[], in prepareVertexData() argument 342 uv[xIndex] = u[i]; in prepareVertexData()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PanoUtil.java | 49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0; in decodeYUV420SPQuarterRes() local 57 u = (0xff & yuv420sp[uvp++]) - 128; in decodeYUV420SPQuarterRes() 62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() 63 int b = (y1192 + 2066 * u); in decodeYUV420SPQuarterRes()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoUtil.java | 49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0; in decodeYUV420SPQuarterRes() local 57 u = (0xff & yuv420sp[uvp++]) - 128; in decodeYUV420SPQuarterRes() 62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() 63 int b = (y1192 + 2066 * u); in decodeYUV420SPQuarterRes()
|
/packages/services/Car/car_product/sepolicy/public/ |
D | property_contexts | 1 android.car.number_pre_created_guests u:object_r:car_bootuser_prop:s0 2 android.car.number_pre_created_users u:object_r:car_bootuser_prop:s0 3 android.car.systemuser.bootuseroverrideid u:object_r:car_bootuser_prop:s0
|
/packages/modules/Bluetooth/system/gd/crypto_toolbox/ |
D | crypto_toolbox.cc | 40 Octet16 f4(const uint8_t* u, const uint8_t* v, const Octet16& x, uint8_t z) { in f4() argument 45 log::verbose("U={}, V={}, X={}, Z={:x}", HexEncode(u, kOctet32Length), in f4() 53 it = std::copy(u, u + kOctet32Length, it); in f4() 142 uint32_t g2(const uint8_t* u, const uint8_t* v, const Octet16& x, const Octet16& y) { in g2() argument 146 log::verbose("U={}, V={}, X={}, Y={}", HexEncode(u, kOctet32Length), in g2() 155 it = std::copy(u, u + kOctet32Length, it); in g2()
|
/packages/services/Car/cpp/powerpolicy/sepolicy/private/ |
D | service_contexts | 2 android.frameworks.automotive.powerpolicy.ICarPowerPolicyServer/default u:object_r:carpowerpolicyd… 3 android.frameworks.automotive.powerpolicy.internal.ICarPowerPolicySystemNotification/default u:obj… 4 android.automotive.powerpolicy.internal.ICarPowerPolicyDelegate/default u:object_r:carpowerpolicyd…
|
/packages/services/Car/cpp/evs/apps/sepolicy/private/ |
D | file_contexts | 5 /system/bin/evs_app u:object_r:evs_app_exec:s0 6 /system/bin/evs_app_support_lib u:object_r:evs_app_exec:s0 7 /system/etc/automotive/evs(/.*)? u:object_r:evs_app_files:s0
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/ |
D | ImsMediaPauseImageSource.cpp | 215 double y, u, v; in ConvertRgbaToYuv() local 229 u = 128 + 0.439 * r - 0.368 * g - 0.071 * b; in ConvertRgbaToYuv() 238 pDstArray[nUVIndex++] = (uint8_t)((u < 0) ? 0 : ((u > 255) ? 255 : u)); in ConvertRgbaToYuv()
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 219 unsigned char u = 0, v = 0; in YUV420toYVU24() local 230 u = yuv420sp[uvp++]; in YUV420toYVU24() 234 *oup++ = u; in YUV420toYVU24() 252 unsigned char u = 0, v = 0; in YUV420toYVU24_NEW() local 262 u = *iuvp++; in YUV420toYVU24_NEW() 265 *oup++ = u; in YUV420toYVU24_NEW() 268 *oup++ = u; in YUV420toYVU24_NEW() 316 int vp = frameSize + j * width, u = 0, v = 0; in decodeYUV444SP() local 325 u = (0xff & yuv420sp[up]) - 128; in decodeYUV444SP() 329 int g = (y1192 - 833 * v - 400 * u); in decodeYUV444SP() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | QuotedPrintable.java | 53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() local 55 if (u == -1 || l == -1) { in decodeQuotedPrintable() 58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
|