/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandException.java | 27 private Error mError; 29 public enum Error { enum in CommandException 121 public CommandException(Error e) { in CommandException() 126 public CommandException(Error e, String errString) { in CommandException() 136 return new CommandException(Error.INVALID_RESPONSE); in fromRilErrno() 138 return new CommandException(Error.RADIO_NOT_AVAILABLE); in fromRilErrno() 140 return new CommandException(Error.GENERIC_FAILURE); in fromRilErrno() 142 return new CommandException(Error.PASSWORD_INCORRECT); in fromRilErrno() 144 return new CommandException(Error.SIM_PIN2); in fromRilErrno() 146 return new CommandException(Error.SIM_PUK2); in fromRilErrno() [all …]
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 172 Error HwcDisplay::GetFrame( in GetFrame() 183 return Error::BAD_LAYER; in GetFrame() 209 return Error::NONE; in GetFrame() 259 Error VrHwc::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay() 265 return Error::NONE; in createVirtualDisplay() 268 Error VrHwc::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay() 271 return Error::BAD_DISPLAY; in destroyVirtualDisplay() 277 return Error::NONE; in destroyVirtualDisplay() 280 Error VrHwc::createLayer(Display display, Layer* outLayer) { in createLayer() 284 return Error::BAD_DISPLAY; in createLayer() [all …]
|
D | vr_hwc.h | 144 Error GetFrame(std::vector<ComposerView::ComposerLayer>* out_frame); 201 Error setLayerInfo(Display display, Layer layer, uint32_t type, 203 Error setClientTargetMetadata( 205 Error setLayerBufferMetadata( 214 Error createVirtualDisplay(uint32_t width, uint32_t height, 216 Error destroyVirtualDisplay(Display display) override; 218 Error createLayer(Display display, Layer* outLayer) override; 219 Error destroyLayer(Display display, Layer layer) override; 221 Error getActiveConfig(Display display, Config* outConfig) override; 222 Error getClientTargetSupport(Display display, [all …]
|
D | vr_composer_client.h | 46 Return<Error> destroyVirtualDisplay(Display display) override; 49 Return<Error> destroyLayer(Display display, Layer layer) override; 52 Return<Error> getClientTargetSupport( 70 Return<Error> setActiveConfig(Display display, Config config) override; 71 Return<Error> setColorMode(Display display, ColorMode mode) override; 72 Return<Error> setPowerMode(Display display, PowerMode mode) override; 73 Return<Error> setVsyncEnabled(Display display, Vsync enabled) override; 74 Return<Error> setClientTargetSlotCount( 76 Return<Error> setInputCommandQueue(
|
D | vr_composer_client.cpp | 105 if (err != Error::NONE) { in parseSetLayerInfo() 118 if (err != Error::NONE) in parseSetClientTargetMetadata() 131 if (err != Error::NONE) in parseSetLayerBufferMetadata() 184 Return<Error> VrComposerClient::destroyVirtualDisplay(Display display) { in destroyVirtualDisplay() 193 Return<Error> VrComposerClient::destroyLayer(Display display, Layer layer) { in destroyLayer() 202 Return<Error> VrComposerClient::getClientTargetSupport(Display display, in getClientTargetSupport() 243 Return<Error> VrComposerClient::setActiveConfig(Display display, in setActiveConfig() 248 Return<Error> VrComposerClient::setColorMode(Display display, ColorMode mode) { in setColorMode() 252 Return<Error> VrComposerClient::setPowerMode(Display display, PowerMode mode) { in setPowerMode() 256 Return<Error> VrComposerClient::setVsyncEnabled(Display display, in setVsyncEnabled() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 136 Error Device::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay() 145 auto error = static_cast<Error>(intError); in createVirtualDisplay() 146 if (error != Error::None) { in createVirtualDisplay() 156 return Error::None; in createVirtualDisplay() 180 auto error = static_cast<Error>(intError); in onHotplug() 181 if (error != Error::None) { in onHotplug() 245 auto error = static_cast<Error>(intError); in ~Display() 246 ALOGE_IF(error != Error::None, "destroyVirtualDisplay(%" PRIu64 in ~Display() 250 if (error != Error::None) { in ~Display() 287 Error Display::acceptChanges() in acceptChanges() [all …]
|
D | ComposerHal.cpp | 90 constexpr Error kDefaultError = Error::NO_RESOURCES; 99 Error unwrapRet(Return<Error>& ret) in unwrapRet() 177 if (tmpError == Error::NONE) { in Composer() 236 Error Composer::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay() 240 Error error = kDefaultError; in createVirtualDisplay() 245 if (error != Error::NONE) { in createVirtualDisplay() 256 Error Composer::destroyVirtualDisplay(Display display) in destroyVirtualDisplay() 262 Error Composer::acceptDisplayChanges(Display display) in acceptDisplayChanges() 266 return Error::NONE; in acceptDisplayChanges() 269 Error Composer::createLayer(Display display, Layer* outLayer) in createLayer() [all …]
|
D | ComposerHal.h | 47 using android::hardware::graphics::composer::V2_1::Error; 67 Error parse(); 72 Error error; 157 Error createVirtualDisplay(uint32_t width, uint32_t height, 159 Error destroyVirtualDisplay(Display display); 161 Error acceptDisplayChanges(Display display); 163 Error createLayer(Display display, Layer* outLayer); 164 Error destroyLayer(Display display, Layer layer); 166 Error getActiveConfig(Display display, Config* outConfig); 167 Error getChangedCompositionTypes(Display display, [all …]
|
D | HWC2.h | 98 Error createVirtualDisplay(uint32_t width, uint32_t height, 202 [[clang::warn_unused_result]] Error acceptChanges(); 203 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer); 204 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer); 205 [[clang::warn_unused_result]] Error getActiveConfig( 207 [[clang::warn_unused_result]] Error getChangedCompositionTypes( 209 [[clang::warn_unused_result]] Error getColorModes( 215 [[clang::warn_unused_result]] Error getName(std::string* outName) const; 216 [[clang::warn_unused_result]] Error getRequests( 219 [[clang::warn_unused_result]] Error getType(DisplayType* outType) const; [all …]
|
D | HWComposer.cpp | 151 if (error != HWC2::Error::None) { in onVsync() 216 if (error != HWC2::Error::None) { in allocateVirtualDisplay() 250 if (error != HWC2::Error::None) { in createLayer() 265 if (error != HWC2::Error::None) { in destroyLayer() 314 if (error == HWC2::Error::BadConfig) { in getActiveConfig() 317 } else if (error != HWC2::Error::None) { in getActiveConfig() 340 if (error != HWC2::Error::None) { in getColorModes() 357 if (error != HWC2::Error::None) { in setActiveColorMode() 389 if (error == HWC2::Error::None) { in setVsyncEnabled() 414 if (error != HWC2::Error::None) { in setClientTarget() [all …]
|
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 33 static constexpr Error kTransactionError = Error::NO_RESOURCES; 47 Error Mapper::createDescriptor( in createDescriptor() 51 Error error; in createDescriptor() 56 if (error != Error::NONE) { in createDescriptor() 66 Error Mapper::importBuffer(const hardware::hidl_handle& rawHandle, in importBuffer() 69 Error error; in importBuffer() 74 if (error != Error::NONE) { in importBuffer() 89 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer() 90 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer() 94 Error Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, in lock() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 251 std::error_code Error(BitcodeError E, const Twine &Message); 252 std::error_code Error(BitcodeError E); 253 std::error_code Error(const Twine &Message); 360 static std::error_code Error(const DiagnosticHandlerFunction &DiagnosticHandler, in Error() function 367 static std::error_code Error(const DiagnosticHandlerFunction &DiagnosticHandler, in Error() function 369 return Error(DiagnosticHandler, EC, EC.message()); in Error() 372 std::error_code BitcodeReader::Error(BitcodeError E, const Twine &Message) { in Error() function in BitcodeReader 373 return ::Error(DiagnosticHandler, make_error_code(E), Message); in Error() 376 std::error_code BitcodeReader::Error(const Twine &Message) { in Error() function in BitcodeReader 377 return ::Error(DiagnosticHandler, in Error() [all …]
|
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 85 HWC2::Error createVirtualDisplay(uint32_t width, uint32_t height, 97 HWC2::Error destroyVirtualDisplay(hwc2_display_t display); 116 HWC2::Error registerCallback(HWC2::Callback descriptor, 202 HWC2::Error acceptChanges(); 203 HWC2::Error createLayer(hwc2_layer_t* outLayerId); 204 HWC2::Error destroyLayer(hwc2_layer_t layerId); 205 HWC2::Error getActiveConfig(hwc2_config_t* outConfigId); 206 HWC2::Error getAttribute(hwc2_config_t configId, 208 HWC2::Error getChangedCompositionTypes(uint32_t* outNumElements, 210 HWC2::Error getColorModes(uint32_t* outNumModes, int32_t* outModes); [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 488 std::error_code Error(BitcodeError E, const Twine &Message); 489 std::error_code Error(BitcodeError E); 490 std::error_code Error(const Twine &Message); 598 static std::error_code Error(const DiagnosticHandlerFunction &DiagnosticHandler, in Error() function 605 static std::error_code Error(const DiagnosticHandlerFunction &DiagnosticHandler, in Error() function 607 return Error(DiagnosticHandler, EC, EC.message()); in Error() 610 std::error_code BitcodeReader::Error(BitcodeError E, const Twine &Message) { in Error() function in BitcodeReader 611 return ::Error(DiagnosticHandler, make_error_code(E), Message); in Error() 614 std::error_code BitcodeReader::Error(const Twine &Message) { in Error() function in BitcodeReader 615 return ::Error(DiagnosticHandler, in Error() [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc2.h | 34 using hardware::graphics::mapper::V2_0::Error; 45 Error createDescriptor( 53 Error importBuffer(const hardware::hidl_handle& rawHandle, 60 Error lock(buffer_handle_t bufferHandle, uint64_t usage, 66 Error lock(buffer_handle_t bufferHandle, uint64_t usage, 92 Error allocate(BufferDescriptor descriptor, uint32_t count, 95 Error allocate(BufferDescriptor descriptor, in allocate() 101 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, in allocate() 105 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor); in allocate() 106 if (error == Error::NONE) { in allocate() [all …]
|
/frameworks/native/libs/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 316 Error HWC2On1Adapter::createVirtualDisplay(uint32_t width, in createVirtualDisplay() 323 return Error::NoResources; in createVirtualDisplay() 335 return Error::None; in createVirtualDisplay() 338 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) { in destroyVirtualDisplay() 342 return Error::BadDisplay; in destroyVirtualDisplay() 349 return Error::None; in destroyVirtualDisplay() 418 Error HWC2On1Adapter::registerCallback(Callback descriptor, in registerCallback() 421 return Error::BadParameter; in registerCallback() 434 return Error::None; in registerCallback() 502 return Error::None; in registerCallback() [all …]
|
/frameworks/base/tools/streaming_proto/ |
D | Errors.cpp | 13 Error::Error() in Error() function in android::javastream_proto::Error 17 Error::Error(const Error& that) in Error() function in android::javastream_proto::Error 24 Error::Error(const string& f, int l, const char* m) in Error() function in android::javastream_proto::Error 59 Error error(filename, lineno, buffer); in AddImpl() 68 for (vector<Error>::const_iterator it = m_errors.begin(); it != m_errors.end(); it++) { in Print()
|
D | Errors.h | 11 struct Error struct 13 Error(); 14 explicit Error(const Error& that); 15 Error(const string& filename, int lineno, const char* message); 38 vector<Error> m_errors; argument
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 193 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 205 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 272 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 282 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 304 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources() 349 diag_->Error(DiagMessage(source_) << "resource '" << stripped_resource in ParseResources() 422 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 433 diag_->Error(DiagMessage(out_resource->source) in ParseResource() 446 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 458 diag_->Error(DiagMessage(out_resource->source) in ParseResource() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.cpp | 71 return Error(ERROR_DEVICE_NAME); in ConfigureBegin() 83 return Error(status); in ConfigureBegin() 100 return Error(ERROR_PROPERTY_RANGE); in ConfigureInputProperty() 107 return Error(status); in ConfigureInputProperty() 116 return Error(ERROR_KEY_RANGE); in ConfigureKey() 126 return Error(status); in ConfigureKey() 138 return Error(ERROR_ABS_RANGE); in ConfigureAbs() 148 return Error(status); in ConfigureAbs() 175 return Error(ERROR_REL_RANGE); in ConfigureRel() 185 return Error(status); in ConfigureRel() [all …]
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 143 context->GetDiagnostics()->Error(DiagMessage(root_dir) << "failed to open directory: " in LoadInputFilesFromDir() 162 context->GetDiagnostics()->Error(DiagMessage(prefix_path) << "failed to open directory: " in LoadInputFilesFromDir() 178 context->GetDiagnostics()->Error(DiagMessage(full_path) << err_str); in LoadInputFilesFromDir() 195 context->GetDiagnostics()->Error(DiagMessage(path_data.source) in CompileTable() 240 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to open"); in CompileTable() 253 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to write"); in CompileTable() 259 context->GetDiagnostics()->Error(DiagMessage(output_path) << "failed to finish entry"); in CompileTable() 270 diag->Error(DiagMessage(output_path) << "failed to open file"); in WriteHeaderAndBufferToWriter() 290 diag->Error(DiagMessage(output_path) << "failed to write data"); in WriteHeaderAndBufferToWriter() 296 diag->Error(DiagMessage(output_path) << "failed to finish writing data"); in WriteHeaderAndBufferToWriter() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer.cpp | 46 diag->Error(DiagMessage(el->line_number) in NameIsJavaClassName() 65 diag->Error(DiagMessage(el->line_number) in RequiredNameIsJavaClassName() 74 diag->Error(DiagMessage(el->line_number) in RequiredNameIsJavaPackage() 82 diag->Error(DiagMessage(el->line_number) in RequiredAndroidAttribute() 106 diag->Error(DiagMessage(el->line_number) in AutoGenerateIsFeatureSplit() 123 diag->Error(DiagMessage(el->line_number) in VerifyManifest() 127 diag->Error(DiagMessage(el->line_number) in VerifyManifest() 131 diag->Error(DiagMessage(el->line_number) in VerifyManifest() 140 diag->Error(DiagMessage(el->line_number) << "attribute 'split' in <manifest> tag is not a " in VerifyManifest() 154 diag->Error(DiagMessage(el->line_number) << "attribute coreApp must be a boolean"); in FixCoreAppAttribute() [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 134 HWC::Error error = HWC::Error::None; in Initialize() 139 if (error != HWC::Error::None) { in Initialize() 148 if (error != HWC::Error::None) { in Initialize() 274 HWC::Error HardwareComposer::Validate(hwc2_display_t display) { in Validate() 277 HWC::Error error = in Validate() 291 HWC::Error HardwareComposer::EnableVsync(bool enabled) { in EnableVsync() 298 HWC::Error HardwareComposer::SetPowerMode(bool active) { in SetPowerMode() 304 HWC::Error HardwareComposer::Present(hwc2_display_t display) { in Present() 306 HWC::Error error = composer_->presentDisplay(display, &present_fence); in Present() 310 if (error == HWC::Error::None) { in Present() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagCommonKinds.inc | 2 DiagnosticEngine::Error, 13 DIAG(err_no_inputs, DiagnosticEngine::Error, "no inputs", "no inputs") 15 DiagnosticEngine::Error, 33 DiagnosticEngine::Error, 81 DiagnosticEngine::Error, 85 DiagnosticEngine::Error, 89 DiagnosticEngine::Error, 93 DiagnosticEngine::Error, 107 DiagnosticEngine::Error, 111 DiagnosticEngine::Error, [all …]
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 91 context_->GetDiagnostics()->Error(DiagMessage(source_) in Parse() 97 context_->GetDiagnostics()->Error(DiagMessage(source_) in Parse() 128 context_->GetDiagnostics()->Error(DiagMessage(source_) in ParseTable() 142 context_->GetDiagnostics()->Error( in ParseTable() 172 context_->GetDiagnostics()->Error( in ParseTable() 184 context_->GetDiagnostics()->Error(DiagMessage(source_) << "corrupt ResTable_package chunk"); in ParsePackage() 190 context_->GetDiagnostics()->Error( in ParsePackage() 207 context_->GetDiagnostics()->Error( in ParsePackage() 227 context_->GetDiagnostics()->Error(DiagMessage(source_) in ParsePackage() 237 context_->GetDiagnostics()->Error(DiagMessage(source_) in ParsePackage() [all …]
|