/aosp14/frameworks/base/libs/incident/src/ |
H A D | IncidentReportArgs.cpp | 55 if (err != NO_ERROR) { in writeToParcel() 60 if (err != NO_ERROR) { in writeToParcel() 72 if (err != NO_ERROR) { in writeToParcel() 84 if (err != NO_ERROR) { in writeToParcel() 89 if (err != NO_ERROR) { in writeToParcel() 94 if (err != NO_ERROR) { in writeToParcel() 99 if (err != NO_ERROR) { in writeToParcel() 103 return NO_ERROR; in writeToParcel() 113 if (err != NO_ERROR) { in readFromParcel() 123 if (err != NO_ERROR) { in readFromParcel() [all …]
|
/aosp14/frameworks/base/cmds/incidentd/src/ |
H A D | PrivacyFilter.cpp | 104 return NO_ERROR; in strip_field() 120 return NO_ERROR; in strip_field() 202 return NO_ERROR; in strip() 222 return NO_ERROR; in strip() 226 status_t err = NO_ERROR; in writeData() 231 return NO_ERROR; in writeData() 238 return NO_ERROR; in writeData() 317 return NO_ERROR; in writeData() 334 mError(NO_ERROR) { in ReadbackFilterFd() 381 if (err != NO_ERROR) { in filter_and_write_report() [all …]
|
H A D | proto_util.cpp | 40 return NO_ERROR; in write_header_section() 44 if (err != NO_ERROR) { in write_header_section() 49 if (err != NO_ERROR) { in write_header_section() 53 return NO_ERROR; in write_header_section() 59 return WriteFully(fd, buf, p - buf) ? NO_ERROR : -errno; in write_section_header() 66 if (err != NO_ERROR) { in write_section() 74 return NO_ERROR; in write_section()
|
H A D | Broadcaster.cpp | 175 if (err != NO_ERROR) { in sendBroadcasts() 223 if (err != NO_ERROR) { in sendBroadcasts() 239 if (err != NO_ERROR) { in sendBroadcasts() 321 return NO_ERROR; in send_approval_broadcasts() 334 if (err != NO_ERROR) { in report_approved() 339 if (err != NO_ERROR) { in report_approved() 346 if (err != NO_ERROR) { in report_approved() 382 return NO_ERROR; in send_report_ready_broadcasts() 392 return NO_ERROR; in send_to_dropbox() 398 return NO_ERROR; in send_to_dropbox() [all …]
|
H A D | Section.cpp | 106 return NO_ERROR; in Execute() 288 status_t err = NO_ERROR; in Execute() 292 if (err != NO_ERROR) { in Execute() 309 if (err != NO_ERROR) { in Execute() 314 return NO_ERROR; in Execute() 319 return NO_ERROR; in Execute() 323 return NO_ERROR; in Execute() 394 if (cmdStatus != NO_ERROR || ihStatus != NO_ERROR) { in Execute() 398 return NO_ERROR; in Execute() 437 return NO_ERROR; in BlockingCall() [all …]
|
H A D | Reporter.cpp | 355 if (it->second->getStatus() != NO_ERROR) { in getFailedRequests() 361 if ((*request)->getStatus() != NO_ERROR) { in getFailedRequests() 532 status_t err = NO_ERROR; in runReport() 566 if (err != NO_ERROR) { in runReport() 575 if (err != NO_ERROR) { in runReport() 665 if (err != NO_ERROR) { in runReport() 680 if (nonFatalErr != NO_ERROR) { in runReport() 692 if (err == NO_ERROR) { in runReport() 711 return NO_ERROR; in execute_section() 729 if (err != NO_ERROR) { in execute_section() [all …]
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 54 m_status(NO_ERROR), in BackupDataWriter() 83 return NO_ERROR; in write_padding_for() 89 if (m_status != NO_ERROR) { in WriteEntityHeader() 150 if (m_status != NO_ERROR) { in WriteEntityData() 167 return NO_ERROR; in WriteEntityData() 180 m_status(NO_ERROR), in BackupDataReader() 235 return NO_ERROR; in ReadNextHeader() 243 return NO_ERROR; in ReadNextHeader() 308 return NO_ERROR; in ReadEntityHeader() 328 return NO_ERROR; in SkipEntityData() [all …]
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | Split_test.cpp | 68 ASSERT_EQ(NO_ERROR, in TEST_F() 79 ASSERT_EQ(NO_ERROR, in TEST_F() 108 ASSERT_EQ(NO_ERROR, in TEST_F() 132 ASSERT_EQ(NO_ERROR, in TEST_F() 159 ASSERT_EQ(NO_ERROR, in TEST_F() 190 ASSERT_EQ(NO_ERROR, in TEST_F() 215 ASSERT_EQ(NO_ERROR, in TEST_F() 222 ASSERT_EQ(NO_ERROR, in TEST_F() 233 ASSERT_EQ(NO_ERROR, in TEST_F() 239 ASSERT_EQ(NO_ERROR, in TEST_F() [all …]
|
H A D | DynamicRefTable_test.cpp | 30 ASSERT_EQ(shared_table.lookupResourceValue(&value), NO_ERROR); in TEST() 39 ASSERT_EQ(shared_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST() 50 ASSERT_EQ(shared_table.lookupResourceValue(&value), NO_ERROR); in TEST() 59 ASSERT_EQ(shared_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST() 71 ASSERT_EQ(shared_table.lookupResourceValue(&value), NO_ERROR); in TEST() 80 ASSERT_EQ(app_table.lookupResourceValue(&value3), NO_ERROR); in TEST() 92 ASSERT_EQ(shared_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST() 102 ASSERT_EQ(app_table.lookupResourceValue(&value), NO_ERROR); in TEST() 112 ASSERT_EQ(custom_app_table.lookupResourceValue(&value2), NO_ERROR); in TEST()
|
H A D | BackupData_test.cpp | 86 EXPECT_EQ(NO_ERROR, reader->Status()) in TEST_F() 97 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 145 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 200 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 247 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 288 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 300 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 340 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 352 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() 364 EXPECT_EQ(NO_ERROR, reader->ReadEntityHeader(&key, &dataSize)) in TEST_F() [all …]
|
H A D | ResTable_test.cpp | 42 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); in TEST() 51 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); in TEST() 62 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); in TEST() 79 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); in TEST() 82 ASSERT_EQ(NO_ERROR, theme.applyStyle(basic::R::style::Theme1)); in TEST() 103 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); in TEST() 106 ASSERT_EQ(NO_ERROR, theme.applyStyle(basic::R::style::Theme2)); in TEST() 130 ASSERT_EQ(NO_ERROR, theme.applyStyle(lib::R::style::Theme)); in TEST() 232 ASSERT_EQ(NO_ERROR, table.addEmpty(assetCookie)); in TEST() 346 ASSERT_EQ(NO_ERROR, table.add(&sharedTable, false)); in TEST() [all …]
|
/aosp14/frameworks/base/media/jni/audioeffect/ |
H A D | Visualizer.cpp | 150 return NO_ERROR; in setCaptureCallBack() 177 if (status == NO_ERROR) { in setCaptureSize() 206 if (status == NO_ERROR) { in setScalingMode() 236 if (status == NO_ERROR) { in setMeasurementMode() 265 status_t status = NO_ERROR; in getIntMeasurements() 292 status_t status = NO_ERROR; in getWaveForm() 316 status_t status = NO_ERROR; in getFft() 354 return NO_ERROR; in doFft() 403 if (status == NO_ERROR) { in initCaptureSize() 408 if (status == NO_ERROR) { in initCaptureSize() [all …]
|
/aosp14/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 66 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener() 82 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener() 146 if (remote()->transact(TRANSACTION_mountVolume, data, &reply) != NO_ERROR) { in mountVolume() 165 if (remote()->transact(TRANSACTION_unmountVolume, data, &reply) != NO_ERROR) { in unmountVolume() 182 if (remote()->transact(TRANSACTION_formatVolume, data, &reply) != NO_ERROR) { in formatVolume() 199 if (remote()->transact(TRANSACTION_getStorageUsers, data, &reply) != NO_ERROR) { in getStorageUsers() 228 if (remote()->transact(TRANSACTION_getVolumeState, data, &reply) != NO_ERROR) { in getVolumeState() 415 if (remote()->transact(TRANSACTION_shutdown, data, &reply) != NO_ERROR) { in shutdown() 453 if (remote()->transact(TRANSACTION_mountObb, data, &reply) != NO_ERROR) { in mountObb() 473 if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) { in unmountObb() [all …]
|
/aosp14/frameworks/base/libs/services/src/os/ |
H A D | DropBoxManager.cpp | 74 if (err != NO_ERROR) { in writeToParcel() 79 if (err != NO_ERROR) { in writeToParcel() 85 if (err != NO_ERROR) { in writeToParcel() 90 if (err != NO_ERROR) { in writeToParcel() 95 if (err != NO_ERROR) { in writeToParcel() 99 if (err != NO_ERROR) { in writeToParcel() 103 return NO_ERROR; in writeToParcel() 112 if (err != NO_ERROR) { in readFromParcel() 117 if (err != NO_ERROR) { in readFromParcel() 122 if (err != NO_ERROR) { in readFromParcel() [all …]
|
/aosp14/frameworks/base/tools/aapt/tests/ |
H A D | ResourceFilter_test.cpp | 32 ASSERT_EQ(NO_ERROR, filter.parse(String8(""))); in TEST() 47 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 57 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 68 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 80 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr_FR,sw360dp,normal,en_US"))); in TEST() 91 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 115 ASSERT_EQ(NO_ERROR, filter.parse(String8("sw600dp"))); in TEST() 128 ASSERT_EQ(NO_ERROR, filter.parse(String8("de-rDE"))); in TEST() 139 EXPECT_EQ(NO_ERROR, filter.parse(String8("de_DE"))); in TEST() 144 ASSERT_EQ(NO_ERROR, filter.parse(String8("normal-v4"))); in TEST() [all …]
|
/aosp14/frameworks/base/services/core/jni/tvinput/ |
H A D | BufferProducerThread.cpp | 36 if (err != NO_ERROR) { in readyToRun() 41 if (err != NO_ERROR) { in readyToRun() 45 if (err != NO_ERROR) { in readyToRun() 48 return NO_ERROR; in readyToRun() 66 if (err != NO_ERROR) { in setSurfaceLocked() 105 status_t err = NO_ERROR; in threadLoop() 109 if (err != NO_ERROR && err != TIMED_OUT) { in threadLoop() 118 if (err != NO_ERROR) { in threadLoop() 125 if (err != NO_ERROR) { in threadLoop() 135 if (err != NO_ERROR) { in threadLoop()
|
/aosp14/frameworks/base/libs/services/src/content/ |
H A D | ComponentName.cpp | 59 if (err != NO_ERROR) { in readFromParcel() 64 if (err != NO_ERROR) { in readFromParcel() 68 return NO_ERROR; in readFromParcel() 75 if (err != NO_ERROR) { in writeToParcel() 80 if (err != NO_ERROR) { in writeToParcel() 84 return NO_ERROR; in writeToParcel()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 286 return NO_ERROR; in parsePackage() 389 return (hasErrors || (res < NO_ERROR)) ? STATUST(UNKNOWN_ERROR) : NO_ERROR; in preProcessImages() 1040 return NO_ERROR; in massageManifest() 1253 return NO_ERROR; in generateAndroidManifestForSplit() 2326 return NO_ERROR; in writeResourceLoadedCallback() 2785 return NO_ERROR; in writeSymbolClass() 2826 return NO_ERROR; in writeTextSymbolClass() 2928 return NO_ERROR; in writeResourceSymbols() 3119 return NO_ERROR; in writeProguardForAndroidManifest() 3206 return NO_ERROR; in writeProguardForXml() [all …]
|
H A D | ZipFile.cpp | 121 result = NO_ERROR; in open() 603 != NO_ERROR) in add() 632 result = NO_ERROR; in add() 667 return NO_ERROR; in copyFpToFp() 687 return NO_ERROR; in copyDataToFp() 731 return NO_ERROR; in copyPartialFpToFp() 885 return NO_ERROR; in remove() 938 return NO_ERROR; in flush() 1092 return NO_ERROR; in filemove() 1253 return NO_ERROR; in readBuf() [all …]
|
H A D | Package.cpp | 59 status_t result = NO_ERROR; in writeAPK() 102 if (status != NO_ERROR) { in writeAPK() 135 result = NO_ERROR; in writeAPK() 164 if (result != NO_ERROR) { in writeAPK() 196 assert(result == NO_ERROR); in writeAPK() 200 if (result != NO_ERROR) { in writeAPK() 209 if (result == NO_ERROR && bundle->getVerbose()) in writeAPK() 337 if (result == NO_ERROR) { in processFile()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_utils_SurfaceUtils.cpp | 101 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceType() 119 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceDataspace() 149 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceDimens() 155 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceDimens() 162 return NO_ERROR; in SurfaceUtils_nativeDetectSurfaceDimens() 177 if (err != NO_ERROR) { in SurfaceUtils_nativeDetectSurfaceUsageFlags()
|
H A D | android_hardware_Camera.cpp | 542 if (rc != NO_ERROR) { in android_hardware_Camera_getCameraInfo() 578 if (camera->getStatus() != NO_ERROR) { in android_hardware_Camera_native_setup() 601 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 630 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 637 return NO_ERROR; in android_hardware_Camera_native_setup() 804 if (c->autoFocus() != NO_ERROR) { in android_hardware_Camera_autoFocus() 903 if (camera->lock() != NO_ERROR) { in android_hardware_Camera_lock() 914 if (camera->unlock() != NO_ERROR) { in android_hardware_Camera_unlock() 930 } else if (rc != NO_ERROR) { in android_hardware_Camera_startSmoothZoom() 967 if (rc == NO_ERROR) { in android_hardware_Camera_enableShutterSound() [all …]
|
H A D | android_os_Parcel.cpp | 153 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() 246 if (err2 != 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() 343 if (err != NO_ERROR) { in android_os_Parcel_writeStrongBinder() 638 if (err != NO_ERROR) { in android_os_Parcel_compareDataInRange() [all …]
|
/aosp14/frameworks/base/cmds/incidentd/tests/ |
H A D | FdBuffer_test.cpp | 89 ASSERT_EQ(NO_ERROR, buffer.read(tf.fd, READ_TIMEOUT)); in TEST_F() 102 ASSERT_EQ(NO_ERROR, buffer.read(tf.fd, READ_TIMEOUT)); in TEST_F() 115 ASSERT_EQ(NO_ERROR, buffer.read(tf.fd, READ_TIMEOUT)); in TEST_F() 139 ASSERT_EQ(NO_ERROR, status); in TEST_F() 167 ASSERT_EQ(NO_ERROR, in TEST_F() 200 ASSERT_EQ(NO_ERROR, in TEST_F() 226 ASSERT_EQ(NO_ERROR, in TEST_F() 254 ASSERT_EQ(NO_ERROR, in TEST_F() 288 ASSERT_EQ(NO_ERROR, in TEST_F() 322 ASSERT_EQ(NO_ERROR, in TEST_F()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | ReliableSurface.cpp | 54 LOG_ALWAYS_FATAL_IF(result != NO_ERROR, "Failed to set cancelBuffer interceptor: error = %d", in init() 58 LOG_ALWAYS_FATAL_IF(result != NO_ERROR, "Failed to set dequeueBuffer interceptor: error = %d", in init() 62 LOG_ALWAYS_FATAL_IF(result != NO_ERROR, "Failed to set queueBuffer interceptor: error = %d", in init() 66 LOG_ALWAYS_FATAL_IF(result != NO_ERROR, "Failed to set perform interceptor: error = %d", in init() 70 LOG_ALWAYS_FATAL_IF(result != NO_ERROR, "Failed to set query interceptor: error = %d", in init() 165 if (result != NO_ERROR) { in acquireFallbackBuffer()
|