Searched defs:status (Results 101 - 125 of 693) sorted by last modified time

1234567891011>>

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DANQPParserTest.java171 * @param status Link status
181 private static byte[] getHSWanMetricsPayload(int status, boolean symmetric, boolean capped, argument
185 int wanInfo = status & HSWanMetricsElement.LINK_STATUS_MASK;
206 * @param status Status of the port
209 private static byte[] getHSConnectionCapabilityPayload(int protocol, int port, int status) { argument
215 stream.write((byte) status);
444 int status = HSWanMetricsElement.LINK_STATUS_UP;
453 HSWanMetricsElement expected = new HSWanMetricsElement(status, symmetric, capped,
456 byte[] data = getHSWanMetricsPayload(status, symmetri
[all...]
H A DProtocolPortTupleTest.java43 * @param status Status value
46 private ByteBuffer getTestBuffer(int protocol, int port, int status) { argument
51 buffer.put((byte) status);
68 * the complete tuple data (missing status field).
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
H A DRttMetricsTest.java373 * Verify that all individual status codes are translated correctly.
453 * Verify that all overall status codes are recorded correctly.
515 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status,
517 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status));
522 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status,
524 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status));
582 rttResult.status = RttStatus.SUCCESS;
592 private void recordResultNTimes(int status, int n) { argument
596 result.status = status;
514 validateProtoOverallStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, int count) argument
521 validateProtoIndividualStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, int count) argument
603 recordOverallStatusNTimes(int status, int n) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DXmlUtilTest.java196 configuration.status = WifiConfiguration.Status.DISABLED;
216 * Verify that a WifiConfiguration with status as CURRENT when serializing
223 configuration.status = WifiConfiguration.Status.CURRENT;
227 assertEquals(WifiConfiguration.Status.ENABLED, deserializedConfiguration.second.status);
231 * Verify that an enabled network selection status object is serialized & deserialized
237 NetworkSelectionStatus status = new NetworkSelectionStatus();
238 status.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED);
239 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE);
240 status.setConnectChoice(TEST_DUMMY_CONFIG_KEY);
241 status
531 serializeNetworkSelectionStatus(NetworkSelectionStatus status) argument
552 serializeDeserializeNetworkSelectionStatus(NetworkSelectionStatus status) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java442 * @param status The status of the request. See
445 public void onRttModifyResponseReceived(ImsCall imsCall, int status) { argument
1680 public void sendRttModifyResponse(boolean status) { argument
1691 mSession.sendRttModifyResponse(status);
1822 String status = confInfo.getString(ImsConferenceState.STATUS);
1829 ", status=" + status +
1840 int connectionState = ImsConferenceState.getConnectionStateForStatus(status);
3142 public void callSessionRttModifyResponseReceived(int status) { argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsVideoCallProviderWrapper.java53 void onReceiveSessionModifyResponse(int status, VideoProfile requestProfile, argument
94 int status, VideoProfile requestProfile, VideoProfile responseProfile) {
96 args.arg1 = status;
177 int status = (int) args.arg1;
181 receiveSessionModifyResponse(status, requestProfile, responseProfile);
186 callback.onReceiveSessionModifyResponse(status, requestProfile,
93 receiveSessionModifyResponse( int status, VideoProfile requestProfile, VideoProfile responseProfile) argument
/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.cpp46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { argument
79 pid_t child_pid = waitpid(pid, status, WNOHANG);
325 int status; local
326 bool ret = waitpid_with_timeout(pid, options.TimeoutInMs(), &status);
357 if (WIFSIGNALED(status)) {
359 dprintf(fd, "*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
360 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
361 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) {
362 status
[all...]
H A Ddumpstate.cpp1122 status_t status = dumpsys.startDumpThread(service, args); local
1123 if (status == OK) {
1126 status = dumpsys.writeDump(STDOUT_FILENO, service, service_timeout,
1130 bool dump_complete = (status == OK);
1133 section_reporter.setStatus(status);
1192 status_t status = dumpsys.startDumpThread(service, args); local
1193 if (status == OK) {
1194 status = ds.AddZipEntryFromFd(path, dumpsys.getDumpFd(), service_timeout);
1195 bool dumpTerminated = (status == OK);
1201 section_reporter.setStatus(status);
[all...]
H A Dutils.cpp562 int status = DumpFileToFd(STDOUT_FILENO, title, path); local
566 return status;
682 int status = RunCommandToFd(STDOUT_FILENO, title, full_command, options); local
690 return status;
1123 int status = local
1126 if (status == 0) {
/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_smoke_test.cpp40 status_t status; member in struct:android::os::dumpstate::SectionInfo
64 binder::Status onSectionComplete(const ::std::string& name, int32_t status, int32_t size_bytes,
66 sections_->push_back({name, status, size_bytes, duration_ms});
220 EXPECT_EQ(section.status, 0) << section.name << " failed with status " << section.status;
H A Ddumpstate_test.cpp61 MOCK_METHOD4(onSectionComplete, binder::Status(const ::std::string& name, int32_t status,
154 int status = ds.RunCommand(title, full_command, options); local
157 return status;
164 int status = ds.DumpFile(title, path); local
167 return status;
883 int status = RunCommandToFd(fd, title, full_command, options); local
888 return status;
894 int status = DumpFileToFd(fd, title, path); local
899 return status;
905 int status local
[all...]
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp250 status_t status = local
254 if (status == TIMED_OUT) {
264 bool dumpComplete = (status == OK);
375 status_t status = OK; local
399 status = -errno;
402 status = TIMED_OUT;
411 status = -errno;
421 status = -errno;
427 if ((status == TIMED_OUT) && (!asProto)) {
435 return status;
[all...]
/frameworks/native/cmds/dumpsys/tests/
H A Ddumpsys_test.cpp185 int status = dump_.main(argc, const_cast<char**>(argv)); local
188 EXPECT_THAT(status, Eq(0));
197 status_t status = dump_.startDumpThread(serviceName, args); local
198 EXPECT_THAT(status, Eq(0));
199 status = dump_.writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(500), false,
201 EXPECT_THAT(status, Eq(0));
562 status_t status = local
565 EXPECT_THAT(status, Eq(INVALID_OPERATION));
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp205 binder::Status status = checkUid((uid)); \
206 if (!status.isOk()) { \
207 return status; \
212 binder::Status status = checkArgumentUuid((uuid)); \
213 if (!status.isOk()) { \
214 return status; \
219 binder::Status status = \
221 if (!status.isOk()) { \
222 return status; \
227 binder::Status status
2125 int status = wait_child(pid); local
2245 int status = wait_child(pid); local
[all...]
H A Ddexopt.cpp1703 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file."
1704 " Expected odex file status for secondary dex %s"
1940 static std::string format_dexopt_error(int status, const char* dex_path) { argument
1941 if (WIFEXITED(status)) {
1942 int int_code = WEXITSTATUS(status);
1948 return StringPrintf("Dex2oat invocation for %s failed with 0x%04x", dex_path, status);
2104 LOG(VERBOSE) << "DexInv: --- END '" << dex_path << "' --- status=0x"
H A Dotapreopt.cpp673 int status; local
674 pid_t got_pid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
681 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
682 *error_msg = StringPrintf("Failed execv(%s) because non-0 exit status",
912 ALOGE("Could not open selinux status; exiting.\n");
H A Dutils.cpp899 int status; local
903 got_pid = waitpid(pid, &status, 0);
916 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
919 return status; /* always nonzero */
/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp122 LOG(ERROR) << "Could not open selinux status; exiting";
491 binder::Status status; local
493 /*binder_ok*/ true, /*compile_ok*/ false, &status);
494 EXPECT_STREQ(status.toString8().c_str(), "No error");
499 binder::Status status; local
501 /*binder_ok*/ false, /*compile_ok*/ false, &status);
502 EXPECT_STREQ(status.toString8().c_str(),
508 binder::Status status; local
510 /*binder_ok*/ false, /*compile_ok*/ false, &status);
511 EXPECT_STREQ(status
517 binder::Status status; local
534 binder::Status status; local
[all...]
/frameworks/native/cmds/lshal/
H A DDebugCommand.cpp55 Status status = parseArgs(arg); local
56 if (status != OK) {
57 return status;
H A DListCommand.cpp572 Status status = OK; local
580 status |= fetchBinderizedEntry(manager, &entry);
586 return status;
591 Status status = OK; local
594 status |= DUMP_BINDERIZED_ERROR | additionalError;
604 return status;
609 return status;
684 return status;
688 Status status = OK; local
692 status |
871 Status status = found->op(this, optarg); local
912 Status status = parseArgs(arg); local
[all...]
H A DLshal.cpp210 Status status = parseArgs(arg); local
211 if (status != OK) {
213 return status;
221 status = c->main(arg);
222 if (status == USAGE) {
230 return status;
/frameworks/native/cmds/servicemanager/
H A Dbctest.c37 int status; local
50 status = bio_get_uint32(&reply);
54 return status;
H A Dbinder.c186 int status)
201 if (status) {
205 data.txn.data.ptr.buffer = (uintptr_t)&status;
183 binder_send_reply(struct binder_state *bs, struct binder_io *reply, binder_uintptr_t buffer_to_free, int status) argument
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.cpp84 status_t status = s->lock(&outBuffer, nullptr); local
86 if (status != NO_ERROR) {
87 ALOGE("fillSurface: failed to lock buffer, (%d)", status);
106 status = s->unlockAndPost();
108 ALOGE_IF(status != NO_ERROR, "fillSurface: failed to unlock and post buffer, (%d)", status);
H A DMain.cpp103 status_t status = NO_ERROR; local
106 status = r.replay();
109 if (status == NO_ERROR) {
112 std::cerr << "Trace replayer returned error: " << status << std::endl;

Completed in 2041 milliseconds

1234567891011>>