Searched defs:err (Results 101 - 125 of 436) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp179 OMX_ERRORTYPE err = SimpleSoftOMXComponent::internalSetParameter( local
186 return err;
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp203 status_t err = mHTTPConnection->getMIMEType(&mimeType); local
205 if (err != OK) {
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp112 status_t err = mHTTPDataSource->connect(url, &headers); local
118 if (err != OK) {
119 return err;
216 ssize_t err = fetchBlock(url, out, 0, -1, 0, actualUrl, true /* reconnect */); local
221 return err;
232 ssize_t err = fetchFile(url, &buffer, &actualUrl); local
237 if (err <= 0) {
/frameworks/av/media/libstagefright/omx/1.0/
H A DOmx.cpp66 OMX_ERRORTYPE err = local
68 if (err == OMX_ErrorNone) {
103 OMX_ERRORTYPE err = mMaster->makeComponentInstance( local
107 if (err != OMX_ErrorNone) {
110 " err=" << asString(err) <<
111 "(0x" << std::hex << unsigned(err) << ")";
112 _hidl_cb(toStatus(StatusFromOMXError(err)), nullptr);
142 status_t err = graphicBufferSource->initCheck(); local
143 if (err !
202 OMX_ERRORTYPE err = OMX_ErrorNone; local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DBWGraphicBufferSource.cpp98 status_t err = omxNode->setInputSurface(mOMXBufferSource); local
99 if (err != NO_ERROR) {
100 ALOGE("Unable to set input surface: %d", err);
101 return Status::fromStatusT(err);
117 err = omxNode->getParameter(
119 if (err != NO_ERROR) {
120 ALOGE("Failed to get port definition: %d", err);
H A DOMXMaster.cpp99 OMX_ERRORTYPE err; local
100 while ((err = plugin->enumerateComponents(
114 if (err != OMX_ErrorNoMore) {
116 "components", err, mPluginByComponentName.size());
159 OMX_ERRORTYPE err = local
162 if (err != OMX_ErrorNone) {
163 return err;
168 return err;
H A DOMXUtils.cpp31 status_t StatusFromOMXError(OMX_ERRORTYPE err) { argument
32 switch (err) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp52 status_t err = mSource->start(params); local
54 if (err != OK) {
55 return err;
82 status_t err = mSource->stop(); local
102 return err;
184 status_t err = mSource->read(&buffer); local
194 mResult = err;
199 if (err == OK) {
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp45 ssize_t err; local
51 err = mStates.add(id, IDLE);
52 ALOGE_IF(err < 0, "%s: Can't add new component %d: %s (%zd)",
53 __FUNCTION__, id, strerror(-err), err);
56 if (err >= 0) {
62 return err < 0 ? err : id;
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp60 err(NO_ERROR)
97 status_t err = EBADF; local
103 if (request->fd >= 0 && request->err == NO_ERROR) {
104 err = write_all(request->fd, buf, size);
105 if (err != NO_ERROR) {
106 request->err = err;
114 err = write_all(mMainFd, buf, size);
115 if (err != NO_ERROR) {
122 return mWritableCount > 0 ? NO_ERROR : err;
151 status_t err = NO_ERROR; local
298 status_t err = -errno; local
[all...]
/frameworks/base/core/java/android/os/
H A DIBinder.java221 * @param err The raw file descriptor that command error messages should be written to.
227 public void shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp171 int err; local
190 err = write(fd, &header, sizeof(chunk_header_v1));
191 if (err != sizeof(chunk_header_v1)) {
196 err = write(fd, buf, header.nameLength);
198 if (err != header.nameLength) {
204 err = write(fd, &zero, namePadding);
205 if (err != namePadding) {
H A Dandroid_backup_FileBackupHelperBase.cpp44 int err; local
63 err = back_up_files(oldStateFD, dataStream, newStateFD, filesUTF, keysUTF, fileCount);
75 return (jint) err;
82 int err; local
89 err = restore->WriteFile(String8(filename), reader);
93 return (jint) err;
99 int err; local
104 err = restore->WriteSnapshot(fd);
106 return (jint) err;
H A Dandroid_hardware_UsbRequest.cpp191 int err = usb_request_queue(request); local
193 if (err != 0) {
H A Dandroid_os_SystemProperties.cpp165 int err; local
181 err = property_set(key, val);
189 if (err < 0) {
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c167 int index, err; local
174 err = pcm_write(pcm, buffers[index], BUFFER_SIZE);
175 if (err)
176 fprintf(stderr, "pcm_write err: %d\n", err);
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java187 ProcessError err = errIter.next();
188 if (!packageMatches(app, err)) {
190 mAsyncErrors.add(err);
223 * @param err The error that we're considering
225 private static boolean packageMatches(ResolveInfo app, ProcessError err) { argument
227 final String errPkg = err.info.processName;
270 for (ProcessError err : errList) {
271 newList.add(err.info);
/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp51 std::string err; local
52 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(file_path, &err);
96 Maybe<android::FileMap> file = file::MmapPath(file_path, &err);
98 context->GetDiagnostics()->Error(DiagMessage(file_path) << err);
/frameworks/base/tools/aapt2/compile/
H A DNinePatch_test.cpp185 std::string err; local
186 EXPECT_EQ(nullptr, NinePatch::Create(k2x2, 2, 2, &err));
187 EXPECT_FALSE(err.empty());
191 std::string err; local
192 EXPECT_EQ(nullptr, NinePatch::Create(kMixedNeutralColor3x3, 3, 3, &err));
193 EXPECT_FALSE(err.empty());
197 std::string err; local
199 NinePatch::Create(kTransparentNeutralColor3x3, 3, 3, &err));
203 std::string err; local
205 NinePatch::Create(kSingleStretch7x6, 7, 6, &err);
216 std::string err; local
233 std::string err; local
241 std::string err; local
249 std::string err; local
255 std::string err; local
262 std::string err; local
274 std::string err; local
283 std::string err; local
300 std::string err; local
310 std::string err; local
320 std::string err; local
339 std::string err; local
355 std::string err; local
[all...]
/frameworks/base/tools/bit/
H A Dcommand.cpp101 get_command_output(const Command& command, int* err, bool quiet) argument
114 *err = errno;
147 *err = WEXITSTATUS(status);
150 *err = -1;
H A Dmake.cpp50 int err; local
65 string output = trim(get_command_output(cmd, &err, quiet));
66 if (err == 0) {
/frameworks/native/cmds/lshal/
H A DLshal.cpp42 Lshal::Lshal(std::ostream &out, std::ostream &err, argument
45 : mOut(out), mErr(err),
137 NullableOStream<std::ostream> err) const {
145 err << msg << std::endl;
154 err << msg << std::endl;
163 err << msg << std::endl;
179 err << msg << std::endl;
240 NullableOStream<std::ostream> Lshal::err() const {
/frameworks/native/cmds/service/
H A Dservice.cpp48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); local
49 if (err == NO_ERROR) {
/frameworks/native/libs/binder/
H A DIServiceManager.cpp171 status_t err = remote()->transact(ADD_SERVICE_TRANSACTION, data, &reply); local
172 return err == NO_ERROR ? reply.readExceptionCode() : err;
184 status_t err = remote()->transact(LIST_SERVICES_TRANSACTION, data, &reply); local
185 if (err != NO_ERROR)
/frameworks/native/libs/gui/
H A DBufferItem.cpp138 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); local
139 if (err) return err;
144 status_t err = mFence->flatten(buffer, size, fds, count); local
145 if (err) return err;
150 status_t err = mSurfaceDamage.flatten(buffer, size); local
151 if (err) return err;
197 status_t err local
204 status_t err = mFence->unflatten(buffer, size, fds, count); local
211 status_t err = mSurfaceDamage.unflatten(buffer, size); local
[all...]

Completed in 293 milliseconds

1234567891011>>