/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 269 msg = msg.concat(": Equalizer not found"); in test1_3GetEnabledAfterRelease() 302 msg = msg.concat(": Equalizer not found"); in test1_4InsertOnMediaPlayer() 334 msg = msg.concat(": Equalizer not found"); in test1_5AuxiliaryOnMediaPlayer() 381 msg = msg.concat(": Equalizer not found"); in test1_6AuxiliaryOnMediaPlayerFailure() 421 msg = msg.concat(": Equalizer not found"); in test1_7AuxiliaryOnAudioTrack() 459 msg = msg.concat(": Equalizer not found"); in test2_0SetEnabledGetEnabled() 487 msg = msg.concat(": Equalizer not found"); in test2_1SetEnabledAfterRelease() 518 msg = msg.concat(": Bad parameter value"); in test3_0SetParameterByteArrayByteArray() 551 msg = msg.concat(": Bad parameter value"); in test3_1SetParameterIntInt() 1079 msg = msg.concat(": Effect not found"); in test5_0setEnabledLowerPriority() [all …]
|
H A D | MediaEqualizerTest.java | 104 msg = msg.concat(": Equalizer not initialized"); in test0_0ConstructorAndRelease() 108 msg = msg.concat(": Equalizer not found"); in test0_0ConstructorAndRelease() 110 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 146 msg = msg.concat(": Bad parameter value"); in test1_0BandLevel() 149 msg = msg.concat(": get parameter() rejected"); in test1_0BandLevel() 178 msg = msg.concat(": Bad parameter value"); in test1_1BandFrequency() 181 msg = msg.concat(": get parameter() rejected"); in test1_1BandFrequency() 208 msg = msg.concat(": Bad parameter value"); in test1_2Presets() 211 msg = msg.concat(": get parameter() rejected"); in test1_2Presets() 235 msg = msg.concat(": Bad parameter value"); in test1_3Properties() [all …]
|
H A D | MediaEnvReverbTest.java | 119 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 153 msg = msg.concat(": Bad parameter value"); in test1_0Room() 156 msg = msg.concat(": get parameter() rejected"); in test1_0Room() 188 msg = msg.concat(": Bad parameter value"); in test1_1Decay() 191 msg = msg.concat(": get parameter() rejected"); in test1_1Decay() 258 msg = msg.concat(": Bad parameter value"); in test1_3Reverb() 261 msg = msg.concat(": get parameter() rejected"); in test1_3Reverb() 293 msg = msg.concat(": Bad parameter value"); in test1_4DiffusionAndDensity() 329 msg = msg.concat(": Bad parameter value"); in test1_5Properties() 393 msg = msg.concat(": Bad parameter value"); in test2_0AuxiliarySoundModification() [all …]
|
H A D | MediaVisualizerTest.java | 112 msg = msg.concat(": Visualizer not found"); in test0_0ConstructorAndRelease() 114 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 143 msg = msg.concat(": Bad parameter value"); in test1_0CaptureRates() 146 msg = msg.concat(": get parameter() rejected"); in test1_0CaptureRates() 177 msg = msg.concat(": Bad parameter value"); in test1_1CaptureSize() 180 msg = msg.concat(": get parameter() rejected"); in test1_1CaptureSize() 214 msg = msg.concat("IllegalStateException"); in test1_2ScalingMode() 280 msg = msg.concat(": Bad parameter value"); in test2_0PollingCapture() 283 msg = msg.concat(": get parameter() rejected"); in test2_0PollingCapture() 411 msg = msg.concat(": Bad parameter value"); in test2_1ListenerCapture() [all …]
|
H A D | MediaPresetReverbTest.java | 107 msg = msg.concat(": PresetReverb not initialized"); in test0_0ConstructorAndRelease() 111 msg = msg.concat(": PresetReverb not found"); in test0_0ConstructorAndRelease() 113 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 140 msg = msg.concat(": Bad parameter value"); in test1_0Preset() 143 msg = msg.concat(": get parameter() rejected"); in test1_0Preset() 174 msg = msg.concat(": Bad parameter value"); in test1_1Properties() 177 msg = msg.concat(": get parameter() rejected"); in test1_1Properties() 236 msg = msg.concat(": Bad parameter value"); in test2_0AuxiliarySoundModification() 239 msg = msg.concat(": get parameter() rejected"); in test2_0AuxiliarySoundModification() 319 msg = msg.concat(": Bad parameter value"); in test2_1InsertSoundModification() [all …]
|
H A D | MediaVirtualizerTest.java | 100 msg = msg.concat(": Virtualizer not initialized"); in test0_0ConstructorAndRelease() 104 msg = msg.concat(": Virtualizer not found"); in test0_0ConstructorAndRelease() 106 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 112 assertTrue(msg, result); in test0_0ConstructorAndRelease() 140 msg = msg.concat(": Bad parameter value"); in test1_0Strength() 143 msg = msg.concat(": get parameter() rejected"); in test1_0Strength() 146 msg = msg.concat("get parameter() called in wrong state"); in test1_0Strength() 151 assertTrue(msg, result); in test1_0Strength() 167 msg = msg.concat(": Bad parameter value"); in test1_1Properties() 170 msg = msg.concat(": get parameter() rejected"); in test1_1Properties() [all …]
|
H A D | MediaBassBoostTest.java | 100 msg = msg.concat(": BassBoost not initialized"); in test0_0ConstructorAndRelease() 104 msg = msg.concat(": BassBoost not found"); in test0_0ConstructorAndRelease() 106 msg = msg.concat(": Effect library not loaded"); in test0_0ConstructorAndRelease() 112 assertTrue(msg, result); in test0_0ConstructorAndRelease() 139 msg = msg.concat(": Bad parameter value"); in test1_0Strength() 142 msg = msg.concat(": get parameter() rejected"); in test1_0Strength() 145 msg = msg.concat("get parameter() called in wrong state"); in test1_0Strength() 150 assertTrue(msg, result); in test1_0Strength() 166 msg = msg.concat(": Bad parameter value"); in test1_1Properties() 169 msg = msg.concat(": get parameter() rejected"); in test1_1Properties() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskChangeNotificationController.java | 358 msg.sendToTarget(); in notifyActivityPinned() 366 msg.sendToTarget(); in notifyActivityUnpinned() 384 msg.sendToTarget(); in notifyActivityRestartAttempt() 391 msg.sendToTarget(); in notifyActivityDismissingDockedRootTask() 399 msg.sendToTarget(); in notifyActivityForcedResizable() 408 msg.sendToTarget(); in notifyActivityLaunchOnSecondaryDisplayFailed() 417 msg.sendToTarget(); in notifyActivityLaunchOnSecondaryDisplayRerouted() 424 msg.sendToTarget(); in notifyTaskCreated() 431 msg.sendToTarget(); in notifyTaskRemoved() 437 msg.sendToTarget(); in notifyTaskMovedToFront() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MessageQueueTest.java | 44 if (!msg.isInUse()) { in handleMessage() 98 if (msg.what == 0) { in testAtFrontOfQueue() 124 if (!msg.isInUse()) { in handleMessage() 160 msg.flags = -1; in testFieldIntegrity() 161 msg.what = 1; in testFieldIntegrity() 162 msg.arg1 = 456; in testFieldIntegrity() 163 msg.arg2 = 789; in testFieldIntegrity() 164 msg.obj = this; in testFieldIntegrity() 233 msg.arg1, 456, msg.what))); in testFieldIntegrity() 238 msg.arg2, 789, msg.what))); in testFieldIntegrity() [all …]
|
H A D | BroadcasterTest.java | 44 msg.what = MESSAGE_A; in test1() 46 b.broadcast(msg); in test1() 80 msg.what = MESSAGE_A; in go() 82 b.broadcast(msg); in go() 143 msg.what = MESSAGE_A; in test4() 145 b.broadcast(msg); in test4() 149 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test4() 180 b.broadcast(msg); in test5() 184 if (msg.what == MESSAGE_D && msg.getTarget() == h2) { in test5() 216 b.broadcast(msg); in test6() [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 507 msg.what = what; in sendMessage() 520 msg.what = what; in sendMessage() 521 msg.arg1 = arg1; in sendMessage() 555 msg.obj = obj; in sendMessage() 568 msg.obj = obj; in sendMessage() 648 msg.obj = obj; in replyToMessage() 663 msg.obj = obj; in replyToMessage() 739 msg.obj = obj; in sendMessageSynchronously() 754 msg.obj = obj; in sendMessageSynchronously() 872 msg.obj = this; in replyHalfConnected() [all …]
|
/aosp14/system/core/trusty/storage/lib/ |
H A D | storage.c | 67 ALOGV("cmd 0x%x: server returned %u\n", msg->cmd, msg->result); in check_response() 98 msg->cmd, msg->result); in check_response() 150 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_open_file() 170 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in storage_close_file() 171 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_close_file() 185 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_delete_file() 195 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in _read_chunk() 196 struct iovec rx[2] = {{&msg, sizeof(msg)}, {buf, size}}; in _read_chunk() 231 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in _write_req() 273 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_set_file_size() [all …]
|
/aosp14/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
H A D | ShadowSlog.java | 29 return Log.v(tag, msg); in v() 34 return Log.v(tag, msg, tr); in v() 39 return Log.d(tag, msg); in d() 44 return Log.d(tag, msg, tr); in d() 49 return Log.i(tag, msg); in i() 54 return Log.i(tag, msg, tr); in i() 59 return Log.w(tag, msg); in w() 74 return Log.e(tag, msg); in e() 84 return Log.wtf(tag, msg); in wtf() 89 Log.wtf(tag, msg); in wtfQuiet() [all …]
|
/aosp14/system/core/init/ |
H A D | uevent_listener.cpp | 44 while (*msg) { in ParseEvent() 46 msg += 7; in ParseEvent() 49 msg += 8; in ParseEvent() 55 msg += 9; in ParseEvent() 58 msg += 6; in ParseEvent() 61 msg += 6; in ParseEvent() 64 msg += 6; in ParseEvent() 67 msg += 9; in ParseEvent() 70 msg += 8; in ParseEvent() 73 msg += 9; in ParseEvent() [all …]
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | Slog.java | 49 public static int v(@Nullable String tag, @NonNull String msg) { in v() argument 66 msg + '\n' + Log.getStackTraceString(tr)); in v() 79 public static int d(@Nullable String tag, @NonNull String msg) { in d() argument 97 msg + '\n' + Log.getStackTraceString(tr)); in d() 110 public static int i(@Nullable String tag, @NonNull String msg) { in i() argument 127 msg + '\n' + Log.getStackTraceString(tr)); in i() 140 public static int w(@Nullable String tag, @NonNull String msg) { in w() argument 158 msg + '\n' + Log.getStackTraceString(tr)); in w() 184 public static int e(@Nullable String tag, @NonNull String msg) { in e() argument 202 msg + '\n' + Log.getStackTraceString(tr)); in e() [all …]
|
H A D | Log.java | 115 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } in TerribleFailure() argument 156 return printlns(LOG_ID_MAIN, VERBOSE, tag, msg, tr); in v() 167 return println_native(LOG_ID_MAIN, DEBUG, tag, msg); in d() 179 return printlns(LOG_ID_MAIN, DEBUG, tag, msg, tr); in d() 190 return println_native(LOG_ID_MAIN, INFO, tag, msg); in i() 201 return printlns(LOG_ID_MAIN, INFO, tag, msg, tr); in i() 212 return println_native(LOG_ID_MAIN, WARN, tag, msg); in w() 224 return printlns(LOG_ID_MAIN, WARN, tag, msg, tr); in w() 268 return println_native(LOG_ID_MAIN, ERROR, tag, msg); in e() 280 return printlns(LOG_ID_MAIN, ERROR, tag, msg, tr); in e() [all …]
|
/aosp14/system/core/trusty/storage/proxy/ |
H A D | proxy.c | 80 if ((msg->flags & STORAGE_MSG_FLAG_POST_COMMIT) && msg->cmd != STORAGE_RPMB_SEND && in handle_req() 81 msg->cmd != STORAGE_FILE_WRITE) { in handle_req() 87 msg->result = STORAGE_ERR_UNIMPLEMENTED; in handle_req() 91 if (msg->flags & STORAGE_MSG_FLAG_PRE_COMMIT) { in handle_req() 94 msg->result = STORAGE_ERR_SYNC_FAILURE; in handle_req() 105 msg->result = STORAGE_ERR_GENERIC; in handle_req() 109 msg->result = STORAGE_ERR_GENERIC; in handle_req() 114 switch (msg->cmd) { in handle_req() 161 rc = ipc_respond(msg, NULL, 0); in handle_req() 170 struct storage_msg msg; in proxy_loop() local [all …]
|
H A D | storage.c | 227 msg->result = STORAGE_NO_ERROR; in storage_file_delete() 232 return ipc_respond(msg, NULL, 0); in storage_file_delete() 359 msg->result = STORAGE_NO_ERROR; in storage_file_open() 379 return ipc_respond(msg, NULL, 0); in storage_file_open() 416 msg->result = STORAGE_NO_ERROR; in storage_file_close() 419 return ipc_respond(msg, NULL, 0); in storage_file_close() 455 msg->result = STORAGE_NO_ERROR; in storage_file_write() 493 msg->result = STORAGE_NO_ERROR; in storage_file_read() 526 msg->result = STORAGE_NO_ERROR; in storage_file_get_size() 556 msg->result = STORAGE_NO_ERROR; in storage_file_set_size() [all …]
|
/aosp14/system/core/libnetutils/ |
H A D | dhcpclient.c | 180 x = msg->options + 4; in decode_dhcp_msg() 270 name, msg->op, msg->htype, msg->hlen, msg->hops); in dump_dhcp_msg() 272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg() 278 c = msg->hlen > 16 ? 16 : msg->hlen; in dump_dhcp_msg() 289 msg->sname[63] = 0; in dump_dhcp_msg() 298 msg->file[127] = 0; in dump_dhcp_msg() 305 x = msg->options + 4; in dump_dhcp_msg() 345 dump_dhcp_msg(msg, size); in send_message() 374 if (memcmp(msg->chaddr, reply->chaddr, msg->hlen)) { in is_valid_reply() 392 dhcp_msg *msg; in dhcp_init_ifc() local [all …]
|
H A D | dhcpmsg.c | 28 memset(msg, 0, sizeof(dhcp_msg)); in init_dhcp_msg() 30 msg->op = OP_BOOTREQUEST; in init_dhcp_msg() 31 msg->htype = HTYPE_ETHER; in init_dhcp_msg() 32 msg->hlen = 6; in init_dhcp_msg() 33 msg->hops = 0; in init_dhcp_msg() 35 msg->flags = htons(FLAGS_BROADCAST); in init_dhcp_msg() 37 msg->xid = xid; in init_dhcp_msg() 39 memcpy(msg->chaddr, hwaddr, 6); in init_dhcp_msg() 41 x = msg->options; in init_dhcp_msg() 70 return DHCP_MSG_FIXED_SIZE + (x - msg->options); in init_dhcp_discover_msg() [all …]
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/ |
H A D | snapuserd_client.cpp | 151 if (!Sendmsg(msg)) { in WaitForDeviceDelete() 165 if (!Sendmsg(msg)) { in SupportsSecondStageSocketHandoff() 174 char msg[PACKET_SIZE]; in Receivemsg() local 175 ssize_t ret = TEMP_FAILURE_RETRY(recv(sockfd_, msg, sizeof(msg), 0)); in Receivemsg() 184 return std::string(msg, ret); in Receivemsg() 199 if (!Sendmsg(msg)) { in AttachDmUser() 226 if (!Sendmsg(msg)) { in InitDmUserCow() 263 if (!Sendmsg(msg)) { in InitiateMerge() 273 if (!Sendmsg(msg)) { in GetMergePercent() 284 if (!Sendmsg(msg)) { in QuerySnapshotStatus() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | RemoteServiceException.java | 36 public RemoteServiceException(String msg) { in RemoteServiceException() argument 37 super(msg); in RemoteServiceException() 40 public RemoteServiceException(String msg, Throwable cause) { in RemoteServiceException() argument 41 super(msg, cause); in RemoteServiceException() 58 super(msg, cause); in ForegroundServiceDidNotStartInTimeException() 85 super(msg); in CannotPostForegroundServiceNotificationException() 100 super(msg); in BadForegroundServiceNotificationException() 115 super(msg); in BadUserInitiatedJobNotificationException() 131 super(msg); in MissingRequestPasswordComplexityPermissionException() 144 public CrashedByAdbException(String msg) { in CrashedByAdbException() argument [all …]
|
/aosp14/frameworks/base/telephony/java/com/android/telephony/ |
H A D | Rlog.java | 43 public static int v(String tag, String msg) { in v() argument 44 return log(Log.VERBOSE, tag, msg); in v() 52 public static int d(String tag, String msg) { in d() argument 53 return log(Log.DEBUG, tag, msg); in d() 61 public static int i(String tag, String msg) { in i() argument 62 return log(Log.INFO, tag, msg); in i() 70 public static int w(String tag, String msg) { in w() argument 71 return log(Log.WARN, tag, msg); in w() 83 public static int e(String tag, String msg) { in e() argument 84 return log(Log.ERROR, tag, msg); in e() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | Slogf.java | 63 return Slog.v(tag, msg); in v() 68 return Slog.v(tag, msg, tr); in v() 73 return Slog.d(tag, msg); in d() 78 return Slog.d(tag, msg, tr); in d() 83 return Slog.i(tag, msg); in i() 88 return Slog.i(tag, msg, tr); in i() 93 return Slog.w(tag, msg); in w() 98 return Slog.w(tag, msg, tr); in w() 108 return Slog.e(tag, msg); in e() 118 return Slog.wtf(tag, msg); in wtf() [all …]
|
/aosp14/frameworks/base/tests/utils/testutils/java/android/os/test/ |
H A D | TestLooper.java | 127 while (msg != null) { in moveTimeForward() 133 msg = (Message) MESSAGE_NEXT_FIELD.get(msg); in moveTimeForward() 150 if (msg != null && msg.getTarget() == null) { in messageQueueNext() 154 prevMsg = msg; in messageQueueNext() 155 msg = (Message) MESSAGE_NEXT_FIELD.get(msg); in messageQueueNext() 156 } while (msg != null && !msg.isAsynchronous()); in messageQueueNext() 158 if (msg != null) { in messageQueueNext() 169 return msg; in messageQueueNext() 205 Message msg = messageQueueNext(); in dispatchNext() local 206 if (msg == null) { in dispatchNext() [all …]
|