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

12

/frameworks/compile/slang/
H A Dslang_rs_exportable.cpp21 bool RSExportable::keep() { function in class:slang::RSExportable
H A Dslang_rs_exportable.h55 // When keep() is invoked, mKeep will set to true and the associated RSContext
58 // Return false if the exportable is kept or failed to keep.
59 virtual bool keep();
H A Dllvm-rs-as.cpp105 Out->keep();
H A Dslang_rs_export_type.h102 * TODO: but if you do this, you won't be able to keep using First* & Last*
310 virtual bool keep();
474 virtual bool keep();
588 virtual bool keep();
679 virtual bool keep();
H A Dslang_rs_export_type.cpp964 bool RSExportType::keep() { function in class:slang::RSExportType
965 if (!RSExportable::keep())
1280 bool RSExportPointerType::keep() { function in class:slang::RSExportPointerType
1281 if (!RSExportType::keep())
1283 const_cast<RSExportType*>(mPointeeType)->keep();
1467 bool RSExportConstantArrayType::keep() { function in class:slang::RSExportConstantArrayType
1468 if (!RSExportType::keep())
1470 const_cast<RSExportType*>(mElementType)->keep();
1582 bool RSExportRecordType::keep() { function in class:slang::RSExportRecordType
1583 if (!RSExportType::keep())
[all...]
H A Dslang.cpp394 mDOS->keep();
426 mOS->keep();
521 ERT->keep();
/frameworks/av/packages/MediaComponents/
H A Dproguard.cfg18 -keep public class com.android.media.update.ApiFactory {
/frameworks/opt/setupwizard/library/
H A Dproguard.flags6 -keep public class * extends com.android.setupwizardlib.items.ItemHierarchy {
/frameworks/base/core/java/android/text/
H A DInputFilter.java90 return null; // keep original
99 return null; // keep original
175 int keep = mMax - (dest.length() - (dend - dstart));
176 if (keep <= 0) {
178 } else if (keep >= end - start) {
179 return null; // keep original
181 keep += start;
182 if (Character.isHighSurrogate(source.charAt(keep - 1))) {
183 --keep;
184 if (keep
[all...]
/frameworks/base/tools/aapt2/java/
H A DProguardRules_test.cpp134 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.Bar { <init>(...); }"));
154 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.Bar { <init>(...); }"));
176 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.Bar { <init>(...); }"));
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java211 TreeMap<String, ClassReader> keep = new TreeMap<>();
216 ClassReader cr = mAa.findClass("mock_android.widget.LinearLayout", zipClasses, keep);
217 DependencyVisitor visitor = mAa.getVisitor(zipClasses, keep, new_keep, in_deps, out_deps);
251 keep.putAll(new_keep);
256 }, keep.keySet().toArray());
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamMMAP.cpp65 sp<AAudioServiceStreamMMAP> keep(this);
79 result = endpoint->registerStream(keep);
H A DAAudioServiceStreamShared.cpp121 sp<AAudioServiceStreamShared> keep(this);
191 result = endpoint->registerStream(keep);
H A DAAudioClientTracker.cpp185 sp<NotificationClient> keep(this);
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
H A DMainActivity.java147 CheckBox keep = findViewById(R.id.keep);
148 ExistingWorkPolicy policy = keep.isChecked() ? KEEP : REPLACE;
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp152 Out.keep();
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DVerticalGridPresenter.java304 * @param keep True if keep foreground of child of this grid.
306 public final void setKeepChildForeground(boolean keep) { argument
307 mKeepChildForeground = keep;
H A DListRowPresenter.java761 * it needs tell ListRowPresenter to keep the child's foreground. The default value is true.
763 * @param keep true if keep foreground of child of this row, false ListRowPresenter might change
766 public final void setKeepChildForeground(boolean keep) { argument
767 mKeepChildForeground = keep;
774 * it needs tell ListRowPresenter to keep the child's foreground. The default value is true.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationInfo.java63 * helper affordance that allows a user to keep/stop notifications after swiping one away.
331 TextView keep = findViewById(R.id.keep);
336 keep.setOnClickListener(mOnKeepShowing);
340 keep.setText(android.R.string.ok);
503 // to keep getting notifications
/frameworks/base/tools/aapt/
H A DResource.cpp2951 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, argument
2971 String8 rule("-keep class ");
2981 keep->add(rule, location);
2985 addProguardKeepMethodRule(ProguardKeepSet* keep, const String8& memberName, argument
2998 keep->add(rule, location);
3002 writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp<AaptAssets>& assets, bool mainDex) argument
3068 addProguardKeepRule(keep, agent, pkg.string(),
3113 addProguardKeepRule(keep, name, pkg.string(),
3131 writeProguardForXml(ProguardKeepSet* keep, const sp<AaptFile>& layoutFile, argument
3174 addProguardKeepRule(keep, ta
3224 writeProguardForLayouts(ProguardKeepSet* keep, const sp<AaptAssets>& assets) argument
3295 writeProguardSpec(const char* filename, const ProguardKeepSet& keep, status_t err) argument
3328 ProguardKeepSet keep; local
3352 ProguardKeepSet keep; local
[all...]
/frameworks/base/core/java/android/os/
H A DMessageQueue.java393 boolean keep = false;
395 keep = idler.queueIdle();
400 if (!keep) {
814 * wait for more. Return true to keep your idle handler active, false
831 * then return <code>true</code> to keep the listener active or <code>false</code>
850 * keep the listener active. Otherwise, it should return <code>false</code>
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java241 public void setKeep(Map<String, ClassReader> keep) { argument
242 mKeep = keep;
296 mLog.info("# keep classes: %d", mKeep.size());
349 * 2- For "keep" classes, we want to rewrite all native methods as indicated above.
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp380 tof->keep();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationInfoTest.java502 mNotificationInfo.findViewById(R.id.keep).performClick();
530 mNotificationInfo.findViewById(R.id.keep).performClick();
/frameworks/av/services/audioflinger/
H A DTracks.cpp491 sp<Track> keep(this);
876 // and keep the track active to avoid problems if user is seeking
1757 sp<RecordTrack> keep(this);

Completed in 539 milliseconds

12