Home
last modified time | relevance | path

Searched refs:expression (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/
DLogEnforcementVariableCreationDetector.kt163 private fun checkExpressionForDebugVariableUsages(expression: UExpression): Boolean { in checkExpressionForDebugVariableUsages()
164 when (expression) { in checkExpressionForDebugVariableUsages()
166 if (isLogEnforcementVariable(expression.identifier)) { in checkExpressionForDebugVariableUsages()
171 return checkExpressionForDebugVariableUsages(expression.operand) in checkExpressionForDebugVariableUsages()
174 return checkExpressionForDebugVariableUsages(expression.leftOperand) || in checkExpressionForDebugVariableUsages()
175 checkExpressionForDebugVariableUsages(expression.rightOperand) in checkExpressionForDebugVariableUsages()
178 for (subExpression in expression.operands) { in checkExpressionForDebugVariableUsages()
186 return checkExpressionForDebugVariableUsages(expression.selector) in checkExpressionForDebugVariableUsages()
189 return checkExpressionForDebugVariableUsages(expression.expression) in checkExpressionForDebugVariableUsages()
199 private fun checkExpressionForIsLoggableUsages(expression: UExpression): Boolean { in checkExpressionForIsLoggableUsages()
[all …]
DGuardedLogLineDetector.kt257 return isExpressionWithLogEnforcement(node.expression) in isExpressionWithLogEnforcement()
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DMockitoKotlinHelpers.kt48 ReplaceWith(expression = "eq", imports = ["org.mockito.kotlin.eq"]),
61 ReplaceWith(expression = "same(obj)", imports = ["org.mockito.kotlin.same"]), in eq()
74 ReplaceWith(expression = "any(type)", imports = ["org.mockito.kotlin.any"]), in eq()
81 ReplaceWith(expression = "any()", imports = ["org.mockito.kotlin.any"]), in eq()
94 ReplaceWith(expression = "argThat(matcher)", imports = ["org.mockito.kotlin.argThat"]), in eq()
106 ReplaceWith(expression = "anyOrNull()", imports = ["org.mockito.kotlin.anyOrNull"]), in eq()
121 ReplaceWith(expression = "capture(argumentCaptor)", imports = ["org.mockito.kotlin.capture"]), in eq()
135 ReplaceWith(expression = "argumentCaptor()", imports = ["org.mockito.kotlin.argumentCaptor"]), in eq()
172 ReplaceWith(expression = "anyArray()", imports = ["org.mockito.kotlin.anyArray"]),
186 ReplaceWith(expression = "whenever(methodCall)", imports = ["org.mockito.kotlin.whenever"]), in anyArray()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java55 final boolean expression, in checkArgument() argument
59 if (!expression) { in checkArgument()
63 return expression; in checkArgument()
73 public static boolean checkArgument(final boolean expression) { in checkArgument() argument
74 checkArgument(expression, null, null); in checkArgument()
75 return expression; in checkArgument()
135 final boolean expression, in checkState() argument
139 if (!expression) { in checkState()
143 return expression; in checkState()
154 public static boolean checkState(final boolean expression) { in checkState() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java92 public static void checkArgument(boolean expression) { in checkArgument() argument
93 checkArgument(expression, null); in checkArgument()
105 boolean expression, @Nullable String messageTemplate, Object... args) { in checkArgument() argument
106 if (!expression) { in checkArgument()
118 public static void checkState(boolean expression) { in checkState() argument
119 checkState(expression, null); in checkState()
132 boolean expression, @Nullable String messageTemplate, Object... args) { in checkState() argument
133 if (!expression) { in checkState()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DCreateTableRequest.java233 private final String expression; field in CreateTableRequest.GeneratedColumnInfo
235 public GeneratedColumnInfo(String columnName, String type, String expression) { in GeneratedColumnInfo() argument
238 this.expression = expression; in GeneratedColumnInfo()
250 return expression; in getExpression()
265 && Objects.equals(expression, that.expression)); in equals()
271 return Objects.hash(columnName, type, expression); in hashCode()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/utils/
DPreconditions.java47 public static void checkArgument(boolean expression, String errorMessage) { in checkArgument() argument
48 if (!expression) { in checkArgument()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/util/
DPreconditions.java44 boolean expression, @FormatString String messageTemplate, Object... messageArgs) { in checkState() argument
45 if (!expression) { in checkState()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java96 public DeviceOverridePatternSyntaxError(final String message, final String expression) { in DeviceOverridePatternSyntaxError() argument
97 this(message, expression, null); in DeviceOverridePatternSyntaxError()
100 public DeviceOverridePatternSyntaxError(final String message, final String expression, in DeviceOverridePatternSyntaxError() argument
102 super(message + ": " + expression, throwable); in DeviceOverridePatternSyntaxError()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DPageTokenWrapper.java141 private static void checkArgument(boolean expression, String errorMsg) { in checkArgument() argument
142 if (!expression) { in checkArgument()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DBlockingUserLifecycleListener.java344 private static void checkState(boolean expression, String errorMessage) { in checkState() argument
345 if (!expression) { in checkState()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/checker/initialization/qual/
DUnderInitialization.java49 String[] expression() default ""; in expression() method
DUnknownInitialization.java49 String[] expression() default ""; in expression() method
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/checker/nullness/qual/
DNullable.java50 String[] expression() default ""; in expression() method
DRequiresNonNull.java49 String[] expression() default ""; in expression() method
/packages/modules/Connectivity/tests/unit/
Djarjar-excludes.txt15 # Auto-jarjar-gen can't handle kotlin object expression, exclude the tests which use
/packages/modules/AppSearch/flags/
Dappsearch.aconfig146 description: "Enables the additional informational ranking expression API"
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java449 private Integer getIntegerFromExpression(String expression) { in getIntegerFromExpression() argument
450 try (Cursor c = mDb.rawQuery("SELECT " + expression, null)) { in getIntegerFromExpression()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCarrierConfigManager.java950 for (String expression : expressions) { in HandoverRule()
951 String[] tokens = expression.trim().split("\\s*=\\s*"); in HandoverRule()
1471 for (String expression : expressions) { in parseFallbackRule()
1472 String[] tokens = expression.trim().split("\\s*=\\s*"); in parseFallbackRule()
/packages/apps/TV/libs/m2/
Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
Dhttpcore-4.4.13.jar ... (boolean, java.lang.String) boolean expression String message public static transient void check (boolean, ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...

12