/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerInternalTest.java | 168 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 …]
|
D | ActivityManagerServiceTest.java | 880 final String errMsg = "Unexpected state for " + record; in verifyWaitingForNetworkStateUpdate() local 882 thread.startAndWait(errMsg, true); in verifyWaitingForNetworkStateUpdate() 883 thread.assertTimedWaiting(errMsg); in verifyWaitingForNetworkStateUpdate() 887 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate() 892 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 253 (boolean success, String errMsg) -> { in initOffloadConfig() 255 results.mErrMsg = errMsg; in initOffloadConfig() 318 (boolean success, String errMsg) -> { in initOffloadControl() 320 results.mErrMsg = errMsg; in initOffloadControl() 336 (boolean success, String errMsg) -> { in stopOffloadControl() argument 337 if (!success) mLog.e("stopOffload failed: " + errMsg); in stopOffloadControl() 377 (boolean success, String errMsg) -> { in setLocalPrefixes() 379 results.mErrMsg = errMsg; in setLocalPrefixes() 399 (boolean success, String errMsg) -> { in setDataLimit() 401 results.mErrMsg = errMsg; in setDataLimit() [all …]
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 89 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/rs/cpp/ |
D | RenderScript.cpp | 190 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()
|
D | rsCppStructs.h | 421 void throwError(RSError error, const char *errMsg);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidFreqTimeReaderTest.java | 119 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesNotAvailable() local 121 assertFalse(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable() 127 assertFalse(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesNotAvailable() 147 final String errMsg = String.format("Freqs=%s, nClusters=%d, nFreqs=%s", in testReadFreqs_perClusterTimesAvailable() local 149 assertTrue(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable() 155 assertTrue(errMsg, mReader.perClusterTimesAvailable()); in testReadFreqs_perClusterTimesAvailable()
|
D | BstatsCpuTimesValidationTest.java | 577 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServicesSmsFilter.java | 105 String errMsg = "Cannot reuse the same CarrierServiceSmsFilter object for filtering."; in filter() local 106 loge(errMsg); in filter() 107 throw new RuntimeException(errMsg); in filter()
|
/frameworks/av/media/mtp/ |
D | MtpServer.cpp | 973 char errMsg[80]; in doSendObjectInfo() local 975 snprintf(errMsg, sizeof(errMsg), "Invalid name: %s", (const char *) name); in doSendObjectInfo() 976 ALOGE("%s (b/130656917)", errMsg); in doSendObjectInfo() 977 android_errorWriteWithInfoLog(SN_EVENT_LOG_ID, "130656917", -1, errMsg, in doSendObjectInfo() 978 strlen(errMsg)); in doSendObjectInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 470 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/face/ |
D | FaceManager.java | 608 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument 609 switch (errMsg) { in getErrorString() 641 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 939 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument 940 switch (errMsg) { in getErrorString() 976 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
|
/frameworks/base/cmds/incidentd/src/ |
D | Section.cpp | 345 char errMsg[128]; in Execute() local 346 snprintf(errMsg, 128, "[%s] failed with error '%s'", in Execute()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 734 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/ |
D | PackageManagerTests.java | 102 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/ |
D | MPEG4Extractor.cpp | 877 char errMsg[100]; in parseChunk() local 878 sprintf(errMsg, "%s atom has size %" PRId64, chunk, chunk_data_size); in parseChunk() 879 ALOGE("%s (b/28615448)", errMsg); in parseChunk() 880 android_errorWriteWithInfoLog(0x534e4554, "28615448", -1, errMsg, strlen(errMsg)); in parseChunk()
|