/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundLaunchProcessControllerTests.java | 100 assertThat(balVerdict.getCode()).isEqualTo(BAL_BLOCK); in testNothingAllows() 112 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testInstrumenting() 129 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testAllowedByTokenNoCallback() 144 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_PERMISSION); in testAllowedByToken() 158 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_VISIBLE_WINDOW); in testBoundByForeground() 171 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_FOREGROUND); in testForegroundTask() 187 assertThat(balVerdict.getCode()).isEqualTo(BAL_ALLOW_GRACE_PERIOD); in testGracePeriod()
|
D | BackgroundActivityStartControllerExemptionTests.java | 238 assertWithMessage(balState.toString()).that(callerVerdict.getCode()).isEqualTo( in testNoExemption() 240 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testNoExemption() 272 assertWithMessage(balState.toString()).that(callerVerdict.getCode()).isEqualTo( in testCaller_appHasVisibleWindow() 304 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testRealCaller_appHasVisibleWindow() 344 assertWithMessage(balState.toString()).that(callerVerdict.getCode()).isEqualTo( in testCaller_appAllowedByBLPC() 380 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testRealCaller_appAllowedByBLPC() 429 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testRealCaller_appAllowedByBLPCforOtherProcess() 465 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testRealCaller_isCompanionApp() 497 assertWithMessage(balState.toString()).that(callerVerdict.getCode()).isEqualTo( in testCaller_balPermission() 533 assertWithMessage(balState.toString()).that(realCallerVerdict.getCode()).isEqualTo( in testRealCaller_balPermission() [all …]
|
D | BackgroundActivityStartControllerTests.java | 252 assertThat(verdict.getCode()).isEqualTo(BackgroundActivityStartController.BAL_BLOCK); in testRegularActivityStart_noExemption_isBlocked() 325 new BalAllowedLog("package.app3/someClass", callerVerdict.getCode())); in testRegularActivityStart_allowedByCaller_isAllowed() 359 new BalAllowedLog("package.app3/someClass", realCallerVerdict.getCode())); in testRegularActivityStart_allowedByRealCaller_isAllowed() 394 new BalAllowedLog("package.app3/someClass", callerVerdict.getCode())); in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() 397 new BalAllowedLog("", callerVerdict.getCode())); in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict() 473 new BalAllowedLog("package.app3/someClass", callerVerdict.getCode())); in testPendingIntent_allowedByCallerAndOptIn_isAllowed()
|
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningShellCommandTest.java | 101 int getCode() { in getCode() method in RemoteProvisioningShellCommandTest.CommandResult 142 assertThat(res.getCode()).isEqualTo(0); in list_zeroInstances() 155 assertThat(res.getCode()).isEqualTo(0); in list_oneInstances() 169 assertThat(res.getCode()).isEqualTo(0); in list_twoInstances() 203 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion1_withChallenge() 236 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion2_withChallenge() 255 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion3_withoutChallenge() 276 assertThat(res.getCode()).isEqualTo(0); in csr_hwVersion3_withChallenge() 319 assertThat(res.getCode()).isEqualTo(0); in certify_sameOrderAsReceived() 353 assertThat(res.getCode()).isEqualTo(0); in certify_noBlankLineBeforeTrailer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 215 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_oneActive() 249 assertThat(item0.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_multiplePackages() 254 assertThat(item1.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_multiplePackages() 297 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_PHONE_CALL_MICROPHONE); in startListening_fetchesCurrentActive_multipleEntries() 302 assertThat(second.getCode()).isEqualTo(AppOpsManager.OP_CAMERA); in startListening_fetchesCurrentActive_multipleEntries() 338 assertThat(first.getCode()).isEqualTo(AppOpsManager.OP_RECORD_AUDIO); in startListening_fetchesCurrentActive_multipleAttributes() 777 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testOnlyRecordAudioPhoneCallMicrophonePaused() 921 assertEquals(AppOpsManager.OP_CAMERA, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled() 931 assertEquals(AppOpsManager.OP_RECORD_AUDIO, list.get(0).getCode()); in testCameraFilteredWhenCameraDisabled() 939 int cameraIdx = list.get(0).getCode() == AppOpsManager.OP_CAMERA ? 0 : 1; in testCameraFilteredWhenCameraDisabled() [all …]
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsException.java | 53 public int getCode() { in getCode() method in ImsException
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 235 if (appOpsItems.get(i).getCode() == OP_MONITOR_HIGH_POWER_LOCATION) { in areActiveHighPowerLocationRequests() 262 if (appOpsItems.get(i).getCode() == OP_FINE_LOCATION in areActiveLocationRequests() 263 || appOpsItems.get(i).getCode() == OP_COARSE_LOCATION) { in areActiveLocationRequests() 299 final String permission = AppOpsManager.opToPermission(item.getCode()); in isSystemApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpItem.java | 44 public int getCode() { in getCode() method in AppOpItem
|
D | AppOpsControllerImpl.java | 308 if (item.getCode() == code && item.getUid() == uid in getAppOpItemLocked() 545 if (isOpMicrophone(item.getCode())) { in updateSensorDisabledStatus() 547 } else if (isOpCamera(item.getCode())) { in updateSensorDisabledStatus() 554 item.getCode(), in updateSensorDisabledStatus() 635 removeNoted(item.getCode(), item.getUid(), item.getPackageName()); in scheduleRemoval()
|
/frameworks/native/libs/binder/tests/ |
D | binderRecordedTransactionTest.cpp | 49 EXPECT_EQ(retrievedTransaction->getCode(), 1); in TEST() 123 EXPECT_EQ(retrievedTransaction->getCode(), 1); in TEST()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsException.java | 117 public @ImsErrorCode int getCode() { in getCode() method in ImsException
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyList.java | 72 public int getCode() { in getCode() method in MtpPropertyList
|
/frameworks/native/libs/binder/include/binder/ |
D | RecordedTransaction.h | 47 LIBBINDER_EXPORTED uint32_t getCode() const;
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallException.java | 133 public @CallErrorCode int getCode() { in getCode() method in CallException
|
D | CallEndpointException.java | 101 public @CallEndpointErrorCode int getCode() { in getCode() method in CallEndpointException
|
D | CallControl.java | 420 final int code = disconnectCause.getCode(); in validateDisconnectCause() 427 + "DisconnectCause.REJECTED]", disconnectCause.getCode())); in validateDisconnectCause()
|
D | QueryLocationException.java | 114 public @QueryLocationErrorCode int getCode() { in getCode() method in QueryLocationException
|
D | DisconnectCause.java | 236 public @DisconnectCauseCode int getCode() { in getCode() method in DisconnectCause 493 return Objects.equals(mDisconnectCode, d.getCode()) in equals()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsCallProfileTest.java | 178 assertEquals(DisconnectCause.BUSY, parceledCause.getCode()); in testExtrasCleanup()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCameraManager.java | 73 public int getCode() { in getCode() method in BlockingCameraManager.BlockingOpenException
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 3205 int code = reasonInfo.getCode(); in maybeRemapReasonCode() 3212 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + " ; message = " in maybeRemapReasonCode() 3221 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + " ; message = " in maybeRemapReasonCode() 3231 log("maybeRemapReasonCode : fromCode(wildcard) = " + reasonInfo.getCode() + in maybeRemapReasonCode() 3244 log("maybeRemapReasonCode : fromCode = " + reasonInfo.getCode() + in maybeRemapReasonCode() 3553 if (DBG) log("onCallStartFailed reasonCode=" + reasonInfo.getCode()); 3588 int reason = reasonInfo.getCode(); 3605 if (reasonInfo.getCode() == ImsReasonInfo.CODE_LOCAL_CALL_CS_RETRY_REQUIRED 3634 } else if (reasonInfo.getCode() == ImsReasonInfo.CODE_LOCAL_CALL_CS_RETRY_REQUIRED 3652 if (DBG) log("onCallTerminated reasonCode=" + reasonInfo.getCode()); [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | FeatureConnector.java | 181 if (e.getCode()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | random_parcel_seeds.cpp | 267 uint32_t code = transaction.getCode(); in generateSeedsFromRecording()
|
/frameworks/native/libs/binder/ |
D | RecordedTransaction.cpp | 396 uint32_t RecordedTransaction::getCode() const { in getCode() function in RecordedTransaction
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ImsStats.java | 380 termination.reasonCode = reasonInfo.getCode(); in onImsUnregistered()
|