/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubClient.java | 53 private final CloseGuard mCloseGuard; field in ContextHubClient 67 mCloseGuard = null; in ContextHubClient() 69 mCloseGuard = CloseGuard.get(); in ContextHubClient() 70 mCloseGuard.open("close"); in ContextHubClient() 113 if (mCloseGuard != null) { in close() 114 mCloseGuard.close(); in close() 165 if (mCloseGuard != null) { in finalize() 166 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | CloseGuardTest.java | 74 private final CloseGuard mCloseGuard; field in CloseGuardTest.ResourceOwner 77 mCloseGuard = new CloseGuard(); in ResourceOwner() 81 mCloseGuard.open("close"); in open() 85 mCloseGuard.close(); in close() 94 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
D | PdfRenderer.java | 114 private final CloseGuard mCloseGuard = CloseGuard.get(); field in PdfRenderer 181 mCloseGuard.open("close"); in PdfRenderer() 239 if (mCloseGuard != null) { in finalize() 240 mCloseGuard.warnIfOpen(); in finalize() 267 mCloseGuard.close(); in doClose() 293 private final CloseGuard mCloseGuard = CloseGuard.get(); field in PdfRenderer.Page 319 mCloseGuard.open("close"); in Page() 460 if (mCloseGuard != null) { in finalize() 461 mCloseGuard.warnIfOpen(); in finalize() 478 mCloseGuard.close(); in doClose()
|
D | PdfDocument.java | 81 private final CloseGuard mCloseGuard = CloseGuard.get(); field in PdfDocument 94 mCloseGuard.open("close"); in PdfDocument() 205 if (mCloseGuard != null) { in finalize() 206 mCloseGuard.warnIfOpen(); in finalize() 218 mCloseGuard.close(); in dispose()
|
D | PdfEditor.java | 40 private final CloseGuard mCloseGuard = CloseGuard.get(); field in PdfEditor 93 mCloseGuard.open("close"); in PdfEditor() 278 if (mCloseGuard != null) { in finalize() 279 mCloseGuard.warnIfOpen(); in finalize() 300 mCloseGuard.close(); in doClose()
|
/frameworks/base/core/java/android/view/ |
D | InputEventSender.java | 35 private final CloseGuard mCloseGuard = CloseGuard.get(); field in InputEventSender 69 mCloseGuard.open("dispose"); in InputEventSender() 89 if (mCloseGuard != null) { in dispose() 91 mCloseGuard.warnIfOpen(); in dispose() 93 mCloseGuard.close(); in dispose()
|
D | DisplayEventReceiver.java | 72 private final CloseGuard mCloseGuard = CloseGuard.get(); field in DisplayEventReceiver 114 mCloseGuard.open("dispose"); in DisplayEventReceiver() 134 if (mCloseGuard != null) { in dispose() 136 mCloseGuard.warnIfOpen(); in dispose() 138 mCloseGuard.close(); in dispose()
|
D | InputEventReceiver.java | 38 private final CloseGuard mCloseGuard = CloseGuard.get(); field in InputEventReceiver 76 mCloseGuard.open("dispose"); in InputEventReceiver() 97 if (mCloseGuard != null) { in dispose() 99 mCloseGuard.warnIfOpen(); in dispose() 101 mCloseGuard.close(); in dispose()
|
D | InputQueue.java | 40 private final CloseGuard mCloseGuard = CloseGuard.get(); field in InputQueue 54 mCloseGuard.open("dispose"); in InputQueue() 73 if (mCloseGuard != null) { in dispose() 75 mCloseGuard.warnIfOpen(); in dispose() 77 mCloseGuard.close(); in dispose()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorDirectChannel.java | 138 mCloseGuard.close(); in close() 198 mCloseGuard.open("SensorDirectChannel"); in SensorDirectChannel() 224 if (mCloseGuard != null) { in finalize() 225 mCloseGuard.warnIfOpen(); in finalize() 235 private final CloseGuard mCloseGuard = CloseGuard.get(); field in SensorDirectChannel
|
/frameworks/base/core/java/android/net/ |
D | IpSecManager.java | 154 private final CloseGuard mCloseGuard = CloseGuard.get(); field in IpSecManager.SecurityParameterIndex 182 mCloseGuard.close(); in close() 189 if (mCloseGuard != null) { in finalize() 190 mCloseGuard.warnIfOpen(); in finalize() 237 mCloseGuard.open("open"); in SecurityParameterIndex() 550 private final CloseGuard mCloseGuard = CloseGuard.get(); field in IpSecManager.UdpEncapsulationSocket 574 mCloseGuard.open("constructor"); in UdpEncapsulationSocket() 610 mCloseGuard.close(); in close() 624 if (mCloseGuard != null) { in finalize() 625 mCloseGuard.warnIfOpen(); in finalize() [all …]
|
D | IpSecTransform.java | 142 mCloseGuard.open("build"); in activate() 178 mCloseGuard.close(); in close() 193 mCloseGuard.close(); in close() 200 if (mCloseGuard != null) { in finalize() 201 mCloseGuard.warnIfOpen(); in finalize() 214 private final CloseGuard mCloseGuard = CloseGuard.get(); field in IpSecTransform
|
/frameworks/base/core/java/android/util/ |
D | MemoryIntArray.java | 55 private final CloseGuard mCloseGuard = CloseGuard.get(); field in MemoryIntArray 76 mCloseGuard.open("close"); in MemoryIntArray() 87 mCloseGuard.open("close"); in MemoryIntArray() 147 mCloseGuard.close(); in close() 161 if (mCloseGuard != null) { in finalize() 162 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | DiscoverySession.java | 61 private final CloseGuard mCloseGuard = new CloseGuard(); field in DiscoverySession 86 mCloseGuard.open("close"); in DiscoverySession() 110 mCloseGuard.close(); in close() 128 mCloseGuard.close(); in setTerminated() 135 if (mCloseGuard != null) { in finalize() 136 mCloseGuard.warnIfOpen(); in finalize()
|
D | WifiAwareSession.java | 48 private final CloseGuard mCloseGuard = new CloseGuard(); field in WifiAwareSession 59 mCloseGuard.open("close"); in WifiAwareSession() 82 mCloseGuard.close(); in close() 90 if (mCloseGuard != null) { in finalize() 91 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 29 private final CloseGuard mCloseGuard = CloseGuard.get(); field in UinputBridge 83 mCloseGuard.open("close"); in UinputBridge() 90 mCloseGuard.open("close"); in UinputBridge() 110 mCloseGuard.warnIfOpen(); in finalize() 125 mCloseGuard.close(); in close()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 53 private final CloseGuard mCloseGuard = CloseGuard.get(); field in UsbDeviceConnection 72 mCloseGuard.open("close"); in open() 120 mCloseGuard.close(); in close() 395 if (mCloseGuard != null) { in finalize() 396 mCloseGuard.warnIfOpen(); in finalize()
|
D | UsbRequest.java | 80 private final CloseGuard mCloseGuard = CloseGuard.get(); field in UsbRequest 106 mCloseGuard.open("close"); in initialize() 120 mCloseGuard.close(); in close() 127 if (mCloseGuard != null) { in finalize() 128 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightsManager.java | 143 private final CloseGuard mCloseGuard = new CloseGuard(); field in LightsManager.LightsSession 151 mCloseGuard.open("close"); in LightsSession() 185 mCloseGuard.close(); in close() 197 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 52 private CloseGuard mCloseGuard = CloseGuard.get(); field in MtpDevice 98 mCloseGuard.open("close"); in open() 113 mCloseGuard.close(); in close() 126 if (mCloseGuard != null) { in finalize() 127 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppPredictor.java | 80 private final CloseGuard mCloseGuard = CloseGuard.get(); field in AppPredictor 107 mCloseGuard.open("close"); in AppPredictor() 254 mCloseGuard.close(); in destroy() 272 if (mCloseGuard != null) { in finalize() 273 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 62 private final CloseGuard mCloseGuard = CloseGuard.get(); field in CursorWindow 143 mCloseGuard.open("close"); in CursorWindow() 172 mCloseGuard.open("close"); in CursorWindow() 178 if (mCloseGuard != null) { in finalize() 179 mCloseGuard.warnIfOpen(); in finalize() 188 if (mCloseGuard != null) { in dispose() 189 mCloseGuard.close(); in dispose()
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 318 private final CloseGuard mCloseGuard = CloseGuard.get(); field in MediaMuxer 389 mCloseGuard.open("release"); in setUpMediaMuxer() 498 if (mCloseGuard != null) { in finalize() 499 mCloseGuard.warnIfOpen(); in finalize() 739 mCloseGuard.close(); in release()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 88 private final CloseGuard mCloseGuard = CloseGuard.get(); field in ContentProviderClient 112 mCloseGuard.open("close"); in ContentProviderClient() 633 mCloseGuard.close(); in closeInternal() 652 if (mCloseGuard != null) { in finalize() 653 mCloseGuard.warnIfOpen(); in finalize() 696 private final CloseGuard mCloseGuard = CloseGuard.get(); field in ContentProviderClient.CursorWrapperInner 700 mCloseGuard.open("close"); in CursorWrapperInner() 705 mCloseGuard.close(); in close() 712 if (mCloseGuard != null) { in finalize() 713 mCloseGuard.warnIfOpen(); in finalize()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothMap.java | 48 private CloseGuard mCloseGuard; field in BluetoothMap 91 mCloseGuard = new CloseGuard(); in BluetoothMap() 92 mCloseGuard.open("close"); in BluetoothMap() 97 if (mCloseGuard != null) { in finalize() 98 mCloseGuard.warnIfOpen(); in finalize()
|