Home
last modified time | relevance | path

Searched refs:getPriority (Results 1 – 25 of 125) sorted by relevance

12345

/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/enrollment/
DGaUxEnrollmentChannelCollectionTest.java68 .getPriority() in gaUxEnrollmentChannelCollectionTest_priorityCheck()
70 .getPriority()) in gaUxEnrollmentChannelCollectionTest_priorityCheck()
74 .getPriority() in gaUxEnrollmentChannelCollectionTest_priorityCheck()
76 .getPriority()) in gaUxEnrollmentChannelCollectionTest_priorityCheck()
79 GaUxEnrollmentChannelCollection.ALREADY_ENROLLED_CHANNEL.getPriority() in gaUxEnrollmentChannelCollectionTest_priorityCheck()
81 .getPriority()) in gaUxEnrollmentChannelCollectionTest_priorityCheck()
85 .getPriority() in gaUxEnrollmentChannelCollectionTest_priorityCheck()
87 .getPriority()) in gaUxEnrollmentChannelCollectionTest_priorityCheck()
90 GaUxEnrollmentChannelCollection.RECONSENT_NOTIFICATION_CHANNEL.getPriority() in gaUxEnrollmentChannelCollectionTest_priorityCheck()
92 .getPriority()) in gaUxEnrollmentChannelCollectionTest_priorityCheck()
DU18UxEnrollmentChannelCollectionTest.java59 .getPriority() in u18UxEnrollmentChannelCollectionTest_priorityCheck()
61 .getPriority()) in u18UxEnrollmentChannelCollectionTest_priorityCheck()
65 .getPriority() in u18UxEnrollmentChannelCollectionTest_priorityCheck()
67 .getPriority()) in u18UxEnrollmentChannelCollectionTest_priorityCheck()
70 U18UxEnrollmentChannelCollection.ALREADY_ENROLLED_CHANNEL.getPriority() in u18UxEnrollmentChannelCollectionTest_priorityCheck()
73 .getPriority()) in u18UxEnrollmentChannelCollectionTest_priorityCheck()
77 .getPriority() in u18UxEnrollmentChannelCollectionTest_priorityCheck()
79 .getPriority()) in u18UxEnrollmentChannelCollectionTest_priorityCheck()
DBetaUxEnrollmentChannelCollectionTest.java56 .getPriority() in betaUxEnrollmentChannelCollectionTest_priorityCheck()
59 .getPriority()) in betaUxEnrollmentChannelCollectionTest_priorityCheck()
63 .getPriority() in betaUxEnrollmentChannelCollectionTest_priorityCheck()
65 .getPriority()) in betaUxEnrollmentChannelCollectionTest_priorityCheck()
68 BetaUxEnrollmentChannelCollection.ALREADY_ENROLLED_CHANNEL.getPriority() in betaUxEnrollmentChannelCollectionTest_priorityCheck()
71 .getPriority()) in betaUxEnrollmentChannelCollectionTest_priorityCheck()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/ux/
DPrivacySandboxUxCollectionTest.java47 PrivacySandboxUxCollection.UNSUPPORTED_UX.getPriority() in uxCollectionTest_priorityCheck()
48 < PrivacySandboxUxCollection.U18_UX.getPriority()) in uxCollectionTest_priorityCheck()
51 PrivacySandboxUxCollection.U18_UX.getPriority() in uxCollectionTest_priorityCheck()
52 < PrivacySandboxUxCollection.GA_UX.getPriority()) in uxCollectionTest_priorityCheck()
55 PrivacySandboxUxCollection.GA_UX.getPriority() in uxCollectionTest_priorityCheck()
56 < PrivacySandboxUxCollection.BETA_UX.getPriority()) in uxCollectionTest_priorityCheck()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DScriptExecutionTask.java71 public int getPriority() { in getPriority() method in ScriptExecutionTask
72 return mSubscriber.getPriority(); in getPriority()
132 if (getPriority() < other.getPriority()) { in compareTo()
134 } else if (getPriority() > other.getPriority()) { in compareTo()
DDataSubscriber.java129 public int getPriority() { in getPriority() method in DataSubscriber
130 return mSubscriber.getPriority(); in getPriority()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DServiceFlowTypeTest.java75 assertThat(ServiceFlowType.APP_REQUEST_FLOW.getPriority()) in priorityTest()
77 assertThat(ServiceFlowType.RENDER_FLOW.getPriority()) in priorityTest()
79 assertThat(ServiceFlowType.WEB_TRIGGER_FLOW.getPriority()) in priorityTest()
81 assertThat(ServiceFlowType.WEB_VIEW_FLOW.getPriority()) in priorityTest()
83 assertThat(ServiceFlowType.EXAMPLE_STORE_FLOW.getPriority()) in priorityTest()
85 assertThat(ServiceFlowType.DOWNLOAD_FLOW.getPriority()) in priorityTest()
/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java72 public int getPriority() { in getPriority() method in CarModeTracker.CarModeApp
102 .thenComparing(CarModeApp::getPriority)
113 if (mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleEnterCarMode()
137 if (!mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleExitCarMode()
144 c -> c.getPackageName().equals(packageName) && c.getPriority() == priority)) { in handleExitCarMode()
155 mCarModeApps.removeIf(c -> c.getPriority() == priority && !c.hasSetAutomotiveProjection()); in handleExitCarMode()
273 pw.print(app.hasSetAutomotiveProjection() ? "PROJECTION SET" : app.getPriority()); in dump()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/
DCategoryOrganiserUtils.java59 private static int getPriority(Category category) { in getPriority() method in CategoryOrganiserUtils
72 return getPriority(category1) - getPriority(category2); in compare()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/os/
DThreadPolicyWithPriorityUnitTest.java40 assertThat(gotPolicyPriority.getPriority()).isEqualTo(expectedPriority); in testThreadPolicyWithPriorityMinPriority()
52 assertThat(gotPolicyPriority.getPriority()).isEqualTo(expectedPriority); in testThreadPolicyWithPriorityMaxPriority()
97 assertThat(gotPolicyPriority.getPriority()).isEqualTo(0); in testDefaultThreadPolicy()
DCarPerformanceManagerUnitTest.java107 assertThat(got.getPriority()).isEqualTo(expected.getPriority()); in testGetThreadPriority()
117 assertThat(got.getPriority()).isEqualTo(0); in testGetThreadPriorityRemoteExceptionFromService()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java427 if (schedule.getPriority() > highestPriority) { in suggestHighestPriority()
428 highestPriority = schedule.getPriority(); in suggestHighestPriority()
444 && r.getPriority() > highestPriority) { in suggestHighestPriority()
445 highestPriority = r.getPriority(); in suggestHighestPriority()
448 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) { in suggestHighestPriority()
449 return schedule.getPriority(); in suggestHighestPriority()
462 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) { in suggestHighestPriority()
463 highestPriority = r.getPriority(); in suggestHighestPriority()
496 if (schedule.getPriority() > highestPriority) { in suggestHighestSeriesPriority()
497 highestPriority = schedule.getPriority(); in suggestHighestSeriesPriority()
[all …]
DDvrManager.java186 : seriesRecording.getPriority(), in addSchedule()
209 seriesRecording.getPriority()), in addScheduleWithHighestPriority()
326 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording()
369 .setPriority(series.getPriority()) in addScheduleToSeriesRecording()
417 if (previousSeries == null || previousSeries.getPriority() != series.getPriority()) { in updateSeriesRecording()
418 long priority = series.getPriority(); in updateSeriesRecording()
650 if (newPriority != schedule.getPriority()) { in setHighestPriority()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DAggregationRecordData.java59 int getPriority() { in getPriority() method in AggregationRecordData
144 if (mPriority != o.getPriority()) { in compareTo()
145 return Integer.compare(mPriority, o.getPriority()); in compareTo()
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/
DCustomAudienceUpdatableDataTest.java459 assertEquals(0, Double.compare(VALID_PRIORITY_1, updatableDataFromBuilder.getPriority())); in testUpdatableDataSuccessWithSellerConfigurationEnabled()
485 updatableDataFromResponseString.getPriority(), in testUpdatableDataSuccessWithSellerConfigurationEnabled()
486 updatableDataFromBuilder.getPriority())); in testUpdatableDataSuccessWithSellerConfigurationEnabled()
520 assertEquals(0, Double.compare(PRIORITY_DEFAULT, updatableDataFromBuilder.getPriority())); in testUpdatableDataSuccessWithSellerConfigurationDisabled()
544 0, Double.compare(PRIORITY_DEFAULT, updatableDataFromResponseString.getPriority())); in testUpdatableDataSuccessWithSellerConfigurationDisabled()
578 assertEquals(0, Double.compare(PRIORITY_DEFAULT, updatableDataFromBuilder.getPriority())); in testUpdatableDataSuccessWithNoPriorityValueInResponseString()
603 0, Double.compare(PRIORITY_DEFAULT, updatableDataFromResponseString.getPriority())); in testUpdatableDataSuccessWithNoPriorityValueInResponseString()
607 updatableDataFromResponseString.getPriority(), in testUpdatableDataSuccessWithNoPriorityValueInResponseString()
608 updatableDataFromBuilder.getPriority())); in testUpdatableDataSuccessWithNoPriorityValueInResponseString()
807 assertEquals(0, Double.compare(PRIORITY_DEFAULT, updatableData.getPriority())); in testCreateFromNonJsonResponseStringCausesUnsuccessfulUpdate()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java46 assertEquals(priority, r.getPriority()); in priorityTest()
54 public synchronized int getPriority() throws InterruptedException { in getPriority() method in PriorityThreadFactoryTest.CheckPriorityRunnable
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/os/
DCarPerformanceServiceUnitTest.java83 policyWithPriority.getPriority()); in testSetThreadPriority()
95 assertWithMessage("Thread priority").that(actual.getPriority()).isEqualTo(30); in testGetThreadPriority()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java67 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapConvoContactElementTest.java74 assertThat(contactElement.getPriority()).isEqualTo(TEST_PRIORITY); in constructorWithArguments()
111 assertThat(contactElement.getPriority()).isEqualTo(TEST_PRIORITY); in settersAndGetters()
157 assertThat(contactElementFromXml.getPriority()).isEqualTo(TEST_PRIORITY); in encodeToXml_thenDecodeToInstance_returnsCorrectly()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java162 int getPriority() { in getPriority() method in IkeLocalRequestScheduler.LocalRequest
213 Integer.compare(requestA.getPriority(), requestB.getPriority()); in compare()
/packages/services/Car/tests/CarServiceTest/src/com/android/car/os/
DCarPerformanceManagerTest.java165 assertThat(result.getPriority()).isEqualTo(1); in testGetThreadPriority()
177 assertThat(result.getPriority()).isEqualTo(0); in testGetThreadPriorityDefaultPolicy()
206 assertThat(result.getPriority()).isEqualTo(0); in testGetThreadPriorityRemoteException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/attribution/
DXnaSourceCreatorTest.java165 .setPriority(attributionConfig1.getPriority()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
203 .setPriority(attributionConfig1.getPriority()) in generateDerivedSources_withVarietyOfSources_filtersAndGeneratesSources()
368 .setPriority(attributionConfig1.getPriority()) in generateDerivedSources_sharedDebugKeyDisabled_doesntAddDebugKeyToDerivedSource()
465 .setPriority(attributionConfig1.getPriority()) in generateDerivedSources_withSharedFilterDataKeys_filtersAndGeneratesSources()
587 .setPriority(attributionConfig1.getPriority()) in generateDerivedSources_lookbackWindow_filtersAndGeneratesSources()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DXnaSourceCreator.java152 (source.getPriority() >= range.first in createSourcePriorityRangePredicate()
153 && source.getPriority() <= range.second)) in createSourcePriorityRangePredicate()
186 setIfPresent(attributionConfig.getPriority(), builder::setPriority);
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DApplicationFeatureProviderImpl.java286 if (resolveInfo.filter.getPriority() > bestPriority) { in findEuiccService()
287 bestPriority = resolveInfo.filter.getPriority(); in findEuiccService()
326 if (resolveInfo.filter == null || resolveInfo.filter.getPriority() == 0) { in isValidEuiccComponent()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java300 if (resolveInfo.filter.getPriority() > bestPriority) { in findEuiccService()
301 bestPriority = resolveInfo.filter.getPriority(); in findEuiccService()
340 if (resolveInfo.filter == null || resolveInfo.filter.getPriority() == 0) { in isValidEuiccComponent()

12345