/aosp12/system/chre/apps/test/chqts/src/general_test/ |
H A D | cell_info_base.cc | 38 void CellInfoBase::sendFatalFailureInt32(const char *message, int32_t value) { in sendFatalFailureInt32() 39 uint32_t val = static_cast<uint32_t>(value); in sendFatalFailureInt32() local 43 void CellInfoBase::sendFatalFailureUint8(const char *message, uint8_t value) { in sendFatalFailureUint8() 44 uint32_t val = value; in sendFatalFailureUint8() local 48 void CellInfoBase::sendFatalFailure(const char *message) { in sendFatalFailure()
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/napi/ |
H A D | native_common.h | 34 #define NAPI_ASSERT_BASE(env, assertion, message, retVal) \ argument 42 #define NAPI_ASSERT(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, nullptr) argument 44 #define NAPI_ASSERT_RETURN_VOID(env, assertion, message) NAPI_ASSERT_BASE(env, assertion, message, … argument 58 #define DECLARE_NAPI_PROPERTY(name, val) \ argument 63 #define DECLARE_NAPI_INSTANCE_PROPERTY(name, val) \ argument 81 #define DECLARE_NAPI_DEFAULT_PROPERTY(name, val) \ argument 86 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ argument
|
/aosp12/system/netd/libnetdutils/ |
H A D | Log.cpp | 72 LogEntry& LogEntry::message(const std::string& message) { in message() function in android::netdutils::LogEntry 116 LogEntry& LogEntry::arg(const std::string& val) { in arg() 127 LogEntry& LogEntry::arg(const std::vector<int32_t>& val) { in arg() 132 LogEntry& LogEntry::arg(const std::vector<uint8_t>& val) { in arg() 137 LogEntry& LogEntry::arg(const std::vector<std::string>& val) { in arg()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | BackupUtils.java | 37 public BadVersionException(String message) { in BadVersionException() 46 public static void writeString(DataOutputStream out, String val) throws IOException { in writeString()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | AssertHelpers.java | 44 public static void assertArrayNotAllZeroes(String message, byte[] data) { in assertArrayNotAllZeroes() 67 public static void assertArrayNotGreater(String message, float[] left, float[] right) { in assertArrayNotGreater() 89 public static void assertArrayWithinLowerBound(String message, float[] value, float lowerBound) in assertArrayWithinLowerBound() 105 public static void assertArrayWithinUpperBound(String message, float[] value, float upperBound) in assertArrayWithinUpperBound() 137 public static <T> void assertArrayContains(String message, T[] actual, T checkVals) { in assertArrayContains() 149 public static void assertArrayContains(String message, int[] actual, int checkVals) { in assertArrayContains() 161 public static <T> T assertArrayContainsAnyOf(String message, T[] actual, T[] checkVals) { in assertArrayContainsAnyOf() 173 public static int assertArrayContainsAnyOf(String message, int[] actual, int[] checkVals) { in assertArrayContainsAnyOf() 185 public static <T> T assertCollectionContainsAnyOf(String message, Collection<T> actual, in assertCollectionContainsAnyOf() 223 String val = ((first) ? ", " : "") + ((elem != null) ? elem.toString() : "null"); in formatCollection() local
|
/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
H A D | FakeComposerUtils.cpp | 74 bool valuesMatch(::testing::AssertionResult& message, const T& ref, const T& val, in valuesMatch() 83 ::testing::AssertionResult rectsAreSame(const RenderState& ref, const RenderState& val) { in rectsAreSame() 104 const std::vector<RenderState>& val) { in framesAreSame()
|
/aosp12/system/chre/apps/test/chqts/src/shared/ |
H A D | send_message.cc | 34 static void freeChunkAllocMessage(void *message, size_t messageSize) { in freeChunkAllocMessage() 48 static void freeHeapMessage(void *message, size_t /* messageSize */) { in freeHeapMessage() 135 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() 169 static void logFatalMessage(const char *message, const uint32_t *value) { in logFatalMessage() 177 void sendFatalFailureToHost(const char *message, const uint32_t *value, in sendFatalFailureToHost() 184 void sendFatalFailureToHostUint8(const char *message, uint8_t value) { in sendFatalFailureToHostUint8() 185 uint32_t val = value; in sendFatalFailureToHostUint8() local 189 void sendInternalFailureToHost(const char *message, const uint32_t *value, in sendInternalFailureToHost()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | Assert.java | 135 final int val, final int rangeMinInclusive, final int rangeMaxInclusive) { in inRange() 143 final long val, final long rangeMinInclusive, final long rangeMaxInclusive) { in inRange() 195 public static void fail(final String message) { in fail() 199 private static void fail(final String message, final boolean crashRelease) { in fail()
|
/aosp12/frameworks/av/media/bufferpool/2.0/tests/ |
H A D | cond.cpp | 130 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() 135 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() 142 PipeMessage message; in doReceiver() local 158 int val = 0; in doReceiver() local 205 PipeMessage message; in TEST_F() local
|
/aosp12/build/make/tools/product_config/src/com/android/build/config/ |
H A D | Options.java | 91 public ParseException(String message) { in ParseException() 193 final String val = getNextNonFlagArg(); in requireNextStringArg() local 201 final String val = getNextNonFlagArg(); in requireNextNumberArg() local
|
/aosp12/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 960 status_t Parcel::writeInt32(int32_t val) in writeInt32() 1003 status_t Parcel::writeBool(bool val) in writeBool() 1008 status_t Parcel::writeChar(char16_t val) in writeChar() 1013 status_t Parcel::writeByte(int8_t val) in writeByte() 1018 status_t Parcel::writeInt64(int64_t val) in writeInt64() 1033 status_t Parcel::writeFloat(float val) in writeFloat() 1040 status_t Parcel::writeDouble(double val) in writeDouble() 1503 status_t Parcel::writeAligned(T val) { in writeAligned() 1803 sp<IBinder> val; in readStrongBinder() local 1877 const int32_t message = ParcelFileDescriptorStatus::DETACHED; in readParcelFileDescriptor() local [all …]
|
/aosp12/hardware/interfaces/identity/support/tests/ |
H A D | cppbor_test.cpp | 455 Uint val(99); in TEST() local 468 Nint val(-1); in TEST() local 481 Tstr val("99"); in TEST() local 495 Bstr val("99"); in TEST() local 539 Map val(99, 1); in TEST() local 699 Uint val(100); in TEST() local 714 Nint val(-10); in TEST() local 730 Bool val(true); in TEST() local 881 Uint val(10); in TEST() local 888 Nint val(-10); in TEST() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/ |
H A D | js_utils.h | 41 #define ASSERT(condition, message, retVal) \ argument 177 auto *val = std::get_if<First>(&value); in GetJSValue() local 277 T val; in Convert2Value() local 316 napi_value val = Convert2JSValue(env, std::get<2>(value)); in Convert2JSValue() local
|
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
H A D | ValidateModel.cpp | 47 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() 66 static void validate(const sp<IDevice>& device, const std::string& message, in validate() 157 static size_t sizeForBinder(const Type& val) { in sizeForBinder() 312 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local 401 const std::string message = "mutateOperandZeroPointTest: operand " + in mutateOperandZeroPointTest() local 465 const std::string message = "mutateOperandLifetimeTest: operand " + in mutateOperandLifeTimeTest() local 583 const std::string message = in mutateOperandNumberOfConsumersTest() local 725 const std::string message = "mutateOperationTypeTest: operation " + in mutateOperationTypeTest() local 857 const std::string message = "removeOperationInputTest: operation " + in removeOperationInputTest() local 874 const std::string message = "removeOperationOutputTest: operation " + in removeOperationOutputTest() local [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
H A D | ValidateModel.cpp | 54 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() 81 static void validate(const sp<IDevice>& device, const std::string& message, in validate() 176 static size_t sizeForBinder(const Type& val) { in sizeForBinder() 332 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local 425 const std::string message = "mutateOperandZeroPointTest: operand " + in mutateOperandZeroPointTest() local 490 const std::string message = "mutateOperandLifetimeTest: operand " + in mutateOperandLifeTimeTest() local 610 const std::string message = in mutateOperandNumberOfConsumersTest() local 758 const std::string message = "mutateOperationTypeTest: operation " + in mutateOperationTypeTest() local 898 const std::string message = "removeOperationInputTest: operation " + in removeOperationInputTest() local 950 const std::string message = in addOperationOutputTest() local [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
H A D | ValidateModel.cpp | 54 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() 82 static void validate(const sp<IDevice>& device, const std::string& message, in validate() 177 static size_t sizeForBinder(const Type& val) { in sizeForBinder() 371 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local 494 const std::string message = "mutateOperandZeroPointTest: operand " + in mutateOperandZeroPointTest() local 559 const std::string message = "mutateOperandLifetimeTest: operand " + in mutateOperandLifeTimeTest() local 678 const std::string message = in mutateOperandNumberOfConsumersTest() local 899 const std::string message = "mutateOperationTypeTest: operation " + in mutateOperationTypeTest() local 1128 const std::string message = "removeOperationInputTest: operation " + in removeOperationInputTest() local 1195 const std::string message = in addOperationOutputTest() local [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SparseMappingTable.java | 574 long val = array[i]; in writeCompactedLongArray() local 601 int val = in.readInt(); in readCompactedLongArray() local 644 private static void logOrThrow(String message) { in logOrThrow() 652 private static void logOrThrow(String message, Throwable th) { in logOrThrow()
|
/aosp12/hardware/interfaces/broadcastradio/common/utils2x/ |
H A D | Utils.cpp | 136 static bool maybeGetId(const ProgramSelector& sel, const IdentifierType type, uint64_t* val) { in maybeGetId() 161 uint64_t val; in getId() local 200 auto val = id.value; in isValid() local 203 auto expect = [&valid](bool condition, std::string message) { in isValid() 408 uint64_t val = 0; in make_hdradio_station_name() local
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
H A D | ValidateModel.cpp | 55 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() 88 static void validate(const sp<IDevice>& device, const std::string& message, in validate() 184 static size_t sizeForBinder(const Type& val) { in sizeForBinder() 390 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local 516 const std::string message = "mutateOperandZeroPointTest: operand " + in mutateOperandZeroPointTest() local 583 const std::string message = "mutateOperandLifetimeTest: operand " + in mutateOperandLifeTimeTest() local 704 const std::string message = in mutateOperandNumberOfConsumersTest() local 963 const std::string message = "mutateOperationTypeTest: operation " + in mutateOperationTypeTest() local 1287 const std::string message = in addOperationOutputTest() local 1307 const std::string message = in mutateExecutionPreferenceTest() local [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
H A D | ValidateModel.cpp | 188 static size_t sizeForBinder(const Type& val) { in sizeForBinder() 396 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local 522 const std::string message = "mutateOperandZeroPointTest: operand " + in mutateOperandZeroPointTest() local 589 const std::string message = "mutateOperandLifetimeTest: operand " + in mutateOperandLifeTimeTest() local 682 const std::string message = "mutateOperandInputOutputTest: operand " + in mutateOperandInputOutputTest() local 940 const std::string message = "mutateOperationTypeTest: operation " + in mutateOperationTypeTest() local 1194 const std::string message = "removeOperationInputTest: operation " + in removeOperationInputTest() local 1212 const std::string message = "removeOperationOutputTest: operation " + in removeOperationOutputTest() local 1265 const std::string message = in addOperationOutputTest() local 1286 const std::string message = in mutateExecutionPreferenceTest() local [all …]
|
/aosp12/system/libbase/ |
H A D | logging.cpp | 104 const auto val = getenv("ANDROID_FILE__dev_kmsg"); in OpenKmsg() local 279 const char* message) { in StderrLogger() 295 unsigned int /*line*/, const char* message) { in StdioLogger() 313 static void LogdLogChunk(LogId id, LogSeverity severity, const char* tag, const char* message) { in LogdLogChunk() 329 unsigned int line, const char* message) { in operator ()() 516 const char* message) { in LogLine()
|
/aosp12/hardware/interfaces/renderscript/1.0/vts/functional/ |
H A D | VtsMiscellaneousTests.cpp | 158 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_P() local 211 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_P() local 275 const char * message = "correct"; in TEST_P() local
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/core/ |
H A D | display_hdmi.cpp | 207 char val[kPropertyMax]={}; in GetBestConfig() local 295 void DisplayHDMI::CECMessage(char *message) { in CECMessage()
|
/aosp12/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareImpl.java | 264 String message = String.format( in addCircularFence() local 499 Message message = mGeofenceHandler.obtainMessage( in reportGeofenceTransition() local 520 Message message = mCallbacksHandler.obtainMessage(GEOFENCE_STATUS, event); in reportGeofenceMonitorStatus() local 534 Message message = mGeofenceHandler.obtainMessage(operation); in reportGeofenceOperationStatus() local 823 private void setMonitorAvailability(int monitor, int val) { in setMonitorAvailability()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/ |
H A D | RtpTransport.java | 474 Integer val = BATTERY_STATE_VALUE_TO_RTP_BITS.getKey(messageValueBits); in extractMessage() local 513 Integer val = CODEC_VALUE_TO_RTP_BITS.getKey(messageValueBits); in extractMessage() local 584 public RtpHeaderExtension generateRtpHeaderExtension(Communicator.Message message) { in generateRtpHeaderExtension()
|