Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java139 @AppModeFull(reason = "'full' portion of the hostside test")
144 @AppModeInstant(reason = "'instant' portion of the hostside test")
154 @AppModeFull(reason = "'full' portion of the hostside test")
159 @AppModeInstant(reason = "'instant' portion of the hostside test")
169 @AppModeFull(reason = "'full' portion of the hostside test")
174 @AppModeInstant(reason = "'instant' portion of the hostside test")
189 @AppModeFull(reason = "'full' portion of the hostside test")
194 @AppModeInstant(reason = "'instant' portion of the hostside test")
212 @AppModeFull(reason = "'full' portion of the hostside test")
217 @AppModeInstant(reason = "'instant' portion of the hostside test")
[all …]
DIsolatedSplitsTests.java84 @AppModeFull(reason = "'full' portion of the hostside test")
90 @AppModeInstant(reason = "'instant' portion of the hostside test")
101 @AppModeFull(reason = "'full' portion of the hostside test")
107 @AppModeInstant(reason = "'instant' portion of the hostside test")
118 @AppModeFull(reason = "'full' portion of the hostside test")
124 @AppModeInstant(reason = "'instant' portion of the hostside test")
134 @AppModeFull(reason = "'full' portion of the hostside test")
140 @AppModeInstant(reason = "'instant' portion of the hostside test")
151 @AppModeFull(reason = "b/109878606; instant applications can't send broadcasts to manifest "
167 @AppModeFull(reason = "'full' portion of the hostside test")
[all …]
DUseProcessTest.java59 @AppModeFull(reason = "'full' portion of the hostside test")
64 @AppModeInstant(reason = "'instant' portion of the hostside test")
76 @AppModeFull(reason = "'full' portion of the hostside test")
81 @AppModeInstant(reason = "'instant' portion of the hostside test")
93 @AppModeFull(reason = "'full' portion of the hostside test")
98 @AppModeInstant(reason = "'instant' portion of the hostside test")
110 @AppModeFull(reason = "'full' portion of the hostside test")
115 @AppModeInstant(reason = "'instant' portion of the hostside test")
127 @AppModeFull(reason = "'full' portion of the hostside test")
132 @AppModeInstant(reason = "'instant' portion of the hostside test")
[all …]
DPackageResolutionHostTest.java50 @AppModeFull(reason = "'full' portion of the hostside test")
55 @AppModeInstant(reason = "'instant' portion of the hostside test")
68 @AppModeFull(reason = "'full' portion of the hostside test")
73 @AppModeInstant(reason = "'instant' portion of the hostside test")
86 @AppModeFull(reason = "'full' portion of the hostside test")
91 @AppModeInstant(reason = "'instant' portion of the hostside test")
DMajorVersionTest.java53 @AppModeFull(reason = "'full' portion of the hostside test")
58 @AppModeInstant(reason = "'instant' portion of the hostside test")
69 @AppModeFull(reason = "'full' portion of the hostside test")
74 @AppModeInstant(reason = "'instant' portion of the hostside test")
85 @AppModeFull(reason = "'full' portion of the hostside test")
90 @AppModeInstant(reason = "'instant' portion of the hostside test")
110 @AppModeFull(reason = "'full' portion of the hostside test")
115 @AppModeInstant(reason = "'instant' portion of the hostside test")
DApplicationVisibilityTest.java65 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
92 @AppModeFull(reason = "instant applications cannot see any other application")
119 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
143 @AppModeFull(reason = "instant applications cannot see any other application")
167 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
194 @AppModeFull(reason = "instant applications cannot see any other application")
221 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
245 @AppModeFull(reason = "instant applications cannot see any other application")
269 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
296 @AppModeFull(reason = "instant applications cannot see any other application")
DAppSecurityTests.java101 @AppModeFull(reason = "'full' portion of the hostside test")
106 @AppModeInstant(reason = "'instant' portion of the hostside test")
129 @AppModeFull(reason = "'full' portion of the hostside test")
134 @AppModeInstant(reason = "'instant' portion of the hostside test")
160 @AppModeFull(reason = "'full' portion of the hostside test")
165 @AppModeInstant(reason = "'instant' portion of the hostside test")
196 @AppModeFull(reason = "'full' portion of the hostside test")
201 @AppModeInstant(reason = "'instant' portion of the hostside test")
236 …@AppModeFull(reason = "Only the platform can define permissions obtainable by instant applications…
267 @AppModeFull(reason = "Only full apps can hold INSTALL_PACKAGES")
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DRevokePermissionTest.kt45 @AppModeFull(reason = "Instant apps can't revoke permissions.")
54 @AppModeFull(reason = "Instant apps can't revoke permissions.")
64 @AppModeFull(reason = "Instant apps can't revoke permissions.")
75 @AppModeFull(reason = "Instant apps can't revoke permissions.")
85 @AppModeFull(reason = "Instant apps can't revoke permissions.")
90 reason = "test reason", in testRevokePermissionWithReason()
95 @AppModeFull(reason = "Instant apps can't revoke permissions.")
100 reason = "test reason", in testRevokePermissionNotRequestedWithReason()
106 @AppModeFull(reason = "Instant apps can't revoke permissions.")
112 reason = "test reason", in testRevokeFakePermissionWithReason()
[all …]
DBackgroundPermissionsTest.java81 @AppModeFull(reason = "Instant apps cannot read properties of other packages")
124 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
141 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
156 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
172 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
189 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
206 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
223 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
241 @AppModeFull(reason = "Instant apps cannot read properties of other packages which is needed "
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DOperationSafetyChangedEvent.java32 public final int reason; field in OperationSafetyChangedEvent
35 public OperationSafetyChangedEvent(int reason, boolean isSafe) { in OperationSafetyChangedEvent() argument
36 this.reason = reason; in OperationSafetyChangedEvent()
43 + DevicePolicyManager.operationSafetyReasonToString(reason) + ": " in toString()
DDevicePolicySafetyCheckerIntegrationTester.java120 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testIsSafeOperation() local
122 + operationSafetyReasonToString(reason)); in testIsSafeOperation()
124 assertOperationSafety(dpm, reason, /* isSafe= */ true); in testIsSafeOperation()
126 setOperationUnsafe(dpm, OPERATION_LOCK_NOW, reason); in testIsSafeOperation()
128 assertOperationSafety(dpm, reason, /* isSafe= */ false); in testIsSafeOperation()
131 private void assertOperationSafety(DevicePolicyManager dpm, int reason, boolean isSafe) { in assertOperationSafety() argument
132 assertWithMessage("%s safety", operationSafetyReasonToString(reason)) in assertOperationSafety()
133 .that(dpm.isSafeOperation(reason)).isEqualTo(isSafe); in assertOperationSafety()
142 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testUnsafeStateException() local
146 + ", reason=" + operationSafetyReasonToString(reason) in testUnsafeStateException()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DNoAdminLeakingTest.java66 @Postsubmit(reason = "new test")
74 @Postsubmit(reason = "new test")
82 @Postsubmit(reason = "new test")
90 @Postsubmit(reason = "new test")
98 @Postsubmit(reason = "new test")
106 @Postsubmit(reason = "new test")
114 @Postsubmit(reason = "new test")
122 @Postsubmit(reason = "new test")
130 @Postsubmit(reason = "new test")
138 @Postsubmit(reason = "new test")
[all …]
DSupportMessageTest.java83 @Postsubmit(reason = "new test")
93 @Postsubmit(reason = "new test")
103 @Postsubmit(reason = "new test")
113 @Postsubmit(reason = "new test")
123 @Postsubmit(reason = "new test")
133 @Postsubmit(reason = "new test")
143 @Postsubmit(reason = "new test")
153 @Postsubmit(reason = "new test")
163 @Postsubmit(reason = "new test")
172 @Postsubmit(reason = "new test")
[all …]
DResetPasswordWithTokenTest.java94 @Postsubmit(reason = "new test")
109 @Postsubmit(reason = "new test")
122 @Postsubmit(reason = "new test")
131 @Postsubmit(reason = "new test")
143 @Postsubmit(reason = "new test")
159 @Postsubmit(reason = "new test")
187 @Postsubmit(reason = "new test")
216 @Postsubmit(reason = "new test")
234 @Postsubmit(reason = "new test")
264 @Postsubmit(reason = "new test")
[all …]
DUnsafeStateExceptionTest.java57 private void assertExceptionWithValidReason(int reason) { in assertExceptionWithValidReason() argument
58 UnsafeStateException exception = new UnsafeStateException(VALID_OPERATION, reason); in assertExceptionWithValidReason()
61 assertWithMessage("reasons").that(exception.getReasons()).containsExactly(reason); in assertExceptionWithValidReason()
64 private void assertExceptionWithInvalidReason(int reason) { in assertExceptionWithInvalidReason() argument
66 () -> new UnsafeStateException(VALID_OPERATION, reason)); in assertExceptionWithInvalidReason()
DScreenCaptureDisabledTest.java90 @Postsubmit(reason = "new test")
99 @Postsubmit(reason = "new test")
108 @Postsubmit(reason = "new test")
117 @Postsubmit(reason = "new test")
126 @Postsubmit(reason = "new test")
135 @Postsubmit(reason = "new test")
144 @Postsubmit(reason = "new test")
154 @Postsubmit(reason = "new test")
163 @Postsubmit(reason = "new test")
177 @Postsubmit(reason = "new test")
DKeyManagementTest.java138 @Postsubmit(reason = "new test")
153 @Postsubmit(reason = "new test")
162 @Postsubmit(reason = "new test")
171 @Postsubmit(reason = "new test")
181 @Postsubmit(reason = "new test")
199 @Postsubmit(reason = "new test")
217 @Postsubmit(reason = "new test")
232 @Postsubmit(reason = "new test")
240 @Postsubmit(reason = "new test")
256 @Postsubmit(reason = "new test")
[all …]
DAccountManagementTest.java95 @Postsubmit(reason = "new test")
102 @Postsubmit(reason = "new test")
112 @Postsubmit(reason = "new test")
121 @Postsubmit(reason = "new test")
136 @Postsubmit(reason = "new test")
152 @Postsubmit(reason = "new test")
163 @Postsubmit(reason = "new test")
186 @Postsubmit(reason = "new test")
209 @Postsubmit(reason = "new test")
229 @Postsubmit(reason = "new test with sleep")
[all …]
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DClassloaderSplitsTest.java60 @AppModeFull(reason = "'full' portion of the hostside test")
65 @AppModeInstant(reason = "'instant' portion of the hostside test")
75 @AppModeFull(reason = "'full' portion of the hostside test")
80 @AppModeInstant(reason = "'instant' portion of the hostside test")
91 @AppModeFull(reason = "'full' portion of the hostside test")
96 @AppModeInstant(reason = "'instant' portion of the hostside test")
109 …@AppModeFull(reason = "b/109878606; instant applications can't send broadcasts to manifest receive…
121 @AppModeFull(reason = "'full' portion of the hostside test")
126 @AppModeInstant(reason = "'instant' portion of the hostside test")
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java71 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
73 mVideoUnavailableReasonMap.put(inputId, reason); in onVideoUnavailable()
150 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune() local
151 return reason != null in testTune()
152 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTune()
153 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTune()
185 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
186 return reason != null in testTuneStress()
187 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTuneStress()
188 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTuneStress()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java96 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() argument
97 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat()
720 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
721 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
742 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
743 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
764 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
766 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
788 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
790 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminOperationSafetyStateChangedEvent.java119 Context context, int reason, boolean isSafe) { in logger() argument
121 deviceAdminReceiver, context, reason, isSafe); in logger()
129 Context context, int reason, boolean isSafe) { in DeviceAdminOperationSafetyStateChangedEventLogger() argument
131 mEvent.mReason = reason; in DeviceAdminOperationSafetyStateChangedEventLogger()
158 public DeviceAdminOperationSafetyStateChangedEventLogger setReason(int reason) { in setReason() argument
159 mEvent.mReason = reason; in setReason()
184 public int reason() { in reason() method in DeviceAdminOperationSafetyStateChangedEvent
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestSipDelegate.java91 public void notifyMessageReceiveError(@NonNull String viaTransactionId, int reason) { in notifyMessageReceiveError() argument
93 mReceivedMessageAcks.offer(new Pair<>(viaTransactionId, reason)); in notifyMessageReceiveError()
112 public void setSendMessageDenyReason(int reason) { in setSendMessageDenyReason() argument
113 mSendMessageDenyReason = reason; in setSendMessageDenyReason()
125 public void receiveMessageAndVerifyReceiveErrorCalled(SipMessage m, int reason) in receiveMessageAndVerifyReceiveErrorCalled() argument
132 assertEquals(reason, transactionAndIdPair.second.intValue()); in receiveMessageAndVerifyReceiveErrorCalled()
147 public void notifyOnDestroyed(int reason) { in notifyOnDestroyed() argument
148 mStateCallback.onDestroyed(reason); in notifyOnDestroyed()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java146 reason = "Will be migrated to new test infra")
154 reason = "Will be migrated to new test infra")
448 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't launch activities")
455 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't launch activities")
462 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't have credentials")
469 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't have credentials")
476 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't have credentials")
483 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't launch activities")
490 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't launch activities")
497 @IgnoreOnHeadlessSystemUserMode(reason = "Headless system user doesn't launch activities")
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java98 private void fail(Throwable reason) { in fail() argument
99 Log.e(LOG_TAG, "Test failed", reason); in fail()
100 fail(reason.getMessage()); in fail()
103 private void fail(CharSequence reason) { in fail() argument
104 Toast.makeText(this, reason, Toast.LENGTH_LONG).show(); in fail()
105 Log.e(LOG_TAG, reason.toString()); in fail()

12345678910>>...19