Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningShellCommandTest.java86 int getCode() { in getCode() method in RemoteProvisioningShellCommandTest.CommandResult
120 assertThat(res.getCode()).isEqualTo(0); in list_zeroInstances()
130 assertThat(res.getCode()).isEqualTo(0); in list_oneInstances()
142 assertThat(res.getCode()).isEqualTo(0); in list_twoInstances()
174 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion1_withChallenge()
205 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion2_withChallenge()
222 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion3_withoutChallenge()
241 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion3_withChallenge()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java193 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_oneActive()
226 assertThat(item0.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_multiplePackages()
231 assertThat(item1.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_multiplePackages()
273 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_PHONE_CALL_MICROPHONE); in startListening_fetchesCurrentActive_multipleEntries()
278 assertThat(second.getCode()).isEqualTo(AppOpsManager.OP_CAMERA); in startListening_fetchesCurrentActive_multipleEntries()
313 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_RECORD_AUDIO); in startListening_fetchesCurrentActive_multipleAttributes()
704 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testOnlyRecordAudioPhoneCallMicrophonePaused()
755 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(0).getCode()); in testAudioFilteredWhenMicDisabled()
765 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testAudioFilteredWhenMicDisabled()
774 int micIdx = list.get(0).getCode() == AppOpsManager.OP_CAMERA ? 1 : 0; in testAudioFilteredWhenMicDisabled()
[all …]
/frameworks/base/telephony/java/com/android/ims/
DImsException.java53 public int getCode() { in getCode() method in ImsException
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java234 if (appOpsItems.get(i).getCode() == OP_MONITOR_HIGH_POWER_LOCATION) { in areActiveHighPowerLocationRequests()
261 if (appOpsItems.get(i).getCode() == OP_FINE_LOCATION in areActiveLocationRequests()
262 || appOpsItems.get(i).getCode() == OP_COARSE_LOCATION) { in areActiveLocationRequests()
298 final String permission = AppOpsManager.opToPermission(item.getCode()); in isSystemApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpItem.java44 public int getCode() { in getCode() method in AppOpItem
DAppOpsControllerImpl.java260 if (item.getCode() == code && item.getUid() == uid in getAppOpItemLocked()
497 if (isOpMicrophone(item.getCode())) { in updateSensorDisabledStatus()
499 } else if (isOpCamera(item.getCode())) { in updateSensorDisabledStatus()
506 item.getCode(), in updateSensorDisabledStatus()
582 removeNoted(item.getCode(), item.getUid(), item.getPackageName()); in scheduleRemoval()
/frameworks/native/libs/binder/tests/
DbinderRecordedTransactionTest.cpp49 EXPECT_EQ(retrievedTransaction->getCode(), 1); in TEST()
123 EXPECT_EQ(retrievedTransaction->getCode(), 1); in TEST()
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java117 public @ImsErrorCode int getCode() { in getCode() method in ImsException
DImsReasonInfo.java1387 public @ImsCode int getCode() { in getCode() method in ImsReasonInfo
/frameworks/native/libs/binder/include/binder/
DRecordedTransaction.h45 uint32_t getCode() const;
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java72 public int getCode() { in getCode() method in MtpPropertyList
/frameworks/base/telecomm/java/android/telecom/
DDisconnectCause.java202 public int getCode() { in getCode() method in DisconnectCause
334 return Objects.equals(mDisconnectCode, d.getCode()) in equals()
DCallControl.java378 final int code = disconnectCause.getCode(); in validateDisconnectCause()
385 + "DisconnectCause.REJECTED]", disconnectCause.getCode())); in validateDisconnectCause()
DCallEndpointException.java101 public @CallEndpointErrorCode int getCode() { in getCode() method in CallEndpointException
DCallException.java133 public @CallErrorCode int getCode() { in getCode() method in CallException
DQueryLocationException.java114 public @QueryLocationErrorCode int getCode() { in getCode() method in QueryLocationException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java3177 int code = reasonInfo.getCode(); in maybeRemapReasonCode()
3184 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + " ; message = " in maybeRemapReasonCode()
3193 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + " ; message = " in maybeRemapReasonCode()
3203 log("maybeRemapReasonCode : fromCode(wildcard) = " + reasonInfo.getCode() + in maybeRemapReasonCode()
3216 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + in maybeRemapReasonCode()
3525 if (DBG) log("onCallStartFailed reasonCode=" + reasonInfo.getCode());
3555 if ((reasonInfo.getCode() == ImsReasonInfo.CODE_SIP_ALTERNATE_EMERGENCY_CALL
3556 || reasonInfo.getCode() == ImsReasonInfo.CODE_LOCAL_NOT_REGISTERED
3557 || reasonInfo.getCode() == ImsReasonInfo.CODE_LOCAL_CALL_CS_RETRY_REQUIRED)
3560 if (reasonInfo.getCode() == ImsReasonInfo.CODE_SIP_ALTERNATE_EMERGENCY_CALL
[all …]
DImsPhone.java1504 ex = getCommandException(((ImsException)e).getCode(), e.getMessage()); in getCommandException()
1788 && (((ImsException)e).getCode() in isCsRetryException()
2522 if (imsReasonInfo.getCode() == ImsReasonInfo.CODE_REGISTRATION_ERROR) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsCallProfileTest.java178 assertEquals(DisconnectCause.BUSY, parceledCause.getCode()); in testExtrasCleanup()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java73 public int getCode() { in getCode() method in BlockingCameraManager.BlockingOpenException
/frameworks/opt/net/ims/src/java/com/android/ims/
DFeatureConnector.java181 if (e.getCode()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp371 uint32_t RecordedTransaction::getCode() const { in getCode() function in RecordedTransaction
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java346 termination.reasonCode = reasonInfo.getCode(); in onImsUnregistered()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp131 GET_METHOD_ID(getCode, mpl_class, "()I"); in initializeJavaIDs()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardLayoutManager.java1399 int[] scripts = UScript.getCode(locale); in getScriptCodes()

12