HomeSort by relevance Sort by last modified time
    Searched refs:Tuner (Results 1 - 20 of 20) sorted by null

  /packages/apps/TV/tests/common/src/com/android/tv/input/
TunerHelper.java 31 private final List<Tuner> mTuners = new ArrayList<>();
43 for (Tuner tuner : mTuners) {
44 if (!tuner.recording) {
52 * Checks whether there is available tuner. If there's available tuner, it is assigned to the
59 for (Tuner tuner : mTuners) {
60 // Find available tuner which is used only for the recording.
61 if (tuner.channelUri.equals(channelUri))
88 Tuner tuner = iterator.next(); local
114 Tuner tuner = iterator.next(); local
    [all...]
  /external/mockito/src/test/java/org/mockitousage/annotation/
InjectionOfInlinedMockDeclarationTest.java 26 private Tuner tuner = spy(new Tuner()); field in class:InjectionOfInlinedMockDeclarationTest
33 assertNotNull(receiver.tuner);
51 assertNotNull(spiedReceiver.tuner);
59 Tuner tuner; field in class:InjectionOfInlinedMockDeclarationTest.Receiver
65 private static class Tuner { }
  /hardware/interfaces/broadcastradio/1.0/default/
Tuner.cpp 17 #define LOG_TAG "Tuner"
23 #include "Tuner.h"
33 void Tuner::onCallback(radio_hal_event_t *halEvent)
79 void Tuner::callback(radio_hal_event_t *halEvent, void *cookie)
81 wp<Tuner> weak(reinterpret_cast<Tuner*>(cookie));
82 sp<Tuner> tuner = weak.promote(); local
83 if (tuner == 0) return;
84 tuner->onCallback(halEvent)
    [all...]
Tuner.h 32 struct Tuner : public ITuner {
34 Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& mParentDevice);
52 ~Tuner();
BroadcastRadio.cpp 24 #include "Tuner.h"
122 sp<Tuner> tunerImpl = new Tuner(callback, this);
128 Tuner::callback, tunerImpl.get(),
  /hardware/interfaces/broadcastradio/1.1/default/
Tuner.cpp 17 #define LOG_TAG "BroadcastRadioDefault.tuner"
20 #include "Tuner.h"
61 Tuner::Tuner(const sp<BroadcastRadio> module, V1_0::Class classId,
70 void Tuner::forceClose() {
76 void Tuner::setConfigurationInternalLocked(const BandConfig& config) {
92 bool Tuner::autoConfigureLocked(uint64_t frequency) {
104 Return<Result> Tuner::setConfiguration(const BandConfig& config) {
109 ALOGE("Can't set AM/FM configuration on SAT/DT radio tuner");
125 Return<void> Tuner::getConfiguration(getConfiguration_cb _hidl_cb)
    [all...]
Tuner.h 33 struct Tuner : public ITuner {
34 Tuner(const sp<BroadcastRadio> module, V1_0::Class classId,
BroadcastRadio.h 19 #include "Tuner.h"
74 wp<Tuner> mTuner;
BroadcastRadio.cpp 139 ALOGI("Force-closing previously opened tuner");
144 sp<Tuner> newTuner = new Tuner(this, mClassId, callback);
  /external/tensorflow/tensorflow/contrib/training/python/training/
tuner.py 16 """The Tuner interface for hyper-parameters tuning."""
27 class Tuner(object):
28 """Tuner class is the interface for Experiment hyper-parameters tuning.
40 tuner = create_tuner(study_configuration, objective_key)
42 learn_runner.tune(experiment_fn=_create_my_experiment, tuner)
55 A boolean indicating if a trial was assigned to the tuner.
58 RuntimeError: If the tuner is initialized correctly.
75 raised. The task type should be one of the types supported by the tuner. If
76 tuner does not support the task type directly, it could delegate the task to
78 raised, if neither tuner nor Experiment could support the task type
    [all...]
  /frameworks/base/services/core/jni/BroadcastRadio/
Tuner.h 36 namespace Tuner {
43 getNativeCallback(JNIEnv *env, JavaRef<jobject> const &tuner);
47 } // namespace Tuner
BroadcastRadioService.cpp 22 #include "Tuner.h"
69 } Tuner;
220 ALOGI("Opening tuner %d", moduleId);
236 * (if tuner scans only configured band for programs). */
247 auto tuner = make_javaref(env, env->NewObject(gjni.Tuner.clazz, gjni.Tuner.cstor, local
249 if (tuner == nullptr) {
250 ALOGE("Unable to create new tuner object.");
254 auto tunerCb = Tuner::getNativeCallback(env, tuner)
    [all...]
Tuner.cpp 17 #define LOG_TAG "BroadcastRadioService.Tuner.jni"
20 #include "Tuner.h"
35 namespace Tuner {
69 } Tuner;
110 return getNativeContext(env->GetLongField(jTuner.get(), gjni.Tuner.nativeContext));
136 ALOGW("HAL Tuner died unexpectedly");
157 ALOGE_IF(halTuner == nullptr, "HAL tuner is a nullptr");
162 ALOGD("Tuner was closed during initialization");
163 // dropping the last reference will close HAL tuner
167 ALOGE("HAL tuner is already set.")
182 auto tuner = ctx.mHalTuner; local
    [all...]
TunerCallback.cpp 22 #include "Tuner.h"
173 auto region = Tuner::getRegion(env, mJTuner);
395 { "nativeInit", "(Lcom/android/server/broadcastradio/hal1/Tuner;I)J", (void*)nativeInit },
  /external/clang/test/CodeGenCXX/
pragma-loop.cpp 32 enum struct Tuner : short { Interleave = 4, Unroll = 8 };
37 #pragma clang loop interleave_count(static_cast<int>(Tuner::Interleave))
38 #pragma clang loop unroll_count(static_cast<int>(Tuner::Unroll))
  /frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
TunerCallback.java 47 @NonNull private final Tuner mTuner;
53 TunerCallback(@NonNull Tuner tuner, @NonNull ITunerCallback clientCallback, int halRev) {
54 mTuner = tuner;
56 mNativeContext = nativeInit(tuner, halRev);
65 private native long nativeInit(@NonNull Tuner tuner, int halRev);
BroadcastRadioService.java 51 private native Tuner nativeOpenTuner(long nativeContext, int moduleId,
Tuner.java 36 class Tuner extends ITuner.Stub {
37 private static final String TAG = "BroadcastRadioService.Tuner";
54 Tuner(@NonNull ITunerCallback clientCallback, int halRev,
117 throw new IllegalStateException("Tuner is closed, no further operations are allowed");
163 Slog.w(TAG, "Tuner did not request audio, pretending it was muted");
  /external/tensorflow/tensorflow/contrib/training/
__init__.py 66 from tensorflow.contrib.training.python.training.tuner import Tuner
  /test/vts/tools/build/tasks/list/
vts_func_fuzzer_package_list.mk 49 android.hardware.broadcastradio@1.0-vts.func_fuzzer.Tuner \
51 android.hardware.broadcastradio@1.1-vts.func_fuzzer.Tuner \

Completed in 8091 milliseconds