/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollProgressViewModelTest.java | 111 final Object ret = mViewModel.startEnrollment(enrollReason); in testStartFindSensor() local 126 final Object ret = mViewModel.startEnrollment(enrollReason); in testStartEnrolling() local 145 final Object ret = mViewModel.startEnrollment(enrollReason); in testStartEnrollingWithMessageDisplayController() local 169 final Object ret = mViewModel.startEnrollment(ENROLL_FIND_SENSOR); in testStartEnrollmentFailBecauseOfNoToken() local 181 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testCancelEnrollment() local 195 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testProgressUpdate() local 232 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testProgressUpdateClearHelpMessage() local 275 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testProgressUpdateWithMessageDisplayController() local 312 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testGetErrorMessageLiveData() local 334 final Object ret = mViewModel.startEnrollment(ENROLL_ENROLL); in testGetHelpMessageLiveData() local [all …]
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | syscall_wrapper_impl.cc | 29 int ret = socket(domain, type, protocol); in Socket() local 35 int ret = bind(fd, addr, len); in Bind() local 41 int ret = connect(fd, addr, len); in Connect() local 47 int ret = send(fd, buf, n, flags); in Send() local 53 int ret = recv(fd, buf, n, flags); in Recv() local 59 int ret = setsockopt(fd, level, optname, optval, optlen); in Setsockopt() local 65 int ret = listen(fd, n); in Listen() local 71 int ret = accept4(fd, addr, addr_len, flags); in Accept() local 77 ssize_t ret = write(fd, buf, count); in Write() local 83 int ret = close(fd); in Close() local [all …]
|
D | snoop_logger_socket.cc | 72 ssize_t ret; in Write() local 89 int ret; in InitializeCommunications() local 120 int ret; in ProcessIncomingRequest() local 210 int ret; in CreateSocket() local 260 int ret = -1; in NotifySocketListener() local
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcRoutingTableParseTest.java | 69 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseValidTechnologyEntry() local 88 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseInvalidTechnologyEntry() local 107 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseValidProtocolEntry() local 126 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseInvalidProtocolEntry() local 145 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseValidAidEntry() local 164 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseInvalidAidEntry() local 183 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseValidSystemCodeEntry() local 225 int ret = mRoutingTableParser.getCommitStatus(type, entry); in testParseInvalidSystemCodeEntry() local
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | metrics.cc | 78 int ret = stats_write( in LogMetricLinkLayerConnectionEvent() local 107 int ret = stats_write(BLUETOOTH_HCI_TIMEOUT_REPORTED, static_cast<int64_t>(hci_cmd)); in LogMetricHciTimeoutEvent() local 115 …int ret = stats_write(BLUETOOTH_REMOTE_VERSION_INFO_REPORTED, handle, status, version, manufacture… in LogMetricRemoteVersionInfo() local 136 int ret = stats_write( in LogMetricA2dpAudioUnderrunEvent() local 160 int ret = stats_write( in LogMetricA2dpAudioOverrunEvent() local 187 …int ret = stats_write(BLUETOOTH_A2DP_PLAYBACK_STATE_CHANGED, byteField, playback_state, audio_codi… in LogMetricA2dpPlaybackEvent() local 229 …int ret = stats_write(BLUETOOTH_DEVICE_RSSI_REPORTED, byteField, handle, cmd_status, rssi, metric_… in LogMetricReadRssiResult() local 247 int ret = stats_write( in LogMetricReadFailedContactCounterResult() local 271 int ret = stats_write( in LogMetricReadTxPowerLevelResult() local 290 int ret = in LogMetricSmpPairingEvent() local [all …]
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | libfdt.rs | 37 let ret = unsafe { libfdt_bindgen::fdt_create_empty_tree(fdt, len) }; in create_empty_tree() localVariable 51 let ret = unsafe { libfdt_bindgen::fdt_check_full(fdt, len) }; in check_full() localVariable 78 let ret = unsafe { libfdt_bindgen::fdt_path_offset_namelen(fdt, path, len) }; in path_offset_namelen() localVariable 88 let ret = unsafe { libfdt_bindgen::fdt_node_offset_by_phandle(fdt, phandle) }; in node_offset_by_phandle() localVariable 103 let ret = unsafe { libfdt_bindgen::fdt_node_offset_by_compatible(fdt, prev, compatible) }; in node_offset_by_compatible() localVariable 114 let ret = unsafe { libfdt_bindgen::fdt_next_node(fdt, node, &mut depth) }; in next_node() localVariable 132 let ret = unsafe { libfdt_bindgen::fdt_parent_offset(fdt, node) }; in parent_offset() localVariable 146 let ret = in supernode_atdepth_offset() localVariable 164 let ret = unsafe { libfdt_bindgen::fdt_subnode_offset_namelen(fdt, parent, name, namelen) }; in subnode_offset_namelen() localVariable 173 let ret = unsafe { libfdt_bindgen::fdt_first_subnode(fdt, node) }; in first_subnode() localVariable [all …]
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverUtils.cpp | 48 const auto ret = callback->notify(convertToV1_0(status), preparedModel); in notify() local 56 const auto ret = callback->notify_1_2(convertToV1_0(status), preparedModel); in notify() local 65 const auto ret = callback->notify_1_3(status, preparedModel); in notify() local 74 const auto ret = callback->notify(convertToV1_0(status)); in notify() local 82 const auto ret = callback->notify_1_2(convertToV1_0(status), outputShapes, timing); in notify() local 90 const auto ret = callback->notify_1_3(status, outputShapes, timing); in notify() local
|
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/task/ |
D | TaskUtilsTest.kt | 45 val ret = TaskUtils.getComponentName(runningTaskInfoMock) in getComponentName_taskMissingBaseActivityAndBaseIntentComponent_returnsNull() constant 58 val ret = TaskUtils.getComponentName(runningTaskInfoMock) in getComponentName_returnsComponent() constant 75 val ret = TaskUtils.getComponentName(runningTaskInfoMock) in getComponentName_mediaComponent_returnsMediaComponent() constant
|
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/view/ |
D | DockDragListenerTest.kt | 81 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DRAG_STARTED_clipDescriptionNameInvalid_returnFalse() constant 93 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DRAG_STARTED_clipDescriptionNameValid_returnTrue() constant 122 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DROP_noClipData_returnFalse() constant 145 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DROP_clipDataWithNoText_returnFalse() constant 170 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DROP_invalidComponentName_returnFalse() constant 196 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DROP_noDragSurface_returnFalse() constant 228 val ret = dockDragListener.onDrag(viewMock, dragEventMock) in onDrag_ACTION_DROP_validPositionComponentNameDragSurface_returnTrue() constant
|
/packages/modules/Bluetooth/system/bta/hd/ |
D | bta_hd_act.cc | 91 tHID_STATUS ret; in bta_hd_api_enable() local 126 tHID_STATUS ret; in bta_hd_api_disable() local 167 tBTA_HD ret; in bta_hd_register_act() local 293 tHID_STATUS ret; in bta_hd_connect_act() local 327 tHID_STATUS ret; in bta_hd_disconnect_act() local 418 tHID_STATUS ret; in bta_hd_report_error_act() local 439 tHID_STATUS ret; in bta_hd_vc_unplug_act() local 524 tBTA_HD_INTR_DATA ret; in bta_hd_intr_data_act() local 562 tBTA_HD_GET_REPORT ret = {0, 0, 0}; in bta_hd_get_report_act() local 610 tBTA_HD_SET_REPORT ret = {0, 0, 0, NULL}; in bta_hd_set_report_act() local
|
/packages/modules/Bluetooth/system/stack/mmc/test/ |
D | hfp_lc3_mmc_decoder_test.cc | 93 int ret = decoder_->init(config); in TEST_F() local 106 int ret = decoder_->init(config); in TEST_F() local 124 int ret = decoder_->init(config); in TEST_F() local 138 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, nullptr, 0); in TEST_F() local 147 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() local 160 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() local 173 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() local
|
D | hfp_lc3_mmc_encoder_test.cc | 93 int ret = encoder_->init(config); in TEST_F() local 106 int ret = encoder_->init(config); in TEST_F() local 124 int ret = encoder_->init(config); in TEST_F() local 138 int ret = encoder_->transcode(nullptr, 0, kOutputBuf, kOutputLen); in TEST_F() local 152 int ret = encoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() local 165 int ret = encoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() local
|
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/media/ |
D | MediaUtilsTest.kt | 54 val ret = MediaUtils.getMediaComponentName(runningTaskInfoMock) in getMediaComponentName_noData_returnsNull() constant 64 val ret = MediaUtils.getMediaComponentName(runningTaskInfoMock) in getMediaComponentName_incorrectDataScheme_returnsNull() constant 76 val ret = MediaUtils.getMediaComponentName(runningTaskInfoMock) in getMediaComponentName_returnsCorrectComponent() constant
|
/packages/modules/Virtualization/demo_native/ |
D | main.cpp | 152 ScopedAStatus ret = service.createOrUpdateIdsigFile(main_apk, idsig); in create_or_update_idsig_file() local 173 ScopedAStatus ret = in create_instance_image_file_if_needed() local 230 ScopedAStatus ret = service.createVm(config, console_out_fd, console_in_fd, log_fd, &vm); in create_virtual_machine() local 297 ScopedAStatus ret = mVm->getState(&state); in get_vm_state() local 309 ScopedAStatus ret = vm->registerCallback(cb); in start_virtual_machine() local 336 ScopedAStatus ret = vm->connectVsock(ITestService::PORT, &sock_fd); in connect_to_vm_payload() local 352 ScopedAStatus ret = payload.addInteger(10, 20, &result); in do_something() local 386 ScopedAStatus ret = payload->quit(); in inner_main() local 396 if (auto ret = inner_main(); !ret.ok()) { in main() local
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.cpp | 148 const auto& ret = mService->setPowerPolicyGroupInternal(stringValue); in onPropertyEvent() local 154 const auto& ret = mService->applyPowerPolicy(stringValue, in onPropertyEvent() local 277 if (const auto& ret = mService->setPowerPolicyGroupInternal(policyGroupId); !ret.ok()) { in setPowerPolicyGroup() local 340 const auto& ret = server->init(looper); in startService() local 391 const auto& ret = mComponentHandler.getPowerComponentState(componentId); in getPowerComponentState() local 490 if (const auto& ret = in applyPowerPolicy() local 505 if (const auto& ret = setPowerPolicyGroupInternal(policyGroupId); !ret.ok()) { in setPowerPolicyGroup() local 533 const auto& ret = applyPowerPolicy(policyId, /*carServiceExpected=*/true, force); in notifyPowerPolicyChange() local 553 const auto& ret = in notifyPowerPolicyDefinition() local 572 const auto& ret = mPolicyManager.definePowerPolicyGroup(policyGroupId, powerPolicyPerState); in notifyPowerPolicyGroupDefinition() local [all …]
|
/packages/modules/StatsD/lib/libstatssocket/ |
D | stats_buffer_writer.c | 60 const bool ret = write_buffer_to_statsd_queue(buffer, size, atomId); in write_buffer_to_statsd() local 71 int ret = 1; in write_buffer_to_statsd_impl() local 110 int ret = (int)(*statsdLoggerWrite.write)(&ts, vec, nr); in __write_to_stats_daemon() local 126 int ret, save_errno = errno; in __write_to_statsd_init() local
|
/packages/modules/Bluetooth/system/osi/src/ |
D | socket.cc | 53 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_new() local 79 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_new_from_fd() local 123 socket_t* ret = (socket_t*)osi_calloc(sizeof(socket_t)); in socket_accept() local 133 ssize_t ret; in socket_read() local 143 ssize_t ret; in socket_write() local 176 ssize_t ret; in socket_write_and_transfer_fd() local
|
/packages/modules/Bluetooth/system/gd/packet/parser/fields/ |
D | vector_field.cc | 55 …std::string ret = "(static_cast<size_t>(Get" + util::UnderscoreToCamelCase(size_field_->GetName())… in GetSize() local 71 …std::string ret = "(static_cast<size_t>(" + GetName() + "_.size()) * " + std::to_string(element_si… in GetBuilderSize() local 74 std::string ret = "[this](){ size_t length = 0; for (const auto& elem : " + GetName() + in GetBuilderSize() local 78 std::string ret = "[this](){ size_t length = 0; for (const auto& elem : " + GetName() + in GetBuilderSize() local 92 … std::string ret = "(static_cast<size_t>(to_fill->" + size_field_->GetName() + "_extracted_) * 8)"; in GetStructSize() local
|
/packages/modules/Bluetooth/system/common/ |
D | metrics.cc | 499 ssize_t ret; in WriteBase64() local 609 int ret = in LogLinkLayerConnectionEvent() local 623 int ret = stats_write(BLUETOOTH_HCI_TIMEOUT_REPORTED, in LogHciTimeoutEvent() local 632 int ret = stats_write(BLUETOOTH_REMOTE_VERSION_INFO_REPORTED, handle, status, in LogRemoteVersionInfo() local 655 int ret = in LogA2dpAudioUnderrunEvent() local 681 int ret = stats_write(BLUETOOTH_A2DP_AUDIO_OVERRUN_REPORTED, bytes_field, in LogA2dpAudioOverrunEvent() local 706 int ret = stats_write(BLUETOOTH_A2DP_PLAYBACK_STATE_CHANGED, bytes_field, in LogA2dpPlaybackEvent() local 727 int ret = stats_write(BLUETOOTH_DEVICE_RSSI_REPORTED, bytes_field, handle, in LogReadRssiResult() local 747 int ret = in LogReadFailedContactCounterResult() local 770 int ret = stats_write(BLUETOOTH_DEVICE_TX_POWER_LEVEL_REPORTED, bytes_field, in LogReadTxPowerLevelResult() local [all …]
|
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/ |
D | com_android_net_module_util_BpfMap.cpp | 84 int ret = bpf::writeToMapEntry(static_cast<int>(fd), keyRO.get(), valueRO.get(), in com_android_net_module_util_BpfMap_nativeWriteToMapEntry() local 90 static jboolean throwIfNotEnoent(JNIEnv *env, const char* functionName, int ret, int err) { in throwIfNotEnoent() 103 int ret = bpf::deleteMapEntry(static_cast<int>(fd), keyRO.get()); in com_android_net_module_util_BpfMap_nativeDeleteMapEntry() local 115 int ret; in com_android_net_module_util_BpfMap_nativeGetNextMapKey() local 134 int ret = bpf::findMapEntry(static_cast<int>(fd), keyRO.get(), valueRW.get()); in com_android_net_module_util_BpfMap_nativeFindMapEntry() local
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
D | DatabaseAnalyzer.java | 46 final List<String> ret = new ArrayList<>(); in findTablesAndViews() local 60 final List<String> ret = new ArrayList<>(); in findColumns() local 86 final List<String> ret = new ArrayList<>(tables); // Start with the table/view list. in findTableViewsAllowingColumns() local
|
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_connectivity_ClatCoordinator.cpp | 257 int ret = net::clat::detect_mtu(&plat_subnet, plat_suffix, mark); in com_android_server_connectivity_ClatCoordinator_detectMtu() local 328 int ret = setsockopt(sock, SOL_IPV6, IPV6_JOIN_ANYCAST, &mreq, sizeof(mreq)); in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt() local 353 int ret = net::clat::configure_packet_socket(sock, &addr, ifindex); in com_android_server_connectivity_ClatCoordinator_configurePacketSocket() local 412 if (int ret = posix_spawnattr_init(&attr)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local 418 if (int ret = posix_spawnattr_setflags(&attr, POSIX_SPAWN_USEVFORK in com_android_server_connectivity_ClatCoordinator_startClatd() local 431 if (int ret = posix_spawn_file_actions_init(&fa)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local 437 if (int ret = posix_spawn_file_actions_adddup2(&fa, tunFd, tunFd)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local 443 if (int ret = posix_spawn_file_actions_adddup2(&fa, readSock, readSock)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local 449 if (int ret = posix_spawn_file_actions_adddup2(&fa, writeSock, writeSock)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local 458 if (int ret = posix_spawn(&pid, kClatdBin, &fa, &attr, (char* const*)args, nullptr)) { in com_android_server_connectivity_ClatCoordinator_startClatd() local [all …]
|
/packages/services/Car/cpp/libsysfsmonitor/tests/ |
D | SysfsMonitorTest.cpp | 39 auto ret = mSysfsMonitor->init([](const std::vector<int32_t>&) {}); in TEST_F() local 46 auto ret = mSysfsMonitor->init([](const std::vector<int32_t>&) {}); in TEST_F() local 72 auto ret = mSysfsMonitor->registerFd(fd); in TEST_F() local 84 auto ret = mSysfsMonitor->registerFd(fd); in TEST_F() local 114 auto ret = mSysfsMonitor->registerFd(fdsToMonitor[i]); in TEST_F() local
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_util.cc | 51 ssize_t ret; in sock_send_all() local 66 ssize_t ret; in sock_recv_all() local 109 ssize_t ret; in sock_send_fd() local
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | SdkSandboxPermissionTest.java | 47 int ret = ctx.checkPermission( in testSdkSandboxHasInternetPermission() local 58 int ret = ctx.checkPermission( in testSdkSandboxDoesNotHaveFineLocationPermission() local
|