/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | BundledTvInputServiceTest.java | 69 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/ |
D | MyNotificationListenerService.java | 87 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/ |
D | CameraErrorCollector.java | 96 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/ |
D | CompanionDeviceTestActivity.java | 85 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/ |
D | ApplicationVisibilityTest.java | 65 @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/ |
D | ActionListenerTest.java | 37 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/ |
D | BaseTestActivity.java | 114 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/ |
D | VideoEditorTest.java | 24 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | ToneGeneratorTest.java | 24 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | SoundPoolAacTest.java | 22 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | SoundPoolOggTest.java | 22 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | SoundPoolMidiTest.java | 22 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | MediaPlayerSurfaceTest.java | 29 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | NativeImageReaderTest.java | 27 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
D | ResourceManagerTest.java | 27 @AppModeFull(reason = "TODO: evaluate and port to instant")
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 37 @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()
|
D | ContactsProviderTest.java | 29 @AppModeFull(reason = "Instant apps cannot get the READ_CONTACTS/WRITE_CONTACTS permissions")
|
/cts/tests/signature/src/android/signature/cts/ |
D | ApiComplianceChecker.java | 66 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/ |
D | ResponderTestActivity.java | 160 public void onTestFailed(final String reason) { in onTestFailed() argument 164 mTextView.setText(reason); in onTestFailed()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 179 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/ |
D | PackageManagerRequiringPermissionsTest.java | 82 @AppModeFull(reason = "clearPackagePreferredActivities always returns null for instant apps "
|
D | NoWakeLockPermissionTest.java | 49 @AppModeFull(reason = "Instant apps cannot access the WifiManager")
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 204 private void finish(String reason, boolean success) { in finish() argument 206 mFinishReason = reason; in finish()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockInCallService.java | 67 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/ |
D | NetworkSecurityPolicyTestBase.java | 200 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()
|