/packages/modules/Bluetooth/system/service/test/ |
D | settings_unittest.cc | 47 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 54 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 60 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 66 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 73 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 81 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 88 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F() 95 EXPECT_TRUE(base::CommandLine::Init(ARRAY_SIZE(argv), argv)); in TEST_F()
|
D | ipc_linux_unittest.cc | 89 base::CommandLine::Init(ARRAY_SIZE(argv), argv); in SetUpCommandLine() 127 base::CommandLine::Init(ARRAY_SIZE(argv), argv); in SetUpCommandLine()
|
/packages/modules/Bluetooth/system/osi/test/ |
D | list_test.cc | 74 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F() 85 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F() 87 EXPECT_EQ(list_back(list), &x[ARRAY_SIZE(x) - 1]); in TEST_F() 96 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F() 109 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F() 123 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_prepend(list, &x[i]); in TEST_F() 125 int i = ARRAY_SIZE(x) - 1; in TEST_F() 167 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F() 184 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) list_append(list, &x[i]); in TEST_F()
|
/packages/modules/Bluetooth/system/tools/hci/ |
D | main.c | 82 if (argv[0][0] == 't') packet[ARRAY_SIZE(packet) - 1] = 0x03; in set_discoverable() 84 return !write_hci_command(HCI_PACKET_COMMAND, packet, ARRAY_SIZE(packet)); in set_discoverable() 127 if (argv[0][0] == 't') packet[ARRAY_SIZE(packet) - 1] = 0x01; in set_pcm_loopback() 129 return !write_hci_command(HCI_PACKET_COMMAND, packet, ARRAY_SIZE(packet)); in set_pcm_loopback() 154 return !write_hci_command(HCI_PACKET_COMMAND, packet, ARRAY_SIZE(packet)); in set_sco_route() 205 for (size_t i = 0; i < ARRAY_SIZE(commands); ++i) in find_command() 213 for (size_t i = 0; i < ARRAY_SIZE(commands); ++i) in usage()
|
/packages/modules/Bluetooth/system/include/ |
D | array_utils.h | 18 #ifndef ARRAY_SIZE 19 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) macro
|
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 48 const size_t ARRAY_SIZE = 100; in TEST() local 49 std::array<int, ARRAY_SIZE> intArray; in TEST() 51 EXPECT_EQ(ARRAY_SIZE, intArrayView.size()); in TEST()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_rfc.cc | 117 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) { in btsock_rfc_init() 137 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) { in btsock_rfc_cleanup() 147 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) in find_free_slot() 155 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) in find_rfc_slot_by_id() 165 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) in find_rfc_slot_by_pending_sdp() 176 for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) in is_requesting_sdp()
|
D | btif_dm.cc | 508 for (unsigned int i = 0; i < ARRAY_SIZE(sdp_rejectlist); i++) { in check_sdp_bl()
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 29 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro 246 gMethods, ARRAY_SIZE(gMethods)); in JNI_OnLoad()
|
/packages/services/BuiltInPrintService/jni/include/ |
D | wtypes.h | 41 #define ARRAY_SIZE(X) (sizeof(X)/sizeof(X[0])) macro
|
/packages/modules/Bluetooth/system/osi/include/ |
D | osi.h | 25 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 358 for (i = 0; i < ARRAY_SIZE(_io_plugins); i++) { in _get_caps_ifc() 375 for (i = 0; i < ARRAY_SIZE(_io_plugins); i++) { in _get_status_ifc() 392 for (i = 0; i < ARRAY_SIZE(_io_plugins); i++) { in _get_print_ifc() 1994 MIN(ARRAY_SIZE(printer_cap->httpResource), ARRAY_SIZE(jq->printer_uri))); in wprintStartJob()
|
/packages/modules/Bluetooth/system/stack/srvc/ |
D | srvc_eng.cc | 176 for (j = 0; j < ARRAY_SIZE(p_clcb->dis_value.data_string); j++) in srvc_eng_clcb_dealloc()
|
/packages/modules/Bluetooth/system/bta/hh/ |
D | bta_hh_le.cc | 179 for (xx = 0; xx < ARRAY_SIZE(bta_hh_cb.le_cb_index); xx++) in bta_hh_le_enable() 240 for (i = 0; i < ARRAY_SIZE(bta_hh_cb.le_cb_index); i++) { in bta_hh_le_get_le_dev_hdl() 244 for (i = 0; i < ARRAY_SIZE(bta_hh_cb.le_cb_index); i++) { in bta_hh_le_get_le_dev_hdl()
|
/packages/modules/Bluetooth/system/service/ |
D | avrcp_target.cc | 160 if (values.size() >= ARRAY_SIZE(btrc_values.attr_ids)) { in GetPlayerAppValueResponse()
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 1861 for (index = 0; index < ARRAY_SIZE(resource_extensions_arr); index++) { in tryNextResourceExtension() 1866 if (index >= (ARRAY_SIZE(resource_extensions_arr) - 1)) { in tryNextResourceExtension()
|