Home
last modified time | relevance | path

Searched refs:mHandle (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/wm/
DInputWindowHandleWrapper.java41 private final @NonNull InputWindowHandle mHandle; field in InputWindowHandleWrapper
47 mHandle = handle; in InputWindowHandleWrapper()
63 t.setInputWindowInfo(sc, mHandle); in applyChangesToSurface()
68 return mHandle.displayId; in getDisplayId()
72 return (mHandle.inputConfig & InputConfig.NOT_FOCUSABLE) == 0; in isFocusable()
76 return (mHandle.inputConfig & InputConfig.PAUSE_DISPATCHING) != 0; in isPaused()
80 return (mHandle.inputConfig & InputConfig.TRUSTED_OVERLAY) != 0; in isTrustedOverlay()
84 return (mHandle.inputConfig & InputConfig.DUPLICATE_TOUCH_TO_WALLPAPER) in hasWallpaper()
89 return mHandle.inputApplicationHandle; in getInputApplicationHandle()
93 if (mHandle.inputApplicationHandle == handle) { in setInputApplicationHandle()
[all …]
/frameworks/native/opengl/tools/glgen/static/egl/
DEGLObjectHandle.java25 private final long mHandle; field in EGLObjectHandle
33 mHandle = handle; in EGLObjectHandle()
36 mHandle = handle; in EGLObjectHandle()
44 if ((mHandle & 0xffffffffL) != mHandle) { in getHandle()
47 return (int)mHandle; in getHandle()
58 return mHandle; in getNativeHandle()
67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32)); in hashCode()
/frameworks/base/opengl/java/android/opengl/
DEGLObjectHandle.java25 private final long mHandle; field in EGLObjectHandle
33 mHandle = handle; in EGLObjectHandle()
36 mHandle = handle; in EGLObjectHandle()
44 if ((mHandle & 0xffffffffL) != mHandle) { in getHandle()
47 return (int)mHandle; in getHandle()
58 return mHandle; in getNativeHandle()
67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32)); in hashCode()
/frameworks/base/core/java/android/os/
DHidlMemory.java46 private @Nullable NativeHandle mHandle; field in HidlMemory
62 mHandle = handle; in HidlMemory()
71 return new HidlMemory(mName, mSize, mHandle != null ? mHandle.dup() : null); in dup()
80 if (mHandle != null) { in close()
81 mHandle.close(); in close()
82 mHandle = null; in close()
93 NativeHandle handle = mHandle; in releaseHandle()
94 mHandle = null; in releaseHandle()
125 return mHandle; in getHandle()
/frameworks/av/media/codec2/hal/plugin/
DDefaultFilterPlugin.cpp38 mHandle(nullptr), in DefaultFilterPlugin()
41 mHandle = dlopen(pluginPath, RTLD_NOW | RTLD_NODELETE); in DefaultFilterPlugin()
42 if (!mHandle) { in DefaultFilterPlugin()
47 (GetFilterPluginVersionFunc)dlsym(mHandle, "GetFilterPluginVersion"); in DefaultFilterPlugin()
58 (CreateFilterPluginFunc)dlsym(mHandle, "CreateFilterPlugin"); in DefaultFilterPlugin()
64 (DestroyFilterPluginFunc)dlsym(mHandle, "DestroyFilterPlugin"); in DefaultFilterPlugin()
83 if (mHandle) { in ~DefaultFilterPlugin()
88 dlclose(mHandle); in ~DefaultFilterPlugin()
89 mHandle = nullptr; in ~DefaultFilterPlugin()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceBasic.java31 final int mHandle; field in TunerResourceBasic
44 this.mHandle = builder.mHandle; in TunerResourceBasic()
48 return mHandle; in getHandle()
81 private final int mHandle; field in TunerResourceBasic.Builder
84 this.mHandle = handle; in Builder()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.cpp64 mHandle(NULL), mNewPlayer(NULL), mDeletePlayer(NULL), in TestPlayerStub()
119 if (!isTestUrl(url) || NULL != mHandle) { in setDataSource()
137 mHandle = ::dlopen(mFilename, RTLD_NOW | RTLD_GLOBAL); in setDataSource()
138 if (!mHandle) { in setDataSource()
146 mNewPlayer = reinterpret_cast<NEW_PLAYER>(dlsym(mHandle, in setDataSource()
157 mDeletePlayer = reinterpret_cast<DELETE_PLAYER>(dlsym(mHandle, in setDataSource()
186 if (mHandle) { in resetInternal()
187 ::dlclose(mHandle); in resetInternal()
188 mHandle = NULL; in resetInternal()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp56 mHandle(new tagvideoDecControls), in SoftMPEG4()
74 PVCleanUpVideoDecoder(mHandle); in ~SoftMPEG4()
77 delete mHandle; in ~SoftMPEG4()
78 mHandle = NULL; in ~SoftMPEG4()
82 memset(mHandle, 0, sizeof(tagvideoDecControls)); in initDecoder()
144 PVCleanUpVideoDecoder(mHandle); in onQueueFilled()
163 mHandle, vol_data, &vol_size, 1, in onQueueFilled()
174 MP4DecodingMode actualMode = PVGetDecBitstreamMode(mHandle); in onQueueFilled()
181 PVSetPostProcType((VideoDecControls *) mHandle, 0); in onQueueFilled()
209 OMX_U32 yFrameSize = sizeof(uint8) * mHandle->size; in onQueueFilled()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestion.java65 private PhoneAccountHandle mHandle; field in PhoneAccountSuggestion
81 this.mHandle = handle; in PhoneAccountSuggestion()
87mHandle = in.readParcelable(PhoneAccountHandle.class.getClassLoader(), android.telecom.PhoneAccoun… in PhoneAccountSuggestion()
109 return mHandle; in getPhoneAccountHandle()
136 dest.writeParcelable(mHandle, flags); in writeToParcel()
148 && Objects.equals(mHandle, that.mHandle); in equals()
153 return Objects.hash(mHandle, mReason, mShouldAutoSelect); in hashCode()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerModule.java394 public int mHandle; field in SoundTriggerModule.Session.Model
413 mHandle = mHalService.loadSoundModel(model, this); in load()
415 mLoadedModels.put(mHandle, this); in load()
416 return mHandle; in load()
422 mHandle = mHalService.loadPhraseSoundModel(model, this); in load()
425 mLoadedModels.put(mHandle, this); in load()
426 return mHandle; in load()
434 mHalService.unloadSoundModel(mHandle); in unload()
435 mLoadedModels.remove(mHandle); in unload()
443 mHalService.startRecognition(mHandle, mSession.mDeviceHandle, in startRecognition()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeHandle.java66 private final String mHandle; field in InputMethodSubtypeHandle
84 mHandle = handle; in InputMethodSubtypeHandle()
176 return mHandle.substring(0, mHandle.indexOf(DATA_SEPARATOR)); in getImeId()
187 return mHandle; in toStringHandle()
200 return Objects.equals(mHandle, that.mHandle); in equals()
209 return Objects.hashCode(mHandle); in hashCode()
219 return "InputMethodSubtypeHandle{mHandle=" + mHandle + "}"; in toString()
/frameworks/native/libs/gui/
DSurfaceControl.cpp57 mHandle(handle), in SurfaceControl()
68 mHandle = other->mHandle; in SurfaceControl()
83 mHandle.clear(); in ~SurfaceControl()
100 return lhs->mHandle == rhs->mHandle; in isSameSurface()
107 return client->clearLayerFrameStats(mHandle); in clearLayerFrameStats()
114 return client->getLayerFrameStats(mHandle, outStats); in getLayerFrameStats()
119 if (mHandle==nullptr || mClient==nullptr) { in validate()
121 mHandle.get(), mClient.get()); in validate()
143 flags, mHandle, {}, &ignore); in generateSurfaceLocked()
178 return mHandle; in getLayerStateHandle()
[all …]
/frameworks/base/media/java/android/media/
DAudioPort.java80 AudioHandle mHandle; field in AudioPort
99 mHandle = handle; in AudioPort()
121 mHandle = handle; in AudioPort()
147 return mHandle; in handle()
155 return mHandle.id(); in id()
270 return mHandle.equals(ap.handle()); in equals()
275 return mHandle.hashCode(); in hashCode()
292 return "{mHandle: " + mHandle in toString()
DAudioPatch.java36 private final AudioHandle mHandle; field in AudioPatch
42 mHandle = patchHandle; in AudioPatch()
67 return mHandle.id(); in id()
74 s.append(mHandle.toString()); in toString()
/frameworks/base/core/java/android/hardware/location/
DNanoAppInstanceInfo.java41 private int mHandle; field in NanoAppInstanceInfo
60 mHandle = handle; in NanoAppInstanceInfo()
164 return mHandle; in getHandle()
171 mHandle = in.readInt(); in NanoAppInstanceInfo()
196 out.writeInt(mHandle); in writeToParcel()
225 String retVal = "handle : " + mHandle; in toString()
/frameworks/av/services/audioflinger/
DIAfPatchPanel.h115 mHandle = other.mHandle;
126 mHandle != AUDIO_PATCH_HANDLE_NONE, in ~Endpoint()
127 "A non empty Patch Endpoint leaked, handle %d", mHandle); in ~Endpoint()
134 audio_patch_handle_t handle() const { return mHandle; } in handle()
144 if (mHandle != AUDIO_PATCH_HANDLE_NONE) { in closeConnections_l()
145 panel->releaseAudioPatch_l(mHandle); in closeConnections_l()
146 mHandle = AUDIO_PATCH_HANDLE_NONE; in closeConnections_l()
157 audio_patch_handle_t* handlePtr() { return &mHandle; } in handlePtr()
181 swap(mHandle, other.mHandle); in swap()
191 audio_patch_handle_t mHandle = AUDIO_PATCH_HANDLE_NONE; variable
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java103 private View mHandle; field in SlidingDrawer
266 mHandle = findViewById(mHandleId); in onFinishInflate()
267 if (mHandle == null) { in onFinishInflate()
271 mHandle.setOnClickListener(new DrawerToggler()); in onFinishInflate()
293 final View handle = mHandle; in onMeasure()
312 final View handle = mHandle; in dispatchDraw()
346 final View handle = mHandle; in onLayout()
388 final View handle = mHandle; in onInterceptTouchEvent()
408 final int top = mHandle.getTop(); in onInterceptTouchEvent()
412 final int left = mHandle.getLeft(); in onInterceptTouchEvent()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp55 #define CLOGW(fmt, ...) ALOGW("[%p:%s] " fmt, mHandle, mName, ##__VA_ARGS__)
59 mHandle, mName, ##__VA_ARGS__, asString(err), err)
65 ALOGI_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__)
67 ALOGD_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__)
75 ALOGD_IF(cond, #fn "(%p, " fmt ")", mHandle, ##__VA_ARGS__)
447 mHandle(NULL), in OMXNodeInstance()
481 CHECK(mHandle == NULL); in ~OMXNodeInstance()
486 CHECK(mHandle == NULL); in setHandle()
487 mHandle = handle; in setHandle()
505 return mHandle; in handle()
[all …]
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensor.java41 private final int mHandle; field in VirtualSensor
52 mHandle = handle; in VirtualSensor()
69 mHandle = parcel.readInt(); in VirtualSensor()
84 return mHandle; in getHandle()
124 parcel.writeInt(mHandle); in writeToParcel()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp81 mHandle(new tagvideoEncControls), in SoftMPEG4Encoder()
108 CHECK(mHandle != NULL); in initEncParams()
109 memset(mHandle, 0, sizeof(tagvideoEncControls)); in initEncParams()
188 if (!PVInitVideoEncoder(mHandle, mEncParams)) { in initEncoder()
207 if (mHandle) { in releaseEncoder()
208 delete mHandle; in releaseEncoder()
209 mHandle = NULL; in releaseEncoder()
409 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { in onQueueFilled()
482 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, in onQueueFilled()
484 !PVGetHintTrack(mHandle, &hintTrack)) { in onQueueFilled()
[all …]
/frameworks/av/media/codec2/vndk/
DC2DmaBufAllocator.cpp144 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
147 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
158 C2HandleBuf mHandle; member in android::C2DmaBufAllocation
229 ALOGV("successfully unmapped: %d", mHandle.bufferFd()); in unmap()
251 return mHandle.bufferFd() == otherAsBuf->mHandle.bufferFd(); in equals()
255 return &mHandle; in handle()
268 native_handle_close(&mHandle); in ~C2DmaBufAllocation()
274 : C2LinearAllocation(capacity), mHandle(-1, 0) { in C2DmaBufAllocation()
284 mHandle = C2HandleBuf(bufferFd, capacity); in C2DmaBufAllocation()
290 : C2LinearAllocation(size), mHandle(-1, 0) { in C2DmaBufAllocation()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserState.java53 public final UserHandle mHandle; field in UserState
77 mHandle = handle; in UserState()
86 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state " in setState()
96 final int userId = mHandle.getIdentifier(); in setState()
152 return "[UserState: id=" + mHandle.getIdentifier() + ", state=" + stateToString(state) in toString()
/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp73 : mInit(false), mHandle(nullptr), mMem(nullptr) {} in C2SurfaceSyncMemory()
78 munmap(static_cast<void *>(mMem), mHandle->size()); in ~C2SurfaceSyncMemory()
80 if (mHandle) { in ~C2SurfaceSyncMemory()
81 native_handle_close(mHandle); in ~C2SurfaceSyncMemory()
82 native_handle_delete(mHandle); in ~C2SurfaceSyncMemory()
109 syncMem->mHandle = o; in Import()
130 syncMem->mHandle = handle; in Create()
136 return !mInit ? nullptr : mHandle; in handle()
/frameworks/av/media/libstagefright/
DBufferImpl.cpp59 mHandle(handle) { in SecureBuffer()
63 return (void *)(mHandle == nullptr ? mPointer : mHandle->handle()); in getDestinationPointer()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp310 mHandle(nullptr), in C2SoftMpeg4Enc()
326 if (!mHandle) { in onInit()
327 mHandle = new tagvideoEncControls; in onInit()
334 if (!(mEncParams && mHandle)) return C2_NO_MEMORY; in onInit()
346 if (mHandle) { in onStop()
347 (void)PVCleanUpVideoEncoder(mHandle); in onStop()
366 if (mHandle) { in onRelease()
367 delete mHandle; in onRelease()
368 mHandle = nullptr; in onRelease()
389 if (mHandle) { in initEncParams()
[all …]

12345