Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/aosp14/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp52 status_t err; in writeToParcel() local
56 return err; in writeToParcel()
61 return err; in writeToParcel()
73 return err; in writeToParcel()
85 return err; in writeToParcel()
90 return err; in writeToParcel()
95 return err; in writeToParcel()
100 return err; in writeToParcel()
109 status_t err; in readFromParcel() local
114 return err; in readFromParcel()
[all …]
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DVulkanSurface.cpp109 strerror(-err), err); in ConnectAndSetWindowDefaults()
127 strerror(-err), err); in ConnectAndSetWindowDefaults()
299 windowInfo.bufferFormat, strerror(-err), err); in UpdateWindow()
307 windowInfo.dataspace, strerror(-err), err); in UpdateWindow()
321 windowInfo.transform, strerror(-err), err); in UpdateWindow()
328 windowInfo.bufferCount, strerror(-err), err); in UpdateWindow()
335 strerror(-err), err); in UpdateWindow()
351 ALOGW_IF(err != 0, "native_window_api_disconnect failed: %s (%d)", strerror(-err), err); in ~VulkanSurface()
394 int err = in dequeueNativeBuffer() local
429 strerror(-err), err); in dequeueNativeBuffer()
[all …]
/aosp14/frameworks/base/libs/storage/
H A DIMountService.cpp71 if (err < 0) { in registerListener()
87 if (err < 0) { in unregisterListener()
102 if (err < 0) { in isUsbMassStorageConnected()
119 if (err < 0) { in setUsbMassStorageEnabled()
134 if (err < 0) { in isUsbMassStorageEnabled()
151 if (err < 0) { in mountVolume()
170 if (err < 0) { in unmountVolume()
187 if (err < 0) { in formatVolume()
204 if (err < 0) { in getStorageUsers()
233 if (err < 0) { in getVolumeState()
[all …]
/aosp14/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp217 int err; in write_update_file() local
288 int err; in write_update_file() local
336 int err; in back_up_files() local
695 err, strerror(err)); in write_tarfile()
906 int err; in backup_helper_test_empty() local
965 int err; in backup_helper_test_four() local
1146 int err; in test_write_header_and_entity() local
1167 int err; in backup_helper_test_data_writer() local
1183 err = 0; in backup_helper_test_data_writer()
1202 int err; in test_read_header_and_entity() local
[all …]
/aosp14/frameworks/base/libs/services/src/os/
H A DDropBoxManager.cpp71 status_t err; in writeToParcel() local
75 return err; in writeToParcel()
80 return err; in writeToParcel()
86 return err; in writeToParcel()
91 return err; in writeToParcel()
96 return err; in writeToParcel()
100 return err; in writeToParcel()
109 status_t err; in readFromParcel() local
113 return err; in readFromParcel()
118 return err; in readFromParcel()
[all …]
/aosp14/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java503 if (err == 0) { in backupNowPackages()
743 if (err != 0) { in doListRestoreSets()
870 if (err == 0) { in doRestoreAll()
986 System.err.println(""); in showUsage()
990 System.err.println(""); in showUsage()
994 System.err.println(""); in showUsage()
999 System.err.println(""); in showUsage()
1002 System.err.println(""); in showUsage()
1009 System.err.println(""); in showUsage()
1012 System.err.println(""); in showUsage()
[all …]
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_utils_SurfaceUtils.cpp101 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceType()
103 strerror(-err), err); in SurfaceUtils_nativeDetectSurfaceType()
105 return err; in SurfaceUtils_nativeDetectSurfaceType()
119 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceDataspace()
121 err); in SurfaceUtils_nativeDetectSurfaceDataspace()
123 return err; in SurfaceUtils_nativeDetectSurfaceDataspace()
149 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceDimens()
152 return err; in SurfaceUtils_nativeDetectSurfaceDimens()
157 err); in SurfaceUtils_nativeDetectSurfaceDimens()
159 return err; in SurfaceUtils_nativeDetectSurfaceDimens()
[all …]
H A Dandroid_os_HwParcel.cpp58 switch (err) { in signalExceptionForError()
437 if (err == OK) { in JHwParcel_native_writeString()
531 if (err == OK) { in DEFINE_PARCEL_VECTOR_WRITER()
552 if (err == OK) { in WriteHidlVector()
673 if (err == OK) { in JHwParcel_native_writeHidlMemory()
705 if (err != OK) { in JHwParcel_native_readString()
714 if (err != OK) { in JHwParcel_native_readString()
736 if (err != OK) { in ReadNativeHandle()
805 if (err != OK) { in DEFINE_PARCEL_VECTOR_READER()
819 if (err != OK) { in DEFINE_PARCEL_VECTOR_READER()
[all …]
H A Dandroid_backup_BackupDataInput.cpp54 int err; in readNextHeader_native() local
60 err = reader->ReadNextHeader(&done, &type); in readNextHeader_native()
65 if (err != 0) { in readNextHeader_native()
66 return err < 0 ? err : -1; in readNextHeader_native()
75 if (err != 0) { in readNextHeader_native()
76 return err < 0 ? err : -1; in readNextHeader_native()
96 int err; in readEntityData_native() local
113 return err; in readEntityData_native()
119 int err; in skipEntityData_native() local
122 err = reader->SkipEntityData(); in skipEntityData_native()
[all …]
H A Dandroid_database_SQLiteConnection.cpp134 if (err != SQLITE_OK) { in nativeOpen()
158 if (err != SQLITE_OK) { in nativeOpen()
166 if (err) { in nativeOpen()
251 if (err != SQLITE_OK) { in nativeRegisterCustomScalarFunction()
345 if (err != SQLITE_OK) { in nativeRegisterCustomAggregateFunction()
361 if (err != SQLITE_OK) { in nativeRegisterLocalizedCollators()
377 if (err != SQLITE_OK) { in nativePrepareStatement()
451 if (err != SQLITE_OK) { in nativeBindNull()
462 if (err != SQLITE_OK) { in nativeBindLong()
570 return err; in executeOneRowQuery()
[all …]
H A Dandroid_os_Parcel.cpp153 if (err != NO_ERROR) { in android_os_Parcel_setDataSize()
172 if (err != NO_ERROR) { in android_os_Parcel_setDataCapacity()
205 if (err != NO_ERROR) { in android_os_Parcel_writeByteArray()
232 if (err != NO_ERROR) { in android_os_Parcel_writeBlob()
239 if (err != NO_ERROR) { in android_os_Parcel_writeBlob()
306 if (err != NO_ERROR) { in android_os_Parcel_writeString8()
332 if (err != NO_ERROR) { in android_os_Parcel_writeString16()
353 const status_t err = in android_os_Parcel_writeFileDescriptor() local
636 status_t err = in android_os_Parcel_compareDataInRange() local
638 if (err != NO_ERROR) { in android_os_Parcel_compareDataInRange()
[all …]
/aosp14/frameworks/base/services/core/jni/tvinput/
H A DBufferProducerThread.cpp36 if (err != NO_ERROR) { in readyToRun()
37 return err; in readyToRun()
41 if (err != NO_ERROR) { in readyToRun()
42 return err; in readyToRun()
45 if (err != NO_ERROR) { in readyToRun()
46 return err; in readyToRun()
66 if (err != NO_ERROR) { in setSurfaceLocked()
105 status_t err = NO_ERROR; in threadLoop() local
109 if (err != NO_ERROR && err != TIMED_OUT) { in threadLoop()
118 if (err != NO_ERROR) { in threadLoop()
[all …]
/aosp14/frameworks/base/libs/services/src/content/
H A DComponentName.cpp50 status_t err; in readFromParcel() local
59 if (err != NO_ERROR) { in readFromParcel()
60 return err; in readFromParcel()
64 if (err != NO_ERROR) { in readFromParcel()
65 return err; in readFromParcel()
72 status_t err; in writeToParcel() local
75 if (err != NO_ERROR) { in writeToParcel()
76 return err; in writeToParcel()
79 err = out->writeUtf8AsUtf16(mClass); in writeToParcel()
80 if (err != NO_ERROR) { in writeToParcel()
[all …]
/aosp14/frameworks/base/tools/bit/
H A Dadb.cpp104 *err = -1; in read_varint()
138 *err = -1; in read_sized_buffer()
156 int err = 0; in read_sized_proto() local
159 if (err != 0) { in read_sized_proto()
163 return err; in read_sized_proto()
178 return err; in read_sized_proto()
204 int err; in skip_unknown_field() local
243 int err = 0; in read_instrumentation_results() local
251 return err; in read_instrumentation_results()
335 if (err != 0) { in run_instrumentation_test()
[all …]
/aosp14/frameworks/base/cmds/incidentd/src/
H A DPrivacyFilter.cpp112 if (err != NO_ERROR) { in strip_field()
116 return err; in strip_field()
226 status_t err = NO_ERROR; in writeData() local
236 if (err != NO_ERROR) return err; in writeData()
267 status_t err; in writeData() local
338 mError = err; in onWriteError()
344 status_t err; in filter_and_write_report() local
364 return err; in filter_and_write_report()
371 return err; in filter_and_write_report()
381 if (err != NO_ERROR) { in filter_and_write_report()
[all …]
H A Dproto_util.cpp37 status_t err; in write_header_section() local
43 err = write_section_header(fd, FIELD_ID_INCIDENT_HEADER, bufSize); in write_header_section()
44 if (err != NO_ERROR) { in write_header_section()
45 return err; in write_header_section()
48 err = WriteFully(fd, buf, bufSize); in write_header_section()
49 if (err != NO_ERROR) { in write_header_section()
50 return err; in write_header_section()
63 status_t err; in write_section() local
65 err = write_section_header(fd, sectionId, message.ByteSize()); in write_section()
66 if (err != NO_ERROR) { in write_section()
[all …]
/aosp14/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DUsbCommand.java111 System.err.println( in run()
134 System.err.println( in run()
142 System.err.println( in run()
154 System.err.println("V1_3"); in run()
156 System.err.println("V1_2"); in run()
158 System.err.println("V1_1"); in run()
160 System.err.println("V1_0"); in run()
181 System.err.println( in run()
197 System.err.println( in run()
201 System.err.println( in run()
[all …]
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_SystemServer.cpp54 const binder_exception_t err = in startStatsAidlService() local
56 if (err != EX_NONE) { in startStatsAidlService()
57 ALOGW("Cannot register AIDL %s: %d", instance.c_str(), err); in startStatsAidlService()
66 const android::status_t err = statsHal->registerAsService(); in startStatsHidlService() local
67 ALOGW_IF(err != android::OK, "Cannot register HIDL %s: %d", IStats::descriptor, err); in startStatsHidlService()
80 const binder_exception_t err = in startSensorManagerAidlService() local
82 LOG_ALWAYS_FATAL_IF(err != EX_NONE, "Cannot register AIDL %s: %d", instance.c_str(), err); in startSensorManagerAidlService()
98 android::status_t err = sensorService->registerAsService(); in startSensorManagerHidlService() local
100 ISensorManager::descriptor, err); in startSensorManagerHidlService()
133 LOG_ALWAYS_FATAL_IF(err != EX_NONE, "Cannot register %s: %d", memtrackProxyService, err); in android_server_SystemServer_startMemtrackProxyService()
[all …]
/aosp14/frameworks/base/cmds/sm/src/com/android/commands/sm/
H A DSm.java54 System.err.println("Error: " + e); in main()
336 System.err.println(" sm has-adoptable"); in showUsage()
340 System.err.println(""); in showUsage()
342 System.err.println(" sm mount VOLUME"); in showUsage()
344 System.err.println(" sm format VOLUME"); in showUsage()
347 System.err.println(" sm fstrim"); in showUsage()
348 System.err.println(""); in showUsage()
350 System.err.println(""); in showUsage()
352 System.err.println(""); in showUsage()
354 System.err.println(""); in showUsage()
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A DMediaCasStateException.java30 private MediaCasStateException(int err, @Nullable String msg, @Nullable String diagnosticInfo) { in MediaCasStateException() argument
32 mErrorCode = err; in MediaCasStateException()
36 static void throwExceptionIfNeeded(int err) { in throwExceptionIfNeeded() argument
37 throwExceptionIfNeeded(err, null /* msg */); in throwExceptionIfNeeded()
40 static void throwExceptionIfNeeded(int err, @Nullable String msg) { in throwExceptionIfNeeded() argument
41 if (err == Status.OK) { in throwExceptionIfNeeded()
44 if (err == Status.BAD_VALUE) { in throwExceptionIfNeeded()
49 switch (err) { in throwExceptionIfNeeded()
105 throw new MediaCasStateException(err, msg, in throwExceptionIfNeeded()
106 String.format("%s (err=%d)", diagnosticInfo, err)); in throwExceptionIfNeeded()
/aosp14/frameworks/base/core/java/android/permission/
H A DPermissionControllerManager.java354 if (err != null) { in revokeRuntimePermissions()
438 if (err != null) { in getRuntimePermissionBackup()
573 if (err != null) { in getAppPermissions()
626 if (err != null) { in countPermissionApps()
660 if (err != null) { in getPermissionUsages()
695 if (err != null) { in grantOrUpgradeDefaultRuntimePermissions()
723 if (err != null) { in getPrivilegesDescriptionStringForProfile()
750 if (err != null) { in updateUserSensitiveForApp()
852 if (err != null) { in getUnusedAppCount()
885 if (err != null) { in getHibernationEligibility()
[all …]
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp128 status_t err; in getTrackFormat() local
130 return err; in getTrackFormat()
140 status_t err; in getFileFormat() local
142 return err; in getFileFormat()
226 if (err != OK) { in readSampleData()
227 return err; in readSampleData()
271 if (err != OK) { in getSampleFlags()
272 return err; in getSampleFlags()
366 if (err != OK) { in android_media_MediaExtractor_getTrackFormatNative()
386 if (err != OK) { in android_media_MediaExtractor_getFileFormatNative()
[all …]
H A Dandroid_media_MediaDrm.cpp276 err.getCdmErr(), err.getOemErr(), err.getContext()); in drmThrowException()
387 switch (err) { in MediaErrorToJavaError()
433 err.getCdmErr(), err.getOemErr(), err.getContext()); in throwStateException()
441 switch(err) { in throwSessionException()
453 err.getCdmErr(), in throwSessionException()
472 if (err == BAD_VALUE || err == ERROR_DRM_CANNOT_HANDLE) { in throwExceptionAsNecessary()
493 } else if (err != OK) { in throwExceptionAsNecessary()
537 if (err != OK) { in MakeDrm()
1012 if (err != OK) { in android_media_MediaDrm_native_setup()
1981 if (err != OK) { in android_media_MediaDrm_native_getMetrics()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DResource.cpp233 return err; in parsePackage()
810 const char* err; in massageRoundIconSupport() local
1250 return err; in generateAndroidManifestForSplit()
1269 return err; in buildResources()
2194 return err; in buildResources()
3004 status_t err; in writeProguardForAndroidManifest() local
3134 status_t err; in writeProguardForXml() local
3226 status_t err; in writeProguardForLayouts() local
3316 return err; in writeProguardSpec()
3331 if (err < 0) { in writeProguardFile()
[all …]
/aosp14/frameworks/base/tools/aapt2/compile/
H A DNinePatch_test.cpp185 std::string err; in TEST() local
191 std::string err; in TEST() local
197 std::string err; in TEST() local
203 std::string err; in TEST() local
216 std::string err; in TEST() local
233 std::string err; in TEST() local
241 std::string err; in TEST() local
249 std::string err; in TEST() local
255 std::string err; in TEST() local
262 std::string err; in TEST() local
[all …]

12345678910>>...17