Home
last modified time | relevance | path

Searched +full:error +full:- +full:ex (Results 1 – 25 of 1179) sorted by relevance

12345678910>>...48

/aosp_15_r20/external/cronet/base/types/
H A Dexpected_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
36 // NOLINTNEXTLINE(google-explicit-constructor)
57 // NOLINTNEXTLINE(google-explicit-constructor)
64 enum class Error { enum
143 static_assert(unex.error() == 42); in TEST()
148 static_assert(unex.error() == 0); in TEST()
153 static_assert(unex.error() == std::pair(42, 3.14)); in TEST()
158 EXPECT_EQ(unex.error(), std::vector({1, 2, 3})); in TEST()
163 static_assert(std::is_same_v<decltype(std::declval<Unex&>().error()), int&>); in TEST()
164 static_assert(std::is_same_v<decltype(std::declval<const Unex&>().error()), in TEST()
[all …]
/aosp_15_r20/external/crosvm/devices/src/virtio/snd/common_backend/
H A Dstream_info.rs2 // Use of this source code is governed by a BSD-style license that can be
12 use base::error;
23 use super::Error;
68 ) -> Self { in new()
80 pub fn effects(mut self, effects: Vec<StreamEffect>) -> Self { in effects()
86 pub fn audio_client_guid(mut self, audio_client_guid: Option<String>) -> Self { in audio_client_guid()
92 pub fn build(self) -> StreamInfo { in build()
109 pub state: u32, // VIRTIO_SND_R_PCM_SET_PARAMS -> VIRTIO_SND_R_PCM_STOP, or 0 (uninitialized)
120 worker_future: Option<Box<dyn Future<Output = Result<(), Error>> + Unpin>>,
123 ex: Option<Executor>, // Executor provided on `prepare()`. Used on `drop()`. field
[all …]
/aosp_15_r20/external/crosvm/cros_async/src/sys/linux/
H A During_executor.rs2 // Use of this source code is governed by a BSD-style license that can be
77 use thiserror::Error as ThisError;
93 pub enum Error { enum
95 #[error("Error creating the fd waiting context: {0}")]
96 CreatingContext(io_uring::Error),
98 #[error("Failed to discard a block: {0}")]
99 Discard(base::Error),
101 #[error("Failed to copy the FD for the polling context: {0}")]
102 DuplicatingFd(base::Error),
104 #[error("Error enabling the URing context: {0}")]
[all …]
H A Dfd_executor.rs2 // Use of this source code is governed by a BSD-style license that can be
27 use thiserror::Error as ThisError;
39 pub enum Error { enum
40 #[error("Couldn't clear the wake eventfd")]
41 CantClearWakeEvent(base::Error),
43 #[error("Failed to clone the Event for waking the executor: {0}")]
44 CloneEvent(base::Error),
46 #[error("Failed to create the Event for waking the executor: {0}")]
47 CreateEvent(base::Error),
49 #[error("An error creating the fd waiting context: {0}")]
[all …]
/aosp_15_r20/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
H A DSatelliteManagerTestBase.java8 * http://www.apache.org/licenses/LICENSE-2.0
151 // Satellite test against mock service should pass on satellite-less devices, but it's in shouldTestSatelliteWithMockService()
238 loge("onSatellitePositionChanged: Got exception, ex=" + e); in onSatellitePositionChanged()
254 loge("onSendDatagramStateChanged: Got exception, ex=" + e); in onSendDatagramStateChanged()
278 loge("onReceiveDatagramStateChanged: Got exception, ex=" + e); in onReceiveDatagramStateChanged()
292 loge("onSendDatagramRequested: Got exception, ex=" + e); in onSendDatagramRequested()
303 } catch (Exception ex) { in waitUntilOnSatellitePositionChanged()
305 + "waitUntilOnSatellitePositionChanged: Got exception=" + ex); in waitUntilOnSatellitePositionChanged()
320 } catch (Exception ex) { in waitUntilOnSendDatagramStateChanged()
322 + "waitUntilOnSendDatagramStateChanged: Got exception=" + ex); in waitUntilOnSendDatagramStateChanged()
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/utils/src/test/java/software/amazon/awssdk/utils/
H A DValidateTest.java37 * Adapted from https://github.com/apache/commons-lang.
43 //-----------------------------------------------------------------------
50 } catch (final IllegalArgumentException ex) { in testIsTrue2()
51 assertEquals("MSG", ex.getMessage()); in testIsTrue2()
55 //-----------------------------------------------------------------------
62 } catch (final IllegalArgumentException ex) { in testIsTrue3()
63 assertEquals("MSG", ex.getMessage()); in testIsTrue3()
67 //-----------------------------------------------------------------------
74 } catch (final IllegalArgumentException ex) { in testIsTrue4()
75 assertEquals("MSG", ex.getMessage()); in testIsTrue4()
[all …]
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/
H A DKeyStoreExceptionTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
58 excludedErrorCodes.add(-62); // -62 is KEY_REQUIRES_UPGRADE and is handled by Keystore. in testErrorCodesMapping()
59 excludedErrorCodes.add(-86); // -86 is MODULE_HASH_ALREADY_SET and is internal to Keystore. in testErrorCodesMapping()
67 kmDefsFields.stream().anyMatch(f -> { in testErrorCodesMapping()
80 final int[] someSystemErrors = {-4, -6, -7, -9, -28, -64, -66, -67, -72, -1000, 3, 4}; in testSystemErrorFlaggedCorrectly()
83 assertTrue("Error code " + i + " is not correctly marked as system error.", in testSystemErrorFlaggedCorrectly()
87 final int[] someNonSystemErrors = {-3, -5, -8, -11, -29, 6}; in testSystemErrorFlaggedCorrectly()
90 assertFalse("Error code " + i + " is incorrectly marked as system error.", in testSystemErrorFlaggedCorrectly()
97 final int[] errorsRequiringAuthentication = {-26, -72, 2}; in testRequiresUserAuthenticationFlaggedCorrectly()
100 KeyStoreException ex = new KeyStoreException(i, null); in testRequiresUserAuthenticationFlaggedCorrectly() local
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/link/internal/ld/
Ddwarf_test.go2 // Use of this source code is governed by a BSD-style
36 DefaultOpt = "-gcflags="
37 NoOpt = "-gcflags=-l -N"
38 OptInl4 = "-gcflags=-l=4"
39 OptAllInl4 = "-gcflags=all=-l=4"
55 t.Fatalf("error reading DWARF: %v", err)
82 t.Fatalf("error reading DWARF: %v", err)
107 cmd := testenv.Command(t, testenv.GoToolPath(t), "build", gcflags, "-o", dst, src)
113 t.Fatalf("build error: %v", err)
129 cmd := testenv.Command(t, testenv.GoToolPath(t), "build", gcflags, "-o", dst)
[all …]
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify22.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 * - Generate a broken filesystem
15 * - Start FAN_FS_ERROR monitoring group
16 * - Make the file system notice the error through ordinary operations
17 * - Observe the event generated
58 SAFE_MOUNT(tst_device->dev, MOUNT_PATH, tst_device->fs_type, in trigger_fs_abort()
64 const char *const cmd[] = {"debugfs", "-w", dev, "-R", request, NULL}; in do_debugfs_request()
75 if (ret != -1 && errno != EUCLEAN) in trigger_bad_file_lookup()
86 if (ret != -1 && errno != EUCLEAN) in trigger_bad_link_lookup()
106 int error; member
[all …]
/aosp_15_r20/external/crosvm/cros_async/src/sys/windows/
H A Doverlapped_source.rs2 // Use of this source code is governed by a BSD-style license that can be
13 use base::error;
20 use thiserror::Error as ThisError;
33 pub enum Error { enum
34 #[error("An error occurred trying to get a VolatileSlice into BackingMemory: {0}.")]
35 BackingMemoryVolatileSliceFetchFailed(crate::mem::Error),
36 #[error("An error occurred trying to seek: {0}.")]
37 IoSeekError(io::Error),
38 #[error("An error occurred trying to read: {0}.")]
39 IoReadError(base::Error),
[all …]
H A Dhandle_executor.rs2 // Use of this source code is governed by a BSD-style license that can be
18 use base::Error as SysError;
23 use thiserror::Error as ThisError;
42 pub enum Error { enum
43 #[error("IO completion port operation failed: {0}")]
45 #[error("Failed to get future from executor run.")]
47 #[error("executor gone before future was dropped.")]
49 #[error("tried to remove overlapped operation but it didn't exist.")]
53 impl From<Error> for io::Error { implementation
54 fn from(e: Error) -> Self { in from()
[all …]
/aosp_15_r20/external/crosvm/cros_async/src/
H A Dexecutor.rs2 // Use of this source code is governed by a BSD-style license that can be
47 fn from(e: ExecutorKindSys) -> ExecutorKind { in from()
53 /// If not set, [`ExecutorKind::default()`] returns a statically-chosen default value, and
58 fn default() -> Self { in default()
67 /// The error type for [`Executor::set_default_executor_kind()`].
68 #[derive(thiserror::Error, Debug)]
71 #[error("The default executor kind is already set to {0:?}")]
77 #[error("io_uring is unavailable: {0}")]
78 UringUnavailable(linux::uring_executor::Error),
82 fn from_arg_value(value: &str) -> std::result::Result<ExecutorKind, String> { in from_arg_value()
[all …]
/aosp_15_r20/external/antlr/runtime/C/src/
H A Dantlr3baserecognizer.c12 // Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
13 // http://www.temporal-wave.com
44 /* Interface functions -standard implementations cover parser and treeparser
100 // If we have been supplied with a pre-existing recognizer state in antlr3BaseRecognizerNew()
105 …recognizer->state = (pANTLR3_RECOGNIZER_SHARED_STATE) ANTLR3_CALLOC(1, (size_t)sizeof(ANTLR3_RECOG… in antlr3BaseRecognizerNew()
107 if (recognizer->state == NULL) in antlr3BaseRecognizerNew()
115 recognizer->state->errorRecovery = ANTLR3_FALSE; in antlr3BaseRecognizerNew()
116 recognizer->state->lastErrorIndex = -1; in antlr3BaseRecognizerNew()
117 recognizer->state->failed = ANTLR3_FALSE; in antlr3BaseRecognizerNew()
118 recognizer->state->errorCount = 0; in antlr3BaseRecognizerNew()
[all …]
/aosp_15_r20/external/deqp-deps/amber/src/
Dexecutor_test.cc7 // http://www.apache.org/licenses/LICENSE-2.0
213 engine->Initialize(nullptr, nullptr, features, instance_extensions, in MakeAndInitializeEngine()
235 auto engine = MakeAndInitializeEngine(script->GetRequiredFeatures(), in TEST_F()
236 script->GetRequiredInstanceExtensions(), in TEST_F()
237 script->GetRequiredDeviceExtensions()); in TEST_F()
240 Executor ex; in TEST_F() local
242 ex.Execute(engine.get(), script.get(), ShaderMap(), &options, nullptr); in TEST_F()
245 const auto& features = ToStub(engine.get())->GetFeatures(); in TEST_F()
250 const auto& extensions = ToStub(engine.get())->GetDeviceExtensions(); in TEST_F()
265 auto engine = MakeAndInitializeEngine(script->GetRequiredFeatures(), in TEST_F()
[all …]
/aosp_15_r20/external/crosvm/disk/src/
H A Dandroid_sparse.rs2 // Use of this source code is governed by a BSD-style license that can be
30 use thiserror::Error;
38 use crate::Error as DiskError;
43 #[derive(Error, Debug)]
44 pub enum Error { enum
45 #[error("invalid magic header for android sparse format")]
47 #[error("invalid specification: \"{0}\"")]
49 #[error("failed to read specification: \"{0}\"")]
50 ReadSpecificationError(io::Error),
53 pub type Result<T> = std::result::Result<T, Error>;
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/experimental/simd/simd.traits/
H A Dsimd_size.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
16 //inline constexpr std::size_t ex::simd_size_v = ex::simd_size<T, Abi>::value;
20 namespace ex = std::experimental::parallelism_v2;
23 (void)ex::simd_size<bool, ex::simd_abi::compatible<bool>>::value; in main()
24 // expected-error-re@* {{no member named 'value' in {{.*}}}} in main()
25 (void)ex::simd_size<ex::native_simd<int>, ex::simd_abi::native<int>>::value; in main()
26 // expected-error-re@* {{no member named 'value' in {{.*}}}} in main()
27 (void)ex::simd_size<int, int>::value; in main()
[all …]
H A Dmemory_alignment.verify.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 namespace ex = std::experimental::parallelism_v2;
23 (void)ex::memory_alignment<ex::native_simd<bool>, bool>::value; in main()
24 // expected-error-re@* {{no member named 'value' in {{.*}}}} in main()
25 (void)ex::memory_alignment<int, int>::value; in main()
26 // expected-error-re@* {{no member named 'value' in {{.*}}}} in main()
27 (void)ex::memory_alignment<ex::native_simd_mask<int>, int>::value; in main()
28 // expected-error-re@* {{no member named 'value' in {{.*}}}} in main()
[all …]
/aosp_15_r20/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java8 * http://www.apache.org/licenses/LICENSE-2.0
76 * - the raw table, which lives inside DE(Device Encrypted) storage.
77 * - all other tables, which lives under CE(Credential Encrypted) storage.
82 * The only exception is a non-FBE device migrating from M to N, in which case the DE and CE tables
202 // (which both can exist with text-only MMSes), then there is an attachment.
227 // When a part is deleted (with the same non-text/SMIL constraint as when
287 "6ead002e-c001-4c05-9bca-67d7c4e29782");
289 "de3f61e1-ecd8-41ee-b059-9282b294b235");
309 // Let the default error handler take other actions in onCorruption()
318 // Memory optimization - close idle connections after 30s of inactivity in MmsSmsDatabaseHelper()
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A DTunerSession.java8 * http://www.apache.org/licenses/LICENSE-2.0
87 * Closes the TunerSession. If error is non-null, the client's onError() callback is invoked
88 * first with the specified error, see {@link
91 * @param error Error to send to client before session is closed. If null, there is no error
94 public void close(@Nullable Integer error) { in close() argument
95 if (error == null) { in close()
96 mLogger.logRadioEvent("Close tuner session on error null"); in close()
98 mLogger.logRadioEvent("Close tuner session on error %d", error); in close()
106 if (error != null) { in close()
108 mCallback.onError(error); in close()
[all …]
/aosp_15_r20/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java8 * http://www.apache.org/licenses/LICENSE-2.0
180 * permission-protected. Your application cannot access the protected
196 * To expand the error codes for {@link TelephonyManager#updateAvailableNetworks} and
221 * The allowed states of Wi-Fi calling.
226 /** Always use Wi-Fi calling */
228 /** Ask the user whether to use Wi-Fi on every call */
230 /** Never use Wi-Fi calling */
287 * Used to reduce power on a battery-constrained device when Telephony services are available
309 * Used in carrier Wi-Fi for IMSI + IMPI encryption, this indicates a public key that's
318 * Used in carrier Wi-Fi for IMSI + IMPI encryption, this indicates a public key that's
[all …]
/aosp_15_r20/bionic/libc/dns/net/
H A Dgetaddrinfo.c35 * - Thread safe-ness must be checked.
36 * - Return values. There are nonstandard return values defined and used
37 * in the source code. This is because RFC2553 is silent about which error
39 * - IPv4 classful (shortened) form. RFC2553 is silent about it. XNET 5.2
42 * current code - disallow classful form for IPv4 (due to use of inet_pton).
43 * - freeaddrinfo(NULL). RFC2553 is silent about it. XNET 5.2 says it is
45 * current code - SEGV on freeaddrinfo(NULL)
47 * - We use getipnodebyname() just for thread-safeness. There's no intent
50 * - The code filters out AFs that are not supported by the kernel,
52 * thing to do? What is the relationship with post-RFC2553 AI_ADDRCONFIG
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Druntime-gdb_test.go2 // Use of this source code is governed by a BSD-style
45 if strings.HasSuffix(testenv.Builder(), "-alpine") {
61 out, err := exec.Command("gdb", "--version").CombinedOutput()
63 t.Skipf("skipping: error executing gdb: %v", err)
65 re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`)
85 …args := []string{"-nx", "-q", "--batch", "-iex", "python import sys; print('go gdb python support'…
99 // not contain any error messages from GDB.
126 chanint <- 99
127 chanint <- 11
128 chanstr <- "spongepants"
[all …]
/aosp_15_r20/packages/modules/DnsResolver/
Dgetaddrinfo.cpp58 #include <android-base/logging.h>
59 #include <android-base/parseint.h>
99 #define WILD_AF(ex) ((ex).e_wild & 0x01) argument
100 #define WILD_SOCKTYPE(ex) ((ex).e_wild & 0x02) argument
101 #define WILD_PROTOCOL(ex) ((ex).e_wild & 0x04) argument
163 "Non-recoverable failure in name resolution", /* EAI_FAIL */
170 "System error returned in errno", /* EAI_SYSTEM */
174 "Unknown error", /* EAI_MAX */
181 /* external reference: pai, error, and label free */ \
184 error = EAI_MEMORY; \
[all …]
/aosp_15_r20/frameworks/base/telephony/java/android/telephony/satellite/
H A DSatelliteManager.java8 * http://www.apache.org/licenses/LICENSE-2.0
146 * Exception from the satellite service containing the {@link SatelliteResult} error code.
155 * Create a SatelliteException with a given error code.
165 * Get the error code returned from the satellite service.
317 * A generic error which should be used only when other specific errors cannot be used.
325 * Error received from the satellite server.
333 * Error received from the vendor service. This generic error code should be used
334 * only when the error cannot be mapped to other specific service error codes.
342 * Error received from satellite modem. This generic error code should be used only when
343 * the error cannot be mapped to other specific modem error codes.
[all …]
/aosp_15_r20/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
H A DIRadioSimImpl.java8 * http://www.apache.org/licenses/LICENSE-2.0
73 // Event indicates the pre-configured SIM IO through logical channel has changed
101 mTag = TAG + "-" + instanceId; in IRadioSimImpl()
223 } catch (RemoteException ex) { in areUiccApplicationsEnabled()
224 Log.e(mTag, "Failed to areUiccApplicationsEnabled from AIDL. Exception" + ex); in areUiccApplicationsEnabled()
238 } catch (RemoteException ex) { in changeIccPin2ForApp()
239 Log.e(mTag, "Failed to changeIccPin2ForApp from AIDL. Exception" + ex); in changeIccPin2ForApp()
253 } catch (RemoteException ex) { in changeIccPinForApp()
254 Log.e(mTag, "Failed to changeIccPinForApp from AIDL. Exception" + ex); in changeIccPinForApp()
266 } catch (RemoteException ex) { in enableUiccApplications()
[all …]

12345678910>>...48