/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 45 public static void checkArgument(boolean expression) { in checkArgument() argument 46 if (!expression) { in checkArgument() 61 boolean expression, in checkArgument() argument 63 if (!expression) { in checkArgument() 78 final boolean expression, in checkArgument() argument 81 if (!expression) { in checkArgument() 206 public static void checkState(final boolean expression) { in checkState() argument 207 checkState(expression, null); in checkState() 220 public static void checkState(final boolean expression, String errorMessage) { in checkState() argument 221 if (!expression) { in checkState() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/mockito/ |
D | KotlinMockitoHelpers.kt | 43 ReplaceWith(expression = "eq", imports = ["org.mockito.kotlin.eq"]), 56 ReplaceWith(expression = "any(type)", imports = ["org.mockito.kotlin.any"]), in eq() 63 ReplaceWith(expression = "any()", imports = ["org.mockito.kotlin.any"]), in eq() 76 ReplaceWith(expression = "argThat(matcher)", imports = ["org.mockito.kotlin.argThat"]), in eq() 88 ReplaceWith(expression = "anyOrNull()", imports = ["org.mockito.kotlin.anyOrNull"]), in eq() 103 ReplaceWith(expression = "capture(argumentCaptor)", imports = ["org.mockito.kotlin.capture"]), in eq() 117 ReplaceWith(expression = "argumentCaptor()", imports = ["org.mockito.kotlin.argumentCaptor"]), in eq() 159 ReplaceWith(expression = "whenever(methodCall)", imports = ["org.mockito.kotlin.whenever"]), 174 ReplaceWith(expression = "whenever(mock)", imports = ["org.mockito.kotlin.whenever"]), in whenever() 204 ReplaceWith(expression = "argumentCaptor()", imports = ["org.mockito.kotlin.argumentCaptor"]),
|
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/ |
D | PermissionMethodDetector.kt | 163 for (expression in body.expressions) { in isPermissionMethodReturnType() constant 164 when (expression) { in isPermissionMethodReturnType() 166 if (!isPermissionMethodCall(expression.selector)) return false in isPermissionMethodReturnType() 169 if (!isPermissionMethodCall(expression.returnExpression)) return false in isPermissionMethodReturnType() 172 if (!isPermissionMethodCall(expression)) return false in isPermissionMethodReturnType() 175 if (expression.thenExpression !is UReturnExpression) return false in isPermissionMethodReturnType() 176 if (!isPermissionMethodCall(expression.condition)) return false in isPermissionMethodReturnType() 184 private fun isPermissionMethodCall(expression: UExpression?): Boolean { in isPermissionMethodCall() 185 return when (expression) { in isPermissionMethodCall() 187 return isPermissionMethodCall(expression.selector) in isPermissionMethodCall() [all …]
|
D | CallingIdentityTokenDetector.kt | 222 private fun getFirstNonQualifiedParent(expression: UCallExpression): UElement? { in <lambda>() 226 return skipParenthesizedExprUp(expression.getQualifiedParentOrThis().uastParent) in <lambda>() 229 private fun isCallerAwareMethod(expression: UCallExpression): Boolean = in <lambda>() 230 callerAwareMethods.any { method -> isMethodCall(expression, method) } in <lambda>() 233 expression: UCallExpression, in <lambda>() 236 val psiMethod = expression.resolve() ?: return false in <lambda>()
|
/frameworks/base/errorprone/tests/res/android/util/ |
D | Preconditions.java | 20 public static void checkArgument(boolean expression) { in checkArgument() argument 24 public static void checkArgument(boolean expression, Object errorMessage) { in checkArgument() argument 36 public static void checkState(boolean expression) { in checkState() argument 40 public static void checkState(boolean expression, String message) { in checkState() argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 32 public static void checkArgument(boolean expression) { in checkArgument() argument 33 if (!expression) { in checkArgument() 46 public static void checkArgument(boolean expression, final Object errorMessage) { in checkArgument() argument 47 if (!expression) { in checkArgument() 61 public static void checkArgument(boolean expression, in checkArgument() argument 64 if (!expression) { in checkArgument() 162 public static void checkState(final boolean expression, String message) { in checkState() argument 163 if (!expression) { in checkState() 175 public static void checkState(final boolean expression) { in checkState() argument 176 checkState(expression, null); in checkState()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util_test.cpp | 435 std::regex expression = GetRegularExpression(valid); in TEST() local 436 EXPECT_TRUE(std::regex_search("file.abc", expression)); in TEST() 437 EXPECT_TRUE(std::regex_search("file.123bc", expression)); in TEST() 438 EXPECT_FALSE(std::regex_search("abc.zip", expression)); in TEST() 443 std::regex expression = GetRegularExpression(valid); in TEST() local 444 EXPECT_TRUE(std::regex_search("file.dex", expression)); in TEST() 445 EXPECT_TRUE(std::regex_search("file.DEX", expression)); in TEST() 446 EXPECT_TRUE(std::regex_search("file.dEx", expression)); in TEST() 447 EXPECT_FALSE(std::regex_search("file.dexx", expression)); in TEST() 448 EXPECT_FALSE(std::regex_search("dex.file", expression)); in TEST() [all …]
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlValidator.java | 100 public static void checkSerializerCondition(boolean expression, in checkSerializerCondition() argument 102 if (!expression) { in checkSerializerCondition() 112 public static void checkParserCondition(boolean expression, in checkParserCondition() argument 114 if (!expression) { in checkParserCondition()
|
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/ |
D | CallMigrators.kt | 82 protected fun getReceivingType(expression: UElement): PsiType? { in <lambda>() 83 val parent = expression.uastParent in <lambda>() 86 val i = parent.valueArguments.indexOf(expression) in <lambda>() 96 if (type == null && expression is UExpression) { in <lambda>() 97 type = expression.getExpressionType() in <lambda>()
|
/frameworks/ex/common/java/com/android/common/content/ |
D | ProjectionMap.java | 37 public Builder add(String alias, String expression) { in add() argument 38 mMap.putColumn(alias, expression + " AS " + alias); in add()
|
/frameworks/compile/slang/tests/F_foreach_forward_reference/ |
D | stderr.txt.expect | 2 foreach_forward_reference.rscript:6:13: error: expected expression
|
/frameworks/base/proto/src/ |
D | altitude.proto | 33 // Defines the `a` coefficient in the expression `a * map_value + b` used to 36 // Defines the `b` coefficient in the expression `a * map_value + b` used to
|
/frameworks/proto_logging/stats/atoms/wear/prototiles/ |
D | prototiles_extension_atoms.proto | 121 * inspect every expression when inspecting the layout. 148 // Count of expression nodes in the inspected layout. 151 // Maximum count of nodes among all expression in inspected layout. 154 // Maximum expression depth among all expression in inspected layout.
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 72 static void checkState(boolean expression, @NonNull String msg) { in checkState() argument 73 if (!expression) { in checkState()
|
/frameworks/native/libs/ftl/ |
D | Android.bp | 44 "-Wno-gnu-statement-expression-from-macro-expansion",
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | single_source_ref_count.rscript | 48 // Tests an object returned via an expression is valid to the caller.
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | single_source_ref_count.rscript | 46 // Tests an object returned via an expression is valid to the caller.
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/ |
D | AbstractExtendedMockitoRule.java | 406 private static void checkState(boolean expression, String messageTemplate, 408 if (!expression) {
|
/frameworks/native/libs/binder/ndk/ |
D | Android.bp | 168 "-misc-redundant-expression",
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataRetryManager.java | 335 for (String expression : expressions) { in DataRetryRule() 336 String[] tokens = expression.trim().split("\\s*=\\s*"); in DataRetryRule() 458 for (String expression : expressions) { in DataSetupRetryRule() 459 String[] tokens = expression.trim().split("\\s*=\\s*"); in DataSetupRetryRule()
|
D | DataNetworkController.java | 787 for (String expression : expressions) { in HandoverRule() 788 String[] tokens = expression.trim().split("\\s*=\\s*"); in HandoverRule()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 482 public static String[] split(String text, String expression) { in split() argument 486 return text.split(expression, -1); in split()
|
/frameworks/compile/slang/ |
D | README.rst | 109 that llvm-rs-cc knows the package expression and hence the directory
|