Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerInternalTest.java184 public void startAndWait(String errMsg) throws Exception { in startAndWait() argument
185 startAndWait(errMsg, false); in startAndWait()
188 public void startAndWait(String errMsg, boolean timedWaiting) throws Exception { in startAndWait() argument
198 assertTimedWaiting(errMsg); in startAndWait()
200 assertWaiting(errMsg); in startAndWait()
204 public void assertWaiting(String errMsg) { in assertWaiting() argument
205 assertEquals(errMsg, Thread.State.WAITING, getState()); in assertWaiting()
208 public void assertTimedWaiting(String errMsg) { in assertTimedWaiting() argument
209 assertEquals(errMsg, Thread.State.TIMED_WAITING, getState()); in assertTimedWaiting()
212 public void assertTerminated(String errMsg) throws Exception { in assertTerminated() argument
[all …]
DPendingIntentControllerTest.java183 final String errMsg = "Expected: " + cancelReasonToString(expectedReason) in assertCancelReason() local
185 assertEquals(errMsg, expectedReason, actualReason); in assertCancelReason()
DBroadcastQueueModernImplTest.java1461 final String errMsg = "Unexpected delivery state for record:" + record in testCleanupDisabledPackageReceiversLocked() local
1463 assertEquals(errMsg, BroadcastRecord.DELIVERY_SKIPPED, record.getDeliveryState(i)); in testCleanupDisabledPackageReceiversLocked()
1816 final String errMsg = "actual=" + actualIntent + ", expected=" + expectedIntent in verifyPendingRecords() local
1819 assertTrue(errMsg, actualIntent.filterEquals(expectedIntent)); in verifyPendingRecords()
1826 final String errMsg = "expected=" + expected + ", actual=" + actual; in assertBundleEquals() local
1830 fail(errMsg); in assertBundleEquals()
1833 fail(errMsg); in assertBundleEquals()
1841 fail(errMsg); in assertBundleEquals()
1843 assertEquals(errMsg, expectedValue.getClass(), actualValue.getClass()); in assertBundleEquals()
1845 assertEquals(errMsg, Array.getLength(expectedValue), Array.getLength(actualValue)); in assertBundleEquals()
[all …]
DActivityManagerServiceTest.java997 final String errMsg = "Expected: " + Arrays.toString(expectedBroadcasts) in assertStickyBroadcasts() local
999 assertEquals(errMsg, expectedBroadcasts.length, actualBroadcasts.size()); in assertStickyBroadcasts()
1003 assertTrue(errMsg, areEquals(expected, actual)); in assertStickyBroadcasts()
1319 final String errMsg = "Unexpected state for " + record; in verifyWaitingForNetworkStateUpdate() local
1321 thread.startAndWait(errMsg, true); in verifyWaitingForNetworkStateUpdate()
1322 thread.assertTimedWaiting(errMsg); in verifyWaitingForNetworkStateUpdate()
1326 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
1331 thread.assertTerminated(errMsg); in verifyWaitingForNetworkStateUpdate()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java92 String errMsg = e.toString(); in onReceive()
93 if (errMsg.length() > 100) { in onReceive()
94 errMsg = errMsg.substring(0, 99); in onReceive()
96 EventLog.writeEvent(EventLogTags.CONFIG_INSTALL_FAILED, errMsg); in onReceive()
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DDrmStatus.h32 int32_t ctx = 0, std::string errMsg = "")
34 mCtx(ctx), mErrMsg(errMsg) {} in mStatus()
/frameworks/base/services/core/java/com/android/server/recoverysystem/hal/
DBootControlHIDL.java140 throw new RemoteException("Error markBootSuccessful() " + res.errMsg); in markBootSuccessful()
148 throw new RemoteException("Error setActiveBootSlot(%d) %s".formatted(slot, res.errMsg)); in setActiveBootSlot()
157 "Error setSlotAsUnbootable(%d) %s".formatted(slot, res.errMsg)); in setSlotAsUnbootable()
/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()
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/vts/
DVtsAidlPowerPolicyTargetTest.cpp85 std::string errMsg = StringPrintf("Getting state of component(%d) fails", componentId); in TEST_P() local
86 ASSERT_TRUE(status.isOk()) << errMsg; in TEST_P()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServicesSmsFilter.java120 String errMsg = "filter: Cannot reuse the same CarrierServiceSmsFilter object for " in filter() local
122 loge(errMsg); in filter()
123 throw new RuntimeException(errMsg); in filter()
/frameworks/base/media/java/android/media/tv/ad/
DITvAdSession.aidl43 void notifyError(in String errMsg, in Bundle params); in notifyError() argument
DITvAdSessionWrapper.java263 public void notifyError(@NonNull String errMsg, @NonNull Bundle params) { in notifyError() argument
265 mCaller.obtainMessageOO(DO_NOTIFY_ERROR, errMsg, params)); in notifyError()
DITvAdManager.aidl52 void notifyError(in IBinder sessionToken, in String errMsg, in Bundle params, int userId); in notifyError() argument
DTvAdView.java587 public void notifyError(@NonNull String errMsg, @NonNull Bundle params) { in notifyError() argument
589 Log.d(TAG, "notifyError msg=" + errMsg + "; params=" + params); in notifyError()
592 mSession.notifyError(errMsg, params); in notifyError()
DTvAdService.java578 public void onError(@NonNull String errMsg, @NonNull Bundle params) { in onError() argument
772 void notifyError(String errMsg, Bundle params) { in notifyError() argument
773 onError(errMsg, params); in notifyError()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java826 final String errMsg = formatTidCheckErrMsg(callingUid, tids, invalidTid); in createHintSessionWithConfig() local
827 Slogf.w(TAG, errMsg); in createHintSessionWithConfig()
828 throw new SecurityException(errMsg); in createHintSessionWithConfig()
1166 final String errMsg = formatTidCheckErrMsg(callingUid, tids, in setThreadsInternal() local
1168 Slogf.w(TAG, errMsg); in setThreadsInternal()
1169 throw new SecurityException(errMsg); in setThreadsInternal()
/frameworks/base/services/core/java/com/android/server/media/
DMediaShellCommand.java210 void showError(String errMsg) { in showError() argument
212 mErrorWriter.println(errMsg); in showError()
/frameworks/av/media/mtp/
DMtpServer.cpp1003 char errMsg[80]; in doSendObjectInfo() local
1005 snprintf(errMsg, sizeof(errMsg), "Invalid name: %s", (const char *) name); in doSendObjectInfo()
1006 ALOGE("%s (b/130656917)", errMsg); in doSendObjectInfo()
1007 android_errorWriteWithInfoLog(SN_EVENT_LOG_ID, "130656917", -1, errMsg, in doSendObjectInfo()
1008 strlen(errMsg)); in doSendObjectInfo()
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppSession.aidl55 void notifyError(in String errMsg, in Bundle params); in notifyError() argument
DITvInteractiveAppSessionWrapper.java500 public void notifyError(@NonNull String errMsg, @NonNull Bundle params) { in notifyError() argument
502 mCaller.obtainMessageOO(DO_NOTIFY_ERROR, errMsg, params)); in notifyError()
DITvInteractiveAppManager.aidl66 void notifyError(in IBinder sessionToken, in String errMsg, in Bundle params, int userId); in notifyError() argument
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBstatsCpuTimesValidationTest.java879 final String errMsg = condition.getErrIfNotTrue(); in assertDelayedCondition() local
880 if (errMsg != null) { in assertDelayedCondition()
881 fail(errMsgPrefix + ": " + errMsg); in assertDelayedCondition()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java214 final String errMsg = checkStatsPermission(callingUid, callingPackage, true); in enforceStatsPermission() local
215 if (errMsg != null) { in enforceStatsPermission()
216 throw new SecurityException(errMsg); in enforceStatsPermission()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java898 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument
899 switch (errMsg) { in getErrorString()
941 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java1460 public static String getErrorString(Context context, int errMsg, int vendorCode) { in getErrorString() argument
1461 switch (errMsg) { in getErrorString()
1510 Slog.w(TAG, "Invalid error message: " + errMsg + ", " + vendorCode); in getErrorString()

12