Home
last modified time | relevance | path

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

123456

/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java69 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
71 mVideoUnavailableReasonMap.put(inputId, reason); in onVideoUnavailable()
148 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune() local
149 return reason != null in testTune()
150 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTune()
151 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTune()
183 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
184 return reason != null in testTuneStress()
185 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTuneStress()
186 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTuneStress()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyNotificationListenerService.java87 private void send(String reason, PendingIntent pendingIntent) { in send() argument
90 Log.v(TAG, "Not sending null pending intent for " + reason); in send()
98 + ") for reason '" + mReason + "' when requested another for '" + reason in send()
101 Log.i(TAG, "Sending pending intent for " + reason + ":" + pendingIntent); in send()
105 mReason = reason; in send()
111 private void send(String reason, Bundle extras) { in send() argument
116 send(reason + " with key '" + key + "'", (PendingIntent) value); in send()
/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/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java85 private void fail(Throwable reason) { in fail() argument
86 Log.e(LOG_TAG, "Test failed", reason); in fail()
87 fail(reason.getMessage()); in fail()
90 private void fail(CharSequence reason) { in fail() argument
91 Toast.makeText(this, reason, Toast.LENGTH_LONG).show(); in fail()
92 Log.e(LOG_TAG, reason.toString()); in fail()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApplicationVisibilityTest.java65 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
96 @AppModeFull(reason = "instant applications cannot see any other application")
123 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
151 @AppModeFull(reason = "instant applications cannot see any other application")
175 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
206 @AppModeFull(reason = "instant applications cannot see any other application")
233 @AppModeFull(reason = "instant applications cannot be granted INTERACT_ACROSS_USERS")
261 @AppModeFull(reason = "instant applications cannot see any other application")
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DActionListenerTest.java37 public void onFailure(int reason) { in onFailure() argument
38 Log.d(TAG, "onFailure() reason="+reason); in onFailure()
39 Argument arg = new Argument(reason); in onFailure()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DBaseTestActivity.java114 public void onTestFailed(String reason) { in onTestFailed() argument
118 if (reason != null) { in onTestFailed()
119 mAwareInfo.append(reason); in onTestFailed()
/cts/tests/tests/media/src/android/media/cts/
DVideoEditorTest.java24 @AppModeFull(reason = "TODO: evaluate and port to instant")
DToneGeneratorTest.java24 @AppModeFull(reason = "TODO: evaluate and port to instant")
DSoundPoolAacTest.java22 @AppModeFull(reason = "TODO: evaluate and port to instant")
DSoundPoolOggTest.java22 @AppModeFull(reason = "TODO: evaluate and port to instant")
DSoundPoolMidiTest.java22 @AppModeFull(reason = "TODO: evaluate and port to instant")
DMediaPlayerSurfaceTest.java29 @AppModeFull(reason = "TODO: evaluate and port to instant")
DNativeImageReaderTest.java27 @AppModeFull(reason = "TODO: evaluate and port to instant")
DResourceManagerTest.java27 @AppModeFull(reason = "TODO: evaluate and port to instant")
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java37 @AppModeFull(reason = "Instant apps cannot get the SEND_SMS permission")
195 String reason = getErrorReason(resultCode); in handleResultCode() local
196 Log.e(LOG_TAG, String.format("message %1$s failed: %2$s", action, reason)); in handleResultCode()
DContactsProviderTest.java29 @AppModeFull(reason = "Instant apps cannot get the READ_CONTACTS/WRITE_CONTACTS permissions")
/cts/tests/signature/src/android/signature/cts/
DApiComplianceChecker.java66 String reason; in checkClass() local
67 if ((reason = checkClassModifiersCompliance(classDescription, runtimeClass)) != null) { in checkClass()
71 classDescription.toSignatureString(), reason)); in checkClass()
480 String reason; in checkMethod() local
481 if ((reason = areMethodsModifiedCompatible( in checkMethod()
486 methodDescription.toSignatureString(), reason)); in checkMethod()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DResponderTestActivity.java160 public void onTestFailed(final String reason) { in onTestFailed() argument
164 mTextView.setText(reason); in onTestFailed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java179 NotificationStats stats, int reason) { in onNotificationRemoved() argument
180 Log.d(TAG, "removed: " + sbn.getTag() + " for reason " + reason); in onNotificationRemoved()
185 removed.put(JSON_REASON, reason); in onNotificationRemoved()
/cts/tests/tests/permission/src/android/permission/cts/
DPackageManagerRequiringPermissionsTest.java82 @AppModeFull(reason = "clearPackagePreferredActivities always returns null for instant apps "
DNoWakeLockPermissionTest.java49 @AppModeFull(reason = "Instant apps cannot access the WifiManager")
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java204 private void finish(String reason, boolean success) { in finish() argument
206 mFinishReason = reason; in finish()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java67 public void onRttInitiationFailure(Call call, int reason) {} in onRttInitiationFailure() argument
188 public void onRttInitiationFailure(Call call, int reason) {
189 super.onRttInitiationFailure(call, reason);
191 getCallbacks().onRttInitiationFailure(call, reason);
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java200 int reason = result[1]; in testDownloadManager() local
207 assertEquals(400, reason); in testDownloadManager()
245 int reason = c.getInt(c.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON)); in downloadUsingDownloadManager() local
246 return new int[] {status, reason}; in downloadUsingDownloadManager()

123456