/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputWindowHandleWrapper.java | 36 private final @NonNull InputWindowHandle mHandle; field in InputWindowHandleWrapper 42 mHandle = handle; in InputWindowHandleWrapper() 58 t.setInputWindowInfo(sc, mHandle); in applyChangesToSurface() 63 return mHandle.displayId; in getDisplayId() 67 return mHandle.focusable; in isFocusable() 71 return mHandle.inputApplicationHandle; in getInputApplicationHandle() 75 if (mHandle.inputApplicationHandle == handle) { in setInputApplicationHandle() 78 mHandle.inputApplicationHandle = handle; in setInputApplicationHandle() 83 if (mHandle.token == token) { in setToken() 86 mHandle.token = token; in setToken() [all …]
|
/frameworks/native/opengl/tools/glgen/static/egl/ |
D | EGLObjectHandle.java | 25 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/ |
D | EGLObjectHandle.java | 25 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/ |
D | HidlMemory.java | 46 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/hidl/plugin/ |
D | DefaultFilterPlugin.cpp | 38 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/ |
D | TunerResourceBasic.java | 31 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/ |
D | TestPlayerStub.cpp | 64 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/ |
D | SoftMPEG4.cpp | 56 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/ |
D | PhoneAccountSuggestion.java | 65 private PhoneAccountHandle mHandle; field in PhoneAccountSuggestion 81 this.mHandle = handle; in PhoneAccountSuggestion() 87 mHandle = in.readParcelable(PhoneAccountHandle.class.getClassLoader()); 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/native/libs/gui/ |
D | SurfaceControl.cpp | 56 mHandle(handle), in SurfaceControl() 67 mHandle = other->mHandle; in SurfaceControl() 81 mHandle.clear(); in ~SurfaceControl() 98 return lhs->mHandle == rhs->mHandle; in isSameSurface() 105 return client->clearLayerFrameStats(mHandle); in clearLayerFrameStats() 112 return client->getLayerFrameStats(mHandle, outStats); in getLayerFrameStats() 117 if (mHandle==nullptr || mClient==nullptr) { in validate() 119 mHandle.get(), mClient.get()); in validate() 141 flags, mHandle, {}, &ignore); in generateSurfaceLocked() 176 return mHandle; in getLayerStateHandle() [all …]
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerModule.java | 459 public int mHandle; field in SoundTriggerModule.Session.Model 480 mHandle = mHalService.loadSoundModel(hidlModel, this, 0); in load() 482 mLoadedModels.put(mHandle, this); in load() 483 return mHandle; in load() 493 mHandle = mHalService.loadPhraseSoundModel(hidlModel, this, 0); in load() 496 mLoadedModels.put(mHandle, this); in load() 497 return mHandle; in load() 505 mHalService.unloadSoundModel(mHandle); in unload() 506 mLoadedModels.remove(mHandle); in unload() 521 mHalService.startRecognition(mHandle, hidlConfig, this, 0); in startRecognition() [all …]
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.h | 89 mHandle = other.mHandle; 99 ALOGE_IF(mHandle != AUDIO_PATCH_HANDLE_NONE, in ~Endpoint() 100 "A non empty Patch Endpoint leaked, handle %d", mHandle); in ~Endpoint() 107 audio_patch_handle_t handle() const { return mHandle; } in handle() 114 if (mHandle != AUDIO_PATCH_HANDLE_NONE) { in closeConnections() 115 panel->releaseAudioPatch(mHandle); in closeConnections() 116 mHandle = AUDIO_PATCH_HANDLE_NONE; in closeConnections() 127 audio_patch_handle_t* handlePtr() { return &mHandle; } in handlePtr() 147 swap(mHandle, other.mHandle); in swap() 159 audio_patch_handle_t mHandle = AUDIO_PATCH_HANDLE_NONE; variable
|
D | AudioHwDevice.h | 47 : mHandle(handle) in AudioHwDevice() 65 audio_module_handle_t handle() const { return mHandle; } in handle() 89 const audio_module_handle_t mHandle;
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_fuzzer.cpp | 43 std::unique_ptr<MtpMockHandle> mHandle; member in android::MtpMockServer 59 mHandle = std::make_unique<MtpMockHandle>(); in MtpMockServer() 70 delete mMtp->mHandle; in MtpMockServer() 71 mMtp->mHandle = mHandle.get(); in MtpMockServer() 115 objectInfo->mHandle); in createDatabaseFromSourceDir() 155 mtp->mHandle->add_packet(pkt); in LLVMFuzzerTestOneInput()
|
/frameworks/base/media/java/android/media/ |
D | AudioPort.java | 80 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()
|
D | AudioPatch.java | 36 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/ |
D | NanoAppInstanceInfo.java | 41 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/media/codec2/vndk/platform/ |
D | C2SurfaceSyncObj.cpp | 46 : mInit(false), mHandle(nullptr), mMem(nullptr) {} in C2SurfaceSyncMemory() 51 munmap(static_cast<void *>(mMem), mHandle->size()); in ~C2SurfaceSyncMemory() 53 if (mHandle) { in ~C2SurfaceSyncMemory() 54 native_handle_close(mHandle); in ~C2SurfaceSyncMemory() 55 native_handle_delete(mHandle); in ~C2SurfaceSyncMemory() 77 syncMem->mHandle = o; in Import() 98 syncMem->mHandle = handle; in Create() 104 return !mInit ? nullptr : mHandle; in handle()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 103 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/ |
D | OMXNodeInstance.cpp | 55 #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__) 427 mHandle(NULL), in OMXNodeInstance() 461 CHECK(mHandle == NULL); in ~OMXNodeInstance() 466 CHECK(mHandle == NULL); in setHandle() 467 mHandle = handle; in setHandle() 485 return mHandle; in handle() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerView.java | 51 private DividerHandleView mHandle; field in DividerView 90 mHandle = findViewById(R.id.docked_divider_handle); in onFinishInflate() 155 mHandle.setTouching(true, true); in setTouching() 168 mHandle.animate() in setTouching() 177 mHandle.setTouching(false, true); in releaseTouching() 185 mHandle.animate() in releaseTouching() 215 mHandle.setVisibility(mInteractive ? View.VISIBLE : View.INVISIBLE); in setInteractive()
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 57 CloseArchive(mHandle); in ~ZipFileRO() 101 const int32_t error = FindEntry(mHandle, entryName, &(data->entry)); in findEntryByName() 152 int32_t error = StartIteration(mHandle, &(ze->cookie), in startIteration() 217 int fd = GetFileDescriptor(mHandle); in createEntryFileMap() 242 int fd = GetFileDescriptor(mHandle); in createEntryIncFsFileMap() 267 const int32_t error = ExtractToMemory(mHandle, &(zipEntry->entry), in uncompressEntry() 285 const int32_t error = ExtractEntryToFile(mHandle, &(zipEntry->entry), fd); in uncompressEntry()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 227 mHandle(nullptr), in C2SoftMpeg4Enc() 243 if (!mHandle) { in onInit() 244 mHandle = new tagvideoEncControls; in onInit() 251 if (!(mEncParams && mHandle)) return C2_NO_MEMORY; in onInit() 263 if (mHandle) { in onStop() 264 (void)PVCleanUpVideoEncoder(mHandle); in onStop() 283 if (mHandle) { in onRelease() 284 delete mHandle; in onRelease() 285 mHandle = nullptr; in onRelease() 306 if (mHandle) { in initEncParams() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 143 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal() 146 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal() 157 C2HandleBuf mHandle; member in android::C2DmaBufAllocation 226 ALOGV("successfully unmapped: %d", mHandle.bufferFd()); in unmap() 248 return mHandle.bufferFd() == otherAsBuf->mHandle.bufferFd(); in equals() 252 return &mHandle; in handle() 264 native_handle_close(&mHandle); in ~C2DmaBufAllocation() 270 : C2LinearAllocation(capacity), mHandle(-1, 0) { in C2DmaBufAllocation() 280 mHandle = C2HandleBuf(bufferFd, capacity); in C2DmaBufAllocation() 286 : C2LinearAllocation(size), mHandle(-1, 0) { in C2DmaBufAllocation() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 81 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 …]
|