Home
last modified time | relevance | path

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

123

/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.cpp86 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in ConnectionStateCallback() local
101 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AudioStateCallback() local
114 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VoiceRecognitionCallback() local
129 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AnswerCallCallback() local
144 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in HangupCallCallback() local
160 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VolumeControlCallback() local
175 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DialCallCallback() local
199 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DtmfCmdCallback() local
216 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in NoiseReductionCallback() local
232 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in WbsCallback() local
[all …]
Dcom_android_bluetooth_hearing_aid.cpp50 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in OnConnectionState() local
72 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in OnDeviceAvailable() local
164 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in connectHearingAidNative() local
182 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in disconnectHearingAidNative() local
199 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in addToWhiteListNative() local
Dcom_android_bluetooth_avrcp_controller.cpp63 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_passthrough_response_callback() local
86 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_groupnavigation_response_callback() local
101 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_connection_state_callback() local
126 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_get_rcfeatures_callback() local
150 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_setplayerapplicationsetting_rsp_callback() local
176 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_playerapplicationsetting_callback() local
228 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_playerapplicationsetting_changed_callback() local
271 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_set_abs_vol_cmd_callback() local
295 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_register_notification_absvol_callback() local
325 std::shared_lock<std::shared_timed_mutex> lock(sCallbacks_mutex); in btavrcp_track_changed_callback() local
[all …]
Dcom_android_bluetooth_avrcp_target.cpp312 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in sendMediaKeyEvent() local
448 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getSongInfo() local
459 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentPlayStatus() local
489 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentMediaId() local
508 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getNowPlayingList() local
538 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getCurrentPlayerId() local
550 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getMediaPlayerList() local
611 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in setBrowsedPlayer() local
713 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in getFolderItems() local
729 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in playItem() local
[all …]
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
346 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in connectA2dpNative() local
371 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in disconnectA2dpNative() local
396 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setSilenceDeviceNative() local
423 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setActiveDeviceNative() local
450 std::shared_lock<std::shared_timed_mutex> lock(interface_mutex); in setCodecConfigPreferenceNative() 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/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java59 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerAction() local
71 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerActionDelayed() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomTestCase.java53 final CountDownLatch lock = new CountDownLatch(1); in waitForHandlerAction() local
65 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()
DSettingsScreenLockActivity.java78 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()
DLoggedHandlerExecutor.java30 TelecomSystem.SyncRoot lock) { in LoggedHandlerExecutor()
/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/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/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/apps/Nfc/nci/jni/
DMutex.cpp74 void Mutex::lock() { in lock() function in Mutex
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperIdleLock.java31 public LooperIdleLock(Object lock, Looper looper) { in LooperIdleLock()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragmentTest.java69 public void onLockVerified(byte[] lock) { in onLockVerified()

123