Home
last modified time | relevance | path

Searched refs:RESULT_SECURITY_EXCEPTION (Results 1 – 10 of 10) sorted by relevance

/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/
DRequestReceiver.java45 public static final int RESULT_SECURITY_EXCEPTION = Activity.RESULT_FIRST_USER + 12; field in RequestReceiver
68 setResult(RESULT_SECURITY_EXCEPTION, se.getMessage(), null); in onReceive()
78 setResult(RESULT_SECURITY_EXCEPTION, se.getMessage(), null); in onReceive()
86 setResult(RESULT_SECURITY_EXCEPTION, se.getMessage(), null); in onReceive()
95 setResult(RESULT_SECURITY_EXCEPTION, se.getMessage(), null); in onReceive()
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DQuietModeCommandReceiver.java33 private static final String RESULT_SECURITY_EXCEPTION = "security-exception"; field in QuietModeCommandReceiver
56 result = RESULT_SECURITY_EXCEPTION; in onReceive()
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DAttributionSourceActivity.kt66 public final val RESULT_SECURITY_EXCEPTION: Int = -2 constant
83 activity.setResult(AttributionSourceActivity.RESULT_SECURITY_EXCEPTION) in readAttributionSource()
DAttributionSourceTest.kt61 AttributionSourceActivity.RESULT_SECURITY_EXCEPTION, in testRemoteProcessActivityPidCheck()
/cts/tests/app/shared/src/android/app/stubs/shared/
DICloseSystemDialogsTestsService.aidl28 const int RESULT_SECURITY_EXCEPTION = 1; field
DCloseSystemDialogsTestService.java128 receiver.send(RESULT_SECURITY_EXCEPTION, null); in postNotification()
/cts/tests/app/FgsTestHelper/src/android/app/fgstesthelper/
DLocalForegroundServiceBase.java54 public static final int RESULT_SECURITY_EXCEPTION = 4; field in LocalForegroundServiceBase
153 return RESULT_SECURITY_EXCEPTION; in startForeground()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DExactAlarmsTest.java359 RequestReceiver.RESULT_SECURITY_EXCEPTION); in setAlarmClockWithoutPermissionOrWhitelist()
366 RequestReceiver.RESULT_SECURITY_EXCEPTION); in setExactAwiWithoutPermissionOrWhitelist()
373 RequestReceiver.RESULT_SECURITY_EXCEPTION); in setExactPiWithoutPermissionOrWhitelist()
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java22 import static android.app.fgstesthelper.LocalForegroundServiceBase.RESULT_SECURITY_EXCEPTION;
428 assertEquals(RESULT_SECURITY_EXCEPTION, in testPermissionEnforcementCommon()
459 assertEquals(RESULT_SECURITY_EXCEPTION, in testPermissionEnforcementCommon()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java246 ICloseSystemDialogsTestsService.RESULT_SECURITY_EXCEPTION); in testCloseSystemDialogs_inTrampolineWhenTargetSdkCurrent_isBlockedAndThrows()