Searched refs:keep (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/core/java/android/text/
H A DInputFilter.java69 return null; // keep original
84 int keep = mMax - (dest.length() - (dend - dstart));
86 if (keep <= 0) {
88 } else if (keep >= end - start) {
89 return null; // keep original
91 keep += start;
92 if (Character.isHighSurrogate(source.charAt(keep - 1))) {
93 --keep;
94 if (keep == start) {
98 return source.subSequence(start, keep);
[all...]
/frameworks/compile/slang/
H A Dslang_rs_exportable.cpp21 bool RSExportable::keep() { function in class:slang::RSExportable
H A Dslang_rs_exportable.h49 // When keep() is invoked, mKeep will set to true and the associated RSContext
52 // Return false if the exportable is kept or failed to keep.
53 virtual bool keep();
H A Dllvm-rs-as.cpp116 Out->keep();
H A Dslang_rs_export_type.h209 virtual bool keep();
354 virtual bool keep();
475 virtual bool keep();
561 virtual bool keep();
H A Dslang_rs_export_type.cpp827 bool RSExportType::keep() { function in class:slang::RSExportType
828 if (!RSExportable::keep())
1169 bool RSExportPointerType::keep() { function in class:slang::RSExportPointerType
1170 if (!RSExportType::keep())
1172 const_cast<RSExportType*>(mPointeeType)->keep();
1402 bool RSExportConstantArrayType::keep() { function in class:slang::RSExportConstantArrayType
1403 if (!RSExportType::keep())
1405 const_cast<RSExportType*>(mElementType)->keep();
1537 bool RSExportRecordType::keep() { function in class:slang::RSExportRecordType
1538 if (!RSExportType::keep())
[all...]
H A Dslang.cpp423 mDOS->keep();
455 mOS->keep();
H A Dslang_rs.cpp177 ERT->keep();
/frameworks/compile/mclinker/include/mcld/Support/
H A DToolOutputFile.h34 * destoryed unless the client calls keep().
54 /// keep - Indicate that the tool's job wrt this output file has been
56 void keep();
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java215 TreeMap<String, ClassReader> keep = new TreeMap<String, ClassReader>();
220 ClassReader cr = mAa.findClass("mock_android.widget.TableLayout", zipClasses, keep);
221 DependencyVisitor visitor = mAa.getVisitor(zipClasses, keep, new_keep, in_deps, out_deps);
254 keep.putAll(new_keep);
259 }, keep.keySet().toArray());
/frameworks/compile/mclinker/lib/Support/
H A DToolOutputFile.cpp80 void ToolOutputFile::keep() function in class:ToolOutputFile
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp147 Out.keep();
/frameworks/base/tools/aapt/
H A DResource.cpp2286 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, argument
2306 String8 rule("-keep class ");
2316 keep->add(rule, location);
2320 addProguardKeepMethodRule(ProguardKeepSet* keep, const String8& memberName, argument
2333 keep->add(rule, location);
2337 writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp<AaptAssets>& assets) argument
2401 addProguardKeepRule(keep, agent, pkg.string(),
2421 addProguardKeepRule(keep, name, pkg.string(),
2439 writeProguardForXml(ProguardKeepSet* keep, const sp<AaptFile>& layoutFile, argument
2479 addProguardKeepRule(keep, ta
2529 writeProguardForLayouts(ProguardKeepSet* keep, const sp<AaptAssets>& assets) argument
2595 ProguardKeepSet keep; local
[all...]
/frameworks/base/core/java/android/os/
H A DMessageQueue.java65 * wait for more. Return true to keep your idle handler active, false
205 boolean keep = false;
207 keep = idler.queueIdle();
212 if (!keep) {
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java192 public void setKeep(Map<String, ClassReader> keep) { argument
193 mKeep = keep;
258 mLog.info("# keep classes: %d", mKeep.size());
317 * 2- For "keep" classes, we want to rewrite all native methods as indicated above.
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp343 tof->keep();
/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java1948 // prune the ones we don't want to keep
1997 HashSet<String> keep = new HashSet<String>();
2010 // add the missing ones and collect which ones to keep
2023 keep.add(ai.name);
2029 keep.add(ai.name);
2067 // prune the ones we don't want to keep
2072 && !keep.contains(p.info.provider.getClassName())) {
/frameworks/av/services/audioflinger/
H A DEffects.cpp193 // keep a strong reference on this EffectModule to avoid calling the
195 sp<EffectModule> keep(this);
199 thread->disconnectEffect(keep, handle, unpinIfLast);
H A DTracks.cpp409 sp<Track> keep(this);
702 // and keep the track active to avoid problems if user is seeking
1820 sp<RecordTrack> keep(this);
H A DAudioFlinger.cpp1217 sp<NotificationClient> keep(this);
1585 // keep strong reference on the playback thread so that
1819 // keep strong reference on the record thread so that
2427 #define MAX_KEEP 10 // number of entries to keep
/frameworks/compile/mclinker/tools/llvm-mcld/
H A Dllvm-mcld.cpp1550 Out->keep();

Completed in 872 milliseconds