Searched refs:err (Results 76 - 100 of 245) sorted by relevance

12345678910

/frameworks/base/tools/localize/
H A Dlocalize.cpp209 int err = 0; local
212 err |= validate_config(settingsFile, settings, config);
214 return err;
221 int err; local
225 err = select_files(&allResFiles, configs, settings, rootDir);
226 if (err == 0) {
229 return err;
236 int err; local
245 err = Perforce::GetResourceFileNames(setting.currentVersion, rootDir,
247 if (err !
262 int err; local
506 int err; local
[all...]
H A Dmerge_res_and_xliff.cpp208 int err = 0; local
220 err = 1;
239 err = 1;
294 if (err != 0) {
295 return err;
308 err = 1;
312 if (err != 0) {
313 return err;
364 err = 1;
369 if (err !
[all...]
/frameworks/base/cmds/dumpsys/
H A Ddumpsys.cpp74 int err = service->dump(STDOUT_FILENO, args); local
75 if (err != 0) {
76 aerr << "Error dumping service info: (" << strerror(err)
/frameworks/base/cmds/stagefright/
H A DSineSource.cpp65 status_t err = mGroup->acquire_buffer(&buffer); local
67 if (err != OK) {
68 return err;
H A Drecord.cpp73 status_t err = mGroup.acquire_buffer(buffer); local
74 if (err != OK) {
75 return err;
220 status_t err = source->read(&buffer);
221 CHECK_EQ(err, OK);
272 status_t err;
274 while ((err = encoder->read(&buffer)) == OK) {
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DSvc.java70 System.err.println(c.longHelp());
75 System.err.println("Available commands:");
88 System.err.println(String.format(format, c.name(), c.shortHelp()));
H A DPowerCommand.java72 System.err.println("Faild to set setting: " + e);
78 System.err.println(longHelp());
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java76 int err = performBackup_native(oldStateFd, data.mBackupWriter, newStateFd, files, keys);
78 if (err != 0) {
80 throw new RuntimeException("Backup failed 0x" + Integer.toHexString(err));
/frameworks/base/media/libstagefright/
H A DAudioSource.cpp54 status_t err = mRecord->start(); local
56 if (err == OK) {
63 return err;
H A DFileSource.cpp60 int err = fseeko(mFile, offset + mOffset, SEEK_SET); local
61 if (err < 0) {
H A DAMRWriter.cpp108 status_t err = mSource->start(); local
110 if (err != OK) {
111 return err;
164 status_t err = mSource->read(&buffer); local
166 if (err != OK) {
H A DStagefrightMetadataRetriever.cpp90 status_t err; local
91 if ((err = mSource->initCheck()) != OK) {
94 return err;
123 status_t err = decoder->start(); local
124 if (err != OK) {
125 LOGW("OMXCodec::start returned error %d (0x%08x)\n", err, err);
146 err = decoder->read(&buffer, &options);
148 } while (err == INFO_FORMAT_CHANGED
151 if (err !
[all...]
/frameworks/base/opengl/tests/gralloc/
H A Dgralloc.cpp53 status_t err = buffer->initCheck(); local
54 if (err != NO_ERROR) {
55 printf("%s\n", strerror(-err));
/frameworks/base/core/java/com/android/internal/util/
H A DWithFramework.java50 System.err.println("Usage: dalvikvm " + WithFramework.class.getName()
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteCompiledSql.cpp50 int err; local
64 err = sqlite3_prepare16_v2(handle, sql, sqlLen * 2, &statement, NULL);
67 if (err == SQLITE_OK) {
96 int err; local
H A Dandroid_net_LocalSocketImpl.cpp427 int err; local
441 err = close(fd);
442 } while (err < 0 && errno == EINTR);
444 if (err < 0) {
658 int err; local
673 err = socket_read_all(env, object, fd, &buf, 1);
675 if (err < 0) {
680 if (err == 0) {
737 int err; local
750 err
759 int err; local
796 int err; local
[all...]
H A Dandroid_backup_BackupHelperDispatcher.cpp176 int err; local
196 err = write(fd, &header, sizeof(chunk_header_v1));
197 if (err != sizeof(chunk_header_v1)) {
202 err = write(fd, buf, header.nameLength);
204 if (err != header.nameLength) {
210 err = write(fd, &zero, namePadding);
211 if (err != namePadding) {
/frameworks/base/media/java/android/drm/mobile1/
H A DDrmRights.java133 System.err.println("WARNING: Could not load libdrm1_jni.so");
/frameworks/base/opengl/tests/swapinterval/
H A Dswapinterval.cpp55 status_t err = EGLUtils::selectConfigForNativeWindow( local
57 if (err) {
70 EGLint err = eglGetError(); local
72 EGLUtils::strerror(err), config, r,g,b,a);
/frameworks/base/tools/preload/
H A DPrintPsTree.java30 System.err.println("Usage: PrintCsv [compiled log file]");
H A DMemoryUsage.java185 System.err.println("Interrupted waiting for measurement.");
192 System.err.println("Timed out while measuring "
198 System.err.println("Got memory usage for " + className + ".");
234 final InputStream err = process.getErrorStream();
240 copy(err, System.err);
250 System.err.println("Got bad response for " + className
257 err.close();
262 System.err.println("Error getting stats for "
/frameworks/base/tools/aapt/
H A DResourceTable.cpp63 status_t err = root->assignResourceIds(assets, table); local
64 if (err != NO_ERROR) {
69 status_t err = root->parseValues(assets, table); local
70 if (err != NO_ERROR) {
80 err = root->flatten(target,
83 if (err != NO_ERROR) {
84 return err;
94 return err;
281 status_t err = outTable->addBag(sourcePos, myPackage,
285 if (err !
314 status_t err; local
580 status_t err; local
623 status_t err; local
656 status_t err = parseXMLResource(in, &block, false, true); local
1455 status_t err = assets->buildIncludedResources(bundle); local
1574 status_t err = e->setItem(sourcePos, value, style, format, overwrite); local
1812 status_t err = flatten(bundle, data); local
2176 status_t err = p->applyPublicTypeOrder(); local
2201 status_t err = e->generateAttributes(this, p->getName()); local
2254 status_t err = e->assignResourceIds(this, p->getName()); local
2337 status_t err = NO_ERROR; local
2522 status_t err = filter.parse(bundle->getConfigurations()); local
2571 status_t err = e->prepareFlatten(&valueStrings, this); local
2805 status_t err = dest->writeData(&header, sizeof(header)); local
2992 status_t err = makeItABag(sourcePos); local
3023 status_t err = makeItABag(sourcePos); local
3044 status_t err = table->addEntry(SourcePos(String8("<generated>"), 0), package, local
3159 status_t err = data->writeData(&header, sizeof(header)); local
3199 status_t err = data->writeData(&mapHeader, sizeof(mapHeader)); local
3488 status_t err = setStrings(data, &mTypeStrings, &mTypeStringsMapping); local
3498 status_t err = setStrings(data, &mKeyStrings, &mKeyStringsMapping); local
3516 status_t err = strings->setTo(data->getData(), data->getSize()); local
[all...]
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp164 int err; local
168 err = property_get(propName, dev, "");
169 if (err > 0) {
204 int err; local
221 err = read(fd, &header, sizeof(header));
222 if (err == -1) {
246 err = read(fd, keys, sizeof(Key)*header.keycount);
247 if (err == -1) {
/frameworks/base/libs/surfaceflinger_client/
H A DSharedBufferStack.cpp293 status_t err = waitForCondition(condition); local
294 if (err != NO_ERROR)
295 return ssize_t(err);
317 status_t err = updateCondition( update ); local
318 if (err == NO_ERROR) {
321 return err;
327 status_t err = waitForCondition(condition); local
328 return err;
334 status_t err = updateCondition( update ); local
339 return err;
380 status_t err = updateCondition( update ); local
409 status_t err = waitForCondition(condition); local
[all...]
/frameworks/base/libs/binder/
H A DIServiceManager.cpp160 status_t err = remote()->transact(ADD_SERVICE_TRANSACTION, data, &reply); local
161 return err == NO_ERROR ? reply.readInt32() : err;
173 status_t err = remote()->transact(LIST_SERVICES_TRANSACTION, data, &reply); local
174 if (err != NO_ERROR)
209 status_t err = addService(which, b); local
210 reply->writeInt32(err);

Completed in 744 milliseconds

12345678910