Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 83) sorted by relevance

1234

/packages/services/Car/evs/app/
DStreamHandler.cpp47 std::unique_lock<std::mutex> lock(mLock); in startStream() local
76 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream() local
84 std::unique_lock<std::mutex> lock(mLock); in isRunning() local
90 std::unique_lock<std::mutex> lock(mLock); in newFrameAvailable() local
96 std::unique_lock<std::mutex> lock(mLock); in getNewFrame() local
116 std::unique_lock<std::mutex> lock(mLock); in doneWithFrame() local
136 std::unique_lock <std::mutex> lock(mLock); in deliverFrame() local
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfp.cpp85 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in ConnectionStateCallback() local
100 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AudioStateCallback() local
113 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VoiceRecognitionCallback() local
128 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AnswerCallCallback() local
143 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in HangupCallCallback() local
159 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VolumeControlCallback() local
174 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DialCallCallback() local
198 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DtmfCmdCallback() local
215 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in NoiseReductionCallback() local
231 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in WbsCallback() local
[all …]
Dcom_android_bluetooth_avrcp_controller.cpp64 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_passthrough_response_callback() local
87 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_groupnavigation_response_callback() local
102 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_connection_state_callback() local
127 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_get_rcfeatures_callback() local
151 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_setplayerapplicationsetting_rsp_callback() local
177 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_playerapplicationsetting_callback() local
229 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_playerapplicationsetting_changed_callback() local
272 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_set_abs_vol_cmd_callback() local
296 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_register_notification_absvol_callback() local
326 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_track_changed_callback() local
[all …]
Dcom_android_bluetooth_hearing_aid.cpp49 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in OnConnectionState() local
71 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in OnDeviceAvailable() local
163 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in connectHearingAidNative() local
181 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in disconnectHearingAidNative() local
198 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in addToWhiteListNative() local
Dcom_android_bluetooth_a2dp.cpp58 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in bta2dp_connection_state_callback() local
80 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in bta2dp_audio_state_callback() local
104 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in bta2dp_audio_config_callback() local
170 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in bta2dp_mandatory_codec_preferred_callback() local
378 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in connectA2dpNative() local
403 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in disconnectA2dpNative() local
428 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setSilenceDeviceNative() local
455 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setActiveDeviceNative() local
482 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setCodecConfigPreferenceNative() local
Dcom_android_bluetooth_avrcp_target.cpp311 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in sendMediaKeyEvent() local
447 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getSongInfo() local
458 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentPlayStatus() local
488 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentMediaId() local
507 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getNowPlayingList() local
537 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentPlayerId() local
549 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getMediaPlayerList() local
610 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in setBrowsedPlayer() local
712 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getFolderItems() local
728 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in playItem() local
[all …]
Dcom_android_bluetooth_hid_host.cpp56 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in connection_state_callback() local
76 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in get_protocol_mode_callback() local
100 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in get_report_callback() local
132 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in virtual_unplug_callback() local
149 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in handshake_callback() local
168 std::shared_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in get_idle_time_callback() local
207 std::unique_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in initializeNative() local
244 std::unique_lock<std::shared_timed_mutex> lock(mCallbacks_mutex); in cleanupNative() local
/packages/services/Car/tools/keventreader/server/
Deventprovider.cpp30 std::scoped_lock lock(mMutex); in startLoop() local
43 std::scoped_lock lock(mMutex); in registerCallback() local
49 std::scoped_lock lock(mMutex); in unregisterCallback() local
/packages/services/Car/evs/sampleDriver/
DEvsGlDisplay.cpp55 std::lock_guard<std::mutex> lock(mAccessLock); in forceShutdown() local
104 std::lock_guard<std::mutex> lock(mAccessLock); in setDisplayState() local
143 std::lock_guard<std::mutex> lock(mAccessLock); in getDisplayState() local
157 std::lock_guard<std::mutex> lock(mAccessLock); in getTargetBuffer() local
247 std::lock_guard<std::mutex> lock(mAccessLock); in returnTargetBufferForDisplay() local
DEvsV4lCamera.cpp110 std::lock_guard<std::mutex> lock(mAccessLock); in setMaxFramesInFlight() local
135 std::lock_guard<std::mutex> lock(mAccessLock); in startVideoStream() local
214 std::lock_guard <std::mutex> lock(mAccessLock); in doneWithFrame() local
259 std::unique_lock <std::mutex> lock(mAccessLock); in stopVideoStream() local
286 std::lock_guard<std::mutex> lock(mAccessLock); in setExtendedInfo() local
431 std::lock_guard<std::mutex> lock(mAccessLock); in forwardFrame() local
511 std::lock_guard<std::mutex> lock(mAccessLock); in forwardFrame() local
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp49 std::lock_guard lock(mMutex); in onNat64PrefixEvent() local
59 std::lock_guard lock(mMutex); in onPrivateDnsValidationEvent() local
72 std::lock_guard lock(mMutex); in onDnsEvent() local
84 std::lock_guard lock(mMutex); in waitForNat64Prefix() local
100 std::unique_lock lock(mMutex); in waitForPrivateDnsValidation() local
126 std::lock_guard lock(mMutex); in popDnsEvent() local
132 std::lock_guard lock(mMutex); in popDnsEvent() local
/packages/modules/DnsResolver/
DResolverEventReporter.cpp50 std::lock_guard lock(mMutex); in addDefaultListener() local
66 std::lock_guard lock(mMutex); in handleBinderDied() local
77 std::lock_guard lock(mMutex); in getListenersImpl() local
82 std::lock_guard lock(mMutex); in addListenerImpl() local
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java62 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerAction() local
74 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerActionDelayed() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomTestCase.java58 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerAction() local
70 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerActionDelayed() local
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCheckLockListener.java28 void onLockVerified(byte[] lock); in onLockVerified()
DCheckLockActivity.java42 public void onLockVerified(byte[] lock) { in onLockVerified()
/packages/services/Telecomm/src/com/android/server/telecom/
DHeadsetMediaButtonFactory.java35 TelecomSystem.SyncRoot lock); in create()
DInCallControllerFactory.java25 InCallController create(Context context, TelecomSystem.SyncRoot lock, CallsManager callsManager, in create()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java60 FileLock lock = inStream.getChannel().lock(0L, Long.MAX_VALUE, true); in ClipStorageReader() local
119 private FileLockEntry(int count, FileLock lock, Scanner scanner) { in FileLockEntry()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DPriorityLock.java33 public synchronized void lock(int priority) throws InterruptedException { in lock() method in PriorityLock
/packages/apps/TV/jni/
Dmutex.h29 int lock() { in lock() function
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp471 std::lock_guard lock(mappings_mutex_); in addMapping() local
477 std::lock_guard lock(mappings_mutex_); in addMappingDnsHeader() local
483 std::lock_guard lock(mappings_mutex_); in addMappingBinaryPacket() local
488 std::lock_guard lock(mappings_mutex_); in removeMapping() local
496 std::lock_guard lock(mappings_mutex_); in removeMappingDnsHeader() local
504 std::lock_guard lock(mappings_mutex_); in removeMappingBinaryPacket() local
618 std::lock_guard lock(update_mutex_); in startServer() local
626 std::lock_guard lock(update_mutex_); in stopServer() local
645 std::lock_guard lock(queries_mutex_); in queries() local
650 std::lock_guard lock(queries_mutex_); in dumpQueries() local
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockTypeDialogFragment.java68 void onLockTypeSelected(ScreenLockType lock); in onLockTypeSelected()
164 ScreenLockType lock = getItem(position); in getView() local
172 private static Drawable getIconForScreenLock(Context context, ScreenLockType lock) { in getIconForScreenLock()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockTypeDialogFragment.java68 void onLockTypeSelected(ScreenLockType lock); in onLockTypeSelected()
164 ScreenLockType lock = getItem(position); in getView() local
172 private static Drawable getIconForScreenLock(Context context, ScreenLockType lock) { in getIconForScreenLock()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DLockingContentObserver.java35 public LockingContentObserver(ContentLock lock, Runnable contentChangedCallback) { in LockingContentObserver()

1234