OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nativeContext
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/services/core/jni/BroadcastRadio/
Tuner.cpp
64
jfieldID
nativeContext
;
100
auto
nativeContext
= reinterpret_cast<TunerContext*>(nativeContextHandle);
101
LOG_ALWAYS_FATAL_IF(
nativeContext
== nullptr, "Native context not initialized");
102
return *
nativeContext
;
109
return getNativeContext(env->GetLongField(jTuner.get(), gjni.Tuner.
nativeContext
));
125
static void nativeFinalize(JNIEnv *env, jobject obj, jlong
nativeContext
) {
129
auto ctx = reinterpret_cast<TunerContext*>(
nativeContext
);
194
sp<V1_0::ITuner> getHalTuner(jlong
nativeContext
) {
196
return getHalTuner(getNativeContext(
nativeContext
));
199
sp<V1_1::ITuner> getHalTuner11(jlong
nativeContext
) {
[
all
...]
BroadcastRadioService.cpp
90
auto
nativeContext
= reinterpret_cast<ServiceContext*>(nativeContextHandle);
91
LOG_ALWAYS_FATAL_IF(
nativeContext
== nullptr, "Native context not initialized");
92
return *
nativeContext
;
99
auto
nativeContext
= new ServiceContext();
100
static_assert(sizeof(jlong) >= sizeof(
nativeContext
), "jlong is smaller than a pointer");
101
return reinterpret_cast<jlong>(
nativeContext
);
104
static void nativeFinalize(JNIEnv *env, jobject obj, jlong
nativeContext
) {
108
auto ctx = reinterpret_cast<ServiceContext*>(
nativeContext
);
112
static jobject nativeLoadModules(JNIEnv *env, jobject obj, jlong
nativeContext
) {
115
auto& ctx = getNativeContext(
nativeContext
);
[
all
...]
TunerCallback.cpp
58
jfieldID
nativeContext
;
342
auto
nativeContext
= reinterpret_cast<TunerCallbackContext*>(nativeContextHandle);
343
LOG_ALWAYS_FATAL_IF(
nativeContext
== nullptr, "Native context not initialized");
344
return *
nativeContext
;
351
return getNativeContext(env->GetLongField(jTunerCb, gjni.TunerCallback.
nativeContext
));
367
static void nativeFinalize(JNIEnv *env, jobject obj, jlong
nativeContext
) {
371
auto ctx = reinterpret_cast<TunerCallbackContext*>(
nativeContext
);
375
static void nativeDetach(JNIEnv *env, jobject obj, jlong
nativeContext
) {
378
auto& ctx = getNativeContext(
nativeContext
);
408
gjni.TunerCallback.
nativeContext
= GetFieldIDOrDie(env, tunerCbClass, "mNativeContext", "J")
[
all
...]
/frameworks/base/services/core/java/com/android/server/broadcastradio/
Tuner.java
73
private native void nativeFinalize(long
nativeContext
);
74
private native void nativeClose(long
nativeContext
);
76
private native void nativeSetConfiguration(long
nativeContext
,
78
private native RadioManager.BandConfig nativeGetConfiguration(long
nativeContext
, int region);
80
private native void nativeSetMuted(long
nativeContext
, boolean mute);
82
private native void nativeStep(long
nativeContext
, boolean directionDown, boolean skipSubChannel);
83
private native void nativeScan(long
nativeContext
, boolean directionDown, boolean skipSubChannel);
84
private native void nativeTune(long
nativeContext
, @NonNull ProgramSelector selector);
85
private native void nativeCancel(long
nativeContext
);
87
private native void nativeCancelAnnouncement(long
nativeContext
);
[
all
...]
BroadcastRadioService.java
54
private native void nativeFinalize(long
nativeContext
);
55
private native List<RadioManager.ModuleProperties> nativeLoadModules(long
nativeContext
);
56
private native Tuner nativeOpenTuner(long
nativeContext
, int moduleId,
TunerCallback.java
53
private native void nativeFinalize(long
nativeContext
);
54
private native void nativeDetach(long
nativeContext
);
/packages/apps/TV/libs/
exoplayer_v2_ext_ffmpeg.jar
/frameworks/base/core/jni/
android_hardware_camera2_DngCreator.cpp
150
class
NativeContext
: public LightRefBase<
NativeContext
> {
156
NativeContext
(const CameraMetadata& characteristics, const CameraMetadata& result);
157
virtual ~
NativeContext
();
203
NativeContext
::
NativeContext
(const CameraMetadata& characteristics, const CameraMetadata& result) :
209
NativeContext
::~
NativeContext
() {}
211
TiffWriter*
NativeContext
::getWriter() {
215
std::shared_ptr<const CameraMetadata>
NativeContext
::getCharacteristics() const
[
all
...]
android_os_HwBinder.cpp
230
static void releaseNativeContext(void *
nativeContext
) {
231
sp<JHwBinderHolder> context = static_cast<JHwBinderHolder *>(
nativeContext
);
android_os_HwBlob.cpp
242
static void releaseNativeContext(void *
nativeContext
) {
243
sp<JHwBlob> parcel = (JHwBlob *)
nativeContext
;
android_os_HwRemoteBinder.cpp
303
static void releaseNativeContext(void *
nativeContext
) {
304
sp<JHwRemoteBinder> binder = (JHwRemoteBinder *)
nativeContext
;
android_os_HwParcel.cpp
231
static void releaseNativeContext(void *
nativeContext
) {
232
sp<JHwParcel> parcel = (JHwParcel *)
nativeContext
;
/external/deqp/framework/opengl/
gluES3PlusWrapperContext.cpp
639
glu::ContextType
nativeContext
= wrappableNativeTypes[nativeCtxNdx];
644
nativeConfig.type =
nativeContext
;
Completed in 1570 milliseconds