/cts/tests/app/src/android/app/cts/ |
D | ConditionTest.java | 21 import android.service.notification.Condition; 32 private final int mState = Condition.STATE_FALSE; 41 Condition condition = new Condition(mConditionId, mSummary, mState); in testDescribeContents() 46 Condition condition = new Condition(mConditionId, mSummary, mState); in testConstructor() 53 assertEquals(Condition.FLAG_RELEVANT_ALWAYS, condition.flags); in testConstructor() 57 Condition condition = new Condition(mConditionId, mSummary, mState); in testWriteToParcel() 61 Condition condition1 = new Condition(parcel); in testWriteToParcel() 68 assertEquals(Condition.FLAG_RELEVANT_ALWAYS, condition1.flags); in testWriteToParcel() 72 Condition condition = new Condition(mConditionId, mSummary, mState); in testCopy() 73 Condition condition1 = condition.copy(); in testCopy() [all …]
|
D | NotificationManagerTest.java | 87 import android.service.notification.Condition; 1744 Condition condition = in testSetAutomaticZenRuleState() 1745 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState() 1768 Condition condition = in testSetAutomaticZenRuleState_turnOff() 1769 new Condition(ruleToCreate.getConditionId(), "on", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_turnOff() 1775 condition = new Condition(ruleToCreate.getConditionId(), "off", Condition.STATE_FALSE); in testSetAutomaticZenRuleState_turnOff() 1799 Condition condition = in testSetAutomaticZenRuleState_deletedRule() 1800 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_deletedRule() 1833 Condition condition = in testSetAutomaticZenRuleState_multipleRules() 1834 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_multipleRules() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyConditionProviderService.java | 19 import android.service.notification.Condition; 47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
|
D | PollableConditionProviderService.java | 19 import android.service.notification.Condition; 48 notifyCondition(new Condition(conditionId, "", Condition.STATE_TRUE)); in onSubscribe()
|
D | ConditionProviderServiceTest.java | 40 import android.service.notification.Condition; 269 Condition.FLAG_RELEVANT_NOW); in testMethodsExistAndDoNotThrow()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 649 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyPhoneStateListenerCallbacksForCall() 809 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumCalls() 825 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumConferenceCalls() 841 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCSConnections() 860 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumConnections() 877 new Condition() { in assertMuteState() 896 new Condition() { in assertMuteState() 915 new Condition() { in assertAudioRoute() 934 new Condition() { in assertNotAudioRoute() 953 new Condition() { in assertAudioRoute() [all …]
|
D | VideoCallTest.java | 613 new Condition() { in assertVideoState() 640 new Condition() { in assertVideoCallbackRegistered() 666 new Condition() { in assertCameraCapabilitiesReceived() 693 new Condition() { in assertCallDataUsageReceived() 720 new Condition() { in assertVideoQualityReceived() 747 new Condition() { in assertCallSessionEventReceived() 774 new Condition() { in assertPeerWidthChanged() 799 new Condition() { in assertDeviceOrientationChanged() 825 new Condition() { in assertPreviewSurfaceChanged() 851 new Condition() { in assertDisplaySurfaceChanged() [all …]
|
D | BaseRemoteTelecomTest.java | 187 new Condition() { in assertRemoteConnectionState() 205 new Condition() { in assertRemoteConferenceState() 223 new Condition() { in assertCtsRemoteConnectionServiceUnbound()
|
D | CallScreeningServiceTest.java | 149 new Condition() { 166 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout, 183 protected interface Condition {
|
D | ConferenceTest.java | 473 new Condition() { in assertCallCapability() 491 new Condition() { in assertCallConnectTime() 509 new Condition() { in assertCallExtras() 528 new Condition() { in assertCallStatusHints() 547 new Condition() { in assertCallChildrenContains() 566 new Condition() { in assertVideoState()
|
D | ConnectionServiceTest.java | 127 new Condition() { in testVoipAudioModePropagation() 144 new Condition() { in testVoipAudioModePropagation()
|
D | ThirdPartyInCallServiceTest.java | 164 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertBindStatus() 184 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCallCount()
|
D | RttOperationsTest.java | 263 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyRttPipeIntegrity() 286 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyRttPipeIntegrity()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | CallLogTest.java | 37 new Condition() { in testGetLastOutgoingCall() 62 new Condition() { in testGetLastOutgoingCall() 78 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout, in waitUntilConditionIsTrueOrTimeout() 88 protected interface Condition { interface in CallLogTest
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTestCase.java | 27 import java.util.concurrent.locks.Condition; 52 Condition startDone = startLock.newCondition(); in initializeMessageLooper() 115 Condition previewDone = previewLock.newCondition(); in startPreview() 144 Condition focusDone = focusLock.newCondition(); in autoFocus() 170 Condition snapshotDone = snapshotLock.newCondition(); in takePicture()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyboardShortcutsActivity.java | 25 import java.util.concurrent.locks.Condition; 35 private final Condition mSignalOnProvideKeyboardShortcuts = mLock.newCondition(); 36 private final Condition mSignalOnActivityDeFocused = mLock.newCondition();
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 145 new Condition() { in assertPhoneAccountRegistered() 162 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout, in waitUntilConditionIsTrueOrTimeout() 179 protected interface Condition { interface in CallBlockingTest
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | HearingAidProfileTest.java | 37 import java.util.concurrent.locks.Condition; 67 private Condition mConditionAdapterIsEnabled; 70 private Condition mConditionAdapterIsDisabled; 74 private Condition mConditionProfileIsConnected;
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 120 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception { 137 private interface Condition {
|
D | JobThrottlingTest.java | 405 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception { in waitUntilTrue() 413 private interface Condition { interface in JobThrottlingTest
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarBluetoothTest.java | 40 import java.util.concurrent.locks.Condition; 67 private Condition mConditionAdapterStateReached; 181 private Condition mConditionAllProfilesConnected;
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | Utils.java | 27 import java.util.concurrent.locks.Condition; 179 public static boolean await(Condition condition) { in await()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 32 import java.util.concurrent.locks.Condition; 145 private final Condition mDone = mLock.newCondition(); 180 private final Condition mDone = mLock.newCondition();
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 34 import java.util.concurrent.locks.Condition; 43 private final Condition mCondition = mLock.newCondition();
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 39 import java.util.concurrent.locks.Condition; 203 public Condition condition = lock.newCondition();
|