/aosp_15_r20/art/test/1922-owned-monitors-info/ |
H A D | expected-stdout.txt | 5 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")] 9 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 13 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 15 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")] 17 …("Lock 1"), NamedLock("Lock 2"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")] 19 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")] 21 …dLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor"), class art.Test… 23 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")] 27 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")] 31 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")] [all …]
|
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/common/ |
H A D | pipeline_monitor_test.cc | 35 auto monitor = in TEST_F() local 37 auto token = monitor->Issue(0); in TEST_F() 38 monitor.reset(); in TEST_F() 42 PipelineMonitor monitor(dispatcher(), kRetireLogDefaultParams); in TEST_F() local 43 EXPECT_EQ(0U, monitor.bytes_issued()); in TEST_F() 44 EXPECT_EQ(0, monitor.tokens_issued()); in TEST_F() 45 EXPECT_EQ(0U, monitor.bytes_in_flight()); in TEST_F() 46 EXPECT_EQ(0, monitor.tokens_in_flight()); in TEST_F() 47 EXPECT_EQ(0U, monitor.bytes_retired()); in TEST_F() 48 EXPECT_EQ(0, monitor.tokens_retired()); in TEST_F() [all …]
|
/aosp_15_r20/art/test/088-monitor-verification/smali/ |
H A D | TooDeep.smali | 12 monitor-enter v2 # 1 13 monitor-enter v2 # 2 14 monitor-enter v2 # 3 15 monitor-enter v2 # 4 16 monitor-enter v2 # 5 17 monitor-enter v2 # 6 18 monitor-enter v2 # 7 19 monitor-enter v2 # 8 20 monitor-enter v2 # 9 21 monitor-enter v2 # 10 [all …]
|
/aosp_15_r20/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ippstatus_monitor.c | 75 ipp_monitor_t *monitor = (ipp_monitor_t *) malloc(sizeof(ipp_monitor_t)); in ipp_status_get_monitor_ifc() local 78 monitor->initialized = 0; in ipp_status_get_monitor_ifc() 79 monitor->http = NULL; in ipp_status_get_monitor_ifc() 80 memcpy(&monitor->ifc, &_status_ifc, sizeof(ifc_status_monitor_t)); in ipp_status_get_monitor_ifc() 81 return &monitor->ifc; in ipp_status_get_monitor_ifc() 85 ipp_monitor_t *monitor; in _init() local 91 monitor = IMPL(ipp_monitor_t, ifc, this_p); in _init() 93 if (monitor->initialized != 0) { in _init() 94 sem_post(&monitor->monitor_sem); in _init() 95 sem_destroy(&monitor->monitor_sem); in _init() [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shared/condition/ |
H A D | ConditionMonitorTest.java | 67 private Monitor mConditionMonitor; 78 mConditionMonitor = new Monitor(mExecutor); in setup() 81 public Monitor.Subscription.Builder getDefaultBuilder( in getDefaultBuilder() 82 Monitor.Callback callback) { in getDefaultBuilder() 83 return new Monitor.Subscription.Builder(callback) in getDefaultBuilder() 98 final Monitor.Callback callback = Mockito.mock( in testOverridingCondition() 99 Monitor.Callback.class); in testOverridingCondition() 101 final Monitor.Callback referenceCallback = Mockito.mock( in testOverridingCondition() 102 Monitor.Callback.class); in testOverridingCondition() 104 final Monitor in testOverridingCondition() [all …]
|
/aosp_15_r20/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
H A D | MonitorBasedArrayBlockingQueue.java | 75 /** Monitor guarding all access */ 76 final Monitor monitor; field in MonitorBasedArrayBlockingQueue 79 private final Monitor.Guard notEmpty; 82 private final Monitor.Guard notFull; 93 * monitor. 103 * monitor. 116 * monitor. 164 monitor = new Monitor(fair); in MonitorBasedArrayBlockingQueue() 166 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue() 173 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue() [all …]
|
H A D | MonitorBasedPriorityBlockingQueue.java | 88 final Monitor monitor = new Monitor(true); field in MonitorBasedPriorityBlockingQueue 89 private final Monitor.Guard notEmpty = 90 new Monitor.Guard(monitor) { 172 final Monitor monitor = this.monitor; in offer() local 173 monitor.enter(); in offer() 181 monitor.leave(); in offer() 221 final Monitor monitor = this.monitor; in poll() local 222 monitor.enter(); in poll() 226 monitor.leave(); in poll() 233 final Monitor monitor = this.monitor; in poll() local [all …]
|
/aosp_15_r20/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
H A D | MonitorBasedArrayBlockingQueue.java | 75 /** Monitor guarding all access */ 76 final Monitor monitor; field in MonitorBasedArrayBlockingQueue 79 private final Monitor.Guard notEmpty; 82 private final Monitor.Guard notFull; 93 * monitor. 103 * monitor. 116 * monitor. 164 monitor = new Monitor(fair); in MonitorBasedArrayBlockingQueue() 166 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue() 173 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue() [all …]
|
H A D | MonitorBasedPriorityBlockingQueue.java | 88 final Monitor monitor = new Monitor(true); field in MonitorBasedPriorityBlockingQueue 89 private final Monitor.Guard notEmpty = 90 new Monitor.Guard(monitor) { 172 final Monitor monitor = this.monitor; in offer() local 173 monitor.enter(); in offer() 181 monitor.leave(); in offer() 221 final Monitor monitor = this.monitor; in poll() local 222 monitor.enter(); in poll() 226 monitor.leave(); in poll() 233 final Monitor monitor = this.monitor; in poll() local [all …]
|
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveConnectivityMonitorTest.py | 17 Connectivity Monitor and Telephony Troubleshooter Tests 34 """Telephony Monitor Functional Test 37 1. Verify Connectivity Monitor is on 39 notified by Connectivity Monitor 52 """Telephony Monitor Functional Test 55 1. Verify Connectivity Monitor is on 57 notified by Connectivity Monitor 70 """Telephony Monitor Functional Test 73 1. Verify Connectivity Monitor is on 75 notified by Connectivity Monitor [all …]
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 123 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument 128 CLog.i("Pausing for %d for %s to recover", INITIAL_PAUSE_TIME, monitor.getSerialNumber()); in recoverDevice() 132 monitor.waitForDeviceBootloaderStateUpdate(); in recoverDevice() 134 TestDeviceState state = monitor.getDeviceState(); in recoverDevice() 138 monitor.getSerialNumber(), state); in recoverDevice() 145 monitor.getFastbootSerialNumber(), in recoverDevice() 150 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in recoverDevice() 152 handleDeviceNotAvailable(monitor, recoverUntilOnline); in recoverDevice() 154 checkMinBatteryLevel(getDeviceAfterRecovery(monitor)); in recoverDevice() 159 if (!monitor.waitForDeviceShell(mShellWaitTime)) { in recoverDevice() [all …]
|
/aosp_15_r20/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | Monitor.java | 35 * <p>This class is intended as a replacement for {@link ReentrantLock}. Code using {@code Monitor} 37 * performance loss. {@code Monitor} even has the potential for performance gain by optimizing the 46 * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet 47 * <i>left</i>. Only one thread may occupy a given monitor at any moment. A monitor is also 48 * reentrant, so a thread may enter a monitor any number of times, and then must leave the same 54 * monitor cleanly: 57 * monitor.enter(); 59 * // do things while occupying the monitor 61 * monitor.leave(); 67 * the current thread leaves the monitor cleanly: [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/internetmonitor/src/main/resources/codegen-resources/ |
H A D | service-2.json | 8 "serviceFullName":"Amazon CloudWatch Internet Monitor", 32 …monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the ap… 50 "documentation":"<p>Deletes a monitor in Amazon CloudWatch Internet Monitor. </p>", 68 …rmation the Amazon CloudWatch Internet Monitor has created and stored about a health event for a s… 85 …monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information returned in… 103 …Monitor query interface. Specify the query that you want to return results for by providing a <cod… 121 …of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID an… 138 …"documentation":"<p>Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. R… 155 …r Amazon CloudWatch Internet Monitor and their statuses, along with the Amazon Resource Name (ARN)… 173 …gs for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.</p>" [all …]
|
/aosp_15_r20/external/guava/android/guava/src/com/google/common/util/concurrent/ |
H A D | Monitor.java | 32 * <p>This class is intended as a replacement for {@link ReentrantLock}. Code using {@code Monitor} 34 * performance loss. {@code Monitor} even has the potential for performance gain by optimizing the 43 * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet 44 * <i>left</i>. Only one thread may occupy a given monitor at any moment. A monitor is also 45 * reentrant, so a thread may enter a monitor any number of times, and then must leave the same 51 * monitor cleanly: 54 * monitor.enter(); 56 * // do things while occupying the monitor 58 * monitor.leave(); 64 * the current thread leaves the monitor cleanly: [all …]
|
/aosp_15_r20/external/autotest/client/cros/bluetooth/ |
H A D | adv_monitor_helper.py | 6 """Advertisement Monitor Test Application.""" 32 """A monitor object. 34 This class exposes a dbus monitor object along with its properties 38 doc/advertisement-monitor-api.txt 42 # Refer doc/advertisement-monitor-api.txt for more info about unset values. 47 # Indexes of the Monitor object parameters in a monitor data list. 52 # Indexes of the RSSI filter parameters in a monitor data list. 59 # Indexes of the Patterns filter parameters in a monitor data list. 65 """Construction of a Monitor object. 69 @param monitor_id: unique monitor id. [all …]
|
/aosp_15_r20/art/runtime/ |
H A D | monitor.cc | 38 #include "monitor-inl.h" 57 * Every Object has a monitor associated with it, but not every Object is actually locked. Even 58 * the ones that are locked do not need a full-fledged monitor until a) there is actual contention 79 * Only one thread can own the monitor at any time. There may be several threads waiting on it 84 uint32_t Monitor::lock_profiling_threshold_ = 0; 85 uint32_t Monitor::stack_dump_lock_profiling_threshold_ = 0; 87 void Monitor::Init(uint32_t lock_profiling_threshold, in Init() 97 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() function in art::Monitor 98 : monitor_lock_("a monitor lock", kMonitorLock), in Monitor() 119 // The identity hash code is set for the life time of the monitor. in Monitor() [all …]
|
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
H A D | SupplementalMonitorTest.java | 30 * Supplemental tests for {@link Monitor}. 40 Monitor monitor = new Monitor(); in testLeaveWithoutEnterThrowsIMSE() local 41 assertThrows(IllegalMonitorStateException.class, () -> monitor.leave()); in testLeaveWithoutEnterThrowsIMSE() 45 Monitor monitor1 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() 46 Monitor monitor2 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() 52 Monitor monitor1 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE() 53 Monitor monitor2 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE() 63 assertTrue(new Monitor(true).isFair()); in testIsFair() 64 assertFalse(new Monitor(false).isFair()); in testIsFair() 68 Monitor monitor = new Monitor(); in testOccupiedMethods() local [all …]
|
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | SupplementalMonitorTest.java | 30 * Supplemental tests for {@link Monitor}. 40 Monitor monitor = new Monitor(); in testLeaveWithoutEnterThrowsIMSE() local 41 assertThrows(IllegalMonitorStateException.class, () -> monitor.leave()); in testLeaveWithoutEnterThrowsIMSE() 45 Monitor monitor1 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() 46 Monitor monitor2 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() 52 Monitor monitor1 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE() 53 Monitor monitor2 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE() 63 assertTrue(new Monitor(true).isFair()); in testIsFair() 64 assertFalse(new Monitor(false).isFair()); in testIsFair() 68 Monitor monitor = new Monitor(); in testOccupiedMethods() local [all …]
|
/aosp_15_r20/art/test/1932-monitor-events-misc/ |
H A D | expected-stdout.jvm.txt | 11 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEnter], owner: <NULL>, entryCount… 18 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEntered], owner: <NULL>, entryCou… 26 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowBoth], owner: <NULL>, entryCount:… 28 Locker thread 8 for NamedLock[Lock testThrowWait] start-monitor-wait NamedLock[Lock testThrowWait] … 30 Locker thread 8 for NamedLock[Lock testThrowWait] monitor-waited NamedLock[Lock testThrowWait] time… 33 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWait], owner: <NULL>, entryCount: 0, … 35 Locker thread 9 for NamedLock[Lock testThrowIllegalWait] start-monitor-wait NamedLock[Lock testThro… 39 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowIllegalWait], owner: <NULL>, entryCou… 41 Locker thread 10 for NamedLock[Lock testThrowWaited] start-monitor-wait NamedLock[Lock testThrowWai… 42 Locker thread 10 for NamedLock[Lock testThrowWaited] monitor-waited NamedLock[Lock testThrowWaited]… [all …]
|
H A D | expected-stdout.txt | 11 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEnter], owner: <NULL>, entryCount… 18 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEntered], owner: <NULL>, entryCou… 26 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowBoth], owner: <NULL>, entryCount:… 28 Locker thread 8 for NamedLock[Lock testThrowWait] start-monitor-wait NamedLock[Lock testThrowWait] … 32 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWait], owner: <NULL>, entryCount: 0, … 34 Locker thread 9 for NamedLock[Lock testThrowIllegalWait] start-monitor-wait NamedLock[Lock testThro… 38 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowIllegalWait], owner: <NULL>, entryCou… 40 Locker thread 10 for NamedLock[Lock testThrowWaited] start-monitor-wait NamedLock[Lock testThrowWai… 41 Locker thread 10 for NamedLock[Lock testThrowWaited] monitor-waited NamedLock[Lock testThrowWaited]… 45 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWaited], owner: <NULL>, entryCount: 0… [all …]
|
/aosp_15_r20/external/autotest/server/cros/bluetooth/ |
H A D | bluetooth_adapter_adv_monitor_tests.py | 6 """Server side bluetooth tests on Advertisement Monitor API""" 17 # List of the controllers that does not support Adv Monitor HW offloading. 28 """Local object hosting the test values for Advertisement Monitor object. 31 Monitor object. 39 """Construction of a local monitor object. 41 @param app_id: the app id associated with the monitor. 64 """Update the monitor type. 66 @param monitor_type: type of the monitor. 106 """Store the monitor id returned by add_monitor(). 108 @param monitor_id: the monitor id. [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_monitor.c | 201 struct iris_monitor_object *monitor = in iris_create_monitor_object() local 203 if (unlikely(!monitor)) in iris_create_monitor_object() 206 monitor->num_active_counters = num_queries; in iris_create_monitor_object() 207 monitor->active_counters = calloc(num_queries, sizeof(int)); in iris_create_monitor_object() 208 if (unlikely(!monitor->active_counters)) in iris_create_monitor_object() 218 monitor->active_counters[i] = in iris_create_monitor_object() 227 monitor->query = query_obj; in iris_create_monitor_object() 228 monitor->result_size = perf_cfg->queries[group].data_size; in iris_create_monitor_object() 229 monitor->result_buffer = calloc(1, monitor->result_size); in iris_create_monitor_object() 230 if (unlikely(!monitor->result_buffer)) in iris_create_monitor_object() [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_monitor.c | 200 struct crocus_monitor_object *monitor = in crocus_create_monitor_object() local 202 if (unlikely(!monitor)) in crocus_create_monitor_object() 205 monitor->num_active_counters = num_queries; in crocus_create_monitor_object() 206 monitor->active_counters = calloc(num_queries, sizeof(int)); in crocus_create_monitor_object() 207 if (unlikely(!monitor->active_counters)) in crocus_create_monitor_object() 217 monitor->active_counters[i] = in crocus_create_monitor_object() 226 monitor->query = query_obj; in crocus_create_monitor_object() 227 monitor->result_size = perf_cfg->queries[group].data_size; in crocus_create_monitor_object() 228 monitor->result_buffer = calloc(1, monitor->result_size); in crocus_create_monitor_object() 229 if (unlikely(!monitor->result_buffer)) in crocus_create_monitor_object() [all …]
|
/aosp_15_r20/out/soong/raw-aosp_shiba/d3/ |
D | d3228919f6899a2df334989787498f6dc5f85844 | 99 …intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/android_common/jav… 100 …intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/android_common/jav… 127 …monitor-inflation/art-run-test-596-monitor-inflation/android_common/lint-srcs.list.rsp __SBOX_SAND… 130 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 134 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 138 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 142 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 146 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 150 …to: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/an… 154 …file: "out/soong/.intermediates/art/test/596-monitor-inflation/art-run-test-596-monitor-inflation/… [all …]
|
/aosp_15_r20/out/soong/raw-aosp_shiba/ce/ |
D | cef6ce671ae19decfd4fbf2a4dc8d591c323863b | 99 …g/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_common/javac/ar… 100 …g/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_common/javac/ar… 127 …monitor-info/art-run-test-1930-monitor-info/android_common/lint-srcs.list.rsp __SBOX_SANDBOX_DIR__… 130 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 134 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 138 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 142 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 146 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 150 …to: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_co… 154 …file: "out/soong/.intermediates/art/test/1930-monitor-info/art-run-test-1930-monitor-info/android_… [all …]
|