Home
last modified time | relevance | path

Searched refs:mGuard (Results 1 – 11 of 11) 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/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/com/android/internal/content/
DNativeLibraryHelper.java74 private final CloseGuard mGuard = CloseGuard.get(); field in NativeLibraryHelper.Handle
139 mGuard.open("close"); in Handle()
147 mGuard.close(); in close()
153 if (mGuard != null) { in finalize()
154 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java104 private final CloseGuard mGuard = CloseGuard.get(); field in ParcelFileDescriptor
201 mGuard.open("close"); in ParcelFileDescriptor()
718 mGuard.close(); in detachFd()
769 if (mGuard != null) { in closeWithStatus()
770 mGuard.close(); in closeWithStatus()
1016 if (mGuard != null) { in finalize()
1017 mGuard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/app/
DActivityView.java94 private final CloseGuard mGuard = CloseGuard.get(); field in ActivityView
128 mGuard.open("release"); in ActivityView()
569 mGuard.close(); in performRelease()
599 if (mGuard != null) { in finalize()
600 mGuard.warnIfOpen(); in finalize()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java340 private final CloseGuard mGuard = CloseGuard.get(); field in MediaPlayer2
349 mGuard.open("close"); in MediaPlayer2()
394 synchronized (mGuard) { in close()
395 mGuard.close(); in close()
447 if (mGuard != null) { in finalize()
448 mGuard.warnIfOpen(); in finalize()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java150 private boolean mGuard; field in VrManagerService