Home
last modified time | relevance | path

Searched refs:content (Results 1 – 12 of 12) sorted by relevance

/art/libartbase/base/unix_file/
Drandom_access_file_test.h75 const std::string content("hello"); in TestRead()
76 … ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0))); in TestRead()
78 TestReadContent(content, file.get()); in TestRead()
83 void TestReadContent(const std::string& content, RandomAccessFile* file) { in TestReadContent() argument
84 const int buf_size = content.size() + 10; in TestReadContent()
90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0))); in TestReadContent()
91 ASSERT_EQ(std::string(buf.get(), content.size()), content); in TestReadContent()
95 ASSERT_LT(short_request, content.size()); in TestReadContent()
98 content.substr(0, short_request)); in TestReadContent()
106 content.substr(non_zero_offset, short_request)); in TestReadContent()
[all …]
/art/tools/class2greylist/src/com/android/class2greylist/
DAnnotationHandler.java18 Map<String, String> content = new HashMap<String, String>(); in stringifyAnnotationProperties() local
22 content.put(prop.getNameString(), prop.getValue().stringifyValue()); in stringifyAnnotationProperties()
25 return content; in stringifyAnnotationProperties()
/art/test/dexdump/
Dcheckers.lst4 0x00001508 8 com.google.android.checkers.Checkers onConfigurationChanged (Landroid/content/res/Conf…
12 …4 com.google.android.checkers.CheckersView <init> (Landroid/content/Context;Landroid/content/Share…
13 0x00001f48 62 com.google.android.checkers.CheckersView a (Landroid/content/SharedPreferences$Editor…
14 0x00001f98 66 com.google.android.checkers.CheckersView a (Landroid/content/SharedPreferences;Ljava/…
18 0x00002148 588 com.google.android.checkers.CheckersView a (Landroid/content/SharedPreferences;)Z (n…
30 0x00003008 340 com.google.android.checkers.CheckersView a (Landroid/content/SharedPreferences$Edito…
73 0x00007214 28 com.google.android.checkers.b onClick (Landroid/content/DialogInterface;I)V (none) -1
75 0x0000725c 2 com.google.android.checkers.c onClick (Landroid/content/DialogInterface;I)V (none) -1
77 0x0000728c 2 com.google.android.checkers.d onClick (Landroid/content/DialogInterface;I)V (none) -1
79 0x000072bc 14 com.google.android.checkers.e onClick (Landroid/content/DialogInterface;I)V (none) -1
[all …]
Dcheckers.txt99 type : '(Landroid/content/res/Configuration;)V'
106 …8] com.google.android.checkers.Checkers.onConfigurationChanged:(Landroid/content/res/Configuration…
107 …-super {v0, v1}, Landroid/app/Activity;.onConfigurationChanged:(Landroid/content/res/Configuration…
128 …, v1}, Lcom/google/android/checkers/Checkers;.getPreferences:(I)Landroid/content/SharedPreferences…
130 …Lcom/google/android/checkers/CheckersView;.<init>:(Landroid/content/Context;Landroid/content/Share…
354 001858: 2202 0a00 |0036: new-instance v2, Landroid/content/Intent; // …
356 001860: 7030 1200 3201 |003a: invoke-direct {v2, v3, v1}, Landroid/content/…
357 …{v5, v2}, Lcom/google/android/checkers/Checkers;.startActivity:(Landroid/content/Intent;)V // meth…
418 …, v0}, Lcom/google/android/checkers/Checkers;.getPreferences:(I)Landroid/content/SharedPreferences…
420 … |0008: invoke-interface {v0}, Landroid/content/SharedPreferences;.edit:()Landroid/cont…
[all …]
/art/tools/ahat/src/main/com/android/ahat/
DDocString.java52 public static DocString link(URI uri, DocString content) { in link() argument
54 return doc.appendLink(uri, content); in link()
176 public DocString appendLink(URI uri, DocString content) { in appendLink() argument
180 mStringBuilder.append(content.html()); in appendLink()
/art/dexlist/
Ddexlist.cc162 std::string content; in processFile() local
164 if (!android::base::ReadFileToString(fileName, &content)) { in processFile()
172 if (!dex_file_loader.OpenAll(reinterpret_cast<const uint8_t*>(content.data()), in processFile()
173 content.size(), in processFile()
/art/tools/dexanalyze/
Ddexanalyze.cc203 std::string content; in Run() local
205 if (!android::base::ReadFileToString(filename.c_str(), &content)) { in Run()
211 if (!dex_file_loader.OpenAll(reinterpret_cast<const uint8_t*>(content.data()), in Run()
212 content.size(), in Run()
/art/tools/veridex/
Dveridex.cc290 std::string& content, in Load() argument
299 if (!android::base::ReadFileToString(filename.c_str(), &content)) { in Load()
308 if (!dex_file_loader.OpenAll(reinterpret_cast<const uint8_t*>(content.data()), in Load()
309 content.size(), in Load()
/art/tools/checker/file_format/checker/
Dtest.py202 content = assertionEntry[0]
204 assertion = TestAssertion(testCase, variant, content, 0)
205 assertion.addExpression(TestExpression.createPatternFromPlainText(content))
/art/dexdump/
Ddexdump.cc1862 std::string content; in processFile() local
1866 if (!android::base::ReadFileToString(fileName, &content)) { in processFile()
1874 if (!dex_file_loader.OpenAll(reinterpret_cast<const uint8_t*>(content.data()), in processFile()
1875 content.size(), in processFile()
/art/profman/
Dprofile_assistant_test.cc1556 std::string content = "giberish"; in TEST_F() local
1557 ASSERT_TRUE(profile1.GetFile()->WriteFully(content.c_str(), content.length())); in TEST_F()
/art/
DNOTICE154 origin of the Work and reproducing the content of the NOTICE file.