Home
last modified time | relevance | path

Searched refs:Condition (Results 1 – 25 of 40) 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;
1784 Condition condition = in testSetAutomaticZenRuleState()
1785 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState()
1808 Condition condition = in testSetAutomaticZenRuleState_turnOff()
1809 new Condition(ruleToCreate.getConditionId(), "on", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_turnOff()
1815 condition = new Condition(ruleToCreate.getConditionId(), "off", Condition.STATE_FALSE); in testSetAutomaticZenRuleState_turnOff()
1839 Condition condition = in testSetAutomaticZenRuleState_deletedRule()
1840 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_deletedRule()
1873 Condition condition = in testSetAutomaticZenRuleState_multipleRules()
1874 new Condition(ruleToCreate.getConditionId(), "summary", Condition.STATE_TRUE); in testSetAutomaticZenRuleState_multipleRules()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java825 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyPhoneStateListenerCallbacksForCall()
865 waitUntilConditionIsTrueOrTimeout(new Condition() { in verifyPhoneStateListenerCallbacksForEmergencyCall()
1028 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumCalls()
1044 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumConferenceCalls()
1060 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCSConnections()
1079 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertNumConnections()
1096 new Condition() { in assertMuteState()
1115 new Condition() { in assertMuteState()
1134 new Condition() { in assertAudioRoute()
1153 new Condition() { in assertNotAudioRoute()
[all …]
DVideoCallTest.java614 new Condition() { in assertVideoState()
641 new Condition() { in assertVideoCallbackRegistered()
667 new Condition() { in assertCameraCapabilitiesReceived()
694 new Condition() { in assertCallDataUsageReceived()
721 new Condition() { in assertVideoQualityReceived()
748 new Condition() { in assertCallSessionEventReceived()
775 new Condition() { in assertPeerWidthChanged()
800 new Condition() { in assertDeviceOrientationChanged()
826 new Condition() { in assertPreviewSurfaceChanged()
852 new Condition() { in assertDisplaySurfaceChanged()
[all …]
DBaseRemoteTelecomTest.java187 new Condition() { in assertRemoteConnectionState()
205 new Condition() { in assertRemoteConferenceState()
223 new Condition() { in assertCtsRemoteConnectionServiceUnbound()
DCallScreeningServiceTest.java235 new Condition() {
252 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout,
269 protected interface Condition {
DConferenceTest.java491 new Condition() { in assertCallCapability()
509 new Condition() { in assertCallConnectTime()
527 new Condition() { in assertCallExtras()
546 new Condition() { in assertCallStatusHints()
565 new Condition() { in assertCallChildrenContains()
584 new Condition() { in assertVideoState()
DCarModeInCallServiceTest.java272 new Condition() { in assertCarModeCallCount()
299 new Condition() { in verifyCarModeBound()
326 new Condition() { in verifyCarModeUnbound()
DThirdPartyInCallServiceTest.java139 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertBindStatus()
159 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCallCount()
DConnectionServiceTest.java141 new Condition() { in testVoipAudioModePropagation()
158 new Condition() { in testVoipAudioModePropagation()
/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.java41 import android.service.notification.Condition;
291 Condition.FLAG_RELEVANT_NOW); in testMethodsExistAndDoNotThrow()
299 .scheme(Condition.SCHEME) in addRule()
/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/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/
DBTAdapterUtils.java35 import java.util.concurrent.locks.Condition;
53 private static Condition mConditionAdapterIsEnabled;
56 private static Condition mConditionAdapterIsDisabled;
/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/car/src/android/car/cts/
DCarBluetoothTest.java40 import java.util.concurrent.locks.Condition;
67 private Condition mConditionAdapterStateReached;
181 private Condition mConditionAllProfilesConnected;
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java120 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception {
137 private interface Condition {
/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/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java34 import java.util.concurrent.locks.Condition;
47 private Condition mConditionAdapterNameChanged;
/cts/tests/tests/os/src/android/os/cts/
DHwBinderTest.java39 import java.util.concurrent.locks.Condition;
203 public Condition condition = lock.newCondition();

12