Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/
DSysUiStateTest.java61 setFlags(FLAG_1); in addSingle_setFlag()
68 setFlags(FLAG_1); in addMultiple_setFlag()
69 setFlags(FLAG_2); in addMultiple_setFlag()
78 setFlags(FLAG_1); in addMultipleRemoveOne_setFlag()
79 setFlags(FLAG_2); in addMultipleRemoveOne_setFlag()
91 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in addMultiple_setFlags()
99 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in addMultipleRemoveOne_setFlags()
112 setFlags(FLAG_1, FLAG_2, FLAG_3, FLAG_4); in removeCallback()
118 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()
50 jint clearFlags, jint setFlags) { in CreatePaintFlagsFilter() argument
52 if (clearFlags | setFlags) { in CreatePaintFlagsFilter()
53 filter = new PaintFlagsFilter(clearFlags, setFlags); in CreatePaintFlagsFilter()
/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/base/core/tests/coretests/src/android/content/pm/
DSignatureTest.java83 signatureAWithAllCaps.setFlags(31); in testHashCode_doesNotIncludeFlags()
85 signatureAWithNoCaps.setFlags(0); in testHashCode_doesNotIncludeFlags()
95 signatureAWithAllCaps.setFlags(31); in testEquals_doesNotIncludeFlags()
97 signatureAWithNoCaps.setFlags(0); in testEquals_doesNotIncludeFlags()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DBrightnessEventTest.java61 mBrightnessEvent.setFlags(0); in setUp()
92 mBrightnessEvent.setFlags(mBrightnessEvent.getFlags() | BrightnessEvent.FLAG_RBC); in testFlagsToString()
101 mBrightnessEvent.setFlags(mBrightnessEvent.getFlags() in testFlagsToString_multipleFlags()
/frameworks/base/core/java/android/os/
DVibrationAttributes.java506 setFlags(audio); in Builder()
546 private void setFlags(@NonNull AudioAttributes audio) { in setFlags() method in VibrationAttributes.Builder
600 public @NonNull Builder setFlags(@Flag int flags, int mask) { in setFlags() method in VibrationAttributes.Builder
615 public @NonNull Builder setFlags(@Flag int flags) { in setFlags() method in VibrationAttributes.Builder
616 return setFlags(flags, FLAG_ALL_SUPPORTED); in setFlags()
/frameworks/av/media/module/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.java289 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
292 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTasks_expectRemovedNoTrim()
313 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
316 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
336 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
339 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
356 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
365 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityType_expectRemove()
380 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
390 .setFlags(FLAG_ACTIVITY_NEW_TASK) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java104 setFlags(pkgFlags); in SettingBase()
126 public SettingBase setFlags(int pkgFlags) { in setFlags() method in SettingBase
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricDanglingReceiver.java89 new Intent(ACTION_CLOSE_SYSTEM_DIALOGS).setFlags(FLAG_RECEIVER_FOREGROUND)); in launchBiometricEnrollActivity()
92 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchBiometricEnrollActivity()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationTestBase.java89 c.setFlags(flags); in createChange()
106 change.setFlags(FLAG_FILLS_TASK); in createEmbeddedChange()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java60 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
70 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_NEW_TASK); in onCreateView()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedServiceUtils.java97 .setFlags(service.getFlags() | (flag(ServiceInfo.FLAG_STOP_WITH_TASK, in parseService()
111 service.setFlags(service.getFlags() | flag(ServiceInfo.FLAG_SYSTEM_USER_ONLY, in parseService()
118 service.setFlags(service.getFlags() | ActivityInfo.FLAG_VISIBLE_TO_INSTANT_APP); in parseService()
DParsedPermissionUtils.java98 .setFlags(sa.getInt( in parsePermission()
135 permission.setFlags(permission.getFlags() & ~PermissionInfo.FLAG_HARD_RESTRICTED); in parsePermission()
136 permission.setFlags(permission.getFlags() & ~PermissionInfo.FLAG_SOFT_RESTRICTED); in parsePermission()
243 … .setFlags(sa.getInt(R.styleable.AndroidManifestPermissionGroup_permissionGroupFlags,0)); in parsePermissionGroup()
/frameworks/native/services/surfaceflinger/tests/
DMirrorLayer_test.cpp47 t.setFlags(mParentLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
48 t.setFlags(mChildLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
66 .setFlags(grandchild, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque) in TEST_F()
315 t.setFlags(grandchild, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in TEST_F()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h60 void setFlags(uint32_t flags) override in setFlags() function
62 AudioPort::setFlags(flags); in setFlags()
/frameworks/base/core/tests/coretests/src/android/app/
DTranslucentFancyActivity.java62 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, in onCreate()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java124 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
175 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
271 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startCallActivity()
/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/packages/SystemUI/tests/src/com/android/systemui/logcat/
DLogAccessDialogActivityTest.java83 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in getIntent()
88 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getIntent()
/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/base/core/java/com/android/internal/widget/remotecompose/core/operations/paint/
DTextPaint.java29 void setFlags(int flags); in setFlags() method
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DFlagged.h421 void setFlags(Flag flags) {
489 setFlags(flags);
504 void setFlags(Flag flags) {
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DLaunchNewTaskActivity.java40 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in onCreate()

12345678910>>...14