Home
last modified time | relevance | path

Searched refs:mError (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/NeuralNetworks/runtime/
DEvent.h82 if (mFinished) return mError; in wait()
85 mError = ErrorStatus::GENERAL_FAILURE; in wait()
91 mError = result.error().code; in wait()
92 CHECK_NE(mError, ErrorStatus::NONE); in wait()
97 mError = kFinishCallback(mError); in wait()
100 return mError; in wait()
123 mutable ErrorStatus mError GUARDED_BY(mMutex) = ErrorStatus::NONE;
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTestsTest.java45 private final Exception mError = new UnsupportedOperationException("D'OH!"); field in OutcomeReceiverForTestsTest
94 receiver.onError(mError); in testOnResult_afterOnError()
101 assertGetFailureMethods(receiver, when, mError); in testOnResult_afterOnError()
107 receiver.onError(mError); in testAssertFailure_nullArg()
116 runAsync(TIMEOUT_MS, () -> receiver.onError(mError)); in testOnError()
118 assertFailure(receiver, mError); in testOnError()
125 runAsync(TIMEOUT_MS, () -> receiver.onError(mError)); in testOnError_wrongExceptionClass()
136 MSG_WRONG_ERROR_RECEIVED, NoSuchElementException.class, mError)); in testOnError_wrongExceptionClass()
142 receiver.onError(mError); in testOnError_calledTwice()
150 assertGetFailureMethods(receiver, when, mError, anotherError); in testOnError_calledTwice()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccRangingError.java42 @ProtocolError private final int mError; field in CccRangingError
50 mError = error; in CccRangingError()
79 bundle.putInt(KEY_ERROR_CODE, mError); in toBundle()
85 return mError; in getError()
90 @ProtocolError private RequiredParam<Integer> mError = new RequiredParam<>(); field in CccRangingError.Builder
93 mError.set(error); in setError()
98 return new CccRangingError(mError.get()); in build()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroRangingError.java43 @ProtocolError private final int mError; field in AliroRangingError
51 mError = error; in AliroRangingError()
80 bundle.putInt(KEY_ERROR_CODE, mError); in toBundle()
86 return mError; in getError()
91 @ProtocolError private RequiredParam<Integer> mError = new RequiredParam<>(); field in AliroRangingError.Builder
94 mError.set(error); in setError()
99 return new AliroRangingError(mError.get()); in build()
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/
DRkpProxyException.java73 private final int mError; field in RkpProxyException
81 mError = error; in RkpProxyException()
92 mError = error; in RkpProxyException()
100 return mError; in getError()
114 switch (mError) { in errorString()
124 return "<Unknown error code " + mError + ">"; in errorString()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppResponseMessage.java44 private int mError = SppConstants.INVALID_SPP_CONSTANT; field in SppResponseMessage
84 mError = SppConstants.mapErrorStringToInt( in SppResponseMessage()
119 return mError; in getError()
128 return Objects.hash(mMessageType, mVersion, mSessionID, mStatus, mError, mAttributes); in hashCode()
138 && mError == that.mError in equals()
151 if (mError != SppConstants.INVALID_SPP_CONSTANT) { in toString()
152 sb.append(", error ").append(mError); in toString()
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/
DBlockingOutcomeReceiver.java29 private E mError; field in BlockingOutcomeReceiver
39 mError = error; in onError()
53 if (mError != null) { in awaitSuccess()
54 throw mError; in awaitSuccess()
61 return mError; in getError()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java38 private final @StringRes int mError; field in AppStorageSizesController
57 mError = error; in AppStorageSizesController()
66 int errorRes = mLastResultFailed ? mError : mComputing; in updateUi()
142 private @StringRes int mError; field in AppStorageSizesController.Builder
170 mError = sequence; in setErrorString()
181 mError); in build()
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/
DResultReceiver.java30 private boolean mError = false; field in ResultReceiver
42 mError = true; in onError()
68 return mError; in isError()
84 return "Error: " + mError; in getErrorMessage()
/packages/modules/Connectivity/framework/src/android/net/
DInvalidPacketException.java31 private final int mError; field in InvalidPacketException
59 this.mError = error; in InvalidPacketException()
64 return mError; in getError()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/inference/
DIsolatedModelServiceImplTest.java94 assertFalse(callback.mError); in runModelInference_singleExample_success()
124 assertFalse(callback.mError); in runModelInference_setBatchSizeNotMatch_success()
153 assertFalse(callback.mError); in runModelInferenceBatch_setBatchSize_success()
181 assertFalse(callback.mError); in runModelInferenceBatch_notSetBatchSize_success()
210 assertTrue(callback.mError); in runModelInference_invalidInputFormat()
266 assertTrue(callback.mError); in runModelInference_missingModelOutput()
304 public boolean mError = false; field in IsolatedModelServiceImplTest.TestServiceCallback
316 mError = true; in onError()
/packages/services/Mtp/src/com/android/mtp/
DDocumentLoader.java253 IOException mError; field in DocumentLoader.LoaderTask
283 mError = error; in loadObjectHandles()
301 throw mError; in createCursor()
322 mError = error; in loadObjectInfoList()
387 mError = error; in loadObjectInfoList()
396 mError = error; in loadObjectInfoList()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java115 private String mError; field in IccLockSettings
236 mError = savedInstanceState.getString(DIALOG_ERROR); in restoreDialogStates()
407 out.putString(DIALOG_ERROR, mError); in onSaveInstanceState()
467 if (mError != null) { in setDialogValues()
468 message = mError + "\n" + message; in setDialogValues()
469 mError = null; in setDialogValues()
484 mError = mRes.getString(R.string.sim_invalid_pin_hint); in onPinEntered()
495 mError = null; in onPinEntered()
507 mError = mRes.getString(R.string.sim_pins_dont_match); in onPinEntered()
512 mError = null; in onPinEntered()
[all …]
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DModelManagerTest.java107 assertTrue(callback.mError); in runInference_error()
137 assertTrue(callback.mError); in runInference_resultMissingInferenceOutput()
141 public boolean mError = false; field in ModelManagerTest.MyTestCallback
153 mError = true; in onError()
/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
DDisplayHashingServiceImplTest.java140 private int mError; field in DisplayHashingServiceImplTest.SyncDisplayHashResultCallback
160 return mError; in getError()
171 mError = errorCode; in onDisplayHashError()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationManagingServiceTest.java593 public boolean mError = false; field in OnDevicePersonalizationManagingServiceTest.ExecuteCallback
614 mError = true; in onError()
629 public boolean mError = false; field in OnDevicePersonalizationManagingServiceTest.RequestSurfacePackageCallback
647 mError = true; in onError()
660 public boolean mError = false; field in OnDevicePersonalizationManagingServiceTest.RegisterMeasurementEventCallback
676 mError = true; in onError()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DExoPlayerSampleExtractor.java89 private IOException mError; field in ExoPlayerSampleExtractor
147 /* eventListener= */ error -> mError = error)); in ExoPlayerSampleExtractor()
322 mError = e; in handleMessage()
485 if (mError != null) { in maybeThrowError()
486 IOException e = mError; in maybeThrowError()
487 mError = null; in maybeThrowError()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DRecordingSampleBuffer.java84 private volatile boolean mError; field in RecordingSampleBuffer
98 mError = true;
249 if ((result != C.RESULT_BUFFER_READ && mEos) || mError) { in readSample()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSNetworkScanCtlrTest.java48 private int mError; field in ONSNetworkScanCtlrTest
118 mError = NetworkScan.SUCCESS; in testStartFastNetworkScanFail()
126 assertEquals(NetworkScan.ERROR_INVALID_SCAN, mError); in testStartFastNetworkScanFail()
323 mError = error; in initONSNetworkScanCtrl()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DExoPlayerSampleExtractor.java95 private IOException mError; field in ExoPlayerSampleExtractor
278 mError = e; in handleMessage()
428 if (mError != null) { in maybeThrowError()
429 IOException e = mError; in maybeThrowError()
430 mError = null; in maybeThrowError()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DRecordingSampleBuffer.java86 private volatile boolean mError; field in RecordingSampleBuffer
100 mError = true;
249 if ((result != SampleSource.SAMPLE_READ && mEos) || mError) { in readSample()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h897 : mAtomId(atomId), mError(error), mCount(count) { in AtomLossInfo()
900 int mError; member
1002 mError(error), in RestrictedMetricQueryStats()
1013 string mError; member
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java321 assertEquals("Error communicating with perfetto", callback.mError); in testRequestProfiling_Allowed_PerfettoPermissions_Fails()
1164 assertNotNull(callback.mError); in confirmResultCallback()
1166 assertNull(callback.mError); in confirmResultCallback()
1178 public String mError; field in ProfilingServiceTests.ProfilingResultCallback
1189 mError = error; in sendResult()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/
DFederatedComputeManagingServiceDelegateTest.java368 public boolean mError = false; field in FederatedComputeManagingServiceDelegateTest.FederatedComputeCallback
379 mError = true; in onFailure()
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRegistrationProxyTests.java99 Exception mError; field in RegistrationProxyTests.ErrorReceiver
103 return mError; in waitForError()
112 mError = error; in onError()

12