Home
last modified time | relevance | path

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

1234

/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java69 private void maybeThrow(final int err, final String msg) { in maybeThrow()
83 final int err = native_addNaughtyApp(uid); in addNaughtyApp() local
95 final int err = native_removeNaughtyApp(uid); in removeNaughtyApp() local
107 final int err = native_addNiceApp(uid); in addNiceApp() local
119 final int err = native_removeNiceApp(uid); in removeNiceApp() local
132 final int err = native_setChildChain(childChain, enable); in setChildChain() local
151 final int err = native_replaceUidChain(chainName, isAllowlist, uids); in replaceUidChain() local
168 final int err = native_setUidRule(childChain, uid, firewallRule); in setUidRule() local
194 final int err = native_addUidInterfaceRules(ifName, uids); in addUidInterfaceRules() local
214 final int err = native_removeUidInterfaceRules(uids); in removeUidInterfaceRules() local
[all …]
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp91 const int err = errno; in tcpConnect() local
108 const int err = errno; in tcpConnect() local
280 if (int err = waitForReading(fd, mConnectTimeoutMs); err <= 0) { in sslConnect() local
289 if (int err = waitForWriting(fd, mConnectTimeoutMs); err <= 0) { in sslConnect() local
378 if (int err = waitForWriting(mSslFd.get()); err <= 0) { in sslWrite() local
593 if (int err = waitForReading(mSslFd.get()); err <= 0) { in sslRead() local
621 int err = sslRead(Slice(responseHeader, 2), false); in readResponse() local
DDnsResolverService.cpp183 auto err = fmt::format("UID {} / PID {} does not have any of the following permissions: {}", in checkAnyPermission() local
198 auto err = fmt::format("UID {} is not authorized to set a non-empty CA certificate", uid); in setResolverConfiguration() local
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_msg.cc531 uint8_t err = 0; in avdt_msg_prs_cfg() local
695 uint8_t err = 0; in avdt_msg_prs_single() local
723 uint8_t err = 0; in avdt_msg_prs_setconfig_cmd() local
775 uint8_t err = 0; in avdt_msg_prs_reconfig_cmd() local
821 uint8_t err = 0; in avdt_msg_prs_multi() local
857 uint8_t err = 0; in avdt_msg_prs_security_cmd() local
889 uint8_t err = 0; in avdt_msg_prs_discover_rsp() local
930 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_svccap() local
952 uint8_t err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, in avdt_msg_prs_all_svccap() local
1025 uint8_t err = 0; in avdt_msg_prs_delay_rpt() local
[all …]
/packages/services/Car/cpp/computepipe/router/1.0/
DPipeRegistration.cpp35 auto err = mRegistry->RegisterPipe(std::move(handle), graphName); in registerPipeRunner() local
39 ScopedAStatus PipeRegistration::convertToBinderStatus(Error err) { in convertToBinderStatus()
/packages/modules/Bluetooth/system/osi/src/socket_utils/
Dsocket_local_server.cc46 int err; local
81 int err; local
Dsocket_local_client.cc116 int err; in osi_socket_local_client_connect() local
/packages/modules/adb/
Dsysdeps_win32.cpp380 const DWORD err = GetLastError(); in adb_open() local
423 const DWORD err = GetLastError(); in adb_creat() local
566 static void _socket_set_errno( const DWORD err ) { in _socket_set_errno()
668 const DWORD err = WSAGetLastError(); in _fh_socket_close() local
684 const DWORD err = WSAGetLastError(); in _fh_socket_read() local
700 const DWORD err = WSAGetLastError(); in _fh_socket_write() local
736 const DWORD err = WSAGetLastError(); in _fh_socket_writev() local
815 const DWORD err = WSAGetLastError(); in adb_socket() local
839 const DWORD err = WSAGetLastError(); in adb_bind() local
896 const DWORD err = WSAGetLastError(); in adb_sendmsg() local
[all …]
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java158 protected void onCompleted(@Nullable T res, @Nullable Throwable err) { in onCompleted()
222 Throwable err = null; in whenCompleteAsync() local
235 @Nullable T res, @Nullable Throwable err) { in callListenerAsync()
250 @Nullable TT res, @Nullable Throwable err) { in callListener()
341 public void accept(Object res, Throwable err) { in accept()
403 public void accept(T res, Throwable err) { in accept()
452 public void accept(Object res, Throwable err) { in accept()
/packages/modules/Bluetooth/system/common/
Dtime_util_unittest.cc77 int err = nanosleep(&delay, &delay); in TEST() local
98 int err = nanosleep(&delay, &delay); in TEST() local
139 int err = nanosleep(&delay, &delay); in TEST() local
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/
DBinderHelper.java78 @NonNull FileDescriptor err, @NonNull String[] args); in onShellCommand()
106 ParcelFileDescriptor err = data.readFileDescriptor(); in onTransactForCmd() local
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsGlDisplay.cpp185 int err = 0; in renderFrames() local
430 int err = 0; in returnTargetBufferForDisplay() local
Dservice.cpp73 auto err = AServiceManager_addService(service->asBinder().get(), instanceName.data()); in main() local
/packages/modules/adb/sysdeps/win32/
Derrno_test.cpp23 void TestAdbStrError(int err, const char* expected) { in TestAdbStrError()
Derrno.cpp25 char* adb_strerror(int err) { in adb_strerror()
/packages/modules/adb/client/pairing/
Dpairing_client.cpp114 std::string err; in Start() local
129 std::string err; in StartConnection() local
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java162 int err = 33; in doTestResolveService() local
218 int err = 1; in doTestRegisterService() local
271 int err = 1; in doTestDiscoverService() local
/packages/services/Car/tests/carservice_unit_test/src/android/car/util/concurrent/
DAndroidFutureTest.java102 mCompletedFuture.whenComplete((obj, err) -> { in testWhenComplete_alreadyCompleted() argument
112 mUncompletedFuture.whenComplete((obj, err) -> { in testWhenComplete_uncompleted() argument
128 mUncompletedFuture.whenComplete((obj, err) -> { in testWhenComplete_completeExceptionally() argument
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp122 std::string err; in Start() local
163 std::string err; in StartConnection() local
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp198 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked() local
276 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked() local
/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket_connector.cc108 int err = 0; in ConnectToRemoteServer() local
/packages/modules/Bluetooth/floss/build/rustup/
Drustup.sh419 err() { function
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp80 int err = AHardwareBuffer_allocate(&mDesc, &mBuffer); in setFrameData() local
101 int err = AHardwareBuffer_lock(mBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN, -1, nullptr, in setFrameData() local
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/bin/btmanagerd/
Dmain.rs64 let err = resource.await; in main() localVariable
/packages/modules/Virtualization/tests/hostside/java/android/virt/test/
DMicrodroidTestCase.java165 String err = result.getStderr(); in createPayloadMetadata() local
198 String err = result.getStderr(); in resignVirtApex() local

1234