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.java330 if (e.getReason() == CameraAccessException.CAMERA_DEPRECATED_HAL) { in openCameraDeviceUserAsync()
332 } else if (e.getReason() == CameraAccessException.CAMERA_IN_USE || in openCameraDeviceUserAsync()
333 e.getReason() == CameraAccessException.MAX_CAMERAS_IN_USE || in openCameraDeviceUserAsync()
334 e.getReason() == CameraAccessException.CAMERA_DISABLED || in openCameraDeviceUserAsync()
335 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED || in openCameraDeviceUserAsync()
336 e.getReason() == CameraAccessException.CAMERA_ERROR) { in openCameraDeviceUserAsync()
342 if (e.getReason() == CameraAccessException.CAMERA_DISABLED || in openCameraDeviceUserAsync()
343 e.getReason() == CameraAccessException.CAMERA_DISCONNECTED || in openCameraDeviceUserAsync()
344 e.getReason() == CameraAccessException.CAMERA_IN_USE) { in openCameraDeviceUserAsync()
648 if (e.getReason() != CameraAccessException.CAMERA_DISCONNECTED) { in getOrCreateDeviceIdListLocked()
[all …]
DCaptureFailure.java128 public int getReason() { in getReason() method in CaptureFailure
DCameraAccessException.java107 public final int getReason() { in getReason() method in CameraAccessException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java835 " due to " + apnContext.getReason() + " apnContext=" + apnContext); in trySetupData()
838 apnContext.requestLog("trySetupData due to " + apnContext.getReason()); in trySetupData()
844 mPhone.notifyDataConnection(apnContext.getReason(), apnContext.getApnType()); in trySetupData()
875 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
894 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
901 mPhone.notifyDataConnectionFailed(apnContext.getReason(), apnContext.getApnType()); in trySetupData()
903 notifyOffApnsOfAvailability(apnContext.getReason()); in trySetupData()
924 mPhone.notifyDataConnection(reason != null ? reason : apnContext.getReason(), in notifyOffApnsOfAvailability()
1010 apnContext.getReason(); in cleanUpConnection()
1051 apnContext.getDcAc().tearDownAll(apnContext.getReason(), msg); in cleanUpConnection()
[all …]
DApnContext.java231 public synchronized String getReason() { in getReason() method in ApnContext
DDataConnection.java1787 mNetworkInfo.getReason(), null); in enter()
1801 String reason = mNetworkInfo.getReason(); in exit()
2073 DisconnectParams dp = new DisconnectParams(apnContext, apnContext.getReason(), msg); in unwanted()
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java164 public String getReason() { in getReason() method in DisconnectCause
224 && 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/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java103 switch (e.getReason()) { in CameraView()
111 return mContext.getString(R.string.camera_unknown, e.getReason()); in CameraView()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java222 public String getReason() { in getReason() method in NetworkConnectivityListener
/frameworks/base/core/java/android/net/
DNetworkInfo.java387 public String getReason() { in getReason() method in NetworkInfo
/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.java332 info.setDetailedState(vpnInfo.getDetailedState(), vpnInfo.getReason(), null); in augmentNetworkInfo()
/frameworks/base/core/java/android/app/
DDownloadManager.java1283 return getReason(super.getInt(getColumnIndex(Downloads.Impl.COLUMN_STATUS))); in getLong()
1314 private long getReason(int status) { in getReason() method in DownloadManager.CursorTranslator
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java288 switch (failure.getReason()) { in setRemoteFailure()
305 Log.wtf(TAG, "Unknown failure in opening camera device: " + failure.getReason()); in setRemoteFailure()
446 if (e.getReason() == CAMERA_IN_USE) { in configureStreamsChecked()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1474 if (info.getReason() != null) { in makeGeneralIntent()
1475 intent.putExtra(ConnectivityManager.EXTRA_REASON, info.getReason()); in makeGeneralIntent()
4610 info.setDetailedState(state, info.getReason(), info.getExtraInfo()); in sendLegacyNetworkBroadcast()
4618 if (info.getReason() != null) { in sendLegacyNetworkBroadcast()
4619 intent.putExtra(ConnectivityManager.EXTRA_REASON, info.getReason()); in sendLegacyNetworkBroadcast()
/frameworks/base/api/
Dcurrent.txt13178 method public final int getReason();
13565 method public int getReason();
18374 method public java.lang.String getReason();
30212 method public java.lang.String getReason();
45702 method public java.lang.String getReason();
46149 method public java.lang.String getReason();
Dsystem-current.txt13520 method public final int getReason();
13907 method public int getReason();
19886 method public java.lang.String getReason();
32395 method public java.lang.String getReason();
48308 method public java.lang.String getReason();
48755 method public java.lang.String getReason();