Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DQueryParam.java97 private Condition mWhere = Condition.emptyCondition();
134 public QueryBuilder where(@NonNull Condition condition) { in where()
182 public static class Condition { class in QueryParam.QueryBuilder
186 private Condition() {} in Condition() method in QueryParam.QueryBuilder.Condition
188 private static Condition emptyCondition() { in emptyCondition()
189 Condition condition = new Condition(); in emptyCondition()
197 public static Condition is(String columnName, String operator, @NonNull Object value) { in is()
198 Condition condition = new Condition(); in is()
207 public Condition and(String columnName, String operator, @NonNull Object value) { in and()
216 public Condition or(String columnName, String operator, @NonNull Object value) { in or()
DInMemoryPhoneBook.java35 import com.android.car.telephony.common.QueryParam.QueryBuilder.Condition;
117 .where(Condition in InMemoryPhoneBook()
/packages/apps/Car/libs/car-telephony-common/tests/unittests/src/com/android/car/telephony/common/
DQueryParamTest.java36 import com.android.car.telephony.common.QueryParam.QueryBuilder.Condition;
97 .where(Condition in testBuildQueryParam()
127 builder.where(Condition.is(COLUMN_A, OP_EQUAL, STRING_VALUE)); in testBuildSelection()
132 .isEqualTo(Condition.toSelectionString(COLUMN_A, OP_EQUAL)); in testBuildSelection()
139 builder.where(Condition in testBuildSelection_andCondition()
145 String expectedSelection = Condition.toSelectionString(COLUMN_A, OP_EQUAL); in testBuildSelection_andCondition()
146 expectedSelection += Condition.wrapWithSpaces(AND) in testBuildSelection_andCondition()
147 + Condition.toSelectionString(COLUMN_B, OP_EQUAL); in testBuildSelection_andCondition()
157 builder.where(Condition in testBuildSelection_orCondition()
163 String expectedSelection = Condition.toSelectionString(COLUMN_A, OP_EQUAL); in testBuildSelection_orCondition()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dmeta.h134 template <bool Condition, typename T = void> struct EnableIfCond { typedef T Type; };
137 template <bool Condition, typename T = void> struct DisableIfCond { typedef T Type; };
140 template <typename Condition, typename T = void>
141 struct EnableIf : EnableIfCond<Condition::Value, T> {};
143 template <typename Condition, typename T = void>
144 struct DisableIf : DisableIfCond<Condition::Value, T> {};
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java19 public static void atMost(String message, Condition condition, long timeout, in atMost()
24 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
29 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
62 public interface Condition { interface in Wait
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DFiniteTicketPool.java28 import java.util.concurrent.locks.Condition;
59 private final Condition mCondition;
61 private Waiter(int ticketsRequested, Condition condition) { in Waiter()
66 public Condition getCondition() { in getCondition()
DReservableTicketPool.java28 import java.util.concurrent.locks.Condition;
53 private final Condition mDoneCondition;
56 private Waiter(Condition doneCondition, int requestedTicketCount) { in Waiter()
61 public Condition getDoneCondition() { in getDoneCondition()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeVoiceActivity.java29 import android.service.notification.Condition;
51 Condition condition = null; in onVoiceSettingInteraction()
77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DWait.java30 public static void atMost(String message, Condition condition, long timeout) { in atMost()
34 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost()
DCondition.java18 public interface Condition { interface
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBarrierConsumer.java20 import java.util.concurrent.locks.Condition;
31 private final Condition mNotFull = mLock.newCondition();
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageShadowTask.java29 import java.util.concurrent.locks.Condition;
54 private Condition mSignal;
DImageBackend.java39 import java.util.concurrent.locks.Condition;
853 private Condition mSignal;
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachineImpl.java23 import java.util.concurrent.locks.Condition;
38 private final Condition mStateChangedCondition;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothAdapterHelper.java32 import java.util.concurrent.locks.Condition;
51 private Condition mConditionAdapterStateReached;
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddConfigWidgetTest.java39 import com.android.launcher3.util.Wait.Condition;
124 private class WidgetSearchCondition implements Condition, Workspace.ItemOperator {
DRequestPinItemTest.java44 import com.android.launcher3.util.Wait.Condition;
179 private class ItemSearchCondition implements Condition {
/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp42 using ::android::Condition;
99 Condition mCond GUARDED_BY(mMutex);
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java38 import java.util.concurrent.locks.Condition;
70 private final Condition mConditionAllProxiesConnected;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java47 import java.util.concurrent.locks.Condition;
106 private final Condition mFreezeCondition =