Home
last modified time | relevance | path

Searched refs:getReason (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsRuntimeExceptionTest.java34 assertEquals(12345, e.getReason()); in testCameraRuntimeException1()
46 assertEquals(12345, e.getReason()); in testCameraRuntimeException2()
59 assertEquals(12345, e.getReason()); in testCameraRuntimeException3()
72 assertEquals(12345, e.getReason()); in testCameraRuntimeException4()
DCameraUtilsBinderDecoratorTest.java121 assertEquals(CAMERA_DISCONNECTED, e.getReason()); in testStereotypes()
128 assertEquals(CAMERA_DISABLED, e.getReason()); in testStereotypes()
135 assertEquals(CAMERA_IN_USE, e.getReason()); in testStereotypes()
142 assertEquals(CAMERA_DISCONNECTED, e.getReason()); in testStereotypes()
157 assertEquals(CAMERA_DISCONNECTED, e.getReason()); in testStereotypes()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java270 if (e.getReason() == CameraAccessException.CAMERA_DEPRECATED_HAL) { in openCameraDeviceUserAsync()
272 } else if (e.getReason() == CameraAccessException.CAMERA_IN_USE || in openCameraDeviceUserAsync()
273 e.getReason() == CameraAccessException.MAX_CAMERAS_IN_USE || in openCameraDeviceUserAsync()
274 e.getReason() == CameraAccessException.CAMERA_DISABLED || in openCameraDeviceUserAsync()
275 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED || in openCameraDeviceUserAsync()
276 e.getReason() == CameraAccessException.CAMERA_ERROR) { in openCameraDeviceUserAsync()
282 if (e.getReason() == CameraAccessException.CAMERA_DISABLED || in openCameraDeviceUserAsync()
283 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED) { in openCameraDeviceUserAsync()
474 if (e.getReason() != CameraAccessException.CAMERA_DISCONNECTED) { in getOrCreateDeviceIdListLocked()
535 if (e.getReason() != CameraAccessException.CAMERA_DEPRECATED_HAL) { in supportsCameraApiLocked()
[all …]
DCaptureFailure.java113 public int getReason() { in getReason() method in CaptureFailure
DCameraAccessException.java93 public final int getReason() { in getReason() method in CameraAccessException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java826 " due to " + apnContext.getReason() + " apnContext=" + apnContext); in trySetupData()
834 mPhone.notifyDataConnection(apnContext.getReason(), apnContext.getApnType()); in trySetupData()
863 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
880 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
887 mPhone.notifyDataConnectionFailed(apnContext.getReason(), apnContext.getApnType()); in trySetupData()
889 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
901 mPhone.notifyDataConnection(reason != null ? reason : apnContext.getReason(), in notifyOffApnsOfAvailability()
987 log("cleanUpConnection: E tearDown=" + tearDown + " reason=" + apnContext.getReason() + in cleanUpConnection()
1030 apnContext.getDcAc().tearDownAll(apnContext.getReason(), msg); in cleanUpConnection()
1033 .tearDown(apnContext, apnContext.getReason(), msg); in cleanUpConnection()
[all …]
DApnContext.java218 public synchronized String getReason() { in getReason() method in ApnContext
DDataConnection.java1729 mNetworkInfo.getReason(), null); in enter()
1744 mNetworkInfo.getReason(), mNetworkInfo.getExtraInfo()); in exit()
1973 DisconnectParams dp = new DisconnectParams(apnContext, apnContext.getReason(), msg); in unwanted()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java162 public String getReason() { in getReason() method in DisconnectCause
222 && Objects.equals(mDisconnectReason, d.getReason()) in equals()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraRuntimeException.java14 public final int getReason() { in getReason() method in CameraRuntimeException
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java222 public String getReason() { in getReason() method in NetworkConnectivityListener
/frameworks/base/core/java/android/net/
DNetworkInfo.java406 public String getReason() { in getReason() method in NetworkInfo
DMobileDataStateTracker.java485 String lastReason = mNetworkInfo.getReason(); in setDetailedState()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java273 switch (failure.getReason()) { in setRemoteFailure()
290 Log.wtf(TAG, "Unknown failure in opening camera device: " + failure.getReason()); in setRemoteFailure()
394 if (e.getReason() == CAMERA_IN_USE) { in configureOutputsChecked()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java437 Log.e(TAG, "Focusing failed with reason " + failure.getReason()); in handleMessage()
617 failure.getReason()); in handleMessage()
971 Log.e(TAG, "Capture attempt failed with reason " + failure.getReason());
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java328 info.setDetailedState(vpnInfo.getDetailedState(), vpnInfo.getReason(), null); in augmentNetworkInfo()
/frameworks/base/core/java/android/app/
DDownloadManager.java1304 return getReason(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); in getLong()
1335 private long getReason(int status) { in getReason() method in DownloadManager.CursorTranslator
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1479 if (info.getReason() != null) { in makeGeneralIntent()
1480 intent.putExtra(ConnectivityManager.EXTRA_REASON, info.getReason()); in makeGeneralIntent()
4428 if (info.getReason() != null) { in sendLegacyNetworkBroadcast()
4429 intent.putExtra(ConnectivityManager.EXTRA_REASON, info.getReason()); in sendLegacyNetworkBroadcast()
/frameworks/base/api/
Dsystem-current.txt12865 method public final int getReason();
13202 method public int getReason();
18404 method public java.lang.String getReason();
30128 method public java.lang.String getReason();
45468 method public java.lang.String getReason();
45915 method public java.lang.String getReason();
57046 method public abstract java.lang.String getReason(int, java.util.Locale);
58274 method public java.lang.String getReason(int, java.util.Locale);
59549 method protected java.lang.String getReason(int);
Dcurrent.txt12559 method public final int getReason();
12896 method public int getReason();
17145 method public java.lang.String getReason();
42939 method public java.lang.String getReason();
43386 method public java.lang.String getReason();
54517 method public abstract java.lang.String getReason(int, java.util.Locale);
55745 method public java.lang.String getReason(int, java.util.Locale);
57020 method protected java.lang.String getReason(int);