Home
last modified time | relevance | path

Searched refs:mGuard (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/midi/
DMidiDevice.java52 private final CloseGuard mGuard = CloseGuard.get(); field in MidiDevice
63 private final CloseGuard mGuard = CloseGuard.get(); field in MidiDevice.MidiConnection
70 mGuard.open("close"); in MidiConnection()
75 synchronized (mGuard) { in close()
77 mGuard.close(); in close()
93 if (mGuard != null) { in finalize()
94 mGuard.warnIfOpen(); in finalize()
112 mGuard.open("close"); in MidiDevice()
223 synchronized (mGuard) { in close()
230 mGuard.close(); in close()
[all …]
DMidiInputPort.java44 private final CloseGuard mGuard = CloseGuard.get(); field in MidiInputPort
59 mGuard.open("close"); in MidiInputPort()
106 synchronized (mGuard) { in claimFileDescriptor()
135 synchronized (mGuard) { in close()
137 mGuard.close(); in close()
162 if (mGuard != null) { in finalize()
163 mGuard.warnIfOpen(); in finalize()
DMidiOutputPort.java47 private final CloseGuard mGuard = CloseGuard.get(); field in MidiOutputPort
108 mGuard.open("close"); in MidiOutputPort()
136 synchronized (mGuard) { in close()
139 mGuard.close(); in close()
155 if (mGuard != null) { in finalize()
156 mGuard.warnIfOpen(); in finalize()
DMidiDeviceServer.java73 private final CloseGuard mGuard = CloseGuard.get(); field in MidiDeviceServer
353 mGuard.open("close"); in MidiDeviceServer()
405 synchronized (mGuard) { in close()
407 mGuard.close(); in close()
432 if (mGuard != null) { in finalize()
433 mGuard.warnIfOpen(); in finalize()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java38 private final CloseGuard mGuard = CloseGuard.get(); field in RemoteDisplay
107 if (mGuard != null) { in dispose()
109 mGuard.warnIfOpen(); in dispose()
111 mGuard.close(); in dispose()
126 mGuard.open("dispose"); in startListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTaskView.java47 private final CloseGuard mGuard = CloseGuard.get(); field in BubbleTaskView
62 mGuard.open("release"); in BubbleTaskView()
139 if (mGuard != null) { in finalize()
140 mGuard.warnIfOpen(); in finalize()
156 mGuard.close(); in performRelease()
/frameworks/base/core/java/android/window/
DTaskEmbedder.java135 private final CloseGuard mGuard = CloseGuard.get(); field in TaskEmbedder
177 mGuard.open("release"); in initialize()
475 mGuard.close(); in performRelease()
482 if (mGuard != null) { in finalize()
483 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/app/
DActivityView.java71 private final CloseGuard mGuard = CloseGuard.get(); field in ActivityView
133 mGuard.open("release"); in ActivityView()
500 mGuard.close(); in performRelease()
507 if (mGuard != null) { in finalize()
508 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSession.java104 private final CloseGuard mGuard = CloseGuard.get(); field in SpellCheckerSession
136 mGuard.open("finishSession"); in SpellCheckerSession()
167 mGuard.close(); in close()
553 if (mGuard != null) { in finalize()
554 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java111 private final CloseGuard mGuard = CloseGuard.get(); field in ParcelFileDescriptor
208 mGuard.open("close"); in ParcelFileDescriptor()
752 mGuard.close(); in detachFd()
803 if (mGuard != null) { in closeWithStatus()
804 mGuard.close(); in closeWithStatus()
1050 if (mGuard != null) { in finalize()
1051 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java79 private final CloseGuard mGuard = CloseGuard.get(); field in NativeLibraryHelper.Handle
142 mGuard.open("close"); in Handle()
150 mGuard.close(); in close()
156 if (mGuard != null) { in finalize()
157 mGuard.warnIfOpen(); in finalize()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java150 private boolean mGuard; field in VrManagerService