Home
last modified time | relevance | path

Searched refs:errMsg (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadHardwareInterface.java127 (boolean success, String errMsg) -> { in initOffloadControl()
129 results.errMsg = errMsg; in initOffloadControl()
144 (boolean success, String errMsg) -> { in stopOffloadControl() argument
145 if (!success) mLog.e("stopOffload failed: " + errMsg); in stopOffloadControl()
184 (boolean success, String errMsg) -> { in setLocalPrefixes()
186 results.errMsg = errMsg; in setLocalPrefixes()
205 (boolean success, String errMsg) -> { in setDataLimit()
207 results.errMsg = errMsg; in setDataLimit()
232 (boolean success, String errMsg) -> { in setUpstreamParameters()
234 results.errMsg = errMsg; in setUpstreamParameters()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerInternalTest.java168 public void startAndWait(String errMsg) throws Exception { in startAndWait() argument
169 startAndWait(errMsg, false); in startAndWait()
172 public void startAndWait(String errMsg, boolean timedWaiting) throws Exception { in startAndWait() argument
182 assertTimedWaiting(errMsg); in startAndWait()
184 assertWaiting(errMsg); in startAndWait()
188 public void assertWaiting(String errMsg) { in assertWaiting() argument
189 assertEquals(errMsg, Thread.State.WAITING, getState()); in assertWaiting()
192 public void assertTimedWaiting(String errMsg) { in assertTimedWaiting() argument
193 assertEquals(errMsg, Thread.State.TIMED_WAITING, getState()); in assertTimedWaiting()
196 public void assertTerminated(String errMsg) throws Exception { in assertTerminated() argument
[all …]
DActivityManagerServiceTest.java869 final String errMsg = "Unexpected state for " + record; in verifyWaitingForNetworkStateUpdate() local
871 thread.startAndWait(errMsg, true); in verifyWaitingForNetworkStateUpdate()
872 thread.assertTimedWaiting(errMsg); in verifyWaitingForNetworkStateUpdate()
876 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
881 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java89 String errMsg = e.toString(); in onReceive()
90 if (errMsg.length() > 100) { in onReceive()
91 errMsg = errMsg.substring(0, 99); in onReceive()
93 EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED, errMsg); in onReceive()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidFreqTimeReaderTest.java105 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesNotAvailable() local
107 assertFalse(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()
113 assertFalse(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()
133 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesAvailable() local
135 assertTrue(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()
141 assertTrue(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()
DBstatsCpuTimesValidationTest.java577 private void assertCpuTimesEqual(long[] actual, long[] expected, long delta, String errMsg) { in assertCpuTimesEqual() argument
580 fail(errMsg + ", actual=" + actual + ", expected=" + expected + ", delta=" + delta); in assertCpuTimesEqual()
974 final String errMsg = condition.getErrIfNotTrue(); in assertDelayedCondition() local
975 if (errMsg != null) { in assertDelayedCondition()
976 fail(errMsgPrefix + ": " + errMsg); in assertDelayedCondition()
/frameworks/rs/cpp/
DRenderScript.cpp190 void RS::throwError(RSError error, const char *errMsg) { in throwError() argument
193 ALOGE("RS CPP error: %s", errMsg); in throwError()
195 ALOGE("RS CPP error (masked by previous error): %s", errMsg); in throwError()
DrsCppStructs.h421 void throwError(RSError error, const char *errMsg);
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp119 [&rval, &msg](bool success, const hidl_string& errMsg) { in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() argument
121 msg = errMsg; in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServicesSmsFilter.java107 String errMsg = "Cannot reuse the same CarrierServiceSmsFilter object for filtering."; in filter() local
108 loge(errMsg); in filter()
109 throw new RuntimeException(errMsg); in filter()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java470 String errMsg = "Array " + Arrays.toString(serialNumbersOfUsers) + " should contain "; in testGetSerialNumbersOfUsers() local
471 assertTrue(errMsg + user1.serialNumber, in testGetSerialNumbersOfUsers()
473 assertTrue(errMsg + user2.serialNumber, in testGetSerialNumbersOfUsers()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java929 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument
930 switch (errMsg) { in getErrorString()
966 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java606 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument
607 switch (errMsg) { in getErrorString()
639 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
/frameworks/base/cmds/incidentd/src/
DSection.cpp345 char errMsg[128]; in Execute() local
346 snprintf(errMsg, 128, "[%s] failed with error '%s'", in Execute()
/frameworks/base/media/java/android/media/
DMediaDrm.java734 final String errMsg = String.format("executor %s listener %s", executor, listener);
735 throw new IllegalArgumentException(errMsg);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java102 void failStr(String errMsg) { in failStr() argument
103 Log.w(TAG, "errMsg=" + errMsg); in failStr()
104 fail(errMsg); in failStr()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp875 char errMsg[100]; in parseChunk() local
876 sprintf(errMsg, "%s atom has size %" PRId64, chunk, chunk_data_size); in parseChunk()
877 ALOGE("%s (b/28615448)", errMsg); in parseChunk()
878 android_errorWriteWithInfoLog(0x534e4554, "28615448", -1, errMsg, strlen(errMsg)); in parseChunk()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java2479 final String errMsg;
2480 errMsg = "Unexpected Exception during prepareDrm";
2481 throw new RuntimeException(errMsg, e);