Searched refs:ConversionUtils (Results 1 – 10 of 10) sorted by relevance
164 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 …]
105 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()
183 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 …]
63 .that(ConversionUtils.halResultToTunerResult(mHalResult)) in halResultToTunerResult()
179 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()
181 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 …]
104 ConversionUtils.programSelectorFromHalProgramSelector(programSelector);105 int tunerResult = ConversionUtils.halResultToTunerResult(result);108 if (csel != null && !ConversionUtils124 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 …]
133 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()
66 final class ConversionUtils { class87 private ConversionUtils() { in ConversionUtils() method in ConversionUtils
47 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.…