Home
last modified time | relevance | path

Searched defs:reason (Results 1 – 25 of 81) sorted by relevance

1234

/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()
DDevicePolicySafetyCheckerIntegrationTester.java120 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testIsSafeOperation() local
131 private void assertOperationSafety(DevicePolicyManager dpm, int reason, boolean isSafe) { in assertOperationSafety()
142 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testUnsafeStateException() local
169 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testOnOperationSafetyStateChanged() local
195 int reason, boolean isSafe) { in assertNextEvent()
251 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in safeOperationTest() local
321 private void setOperationUnsafe(DevicePolicyManager dpm, int operation, int reason) { in setOperationUnsafe()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUnsafeStateExceptionTest.java57 private void assertExceptionWithValidReason(int reason) { in assertExceptionWithValidReason()
64 private void assertExceptionWithInvalidReason(int reason) { in assertExceptionWithInvalidReason()
/cts/tests/uwb/src/android/uwb/cts/
DUwbManagerTest.java145 public void onOpenFailed(@Reason int reason, @NonNull PersistableBundle params) { in onOpenFailed()
152 public void onStartFailed(@Reason int reason, @NonNull PersistableBundle params) { } in onStartFailed()
156 public void onReconfigureFailed(@Reason int reason, @NonNull PersistableBundle params) { } in onReconfigureFailed()
158 public void onStopped(@Reason int reason, @NonNull PersistableBundle parameters) { } in onStopped()
160 public void onStopFailed(@Reason int reason, @NonNull PersistableBundle params) { } in onStopFailed()
162 public void onClosed(@Reason int reason, @NonNull PersistableBundle parameters) { } in onClosed()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminOperationSafetyStateChangedEvent.java119 Context context, int reason, boolean isSafe) { in logger()
129 Context context, int reason, boolean isSafe) { in DeviceAdminOperationSafetyStateChangedEventLogger()
158 public DeviceAdminOperationSafetyStateChangedEventLogger setReason(int reason) { in setReason()
184 public int reason() { in reason() method in DeviceAdminOperationSafetyStateChangedEvent
/cts/tests/app/shared/src/android/app/stubs/shared/
DICloseSystemDialogsTestsService.aidl23 void closeSystemDialogsViaWindowManager(String reason); in closeSystemDialogsViaWindowManager()
24 void closeSystemDialogsViaActivityManager(String reason); in closeSystemDialogsViaActivityManager()
DFakeView.java36 public void onCloseSystemDialogs(String reason) { in onCloseSystemDialogs()
DCloseSystemDialogsTestService.java142 public void closeSystemDialogsViaWindowManager(String reason) throws RemoteException { in closeSystemDialogsViaWindowManager()
147 public void closeSystemDialogsViaActivityManager(String reason) throws RemoteException { in closeSystemDialogsViaActivityManager()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestSipDelegate.java91 public void notifyMessageReceiveError(@NonNull String viaTransactionId, int reason) { in notifyMessageReceiveError()
112 public void setSendMessageDenyReason(int reason) { in setSendMessageDenyReason()
125 public void receiveMessageAndVerifyReceiveErrorCalled(SipMessage m, int reason) in receiveMessageAndVerifyReceiveErrorCalled()
147 public void notifyOnDestroyed(int reason) { in notifyOnDestroyed()
DTestSipDelegateConnection.java85 public void disconnect(SipDelegateManager manager, int reason) throws Exception { in disconnect()
119 public void onMessageSendFailure(@NonNull String viaTransactionId, int reason) { in onMessageSendFailure()
149 public void onDestroyed(int reason) { in onDestroyed()
195 public void setReceivedMessageErrorResponseReason(int reason) { in setReceivedMessageErrorResponseReason()
262 public void verifyAllDenied(int reason) { in verifyAllDenied()
280 public void verifyDestroyed(int reason) { in verifyDestroyed()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java71 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable()
150 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune() local
185 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
/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()
720 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
742 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
764 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
788 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
874 String reason = "Key " + key.getName() + " value " + value in expectKeyValueIsIn() local
891 String reason = "Key " + key.getName() + " value " + value in expectKeyValueIsIn() local
909 String reason = "Key " + key.getName() + " value " + value in expectKeyValueIsIn() local
927 String reason = "Key " + key.getName() + " value " + Arrays.toString(value) in expectKeyValueContains() local
945 String reason = "Key " + key.getName() + " value " + Arrays.toString(value) in expectKeyValueContains() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java98 private void fail(Throwable reason) { in fail()
103 private void fail(CharSequence reason) { in fail()
DCompanionDeviceServiceTestActivity.java106 private void fail(Throwable reason) { in fail()
111 private void fail(CharSequence reason) { in fail()
/cts/libs/input/src/com/android/cts/input/
DUinputResultData.java25 public String reason; field in UinputResultData
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/annotations/
DPostsubmit.java41 String reason(); in reason() method
DRequireLowRamDevice.java34 String reason(); in reason() method
DRequireNotLowRamDevice.java34 String reason(); in reason() method
DRequireSdkVersion.java40 String reason() default ""; in reason() method
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DTestNotificationListener.java86 int reason) { in onNotificationRemoved()
89 mRemoved.put(sbn.getKey(), reason); in onNotificationRemoved() local
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/
DTestHostApduService.java30 public void onDeactivated(int reason) { in onDeactivated()
/cts/tests/tests/nfc/src/android/nfc/cts/
DCtsMyHostApduService.java13 public void onDeactivated(int reason) { in onDeactivated()
/cts/tests/app/app/src/android/app/stubs/
DTestNotificationListener.java111 int reason) { in onNotificationRemoved()
114 mRemoved.put(sbn.getKey(), reason); in onNotificationRemoved() local
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DBaseProfileOwnerTest.java36 public void onOperationSafetyStateChanged(Context context, int reason, boolean isSafe) { in onOperationSafetyStateChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DBaseTestActivity.java114 public void onTestFailed(String reason) { in onTestFailed()

1234