/frameworks/base/tools/aapt2/compile/ |
H A D | IdAssigner.cpp | 70 const bool result = local 73 if (!result) { 83 auto result = assigned_ids.insert({resource_id, name}); local 84 const ResourceName& existing_name = result.first->second; 85 if (!result.second) { 103 auto result = assigned_ids.insert({pre_assigned_id, pre_assigned_name}); local 104 const ResourceName& existing_name = result.first->second; 105 if (!result.second && existing_name != pre_assigned_name) {
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 147 int32_t result = writer_->StartEntry(path.data(), zip_flags); variable 148 if (result != 0) { 149 error_ = ZipWriter::ErrorCodeString(result); 156 int32_t result = writer_->WriteBytes(data, len); variable 157 if (result != 0) { 158 error_ = ZipWriter::ErrorCodeString(result); 165 int32_t result = writer_->FinishEntry(); variable 166 if (result != 0) { 167 error_ = ZipWriter::ErrorCodeString(result); 198 int32_t result variable 208 int32_t result = writer_->DiscardLastEntry(); variable [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer_test.cpp | 90 Maybe<ResourceTable::SearchResult> result = local 92 AAPT_ASSERT_TRUE(result); 93 EXPECT_EQ(SymbolState::kPublic, result.value().type->symbol_status.state); 94 EXPECT_EQ(SymbolState::kPublic, result.value().entry->symbol_status.state); 96 result = new_table->FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); 97 ASSERT_TRUE(result); 98 EXPECT_EQ(SymbolState::kUndefined, result.value().entry->symbol_status.state); 99 EXPECT_TRUE(result.value().entry->symbol_status.allow_new);
|
/frameworks/base/tools/bit/ |
H A D | adb.cpp | 88 uint64_t result = 0; local 94 return result; 98 result |= uint64_t(byte & 0x7F) << bits; 100 return result; 124 print_error("result buffer too large: %llu", size); 244 string result; 317 string result;
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | ClientUtils.java | 93 private Client result; field in class:ClientUtils.WaitForClient 100 this.result = null; 108 if (result == null) { 109 result = searchForClient(device); 112 if (result == null) { 122 return result; 169 result = arg0;
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | ComputeThresholdAction.java | 88 Set<String> result = fromThreshold(uses, blacklist, threshold); 91 boolean ret = Main.getUI().showConfirmDialog("Computed a set with " + result.size() 96 saveSet(result, f); 137 private static void saveSet(Set<String> result, File f) { argument 140 for (String s : result) {
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 114 Script *result = nullptr; local 125 if (result != nullptr) { 126 if (!result->mergeSource(*source)) { 133 result = new (std::nothrow) Script(source); 134 if (result == nullptr) { 143 return result; 201 Compiler::ErrorCode result = compiler->config(*config); local 203 if (result != Compiler::kSuccess) { 205 << Compiler::GetErrorString(result) << ")\n";
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Module.cpp | 57 AliasList* result = gc_aliaslist_factory.allocate(); local 58 new (result) AliasList(); 59 m_AliasLists.push_back(result); 60 result->push_back(&pSym);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | FragmentRef.cpp | 70 FragmentRef* result = g_FragRefFactory->allocate(); 71 new (result) FragmentRef(*frag, offset); 73 return result; 151 Offset result = 0; local 153 result = m_pFragment->getOffset(); 154 return (result + m_Offset);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 88 const DiagStaticInfo* result = local 91 if (result == (static_info + info_size) || result->ID != pID) 94 return result;
|
H A D | ELFDynObjReader.cpp | 58 bool result = true; local 61 result = false; 64 result = false; 67 result = false; 70 result = false; 72 return result; 116 bool result = local 118 return result;
|
H A D | LDSection.cpp | 72 LDSection* result = g_SectFactory->allocate(); local 73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); 74 return result;
|
H A D | LDSymbol.cpp | 51 LDSymbol* result = g_LDSymbolFactory->allocate(); local 52 new (result) LDSymbol(); 53 result->setResolveInfo(pResolveInfo); 54 return result;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | Attribute.cpp | 98 Attribute* result = pParent.exists(*pCopy); local 99 if (result == NULL) { // can not find 104 pBase = result;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | Assignment.cpp | 170 uint64_t result = 0; local 171 bool success = pEvaluator.eval(m_RpnExpr, result); 173 m_Symbol.setValue(result);
|
H A D | RpnExpr.cpp | 55 RpnExpr* result = g_ExprFactory->allocate(); local 56 new (result) RpnExpr(); 57 return result;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 119 uint64_t result = 0x0; local 123 result += ARMGOTEntry::EntrySize; 125 return result;
|
H A D | ARMToARMStub.cpp | 64 bool result = false; local 77 result = true; 85 return result;
|
H A D | ARMToTHMStub.cpp | 66 bool result = false; local 77 result = true; 86 result = true; 93 return result;
|
H A D | THMToARMStub.cpp | 73 bool result = false; local 85 result = true; 91 result = true; 99 result = true; 106 return result;
|
H A D | THMToTHMStub.cpp | 75 bool result = false; local 87 result = true; 93 result = true; 103 return result;
|
/frameworks/compile/mclinker/unittests/ |
H A D | ELFReaderTest.cpp | 114 bool result = m_pELFReader->readSymbols( local 116 ASSERT_TRUE(result);
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
H A D | Camera2CaptureCallbackForwarder.java | 42 final TotalCaptureResult result) { 46 mListener.onCaptureCompleted(session, request, result); 41 onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, final TotalCaptureResult result) argument
|
H A D | Camera2CaptureCallbackSplitter.java | 51 TotalCaptureResult result) { 53 target.onCaptureCompleted(session, request, result); 50 onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result) argument
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
H A D | VtsHalSensorManagerV1_0TargetTest.cpp | 64 static inline ::testing::AssertionResult isOk(Result result) { argument 66 return (result == Result::OK 68 : ::testing::AssertionFailure()) << toString(result); 135 ASSERT_OK(manager_->getSensorList([] (__unused const auto &list, auto result) { 137 ASSERT_OK(result); 153 testOne(16, 16, [](const auto &chan, Result result) { 154 EXPECT_EQ(result, Result::BAD_VALUE) << "unexpected result when memory size is too small"; 158 testOne(1024, 1024, [](const auto &chan, Result result) { 159 EXPECT_OK(result); [all...] |