Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 9 of 9) sorted by relevance

/development/tools/bugreport/src/com/android/bugreport/inspector/
DDeadlockDetector.java77 public LockSnapshot lock; field in DeadlockDetector.LockRecord
79 public LockRecord(ProcessSnapshot process, LockSnapshot lock) { in LockRecord() argument
81 this.lock = lock; in LockRecord()
86 && (this.lock.address == that.lock.address in equals()
87 || (this.lock.address != null && that.lock.address != null in equals()
88 && this.lock.address.equals(that.lock.address))); in equals()
95 if (this.lock.address != null) { in hashCode()
96 hash = hash * 31 + this.lock.address.hashCode(); in hashCode()
106 if (this.lock.address == that.lock.address) { in compareTo()
108 } else if (this.lock.address == null) { in compareTo()
[all …]
DInspector.java206 for (LockSnapshot lock: f.locks) { in combineLocks()
207 final LockSnapshot prev = thread.locks.get(lock.address); in combineLocks()
209 prev.type |= lock.type; in combineLocks()
211 thread.locks.put(lock.address, lock.clone()); in combineLocks()
405 for (LockSnapshot lock: thread.locks.values()) { in isThreadBlocked()
406 if ((lock.type & LockSnapshot.BLOCKED) != 0) { in isThreadBlocked()
/development/tools/bugreport/src/com/android/bugreport/stacks/
DThreadSnapshotParser.java227 final LockSnapshot lock = new LockSnapshot(); in parse() local
228 lock.type = LockSnapshot.LOCKED; in parse()
229 lock.address = lockedRe.group(1); in parse()
230 lock.packageName = lockedRe.group(2); in parse()
231 lock.className = lockedRe.group(3); in parse()
232 lastJava.locks.add(lock); in parse()
236 final LockSnapshot lock = new LockSnapshot(); in parse() local
237 lock.type = LockSnapshot.WAITING; in parse()
238 lock.address = waitingOnRe.group(1); in parse()
239 lock.packageName = waitingOnRe.group(2); in parse()
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java34 private final Object lock = new Object(); field in EventScheduler
155 synchronized (lock) { in add()
165 lock.notify(); in add()
193 synchronized (lock) { in getNextEvent()
218 synchronized (lock) { in waitNextEvent()
238 lock.wait((int) millisToWait); in waitNextEvent()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java34 private final Object lock = new Object(); field in EventScheduler
155 synchronized (lock) { in add()
165 lock.notify(); in add()
193 synchronized (lock) { in getNextEvent()
218 synchronized (lock) { in waitNextEvent()
238 lock.wait((int) millisToWait); in waitNextEvent()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java353 final LockSnapshot lock = f.locks.get(i); in makeStackFrameSnapshotHdf() local
355 if (lock.type == LockSnapshot.LOCKED) { in makeStackFrameSnapshotHdf()
357 } else if (lock.type == LockSnapshot.WAITING) { in makeStackFrameSnapshotHdf()
359 } else if (lock.type == LockSnapshot.BLOCKED) { in makeStackFrameSnapshotHdf()
362 lockHdf.setValue("address", lock.address); in makeStackFrameSnapshotHdf()
363 lockHdf.setValue("packageName", lock.packageName); in makeStackFrameSnapshotHdf()
364 lockHdf.setValue("className", lock.className); in makeStackFrameSnapshotHdf()
365 lockHdf.setValue("threadId", Integer.toString(lock.threadId)); in makeStackFrameSnapshotHdf()
366 if (lock.threadId >= 0) { in makeStackFrameSnapshotHdf()
367 final ThreadSnapshot referenced = process.getThread(lock.threadId); in makeStackFrameSnapshotHdf()
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java86 mCamera.lock(); // take camera access back from MediaRecorder in onCaptureClick()
127 mCamera.lock(); in releaseMediaRecorder()
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp222 std::lock_guard<std::mutex> lock(*global_merger_lock); in DeDuplicateAbiElementsThread() local
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv316 …rdware/qcom/display,fake_bMCOe3XKSl6teJt6Ic6S3Q@fakeemail.com,gralloc1: Close acquire_fence in lock
369 …e_bMCOe3XKSl6teJt6Ic6S3Q@fakeemail.com,hwc2: Protect AcceptDisplayChanges with the hwc session lock
613 …e73dfc146c2a7,platform/cts,fake_viF2qIwzTDilfBzCgt-kNg@fakeemail.com,Test lock task mode for affil…
1178 …0eb6e8952c3774,platform/cts,fake_n2cTpJEcTAapUrhCL7ZN-A@fakeemail.com,Add new OEM lock permissions.
1384 …486a,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,CTS for LauncherApps lock-down (take 2)
1550 …ake_T0NBhDz8RZi_P1QSuGCaxw@fakeemail.com,Fixed cts tests that were failing due to lock credentials.
1878 …79dee,platform/cts,fake_T0NBhDz8RZi_P1QSuGCaxw@fakeemail.com,Remove phone lock for failing cts test
2119 …c1f7676baf78e,platform/cts,fake_83gB1b-1SsmrFK7GsQUgXA@fakeemail.com,Hide lock screen info verifie…
2262 …33ad0QaaKlWzrz6aF3A@fakeemail.com,Add CTS test for password reset token when device lock is cleared
2606 …e5f19dde88270e2489,platform/cts,fake_CrTo8ewKS4KfVWBHuiRzzA@fakeemail.com,Add forward lock DRM test
[all …]