/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; 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/ |
D | BaseTelecomTestWithMockServices.java | 825 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 …]
|
D | VideoCallTest.java | 614 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 …]
|
D | BaseRemoteTelecomTest.java | 187 new Condition() { in assertRemoteConnectionState() 205 new Condition() { in assertRemoteConferenceState() 223 new Condition() { in assertCtsRemoteConnectionServiceUnbound()
|
D | CallScreeningServiceTest.java | 235 new Condition() { 252 private void waitUntilConditionIsTrueOrTimeout(Condition condition, long timeout, 269 protected interface Condition {
|
D | ConferenceTest.java | 491 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()
|
D | CarModeInCallServiceTest.java | 272 new Condition() { in assertCarModeCallCount() 299 new Condition() { in verifyCarModeBound() 326 new Condition() { in verifyCarModeUnbound()
|
D | ThirdPartyInCallServiceTest.java | 139 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertBindStatus() 159 waitUntilConditionIsTrueOrTimeout(new Condition() { in assertCallCount()
|
D | ConnectionServiceTest.java | 141 new Condition() { in testVoipAudioModePropagation() 158 new Condition() { in testVoipAudioModePropagation()
|
/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 | 41 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/ |
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/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/ |
D | BTAdapterUtils.java | 35 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/ |
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/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/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 120 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception { 137 private interface Condition {
|
/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/bluetooth/src/android/bluetooth/cts/ |
D | BasicAdapterTest.java | 34 import java.util.concurrent.locks.Condition; 47 private Condition mConditionAdapterNameChanged;
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 39 import java.util.concurrent.locks.Condition; 203 public Condition condition = lock.newCondition();
|