Home
last modified time | relevance | path

Searched refs:errMsg (Results 1 – 14 of 14) 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.java177 public void startAndWait(String errMsg) throws Exception { in startAndWait() argument
178 startAndWait(errMsg, false); in startAndWait()
181 public void startAndWait(String errMsg, boolean timedWaiting) throws Exception { in startAndWait() argument
191 assertTimedWaiting(errMsg); in startAndWait()
193 assertWaiting(errMsg); in startAndWait()
197 public void assertWaiting(String errMsg) { in assertWaiting() argument
198 assertEquals(errMsg, Thread.State.WAITING, getState()); in assertWaiting()
201 public void assertTimedWaiting(String errMsg) { in assertTimedWaiting() argument
202 assertEquals(errMsg, Thread.State.TIMED_WAITING, getState()); in assertTimedWaiting()
205 public void assertTerminated(String errMsg) throws Exception { in assertTerminated() argument
[all …]
DActivityManagerServiceTest.java758 final String errMsg = "Unexpected state for " + record; in verifyWaitingForNetworkStateUpdate() local
760 thread.startAndWait(errMsg, true); in verifyWaitingForNetworkStateUpdate()
761 thread.assertTimedWaiting(errMsg); in verifyWaitingForNetworkStateUpdate()
765 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
770 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/
DKernelUidCpuFreqTimeReaderTest.java100 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesNotAvailable() local
102 assertFalse(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()
108 assertFalse(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable()
131 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesAvailable() local
133 assertTrue(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()
139 assertTrue(errMsg, mKernelUidCpuFreqTimeReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()
DBstatsCpuTimesValidationTest.java575 private void assertCpuTimesEqual(long[] actual, long[] expected, long delta, String errMsg) { in assertCpuTimesEqual() argument
578 fail(errMsg + ", actual=" + actual + ", expected=" + expected + ", delta=" + delta); in assertCpuTimesEqual()
972 final String errMsg = condition.getErrIfNotTrue(); in assertDelayedCondition() local
973 if (errMsg != null) { in assertDelayedCondition()
974 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/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java435 String errMsg = "Array " + Arrays.toString(serialNumbersOfUsers) + " should contain "; in testGetSerialNumbersOfUsers() local
436 assertTrue(errMsg + user1.serialNumber, in testGetSerialNumbersOfUsers()
438 assertTrue(errMsg + user2.serialNumber, in testGetSerialNumbersOfUsers()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java1040 public String getErrorString(int errMsg, int vendorCode) { in getErrorString() argument
1041 switch (errMsg) { in getErrorString()
1077 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp820 char errMsg[100]; in parseChunk() local
821 sprintf(errMsg, "%s atom has size %" PRId64, chunk, chunk_data_size); in parseChunk()
822 ALOGE("%s (b/28615448)", errMsg); in parseChunk()
823 android_errorWriteWithInfoLog(0x534e4554, "28615448", -1, errMsg, strlen(errMsg)); in parseChunk()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java101 void failStr(String errMsg) { in failStr() argument
102 Log.w(TAG, "errMsg=" + errMsg); in failStr()
103 fail(errMsg); in failStr()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...