Home
last modified time | relevance | path

Searched refs:setPriority (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DWatchedIntentHandlingTest.java45 f.setPriority(wantPriority); in testWatchedIntentFilter()
50 f.setPriority(f.getPriority() + 1); in testWatchedIntentFilter()
54 i.setPriority(wantPriority + 3); in testWatchedIntentFilter()
105 i.setPriority(i.getPriority() + 1); in testPreferredActivity()
107 a.setPriority(a.getPriority() + 2); in testPreferredActivity()
114 a.setPriority(3); in testPreferredActivity()
123 a.setPriority(a.getPriority() + 1); in testPreferredActivity()
150 i.setPriority(i.getPriority() + 1); in testPreferredIntentResolver()
152 a1.setPriority(a1.getPriority() + 1); in testPreferredIntentResolver()
159 a1.setPriority(a1.getPriority() + 1); in testPreferredIntentResolver()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java158 createJobBuilder(1).setPriority(JobInfo.PRIORITY_MIN).build()); in testIsJobRestricted()
160 createJobBuilder(2).setPriority(JobInfo.PRIORITY_LOW).build()); in testIsJobRestricted()
162 createJobBuilder(3).setPriority(JobInfo.PRIORITY_LOW).build()); in testIsJobRestricted()
164 createJobBuilder(4).setPriority(JobInfo.PRIORITY_DEFAULT).build()); in testIsJobRestricted()
166 createJobBuilder(5).setPriority(JobInfo.PRIORITY_HIGH).build()); in testIsJobRestricted()
168 createJobBuilder(6).setPriority(JobInfo.PRIORITY_HIGH).build()); in testIsJobRestricted()
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DComponentMutateUtils.java89 public static void setPriority(@NonNull ParsedPermissionGroup parsedPermissionGroup, in setPriority() method in ComponentMutateUtils
91 ((ParsedPermissionGroupImpl) parsedPermissionGroup).setPriority(priority); in setPriority()
DParsedPermissionGroupImpl.java150 public @NonNull ParsedPermissionGroupImpl setPriority( int value) { in setPriority() method in ParsedPermissionGroupImpl
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java393 b.setPriority(Notification.PRIORITY_MIN); in buildNotification()
396 b.setPriority(Notification.PRIORITY_LOW); in buildNotification()
399 b.setPriority(Notification.PRIORITY_DEFAULT); in buildNotification()
402 b.setPriority(Notification.PRIORITY_HIGH); in buildNotification()
405 b.setPriority(Notification.PRIORITY_MAX); in buildNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java339 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular()
341 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular()
344 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular()
347 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_LOW)); in testStrongEnough_Cellular()
349 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
351 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_MIN)); in testStrongEnough_Cellular()
512 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_HIGH)); in testStrongEnough_Cellular_CheckDisabled()
514 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular_CheckDisabled()
517 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_DEFAULT), in testStrongEnough_Cellular_CheckDisabled()
520 baseJobBuilder.setExpedited(false).setPriority(JobInfo.PRIORITY_LOW)); in testStrongEnough_Cellular_CheckDisabled()
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.h64 void setPriority(int32_t p);
/frameworks/base/media/jni/soundpool/
DSoundPool.h49 void setPriority(int32_t streamID, int32_t priority);
DSoundPool.cpp203 void SoundPool::setPriority(int32_t streamID, int32_t priority) in setPriority() function in android::SoundPool
209 stream->setPriority(streamID, priority); in setPriority()
/frameworks/base/core/java/android/content/om/
DIOverlayManager.aidl143 boolean setPriority(in String packageName, in String newParentPackageName, in int userId); in setPriority() method
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java155 .setPriority(Notification.PRIORITY_HIGH) in makeBigTextNotification()
169 .setPriority(Notification.PRIORITY_MIN) in makeUploadNotification()
280 .setPriority(Notification.PRIORITY_MAX) in testCreate()
378 .setPriority(Notification.PRIORITY_LOW) in testCreate()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DMultimediaMessagePdu.java142 public void setPriority(int value) throws InvalidHeaderValueException { in setPriority() method in MultimediaMessagePdu
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java128 createJobInfo(4).setPriority(JobInfo.PRIORITY_MIN), 2); in testContains()
208 createJobInfo(4).setPriority(JobInfo.PRIORITY_MIN), 1); in testRemove_outOfOrder()
476 createJobInfo(i).setExpedited(isEj).setPriority(priority),
503 createJobInfo(i).setExpedited(isEj).setPriority(priority),
534 createJobInfo(i).setExpedited(isEj).setPriority(priority),
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java76 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
106 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithBubble()
131 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecordWithMedia()
DImportanceExtractorTest.java66 .setPriority(Notification.PRIORITY_HIGH) in getNotificationRecord()
/frameworks/base/services/core/java/com/android/server/
DCachedDeviceStateService.java76 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in onBootPhase()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DContact.java53 public void setPriority(Double priority) { in setPriority() method in Contact
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java47 renderScript.setPriority(RenderScript.Priority.NORMAL); in onCreate()
71 renderScript.setPriority(RenderScript.Priority.NORMAL); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java177 assertTrue(mSettings.setPriority(OVERLAY_B, OVERLAY_C, USER_0)); in testSetPriority()
182 assertFalse(mSettings.setPriority(OVERLAY_B, new OverlayIdentifier("does.not.exist"), in testSetPriority()
201 assertFalse(mSettings.setPriority(OVERLAY_A, otherTarget.getOverlayIdentifier(), USER_0)); in testSetPriority()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DWifiSoftApConfigChangedNotifier.java73 .setPriority(Notification.PRIORITY_HIGH) in createConversionNotification()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DClientProfile.java153 public void setPriority(int priority) { in setPriority() method in ClientProfile
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.h104 void setPriority(int priority);
/frameworks/rs/
DrsContext.cpp274 rsc->setPriority(RS_THREAD_PRIORITY_NORMAL_GRAPHICS); in threadProc()
400 void Context::setPriority(int32_t p) { in setPriority() function in android::renderscript::Context
423 mHal.funcs.setPriority(this, mThreadPriority); in setPriority()
825 rsc->setPriority(p); in rsi_ContextSetPriority()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java260 void setPriority(@NonNull final OverlayIdentifier overlay, final int userId,
269 itemToMove.setPriority(priority);
276 boolean setPriority(@NonNull final OverlayIdentifier overlay,
670 private void setPriority(int priority) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java95 .setPriority(Notification.PRIORITY_DEFAULT) in createPersistentNotification()

12345