Home
last modified time | relevance | path

Searched defs:err (Results 1 – 25 of 146) sorted by relevance

123456

/system/netd/server/binder/android/net/
DUidRange.cpp46 if (status_t err = parcel->writeInt32(mStart)) { in writeToParcel() local
49 if (status_t err = parcel->writeInt32(mStop)) { in writeToParcel() local
60 if (status_t err = parcel->readInt32(&mStart)) { in readFromParcel() local
63 if (status_t err = parcel->readInt32(&mStop)) { in readFromParcel() local
/system/core/init/
Dutil_test.cpp34 std::string err; in TEST() local
45 std::string err; in TEST() local
58 std::string err; in TEST() local
72 std::string err; in TEST() local
81 std::string err; in TEST() local
98 std::string err; in TEST() local
115 std::string err; in TEST() local
133 std::string err; in TEST() local
148 std::string err; in TEST() local
Dservice.cpp355 bool Service::ParseCapabilities(const std::vector<std::string>& args, std::string* err) { in ParseCapabilities()
385 bool Service::ParseClass(const std::vector<std::string>& args, std::string* err) { in ParseClass()
390 bool Service::ParseConsole(const std::vector<std::string>& args, std::string* err) { in ParseConsole()
396 bool Service::ParseCritical(const std::vector<std::string>& args, std::string* err) { in ParseCritical()
401 bool Service::ParseDisabled(const std::vector<std::string>& args, std::string* err) { in ParseDisabled()
407 bool Service::ParseGroup(const std::vector<std::string>& args, std::string* err) { in ParseGroup()
424 bool Service::ParsePriority(const std::vector<std::string>& args, std::string* err) { in ParsePriority()
436 bool Service::ParseIoprio(const std::vector<std::string>& args, std::string* err) { in ParseIoprio()
456 bool Service::ParseKeycodes(const std::vector<std::string>& args, std::string* err) { in ParseKeycodes()
468 bool Service::ParseOneshot(const std::vector<std::string>& args, std::string* err) { in ParseOneshot()
[all …]
Dueventd_parser.cpp27 bool ParsePermissionsLine(std::vector<std::string>&& args, std::string* err, in ParsePermissionsLine()
81 int line, std::string* err) { in ParseSection()
97 bool SubsystemParser::ParseDevName(std::vector<std::string>&& args, std::string* err) { in ParseDevName()
111 bool SubsystemParser::ParseDirName(std::vector<std::string>&& args, std::string* err) { in ParseDirName()
121 bool SubsystemParser::ParseLineSection(std::vector<std::string>&& args, int line, std::string* err)… in ParseLineSection()
Dinit_parser_test.cpp94 std::string err; in Test_make_exec_oneshot_service() local
102 std::string err; in Test_make_exec_oneshot_service() local
111 std::string err; in Test_make_exec_oneshot_service() local
Daction.cpp57 bool Action::AddCommand(const std::vector<std::string>& args, int line, std::string* err) { in AddCommand()
109 bool Action::ParsePropertyTrigger(const std::string& trigger, std::string* err) { in ParsePropertyTrigger()
128 bool Action::InitTriggers(const std::vector<std::string>& args, std::string* err) { in InitTriggers()
164 std::string err; in InitSingleTrigger() local
337 int line, std::string* err) { in ParseSection()
353 bool ActionParser::ParseLineSection(std::vector<std::string>&& args, int line, std::string* err) { in ParseLineSection()
/system/core/adf/libadf/tests/
Dadf_test.cpp30 int err = adf_device_open(dev_id, O_RDWR, &dev); in SetUp() local
58 int err = adf_get_overlay_engine_data(eng, &data); in get8888Format() local
80 int err = adf_get_interface_data(intf, &data); in getInterfaceData() local
94 int err = adf_interface_blank(intf, mode); in blank() local
100 int err = adf_device_attach(&dev, eng_id, intf_id); in attach() local
107 int err = adf_device_detach(&dev, eng_id, intf_id); in detach() local
115 int err = adf_read_event(intf, &event); in readVsyncTimestamp() local
202 int err = adf_get_device_data(&dev, &data); in TEST_F() local
226 int err = adf_get_overlay_engine_data(eng, &data); in TEST_F() local
237 int err = adf_interface_blank(intf, (uint8_t)-1); in TEST_F() local
[all …]
/system/connectivity/wifilogd/
Dmain_loop.cpp44 Os::Errno err; in MainLoop() local
54 Os::Errno err; in RunOnce() local
73 void MainLoop::ProcessError(Os::Errno err) { in ProcessError()
/system/security/keystore/
DIKeystoreService.cpp128 int32_t err = reply.readExceptionCode(); in getState() local
148 int32_t err = reply.readExceptionCode(); in get() local
171 int32_t err = reply.readExceptionCode(); in insert() local
189 int32_t err = reply.readExceptionCode(); in del() local
207 int32_t err = reply.readExceptionCode(); in exist() local
226 int32_t err = reply.readExceptionCode(); in list() local
246 int32_t err = reply.readExceptionCode(); in reset() local
266 int32_t err = reply.readExceptionCode(); in onUserPasswordChanged() local
283 int32_t err = reply.readExceptionCode(); in lock() local
301 int32_t err = reply.readExceptionCode(); in unlock() local
[all …]
/system/netd/server/
DNetdNativeService.cpp68 auto err = StringPrintf("UID %d / PID %d lacks permission %s", uid, pid, permission); in checkPermission() local
151 int err = gCtls->firewallCtrl.replaceUidChain(name.string(), isWhitelist, uids); in firewallReplaceUidChain() local
159 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver() local
175 int err; in networkRejectNonSecureVpn() local
201 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy() local
217 int err = gCtls->resolverCtrl.setResolverConfiguration(netId, servers, domains, params); in setResolverConfiguration() local
231 int err = gCtls->resolverCtrl.getResolverInfo(netId, servers, domains, params, stats); in getResolverInfo() local
261 const int err = gCtls->resolverCtrl.addPrivateDnsServer(server, port, in addPrivateDnsServer() local
272 const int err = gCtls->resolverCtrl.removePrivateDnsServer(server); in removePrivateDnsServer() local
291 const int err = InterfaceController::addAddress( in interfaceAddAddress() local
[all …]
/system/netd/libnetdutils/
DStatus.cpp28 Status statusFromErrno(int err, const std::string& msg) { in statusFromErrno()
32 bool equalToErrno(const Status& status, int err) { in equalToErrno()
/system/libvintf/
DRuntimeInfo-target.cpp73 status_t err = OK; in fetchKernelConfigs() local
124 status_t err = parseKernelVersion(); in fetchVersion() local
163 status_t err; in fetchAllInformation() local
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc46 int err; local
81 int err; local
/system/tools/hidl/
DgenerateCppImpl.cpp36 status_t err = generateStubImplHeader(outputPath); in generateCppImpl() local
135 status_t err = generateMethods(out, [&](const Method *method, const Interface *) { in generateStubImplHeader() local
196 status_t err = generateMethods(out, [&](const Method *method, const Interface *) { in generateStubImplSource() local
DCoordinator.cpp108 status_t err = parseFile(ast); in parse() local
345 status_t err = getPackageInterfaceFiles(package, &fileNames); in appendPackageInterfacesToVector() local
408 status_t err; in enforceRestrictionsOnPackage() local
459 status_t err; in enforceMinorVersionUprevs() local
539 status_t err = OK; in enforceHashes() local
DgenerateCpp.cpp37 status_t err = generateCppHeaders(outputPath); in generateCpp() local
47 status_t err = generateInterfaceHeader(outputPath); in generateCppHeaders() local
472 status_t err = emitTypeDeclarations(out); in generateInterfaceHeader() local
610 status_t err = mRootScope.emitGlobalHwDeclarations(out); in generateHwBinderHeader() local
807 status_t err = gen(method, superInterface); in generateMethods() local
897 status_t err = generateMethods(out, [&](const Method *method, const Interface *) { in generateStubHeader() local
1012 status_t err = generateMethods(out, [&](const Method *method, const Interface *) { in generateProxyHeader() local
1119 status_t err = generateTypeSource(out, iface ? iface->localName() : ""); in generateCppSources() local
1303 status_t err = OK; in generateProxyMethodSource() local
1545 status_t err = generateMethods(out, [&](const Method *method, const Interface *) { in generateProxySource() local
[all …]
/system/libufdt/
Dufdt_overlay.c378 int err = ufdt_overlay_node(target_node, overlay_node, pool); in ufdt_apply_fragment() local
395 enum overlay_result err; in ufdt_overlay_apply_fragments() local
478 int err = ufdt_local_fixup_prop(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
490 int err = ufdt_local_fixup_node(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
526 int err = in ufdt_overlay_do_local_fixups() local
543 int err = ufdt_overlay_do_local_fixups(overlay_tree, phandle_offset); in ufdt_overlay_local_ref_update() local
597 int err; in ufdt_install_blob() local
659 int err = ufdt_overlay_apply(main_tree, overlay_tree, overlay_size, &pool); in ufdt_apply_overlay() local
/system/bt/stack/avdt/
Davdt_msg.cc530 uint8_t err = 0; in avdt_msg_prs_cfg() local
686 uint8_t err = 0; in avdt_msg_prs_single() local
714 uint8_t err = 0; in avdt_msg_prs_setconfig_cmd() local
766 uint8_t err = 0; in avdt_msg_prs_reconfig_cmd() local
812 uint8_t err = 0; in avdt_msg_prs_multi() local
848 uint8_t err = 0; in avdt_msg_prs_security_cmd() local
880 uint8_t err = 0; in avdt_msg_prs_discover_rsp() local
921 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_svccap() local
943 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_all_svccap() local
1007 uint8_t err = 0; in avdt_msg_prs_delay_rpt() local
[all …]
/system/core/libcutils/
Dsocket_local_server_unix.c60 int err; local
99 int err; local
/system/core/trusty/keymaster/
Dtrusty_keymaster_device.cpp47 static keymaster_error_t translate_error(int err) { in translate_error()
187 keymaster_error_t err = Send(KM_CONFIGURE, request, &response); in configure() local
228 keymaster_error_t err = Send(KM_GENERATE_KEY, request, &response); in generate_key() local
268 keymaster_error_t err = Send(KM_GET_KEY_CHARACTERISTICS, request, &response); in get_key_characteristics() local
303 keymaster_error_t err = Send(KM_IMPORT_KEY, request, &response); in import_key() local
349 keymaster_error_t err = Send(KM_EXPORT_KEY, request, &response); in export_key() local
394 keymaster_error_t err = Send(KM_ATTEST_KEY, request, &response); in attest_key() local
446 keymaster_error_t err = Send(KM_UPGRADE_KEY, request, &response); in upgrade_key() local
488 keymaster_error_t err = Send(KM_BEGIN_OPERATION, request, &response); in begin() local
541 keymaster_error_t err = Send(KM_UPDATE_OPERATION, request, &response); in update() local
[all …]
/system/core/adf/libadf/
Dadf.cpp105 int err; in adf_get_device_data() local
144 int err; in adf_device_post() local
169 int err; in adf_device_post_v2() local
196 int err; in adf_device_attachment() local
234 auto err = adf_get_device_data(dev, &data); in adf_interfaces_for_overlay_engine() local
313 int err; in adf_get_interface_data() local
344 int err = ioctl(fd, ADF_BLANK, mode); in adf_interface_blank() local
352 int err = ioctl(fd, ADF_SET_MODE, mode); in adf_interface_set_mode() local
361 int err; in adf_interface_simple_buffer_alloc() local
448 auto err = adf_get_device_data(dev, &data); in adf_overlay_engines_for_interface() local
[all …]
/system/core/libziparchive/
Dunzip.cpp141 int err = ExtractToMemory(zah, &entry, buffer, entry.uncompressed_length); in ExtractToPipe() local
196 int err = ExtractEntryToFile(zah, &entry, fd); in ExtractOne() local
239 int err = StartIteration(zah, &cookie, nullptr, nullptr); in ProcessAll() local
331 int32_t err; in main() local
/system/bt/osi/test/
Dtime_test.cc86 int err = nanosleep(&delay, &delay); in TEST_F() local
107 int err = nanosleep(&delay, &delay); in TEST_F() local
147 int err = nanosleep(&delay, &delay); in TEST_F() local
/system/core/libsync/
Dsync_test.c39 int err; in sync_thread() local
123 int err; in main() local
/system/connectivity/wificond/
Dmain.cpp88 int err = android::IPCThreadState::self()->setupPolling(&binder_fd); in SetupBinderOrCrash() local
98 int err = android::hardware::IPCThreadState::self()->setupPolling(&binder_fd); in SetupHwBinderOrCrash() local

123456