Home
last modified time | relevance | path

Searched refs:Condition (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/app/src/android/app/cts/
DConditionTest.java21 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 …]
DNotificationManagerTest.java87 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/
DLegacyConditionProviderService.java19 import android.service.notification.Condition;
47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
DPollableConditionProviderService.java19 import android.service.notification.Condition;
48 notifyCondition(new Condition(conditionId, "", Condition.STATE_TRUE)); in onSubscribe()
DConditionProviderServiceTest.java40 import android.service.notification.Condition;
269 Condition.FLAG_RELEVANT_NOW); in testMethodsExistAndDoNotThrow()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java649 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 …]
DVideoCallTest.java613 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 …]
DBaseRemoteTelecomTest.java187 new Condition() { in assertRemoteConnectionState()
205 new Condition() { in assertRemoteConferenceState()
223 new Condition() { in assertCtsRemoteConnectionServiceUnbound()
DCallScreeningServiceTest.java149 new Condition() {
166 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout,
183 protected interface Condition {
DConferenceTest.java473 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()
DConnectionServiceTest.java127 new Condition() { in testVoipAudioModePropagation()
144 new Condition() { in testVoipAudioModePropagation()
DThirdPartyInCallServiceTest.java164 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertBindStatus()
184 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCallCount()
DRttOperationsTest.java263 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyRttPipeIntegrity()
286 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyRttPipeIntegrity()
/cts/tests/tests/provider/src/android/provider/cts/
DCallLogTest.java37 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/
DCameraTestCase.java27 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/
DKeyboardShortcutsActivity.java25 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/
DCallBlockingTest.java145 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/
DHearingAidProfileTest.java37 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/
DTestAppInterface.java120 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception {
137 private interface Condition {
DJobThrottlingTest.java405 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/
DCarBluetoothTest.java40 import java.util.concurrent.locks.Condition;
67 private Condition mConditionAdapterStateReached;
181 private Condition mConditionAllProfilesConnected;
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DUtils.java27 import java.util.concurrent.locks.Condition;
179 public static boolean await(Condition condition) { in await()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java32 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/
DDirectActionsSession.java34 import java.util.concurrent.locks.Condition;
43 private final Condition mCondition = mLock.newCondition();
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java39 import java.util.concurrent.locks.Condition;
203 public Condition condition = lock.newCondition();

12