Home
last modified time | relevance | path

Searched refs:ConversionUtils (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java164 ConversionUtils.announcementFromHalAnnouncement(
192 return changeId == ConversionUtils.RADIO_V_VERSION_REQUIRED in setUp()
193 || changeId == ConversionUtils.RADIO_U_VERSION_REQUIRED; in setUp()
195 return changeId == ConversionUtils.RADIO_U_VERSION_REQUIRED; in setUp()
205 .that(ConversionUtils.isAtLeastU(T_APP_UID)).isFalse(); in isAtLeastU_withLowerSdkVersion_returnsFalse()
211 .that(ConversionUtils.isAtLeastU(U_APP_UID)).isTrue(); in isAtLeastU_withUSdkVersion_returnsTrue()
217 .that(ConversionUtils.isAtLeastV(U_APP_UID)).isFalse(); in isAtLeastV_withLowerSdkVersion_returnsFalse()
223 .that(ConversionUtils.isAtLeastV(V_APP_UID)).isTrue(); in isAtLeastV_withVSdkVersion_returnsTrue()
230 RuntimeException thrown = ConversionUtils.throwOnError(halException, "tune"); in throwOnError_withCancelException()
241 RuntimeException thrown = ConversionUtils.throwOnError(halException, "tune"); in throwOnError_withInvalidArgumentException()
[all …]
DAidlTestUtils.java105 ConversionUtils.programSelectorToHalProgramSelector(info.getSelector()), in programInfoToHalProgramInfo()
106 ConversionUtils.identifierToHalProgramIdentifier(info.getLogicallyTunedTo()), in programInfoToHalProgramInfo()
107 ConversionUtils.identifierToHalProgramIdentifier(info.getPhysicallyTunedTo()), in programInfoToHalProgramInfo()
144 halRemoved[i] = ConversionUtils.identifierToHalProgramIdentifier(removed.get(i)); in makeHalChunk()
DTunerSessionTest.java183 eq(ConversionUtils.RADIO_U_VERSION_REQUIRED), anyInt())); in setup()
356 eq(ConversionUtils.RADIO_U_VERSION_REQUIRED), anyInt())); in tune_withLowerSdkVersion()
472 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in step_withDirectionUp()
489 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in step_withDirectionDown()
503 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in step_forNonCurrentUser_doesNotStep()
535 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in seek_withDirectionUp()
565 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in seek_withDirectionDown()
582 ConversionUtils.programSelectorToHalProgramSelector(initialSel), SIGNAL_QUALITY); in seek_forNonCurrentUser_doesNotSeek()
905 ProgramFilter halFilter = ConversionUtils.filterToHalProgramFilter(fmIdFilter); in startProgramListUpdates_forMultipleSessions()
1120 ConversionUtils.vendorInfoToHalVendorKeyValues(parametersSet)); in setParameters_withMockParameters()
[all …]
DConversionUtilsResultTest.java63 .that(ConversionUtils.halResultToTunerResult(mHalResult)) in halResultToTunerResult()
DProgramInfoCacheTest.java179 new ProgramIdentifier[]{ConversionUtils.identifierToHalProgramIdentifier( in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk()
450 ConversionUtils.programSelectorToHalProgramSelector(TEST_DAB_SELECTOR_ALTERNATIVE), in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
451 ConversionUtils.identifierToHalProgramIdentifier(TEST_DAB_FREQUENCY_ID_ALTERNATIVE), in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
452 ConversionUtils.identifierToHalProgramIdentifier(TEST_DAB_FREQUENCY_ID_ALTERNATIVE), in filterAndApplyChunkInternal_withInvalidProgramInfoAndIdentifiers()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java181 throw ConversionUtils.throwOnError(ex, /* action= */ "step"); in step()
199 throw ConversionUtils.throwOnError(ex, /* action= */ "seek"); in seek()
212 ConversionUtils.programSelectorToHalProgramSelector(selector); in tune()
221 throw ConversionUtils.throwOnError(ex, /* action= */ "tune"); in tune()
331 if (!ConversionUtils.isAtLeastU(getUid())) { in dispatchClientUpdateChunks()
333 ConversionUtils.convertChunkToTargetSdkVersion(chunks.get(i), getUid()); in dispatchClientUpdateChunks()
380 throw ConversionUtils.throwOnError(ex, /* action= */ "isConfigFlagSet"); in isConfigFlagSet()
401 throw ConversionUtils.throwOnError(ex, /* action= */ "setConfigFlag"); in setConfigFlag()
416 return ConversionUtils.vendorInfoFromHalVendorKeyValues(mService.setParameters( in setParameters()
417 ConversionUtils.vendorInfoToHalVendorKeyValues(parameters))); in setParameters()
[all …]
DRadioModule.java104 ConversionUtils.programSelectorFromHalProgramSelector(programSelector);
105 int tunerResult = ConversionUtils.halResultToTunerResult(result);
108 if (csel != null && !ConversionUtils
124 ConversionUtils.programInfoFromHalProgramInfo(halProgramInfo);
130 if (!ConversionUtils.programInfoMeetsSdkVersionRequirement(
171 if (!ConversionUtils.configFlagMeetsSdkVersionRequirement(flag, uid)) {
187 ConversionUtils.vendorInfoFromHalVendorKeyValues(parameters);
232 RadioManager.ModuleProperties prop = ConversionUtils.propertiesFromHalProperties( in tryLoadingModule()
385 ConversionUtils.filterToHalProgramFilter(newFilter)); in onTunerSessionProgramListFilterChangedLocked()
387 throw ConversionUtils.throwOnError(ex, /* action= */ "Start Program ListUpdates"); in onTunerSessionProgramListFilterChangedLocked()
[all …]
DProgramInfoCache.java133 ConversionUtils.programInfoFromHalProgramInfo(chunk.modified[i]); in updateFromHalProgramListChunk()
144 ConversionUtils.identifierFromHalProgramIdentifier(chunk.removed[i])); in updateFromHalProgramListChunk()
216 ConversionUtils.programInfoFromHalProgramInfo(chunk.modified[i]); in filterAndApplyChunkInternal()
232 Identifier removedId = ConversionUtils.identifierFromHalProgramIdentifier( in filterAndApplyChunkInternal()
DConversionUtils.java66 final class ConversionUtils { class
87 private ConversionUtils() { in ConversionUtils() method in ConversionUtils
/frameworks/base/api/
Djavadoc-lint-baseline47 com/android/server/broadcastradio/aidl/ConversionUtils.java:70: lint: Unresolved link/see tag "Iden…
48 com/android/server/broadcastradio/aidl/ConversionUtils.java:70: lint: Unresolved link/see tag "Prog…
49 com/android/server/broadcastradio/aidl/ConversionUtils.java:70: lint: Unresolved link/see tag "Radi…
50 com/android/server/broadcastradio/aidl/ConversionUtils.java:72: lint: Unresolved link/see tag "com.…
51 com/android/server/broadcastradio/aidl/ConversionUtils.java:72: lint: Unresolved link/see tag "com.…
52 com/android/server/broadcastradio/aidl/ConversionUtils.java:72: lint: Unresolved link/see tag "com.…