Searched defs:err (Results 176 - 200 of 436) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp247 int err = RegisterMethodsOrDie(env, kClassPathName, gMethods, local
257 return err;
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp253 status_t err = context->startGlTimer(); local
254 if (err != OK) {
255 switch (err) {
278 status_t err = context->stopGlTimer(); local
279 if (err != OK) {
280 switch (err) {
H A Dandroid_media_RemoteDisplay.cpp193 int err = RegisterMethodsOrDie(env, "android/media/RemoteDisplay", gMethods, NELEM(gMethods)); local
202 return err;
H A Dandroid_net_LocalSocketImpl.cpp321 int err; local
336 err = socket_read_all(env, object, fd, &buf, 1);
338 if (err < 0) {
343 if (err == 0) {
400 int err; local
413 err = socket_write_all(env, object, fd, &b, 1);
414 UNUSED(err);
422 int err; local
448 err = socket_write_all(env, object, fd,
450 UNUSED(err);
459 int err; local
[all...]
H A Dandroid_opengl_EGLExt.cpp159 int err; local
160 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
161 return err;
H A Dandroid_os_HwBinder.cpp171 status_t err = OK; local
176 err = UNKNOWN_ERROR; // XXX special error code instead?
196 return err;
H A Dandroid_os_HwBlob.cpp185 status_t err = parcel->writeBuffer(data(), size(), &handle); local
187 if (err != OK) {
188 return err;
194 err = info.mBlob->writeEmbeddedToParcel(parcel, handle, info.mOffset);
196 if (err != OK) {
197 return err;
209 status_t err = parcel->writeEmbeddedBuffer( local
212 if (err != OK) {
213 return err;
219 err
305 status_t err = blob->read(offset, &x, sizeof(x)); local
320 status_t err = blob->getString(offset, &s); local
356 status_t err = blob->write(offset, &b, sizeof(b)); local
407 status_t err = JHwBlob::GetNativeContext(env, thiz)->getHandle(&handle); local
[all...]
H A Dcom_android_internal_net_NetworkStatsFactory.cpp305 int err = RegisterMethodsOrDie(env, local
327 return err;
/frameworks/base/libs/hwui/
H A DJankTracker.cpp183 int err = errno; local
184 ALOGW("Failed to get ashmem region size from fd %d, err %d %s", ashmemfd, err, strerror(err));
196 int err = errno; local
198 ashmemfd, err);
H A DOpenGLReadback.cpp41 status_t err = surface.getLastQueuedBuffer(&sourceBuffer, &sourceFence, local
44 if (err != NO_ERROR) {
45 ALOGW("Failed to get last queued buffer, error = %d", err);
56 err = sourceFence->wait(500 /* ms */);
57 if (err != NO_ERROR) {
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp97 "Failed to get EGL_DEFAULT_DISPLAY! err=%s", eglErrorString());
101 "Failed to initialize display %p! err=%s", mEglDisplay, eglErrorString());
344 EGLint err = eglGetError(); local
345 if (CC_LIKELY(err == EGL_SUCCESS)) {
348 if (err == EGL_BAD_SURFACE || err == EGL_BAD_NATIVE_WINDOW) {
353 err, frame.mSurface);
357 err, egl_error_str(err));
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp53 int err = errno; local
56 if (err != ENOENT) {
57 ALOGW("Failed to open '%s', errno=%d (%s)", path.c_str(), err, strerror(err));
73 ALOGW("Error reading from fd=%d, path='%s' err=%d (%s)",
202 int err = errno; local
203 ALOGW("Failed to open '%s', error=%d (%s)", path.c_str(), err, strerror(err));
208 int err = errno; local
210 path.c_str(), wrote, err, strerro
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp92 status_t err = crypto->createPlugin(uuid, initData, initSize); local
94 if (err != OK) {
208 status_t err = crypto->initCheck(); local
218 if (err != OK) {
301 status_t err = crypto->setMediaDrmSession(sessionId); local
303 if (err != OK) {
305 if (err == ERROR_DRM_SESSION_NOT_OPENED) {
307 } else if (err == ERROR_UNSUPPORTED) {
309 } else if (err == NO_INIT) {
312 msg.appendFormat(": general failure (%d)", err);
[all...]
H A Dandroid_media_MediaMuxer.cpp57 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, local
59 if (err != OK) {
62 return err;
124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); local
130 if (err != OK) {
152 ALOGE("Fail to get File Status Flags err: %s", strerror(errno));
181 status_t err = muxer->setOrientationHint(degrees); local
183 if (err != OK) {
211 status_t err = muxer->start(); local
213 if (err !
230 status_t err = muxer->stop(); local
276 int err = AndroidRuntime::registerNativeMethods(env, local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp306 bool err = false; local
311 err = true;
313 return err;
317 bool err = false; local
324 err = true;
326 return err;
330 bool err = false; local
349 err = true;
351 return err;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsService.java49 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
52 this, in, out, err, args, callback, resultReceiver);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DKeepaliveTracker.java139 void notifyMessenger(int slot, int err) { argument
140 KeepaliveTracker.this.notifyMessenger(mMessenger, slot, err);
217 void notifyMessenger(Messenger messenger, int slot, int err) { argument
221 message.arg2 = err;
/frameworks/base/services/core/java/com/android/server/pm/
H A DOtaDexoptService.java112 public void onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
115 this, in, out, err, args, callback, resultReceiver);
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateService.java150 FileDescriptor err, String[] args, ShellCallback callback,
153 this, in, out, err, args, callback, resultReceiver);
149 onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, String[] args, ShellCallback callback, ResultReceiver resultReceiver) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp185 ssize_t err = read(fds[alarm_idx], &unused, sizeof(unused)); local
186 if (err < 0) {
190 return err;
256 int err = fscanf(file, "%u", &hctosys); local
257 if (err == EOF)
260 else if (err == 0)
358 int err = epoll_ctl(epollfd, EPOLL_CTL_ADD, fds[i], &event); local
359 if (err < 0) {
371 int err = timerfd_settime(fds[ANDROID_ALARM_TYPE_COUNT], local
373 if (err <
[all...]
H A Dcom_android_server_fingerprint_FingerprintService.cpp201 int err; local
203 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) {
204 ALOGE("Can't open fingerprint HW Module, error: %d", err);
221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
222 ALOGE("Can't open fingerprint methods, error: %d", err);
232 err = gContext.device->set_notify(gContext.device, hal_notify_callback);
233 if (err < 0) {
234 ALOGE("Failed in call to set_notify(), err=%d", err);
/frameworks/base/tools/aapt/
H A DPackage.cpp429 status_t err; local
436 err = jar.open(jars[i], ZipFile::kOpenReadOnly);
437 if (err != 0) {
439 jars[i], err);
440 return err;
442 err += processJarFile(&jar, zip);
443 if (err < 0) {
445 return err;
447 count += err;
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp142 status_t err = value_pool_.setTo( local
144 if (err != NO_ERROR) {
228 status_t err = type_pool_.setTo( local
230 if (err != NO_ERROR) {
238 status_t err = key_pool_.setTo( local
240 if (err != NO_ERROR) {
/frameworks/base/tools/bit/
H A Daapt.cpp168 int err; local
170 string output = get_command_output(cmd, &err, false);
171 check_error(err);
H A Dutil.cpp39 int err = stat(filename.c_str(), &st); local
40 if (err != 0) {
104 int err; local

Completed in 532 milliseconds

1234567891011>>