Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
H A 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()
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()
799 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testPhoneCallMicrophoneFilteredWhenMicDisabled()
822 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled()
832 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A 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()
/aosp14/frameworks/base/telephony/java/com/android/ims/
H A DImsException.java53 public int getCode() { in getCode() method in ImsException
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
H A 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()
H A DAppOpItem.java44 public int getCode() { in getCode() method in AppOpItem
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DDisconnectCause.java202 public int getCode() { in getCode() method in DisconnectCause
334 return Objects.equals(mDisconnectCode, d.getCode()) in equals()
H A DCallControl.java378 final int code = disconnectCause.getCode(); in validateDisconnectCause()
385 + "DisconnectCause.REJECTED]", disconnectCause.getCode())); in validateDisconnectCause()
H A DCallEndpointException.java101 public @CallEndpointErrorCode int getCode() { in getCode() method in CallEndpointException
H A DCallException.java133 public @CallErrorCode int getCode() { in getCode() method in CallException
H A DQueryLocationException.java114 public @QueryLocationErrorCode int getCode() { in getCode() method in QueryLocationException
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DImsException.java117 public @ImsErrorCode int getCode() { in getCode() method in ImsException
H A DImsReasonInfo.java1387 public @ImsCode int getCode() { in getCode() method in ImsReasonInfo
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java72 public int getCode() { in getCode() method in MtpPropertyList
/aosp14/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp131 GET_METHOD_ID(getCode, mpl_class, "()I"); in initializeJavaIDs()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DKeyboardLayoutManager.java1399 int[] scripts = UScript.getCode(locale); in getScriptCodes()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt42205 method public int getCode();
42225 method public int getCode();
42630 method public int getCode();
42814 method public int getCode();
46495 method public int getCode();
46554 method public int getCode();
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt14075 HSPLandroid/telecom/DisconnectCause;->getCode()I
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt14139 HSPLandroid/telecom/DisconnectCause;->getCode()I
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt32295 Landroid/mtp/MtpPropertyList;->getCode()I