Home
last modified time | relevance | path

Searched refs:setFlags (Results 1 – 25 of 265) sorted by relevance

1234567891011

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/
DSysUiStateTest.java56 setFlags(FLAG_1); in addSingle_setFlag()
63 setFlags(FLAG_1); in addMultiple_setFlag()
64 setFlags(FLAG_2); in addMultiple_setFlag()
73 setFlags(FLAG_1); in addMultipleRemoveOne_setFlag()
74 setFlags(FLAG_2); in addMultipleRemoveOne_setFlag()
86 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in addMultiple_setFlags()
94 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in addMultipleRemoveOne_setFlags()
107 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in removeCallback()
113 private void setFlags(int... flags) { in setFlags() method in SysUiStateTest
/frameworks/base/libs/hwui/jni/
DPaintFilter.cpp28 PaintFlagsFilter(uint32_t clearFlags, uint32_t setFlags) { in PaintFlagsFilter() argument
30 fSetFlags = static_cast<uint16_t>(setFlags); in PaintFlagsFilter()
54 jint clearFlags, jint setFlags) { in CreatePaintFlagsFilter() argument
56 if (clearFlags | setFlags) { in CreatePaintFlagsFilter()
57 filter = new PaintFlagsFilter(clearFlags, setFlags); in CreatePaintFlagsFilter()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSignatureTest.java64 signatureAWithAllCaps.setFlags(31); in testHashCode_doesNotIncludeFlags()
66 signatureAWithNoCaps.setFlags(0); in testHashCode_doesNotIncludeFlags()
76 signatureAWithAllCaps.setFlags(31); in testEquals_doesNotIncludeFlags()
78 signatureAWithNoCaps.setFlags(0); in testEquals_doesNotIncludeFlags()
/frameworks/base/libs/hwui/
DNinePatchUtils.h75 bool setFlags = false; in SetLatticeFlags() local
88 setFlags = true; in SetLatticeFlags()
92 setFlags = true; in SetLatticeFlags()
100 if (!setFlags) { in SetLatticeFlags()
/frameworks/av/media/libstagefright/foundation/tests/
DFlagged_test.cpp157 a.setFlags(kSafe); in TEST_F()
181 b.setFlags(kCalculated); in TEST_F()
183 b.get().setFlags(overflow ? kUnsafe : kSafe); in TEST_F()
198 v.setFlags(kValidated); in TEST_F()
201 v.get().setFlags(kUnsafe); in TEST_F()
584 val.setFlags(0x12345); in TEST_F()
587 val.get().setFlags(0x54321); in TEST_F()
601 valB.setFlags(0x12345); in TEST_F()
604 valB.get().setFlags(0x5C321); in TEST_F()
614 valC.setFlags(0x12345); in TEST_F()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java286 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
289 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
310 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
313 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
333 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
336 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
353 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
362 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
377 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
387 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
[all …]
DActivityOptionsTest.java103 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testTransferLaunchCookie()
159 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); in onCreate()
/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java107 setFlags(pkgFlags); in SettingBase()
133 void setFlags(int pkgFlags) { in setFlags() method in SettingBase
/frameworks/base/core/jni/
Dandroid_media_AudioAttributes.cpp61 jmethodID setFlags; member
133 gAudioAttributesBuilderMethods.setFlags, in nativeAudioAttributesToJavaAudioAttributes()
208 gAudioAttributesBuilderMethods.setFlags = GetMethodIDOrDie( in register_android_media_AudioAttributes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationPanel.java94 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); in openInternalNotificationPanel()
117 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); in startNotificationHandlerActivity()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h64 void setFlags(uint32_t flags) override in setFlags() function
66 PolicyAudioPort::setFlags(flags); in setFlags()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java59 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
69 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
/frameworks/base/core/java/android/os/
DVibrationAttributes.java334 setFlags(audio); in Builder()
406 private void setFlags(@NonNull AudioAttributes audio) { in setFlags() method in VibrationAttributes.Builder
445 public @NonNull Builder setFlags(int flags, int mask) { in setFlags() method in VibrationAttributes.Builder
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
/frameworks/base/core/tests/coretests/src/android/app/
DTranslucentFancyActivity.java62 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, in onCreate()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java125 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
178 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
277 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startCallActivity()
/frameworks/native/services/surfaceflinger/tests/
DMirrorLayer_test.cpp43 t.setFlags(mParentLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
44 t.setFlags(mChildLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
62 .setFlags(grandchild, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque) in TEST_F()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleDataClassTest.java71 .setFlags(SampleDataClass.FLAG_MANUAL_REQUEST); in newInvalidBuilder()
175 .setFlags(flagsAsInt) in testIntDefs_haveCorrectToString()
185 newBuilder().setFlags(12345).build(); in testFlags_getValidated()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java111 builder.setFlags(flags); in createVirtualDisplay()
146 builder.setFlags(flags); in createVirtualDisplay()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java33 …getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FL… in onCreate()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFlagged.h421 void setFlags(Flag flags) {
489 setFlags(flags);
504 void setFlags(Flag flags) {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DDeleteStagedFileOnResult.java38 installIntent.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); in onCreate()
/frameworks/base/core/java/android/app/timezone/
DRulesUpdaterContract.java72 intent.setFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES); in createUpdaterIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java344 .setFlags(Intent.FLAG_RECEIVER_FOREGROUND), in pendingBroadcast()
350 return new Intent(action).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in settings()
423 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in showHighTemperatureDialog()
458 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in showThermalShutdownDialog()
707 .setFlags(Intent.FLAG_RECEIVER_FOREGROUND)); in getBatterySaverDescription()
712 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getBatterySaverDescription()
731 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in startBatterySaverSchedulePage()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfTestActivity.java55 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createLaunchIntent()

1234567891011