Home
last modified time | relevance | path

Searched refs:Convert (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java172 Convert.throwOnError("step", halResult); in step()
187 Convert.throwOnError("step", halResult); in seek()
200 int halResult = mHwSession.tune(Convert.programSelectorToHal(selector)); in tune()
201 Convert.throwOnError("tune", halResult); in tune()
349 Convert.throwOnError("isConfigFlagSet", halResult.value); in isConfigFlagSet()
365 Convert.throwOnError("setConfigFlag", halResult); in setConfigFlag()
377 return Convert.vendorInfoFromHal(Utils.maybeRethrow( in setParameters()
378 () -> mHwSession.setParameters(Convert.vendorInfoToHal(parameters)))); in setParameters()
386 return Convert.vendorInfoFromHal(Utils.maybeRethrow( in getParameters()
387 () -> mHwSession.getParameters(Convert.listToArrayList(keys)))); in getParameters()
DRadioModule.java92 Convert.programSelectorFromHal(programSelector);
93 int tunerResult = Convert.halResultToTunerResult(result);
104 mCurrentProgramInfo = Convert.programInfoFromHal(halProgramInfo);
138 Map<String, String> cparam = Convert.vendorInfoFromHal(parameters);
179 RadioManager.ModuleProperties prop = Convert.propertiesFromHal(idx, fqName, in tryLoadingModule()
205 Convert.throwOnError("openSession", result); in openSession()
327 int halResult = mHalTunerSession.startProgramListUpdates(Convert.programFilterToHal( in onTunerSessionProgramListFilterChangedLocked()
329 Convert.throwOnError("startProgramListUpdates", halResult); in onTunerSessionProgramListFilterChangedLocked()
417 map(a -> Convert.announcementFromHal(a)).collect(Collectors.toList())); in addAnnouncementListener()
425 Convert.throwOnError("addAnnouncementListener", halResult.value); in addAnnouncementListener()
DProgramInfoCache.java116 RadioManager.ProgramInfo programInfo = Convert.programInfoFromHal(halProgramInfo); in updateFromHalProgramListChunk()
120 mProgramInfoMap.remove(Convert.programIdentifierFromHal(halProgramId)); in updateFromHalProgramListChunk()
189 RadioManager.ProgramInfo info = Convert.programInfoFromHal(halProgramInfo); in filterAndApplyChunkInternal()
199 Identifier removedId = Convert.programIdentifierFromHal(halProgramId); in filterAndApplyChunkInternal()
DConvert.java55 final class Convert { class
59 private Convert() { in Convert() method in Convert
299 Arrays.stream(sel.getSecondaryIds()).map(Convert::programIdentifierToHal). in programSelectorToHal()
315 map(Convert::programIdentifierFromHal).map(Objects::requireNonNull). in programSelectorFromHal()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java76 Convert.announcementFromHal(
85 Convert.throwOnError("tune", Result.INVALID_ARGUMENTS)); in throwOnError()
222 .that(Convert.vendorInfoToHal(/* info= */ null)).isEmpty(); in vendorInfoToHal_withNull()
231 .that(Convert.vendorInfoToHal(vendorInfo)).isEmpty(); in vendorInfoToHal_withNullValue()
242 .that(Convert.vendorInfoFromHal(halVendorInfoArray)).isEmpty(); in vendorInfoFromHalVendorKeyValues_withNullElements()
260 RadioManager.ProgramInfo info = Convert.programInfoFromHal(halInfo); in programInfoFromHal_withMetadata()
285 return Convert.propertiesFromHal(TEST_ID, TEST_SERVICE_NAME, properties, in convertToModuleProperties()
DTestUtils.java97 hwInfo.selector = Convert.programSelectorToHal(info.getSelector()); in programInfoToHal()
104 hwInfo.physicallyTunedTo = Convert.programIdentifierToHal(info.getSelector() in programInfoToHal()
110 hwInfo.physicallyTunedTo = Convert.programIdentifierToHal(info.getSelector() in programInfoToHal()
DStartProgramListUpdatesFanoutTest.java142 ProgramFilter halFilter = Convert.programFilterToHal(aidlFilter); in testFanout()
195 ProgramFilter halFilter = Convert.programFilterToHal(idFilter); in testFiltering()
253 ProgramFilter halFilter = Convert.programFilterToHal(idFilter); in testClientClosing()
269 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(Convert.programFilterToHal( in testClientClosing()
329 programListChunk.removed.add(Convert.programIdentifierToHal(id)); in updateHalProgramInfo()
DConvertResultTest.java63 .that(Convert.halResultToTunerResult(mHalResult)) in halResultToTunerResult()
DTunerSessionHidlTest.java452 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in step_withDirectionUp()
469 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in step_withDirectionDown()
483 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in step_forNonCurrentUser_doesNotStep()
514 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in seek_withDirectionUp()
544 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in seek_withDirectionDown()
561 Convert.programSelectorToHal(initialSel), SIGNAL_QUALITY); in seek_forNonCurrentUser_doesNotSeek()
841 verify(mHalTunerSessionMock).setParameters(Convert.vendorInfoToHal(parametersSet)); in setParameters_withMockParameters()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DConvert.java27 final class Convert { class
/frameworks/base/tools/aapt2/cmd/
DConvert.h96 int Convert(IAaptContext* context, LoadedApk* input, IArchiveWriter* output_writer,
/frameworks/rs/script_api/
Drs_convert.spec32 summary: Convert numerical vectors
162 summary: Convert a YUV value to RGBA
Drs_time.spec66 summary: Convert to local time
/frameworks/libs/systemui/toruslib/lib-torus/
Dgradle.properties32 # Convert third-party libraries to use AndroidX
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp100 } Convert; member
316 gjni.Convert.clazz, gjni.Convert.stringMapToNative, jInfo))); in VendorInfoToHal()
691 gjni.Convert.clazz = MakeGlobalRefOrDie(env, convertClass); in register_android_server_broadcastradio_convert()
692 gjni.Convert.stringMapToNative = GetStaticMethodIDOrDie(env, convertClass, "stringMapToNative", in register_android_server_broadcastradio_convert()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette_f.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye_approx_f.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye_approx.rsh46 // Convert x and y to floating point coordinates with center as origin
Dfisheye.rsh46 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye.rsh46 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin

12