/packages/modules/DnsResolver/ |
D | DnsTlsSocket.h | 89 bool initialize() EXCLUDES(mLock); 94 bool startHandshake() EXCLUDES(mLock); 102 bool query(uint16_t id, const netdutils::Slice query) override EXCLUDES(mLock); 106 std::mutex mLock; 109 void loop() EXCLUDES(mLock); 110 std::unique_ptr<std::thread> mLoopThread GUARDED_BY(mLock); 115 netdutils::Status tcpConnect() REQUIRES(mLock); 117 bssl::UniquePtr<SSL> prepareForSslConnect(int fd) REQUIRES(mLock); 121 bssl::UniquePtr<SSL> sslConnect(int fd) REQUIRES(mLock); 125 bssl::UniquePtr<SSL> sslConnectV2(int fd) REQUIRES(mLock); [all …]
|
D | DnsTlsTransport.h | 53 std::future<Result> query(const netdutils::Slice query) EXCLUDES(mLock); 60 int getConnectCounter() const EXCLUDES(mLock); 64 void onClosed() override EXCLUDES(mLock); 67 mutable std::mutex mLock; 76 void doConnect() REQUIRES(mLock); 79 void doReconnect() EXCLUDES(mLock); 80 std::unique_ptr<std::thread> mReconnectThread GUARDED_BY(mLock); 83 bool mClosing GUARDED_BY(mLock) = false; 86 std::unique_ptr<IDnsTlsSocket> mSocket GUARDED_BY(mLock); 89 bool sendQuery(const DnsTlsQueryMap::Query& q) REQUIRES(mLock); [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsManager.java | 79 private final Object mLock; field in SettingsManager 104 mLock = new Object(); in SettingsManager() 118 synchronized (mLock) { in getDefaultPreferences() 129 synchronized (mLock) { in openPreferences() 155 synchronized (mLock) { in closePreferences() 196 synchronized (mLock) { 224 synchronized (mLock) { 254 synchronized (mLock) { 280 synchronized (mLock) { 299 synchronized (mLock) { [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | ReservableTicketPool.java | 90 mLock.lock(); in close() 103 mLock.unlock(); in close() 122 private final ReentrantLock mLock; field in ReservableTicketPool 149 mLock = new ReentrantLock(true); in ReservableTicketPool() 158 mLock.lock(); in updateCurrentTicketCount() 166 mLock.unlock(); in updateCurrentTicketCount() 192 mLock.lock(); in tryAcquire() 200 mLock.unlock(); in tryAcquire() 217 mLock.lock(); in reserveCapacity() 227 mLock.unlock(); in reserveCapacity() [all …]
|
D | FiniteTicketPool.java | 49 synchronized (mLock) { in close() 76 private final ReentrantLock mLock; field in FiniteTicketPool 87 mLock = new ReentrantLock(true); in FiniteTicketPool() 96 mLock.lock(); in releaseTicket() 112 mLock.unlock(); in releaseTicket() 120 mLock.lock(); in acquire() 125 Waiter thisWaiter = new Waiter(tickets, mLock.newCondition()); in acquire() 150 mLock.unlock(); in acquire() 171 mLock.lock(); in tryAcquire() 181 mLock.unlock(); in tryAcquire() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 108 private final Object mLock = new Object(); field in SupplicantStaIfaceHal 140 synchronized (mLock) { 158 synchronized (mLock) { in serviceDied() 170 synchronized (mLock) { in serviceDied() 213 synchronized (mLock) { in enableVerboseLogging() 223 synchronized (mLock) { in linkToServiceManagerDeath() 246 synchronized (mLock) { in initialize() 286 synchronized (mLock) { in linkToSupplicantDeath() 303 synchronized (mLock) { in initSupplicantService() 325 synchronized (mLock) { in getCurrentNetworkId() [all …]
|
D | SupplicantStaNetworkHal.java | 92 private final Object mLock = new Object(); field in SupplicantStaNetworkHal 155 synchronized (mLock) { in enableVerboseLogging() 171 synchronized (mLock) { in loadWifiConfiguration() 277 synchronized (mLock) { in saveWifiConfiguration() 526 synchronized (mLock) { in loadWifiEnterpriseConfig() 676 synchronized (mLock) { in saveWifiEnterpriseConfig() 809 synchronized (mLock) { in getV1_2StaNetwork() 815 synchronized (mLock) { in getV1_3StaNetwork() 821 synchronized (mLock) { in getV1_4StaNetwork() 1380 synchronized (mLock) { in getId() [all …]
|
D | WifiMetrics.java | 184 private final Object mLock = new Object(); field in WifiMetrics 632 synchronized (mLock) { in toString() 653 synchronized (mLock) { in setPmkCache() 660 synchronized (mLock) { in setMaxSupportedLinkSpeedMbps() 1086 synchronized (mLock) { in toString() 1314 synchronized (mLock) { in updateFromWifiConfiguration() 1496 synchronized (mLock) { in WifiMetrics() 1596 synchronized (mLock) { in onActiveModeManagerAdded() 1609 synchronized (mLock) { in onActiveModeManagerRemoved() 1621 synchronized (mLock) { in onActiveModeManagerRoleChanged() [all …]
|
D | SupplicantStaIfaceCallbackImpl.java | 58 private final Object mLock; field in SupplicantStaIfaceCallbackImpl 70 mLock = lock; in SupplicantStaIfaceCallbackImpl() 114 synchronized (mLock) { in parseAnqpElement() 138 synchronized (mLock) { in addAnqpElementToMap() 149 synchronized (mLock) { in onNetworkAdded() 156 synchronized (mLock) { in onNetworkRemoved() 168 synchronized (mLock) { in onStateChanged() 230 synchronized (mLock) { in onAnqpQueryDone() 239 synchronized (mLock) { in onHs20IconQueryDone() 250 synchronized (mLock) { in onHs20SubscriptionRemediation() [all …]
|
D | DppMetrics.java | 69 private final Object mLock = new Object(); field in DppMetrics 75 synchronized (mLock) { in updateDppConfiguratorInitiatorRequests() 84 synchronized (mLock) { in updateDppEnrolleeInitiatorRequests() 93 synchronized (mLock) { in updateDppEnrolleeResponderRequests() 102 synchronized (mLock) { in updateDppEnrolleeResponderSuccess() 111 synchronized (mLock) { in updateDppEnrolleeSuccess() 120 synchronized (mLock) { in updateDppR1CapableEnrolleeResponderDevices() 129 synchronized (mLock) { in updateDppR2CapableEnrolleeResponderDevices() 140 synchronized (mLock) { in updateDppR2EnrolleeResponderIncompatibleConfiguration() 150 synchronized (mLock) { in updateDppConfiguratorSuccess() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 37 private final TelecomSystem.SyncRoot mLock; field in InCallAdapter 46 mLock = lock; in InCallAdapter() 57 synchronized (mLock) { in answerCall() 80 synchronized (mLock) { in deflectCall() 105 synchronized (mLock) { in rejectCall() 139 synchronized (mLock) { in rejectCallWithReason() 161 synchronized (mLock) { in transferCall() 186 synchronized (mLock) { in consultativeTransfer() 211 synchronized (mLock) { in playDtmfTone() 234 synchronized (mLock) { in stopDtmfTone() [all …]
|
D | TelecomServiceImpl.java | 121 synchronized (mLock) { 150 synchronized (mLock) { 173 synchronized (mLock) { 206 synchronized (mLock) { 233 synchronized (mLock) { 265 synchronized (mLock) { 302 synchronized (mLock) { 322 synchronized (mLock) { 368 synchronized (mLock) { 385 synchronized (mLock) { [all …]
|
D | VideoProviderProxy.java | 72 private final TelecomSystem.SyncRoot mLock; field in VideoProviderProxy 120 mLock = lock; in VideoProviderProxy() 158 synchronized (mLock) { in receiveSessionModifyRequest() 215 synchronized (mLock) { in receiveSessionModifyResponse() 236 synchronized (mLock) { in handleCallSessionEvent() 252 synchronized (mLock) { in changePeerDimensions() 267 synchronized (mLock) { in changeVideoQuality() 284 synchronized (mLock) { in changeCallDataUsage() 299 synchronized (mLock) { in changeCameraCapabilities() 326 synchronized (mLock) { in onSetCamera() [all …]
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | SingleDeviceStateMachine.java | 69 private final ReentrantLock mLock; field in SingleDeviceStateMachine 105 mLock = new ReentrantLock(); in SingleDeviceStateMachine() 118 mLock.lock(); in requestOpen() 127 mLock.unlock(); in requestOpen() 135 mLock.lock(); in requestClose() 144 mLock.unlock(); in requestClose() 153 mLock.lock(); in setRequest() 178 mLock.unlock(); in setRequest() 184 mLock.lock(); in onDeviceOpened() 195 mLock.unlock(); in onDeviceOpened() [all …]
|
/packages/services/Car/service/jni/evs/ |
D | EvsServiceContext.h | 58 bool initialize(JNIEnv* env, jobject thiz) ACQUIRE(mLock); 68 bool openCamera(const char* id) ACQUIRE(mLock); 95 bool isAvailable() ACQUIRE(mLock) { in isAvailable() 96 std::lock_guard<std::mutex> lock(mLock); in isAvailable() 103 bool isCameraOpened() ACQUIRE(mLock) { in isCameraOpened() 104 std::lock_guard<std::mutex> lock(mLock); in isCameraOpened() 111 bool isEqual(const wp<hidl::base::V1_0::IBase>& who) ACQUIRE(mLock) { in isEqual() 112 std::lock_guard<std::mutex> lock(mLock); in isEqual() 125 void acquireCameraAndDisplay() ACQUIRE(mLock); 128 mutable std::mutex mLock; variable [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ReadOnlyBinaryDictionary.java | 37 private final ReentrantReadWriteLock mLock = new ReentrantReadWriteLock(); field in ReadOnlyBinaryDictionary 58 if (mLock.readLock().tryLock()) { in getSuggestions() 64 mLock.readLock().unlock(); in getSuggestions() 72 if (mLock.readLock().tryLock()) { in isInDictionary() 76 mLock.readLock().unlock(); in isInDictionary() 84 if (mLock.readLock().tryLock()) { in shouldAutoCommit() 88 mLock.readLock().unlock(); in shouldAutoCommit() 96 if (mLock.readLock().tryLock()) { in getFrequency() 100 mLock.readLock().unlock(); in getFrequency() 108 if (mLock.readLock().tryLock()) { in getMaxFrequencyOfExactMatches() [all …]
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 145 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() 183 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() 195 lock_guard<std::mutex> lock(mLock); in noteConfigReset() 201 lock_guard<std::mutex> lock(mLock); in noteLogLost() 213 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() 230 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() 249 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() 262 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() 278 lock_guard<std::mutex> lock(mLock); in noteDataDropped() 298 lock_guard<std::mutex> lock(mLock); in noteMetricsReportSent() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 77 private Object mLock = new Object(); field in SupplicantP2pIfaceHal 87 synchronized (mLock) { 104 synchronized (mLock) { 112 synchronized (mLock) { 156 synchronized (mLock) { in initialize() 212 synchronized (mLock) { in initSupplicantService() 252 synchronized (mLock) { in setupIface() 351 synchronized (mLock) { in addIfaceV1_1() 389 synchronized (mLock) { in teardownIface() 405 synchronized (mLock) { in removeIfaceV1_1() [all …]
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | VmsClientStats.java | 29 private final Object mLock = new Object(); field in VmsClientStats 70 synchronized (other.mLock) { in VmsClientStats() 92 synchronized (mLock) { in packetSent() 104 synchronized (mLock) { in packetReceived() 116 synchronized (mLock) { in packetDropped() 139 synchronized (mLock) { in getTxBytes() 145 synchronized (mLock) { in getTxPackets() 151 synchronized (mLock) { in getRxBytes() 157 synchronized (mLock) { in getRxPackets() 163 synchronized (mLock) { in getDroppedBytes() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidImageReaderProxy.java | 34 private final Object mLock; field in AndroidImageReaderProxy 39 mLock = new Object(); in AndroidImageReaderProxy() 79 synchronized (mLock) { in getWidth() 86 synchronized (mLock) { in getHeight() 93 synchronized (mLock) { in getImageFormat() 100 synchronized (mLock) { in getMaxImages() 108 synchronized (mLock) { in getSurface() 116 synchronized (mLock) { in acquireLatestImage() 129 synchronized (mLock) { in acquireNextImage() 143 synchronized (mLock) { in setOnImageAvailableListener() [all …]
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageMode.java | 78 private final Object mLock = new Object(); field in GarageMode 102 synchronized (mLock) { 115 synchronized (mLock) { 140 synchronized (mLock) { 153 synchronized (mLock) { 165 synchronized (mLock) { 221 synchronized (mLock) { 233 synchronized (mLock) { in isGarageModeActive() 240 synchronized (mLock) { in getStartedBackgroundUsers() 280 synchronized (mLock) { in enterGarageMode() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | AppFocusService.java | 53 private final Object mLock = new Object(); field in AppFocusService 90 synchronized (mLock) { in registerFocusListener() 104 synchronized (mLock) { in unregisterFocusListener() 118 synchronized (mLock) { in getActiveAppTypes() 126 synchronized (mLock) { in isOwningFocus() 137 synchronized (mLock) { in requestAppFocus() 195 synchronized (mLock) { in abandonAppFocus() 246 synchronized (mLock) { in release() 258 synchronized (mLock) { in onBinderDeath() 268 synchronized (mLock) { in dump() [all …]
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleUserState.java | 70 private final Object mLock = new Object(); field in RoleUserState 115 synchronized (mLock) { in getVersion() 126 synchronized (mLock) { in setVersion() 142 synchronized (mLock) { in getPackagesHash() 153 synchronized (mLock) { in setPackagesHash() 170 synchronized (mLock) { in isRoleAvailable() 184 synchronized (mLock) { in getRoleHolders() 201 synchronized (mLock) { in addRoleName() 219 synchronized (mLock) { in setRoleNames() 259 synchronized (mLock) { in addRoleHolder() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 165 private final Object mLock = new Object(); field in ConcurrentSharedRingBuffer 206 synchronized (mLock) { in setListener() 233 synchronized (mLock) { in swapLeast() 249 synchronized (mLock) { in swapLeast() 271 synchronized (mLock) { in swapLeast() 310 synchronized (mLock) { in swapLeast() 337 synchronized (mLock) { in tryPin() 381 synchronized (mLock) { in release() 423 synchronized (mLock) { in tryPinGreatest() 445 synchronized (mLock) { in tryPinGreatestSelected() [all …]
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 136 private final Object mLock = new Object(); field in CarPowerManagementService 314 synchronized (mLock) { in setShutdownTimersForTest() 348 synchronized (mLock) { in release() 363 synchronized (mLock) { in dump() 392 synchronized (mLock) { in onApPowerStateChange() 394 mLock.notify(); in onApPowerStateChange() 402 synchronized (mLock) { in setStateForWakeUp() 416 synchronized (mLock) { in onApPowerStateChange() 428 mLock.notify(); in onApPowerStateChange() 435 synchronized (mLock) { in doHandlePowerStateChange() [all …]
|