Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
H A DRequestGroupTest.cc51 EXPECT_EQ(true, active); in TEST()
67 EXPECT_EQ(true, active); in TEST()
83 EXPECT_EQ(false, active); in TEST()
96 EXPECT_EQ(true, active); in TEST()
102 active = req.GetExpireTime(&expire_time); in TEST()
104 EXPECT_EQ(true, active); in TEST()
110 active = req.GetExpireTime(&expire_time); in TEST()
112 EXPECT_EQ(true, active); in TEST()
127 EXPECT_EQ(true, active); in TEST()
141 EXPECT_EQ(false, active); in TEST()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTransitions.java355 active.mInfo = info; in onTransitionReady()
356 active.mStartT = t; in onTransitionReady()
357 active.mFinishT = finishT; in onTransitionReady()
358 setupStartState(active.mInfo, active.mStartT, active.mFinishT); in onTransitionReady()
366 playTransition(active); in onTransitionReady()
383 return handler.startAnimation(active.mToken, active.mInfo, active.mStartT, active.mFinishT, in startAnimation()
388 setupAnimHierarchy(active.mInfo, active.mStartT, active.mFinishT); in playTransition()
394 if (startAnimation(active, active.mHandler)) { in playTransition()
440 active.mMerged = true; in onFinish()
443 active.mHandler.onTransitionMerged(active.mToken); in onFinish()
[all …]
/aosp12/hardware/interfaces/vibrator/aidl/default/
H A DVibrator.cpp326 case PrimitivePwle::active: { in composePwle()
327 auto active = e.get<PrimitivePwle::active>(); in composePwle() local
328 if (active.duration < 0 || in composePwle()
332 if (active.startAmplitude < PWLE_LEVEL_MIN || in composePwle()
333 active.startAmplitude > PWLE_LEVEL_MAX || in composePwle()
334 active.endAmplitude < PWLE_LEVEL_MIN || active.endAmplitude > PWLE_LEVEL_MAX) { in composePwle()
339 active.endFrequency < PWLE_FREQUENCY_MIN_HZ || in composePwle()
352 active.endAmplitude, active.endFrequency); in composePwle()
355 prevEndAmplitude = active.endAmplitude; in composePwle()
356 prevEndFrequency = active.endFrequency; in composePwle()
[all …]
/aosp12/art/runtime/verifier/
H A Dscoped_newline.h31 ScopedNewLine(ScopedNewLine&& other) : stream(other.stream), active(other.active) { in ScopedNewLine()
32 other.active = false; in ScopedNewLine()
39 if (active) { in ~ScopedNewLine()
46 DCHECK(active);
52 DCHECK(active);
58 bool active = true; member
/aosp12/frameworks/av/media/libaudioclient/tests/
H A Drecord_test_output_v1.0_ref_walleye.txt4 status(0), active(0), session Id(65)
13 status(0), active(0), session Id(73)
22 status(0), active(0), session Id(81)
31 status(0), active(0), session Id(89)
40 status(0), active(0), session Id(97)
49 status(0), active(0), session Id(105)
58 status(0), active(0), session Id(113)
67 status(0), active(0), session Id(121)
76 status(0), active(0), session Id(129)
85 status(0), active(0), session Id(137)
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/display/darkmode/
H A DDarkModePreference.java48 final boolean active = (getContext().getResources().getConfiguration().uiMode in DarkModePreference()
51 updateSummary(batterySaver, active); in DarkModePreference()
68 private void updateSummary(boolean batterySaver, boolean active) { in updateSummary() argument
70 final int stringId = active in updateSummary()
80 summary = getContext().getString(active in updateSummary()
84 final LocalTime time = active in updateSummary()
88 summary = getContext().getString(active in updateSummary()
92 summary = getContext().getString(active in updateSummary()
/aosp12/hardware/google/pixel/power-libperfmgr/aidl/
H A DPowerSessionManager.cpp97 bool active = false; in isAnySessionActive() local
101 active = true; in isAnySessionActive()
105 if (active == mActive) { in isAnySessionActive()
108 mActive = active; in isAnySessionActive()
111 return active; in isAnySessionActive()
115 auto active = isAnySessionActive(); in handleMessage() local
116 if (!active.has_value()) { in handleMessage()
119 if (active.value()) { in handleMessage()
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A Dpixel_format_f32.rsh10 // 2. When processing each layer, we use its field (active) to mark
12 // active or not active but "close enough" to an active pixel, a matte value is
24 // active, matte, and dilated_depth are reset. However, the field actual_depth
33 // active = 1: the pixel is on the target layer;
34 // active = 0: otherwise.
35 uchar active;
42 // For active pixels, dilated_depth is the same as actual depth;
44 // closest active pixels;
/aosp12/system/vold/bench/
H A Dbenchgen.py178 active = set() variable
203 if handle in active:
209 if handle in active:
214 if handle in active:
219 if handle in active:
228 if handle in active:
237 if handle in active:
245 if handle in active:
253 if handle in active:
259 if handle in active:
[all …]
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioIODescriptorInterface.h43 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice() argument
46 active = activeClients.size() > 0; in findPreferredDevice()
48 if (active) { in findPreferredDevice()
75 bool active; in findPreferredDevice() local
76 sp<DeviceDescriptor> curDevice = findPreferredDevice(desc, filter, active, devices); in findPreferredDevice()
77 if (active && curDevice == nullptr) { in findPreferredDevice()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
H A DMediaCarouselControllerTest.kt56 active = true,
107 DATA.copy(active = true, isPlaying = true,
112 DATA.copy(active = true, isPlaying = true,
117 DATA.copy(active = true, isPlaying = false,
122 DATA.copy(active = true, isPlaying = false,
127 DATA.copy(active = true, isPlaying = true,
132 DATA.copy(active = true, isPlaying = false,
137 DATA.copy(active = false, isPlaying = false,
142 DATA.copy(active = false, isPlaying = false,
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DVibrator.cpp717 case PrimitivePwle::active: { in composePwle()
718 auto active = e.get<PrimitivePwle::active>(); in composePwle() local
719 if (active.duration < 0 || in composePwle()
725 active.endAmplitude < PWLE_LEVEL_MIN || active.endAmplitude > PWLE_LEVEL_MAX) { in composePwle()
746 active.startAmplitude = maxLevelLimit; in composePwle()
750 if (active.endAmplitude > maxLevelLimit) { in composePwle()
751 active.endAmplitude = maxLevelLimit; in composePwle()
762 active.endAmplitude, active.endFrequency); in composePwle()
765 prevEndAmplitude = active.endAmplitude; in composePwle()
766 prevEndFrequency = active.endFrequency; in composePwle()
[all …]
/aosp12/hardware/interfaces/vibrator/aidl/vts/
H A DVtsHalVibratorTargetTest.cpp194 ActivePwle active; in composeValidActivePwle() local
201 return active; in composeValidActivePwle()
732 pwle = active; in TEST_P()
736 pwle = active; in TEST_P()
770 pwle = active; in TEST_P()
774 pwle = active; in TEST_P()
793 pwle = active; in TEST_P()
816 pwle = active; in TEST_P()
827 pwle = active; in TEST_P()
850 pwle = active; in TEST_P()
[all …]
/aosp12/system/logging/logd/
H A DPkgIds.cpp42 bool active = false; member
78 global->active = false; in WatchPackageList()
80 if (!global->active) { in WatchPackageList()
97 global->active = true; in WatchPackageList()
104 global->active = false; in WatchPackageList()
113 global->active = false; in WatchPackageList()
144 if (gPkgIdMap->active) { in uidToName()
/aosp12/frameworks/native/libs/cputimeinstate/
H A Dtesttimeinstate.cpp63 ASSERT_FALSE(concurrentTimes->active.empty()); in TEST()
82 policySum -= concurrentTime.active[i]; in TestConcurrentTimesConsistent()
89 auto activeSum = concurrentTime.active[concurrentTime.active.size() - 1 - i]; in TestConcurrentTimesConsistent()
115 uint64_t activeSum = std::accumulate(concurrentTime.active.begin(), concurrentTime.active.end(), in TestUidTimesConsistent()
258 ASSERT_EQ(kv.second.active.size(), firstEntry.active.size()); in TEST()
297 ASSERT_NO_FATAL_FAILURE(TestCheckUpdate({(*map1)[uid].active},{newTimes.active})); in TEST()
313 ASSERT_LE(times2->active[i] - times1.active[i], NSEC_PER_SEC); in TEST()
382 auto before = times.active[i]; in TEST()
383 auto after = (*map2)[uid].active[i]; in TEST()
522 ASSERT_FALSE(concurrentTimes->active.empty()); in TEST()
[all …]
/aosp12/packages/apps/Camera2/src_pd/com/android/camera/stats/
H A DSessionStatsCollector.java18 public synchronized void previewActive(boolean active) { in previewActive() argument
21 public synchronized void faceScanActive(boolean active) { in faceScanActive() argument
24 public synchronized void autofocusActive(boolean active) { in autofocusActive() argument
36 public synchronized void sessionActive(boolean active) { in sessionActive() argument
/aosp12/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java251 Object[] active = mActiveBroadcast; in beginBroadcast() local
252 if (active == null || active.length < N) { in beginBroadcast()
253 mActiveBroadcast = active = new Object[N]; in beginBroadcast()
256 active[i] = mCallbacks.valueAt(i); in beginBroadcast()
311 Object[] active = mActiveBroadcast; in finishBroadcast() local
312 if (active != null) { in finishBroadcast()
315 active[i] = null; in finishBroadcast()
/aosp12/hardware/qcom/audio/hal/audio_extn/
H A Dmaxxaudio.c115 bool active; member
230 ma_cur_state_table[STREAM_VOICE].active ? "T" : "F", in print_state_log()
234 ma_cur_state_table[STREAM_RING].active ? "T" : "F", in print_state_log()
236 ma_cur_state_table[STREAM_MUSIC].active ? "T" : "F", in print_state_log()
238 ma_cur_state_table[STREAM_ALARM].active ? "T" : "F", in print_state_log()
272 if (ma_cur_state_table[i].active) in is_active()
608 ma_cur_state_table[i].active = false; in audio_extn_ma_init()
646 float vol, bool active) in audio_extn_ma_set_state() argument
666 pr_mstate.active = ma_cur_state_table[(ma_stream_type_t)stream_type].active; in audio_extn_ma_set_state()
669 if (pr_mstate.vol != vol || pr_mstate.active != active) { in audio_extn_ma_set_state()
[all …]
/aosp12/system/core/trusty/storage/proxy/
H A Dcheckpoint_handling.cpp30 int is_data_checkpoint_active(bool* active) { in is_data_checkpoint_active() argument
31 if (!active) { in is_data_checkpoint_active()
36 *active = false; in is_data_checkpoint_active()
73 *active = true; in is_data_checkpoint_active()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
H A DAppOpsControllerImpl.java242 if (item == null && active) { in updateActives()
252 } else if (item != null && !active) { in updateActives()
269 boolean active; in removeNoted()
272 active = getAppOpItemLocked(mActiveItems, code, uid, packageName) != null; in removeNoted()
274 if (!active) { in removeNoted()
366 onOpActiveChanged(op, uid, packageName, null, active, in onOpActiveChanged()
373 boolean active, int attributionFlags, int attributionChainId) { in onOpActiveChanged() argument
377 Boolean.toString(active), attributionChainId, attributionFlags)); in onOpActiveChanged()
386 boolean activeChanged = updateActives(code, uid, packageName, active); in onOpActiveChanged()
397 notifySuscribers(code, uid, packageName, active); in onOpActiveChanged()
[all …]
/aosp12/system/bt/gd/os/fuzz/
H A Dfake_timerfd.cc31 bool active; member in bluetooth::os::fuzz::FakeTimerFd
64 entry->active = trigger_delta_ms != 0; in fake_timerfd_settime()
65 if (!entry->active) { in fake_timerfd_settime()
97 if (!entry->active) { in fire_next_event()
117 to_fire->active = is_periodic; in fire_next_event()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
H A Ddevice_for_product_strategy_sonification_respectful.pfw8 # - if not in call and no music stream active remotely and music stream active): strategy
13 # Case of stream active handled programmatically
77 # SonificationRespectful follows media if music stream is active
104 # SonificationRespectful follows media if music stream is active
131 # SonificationRespectful follows media if music stream is active
249 # SonificationRespectful follows media if music stream is active
288 # SonificationRespectful follows media if music stream is active
395 # SonificationRespectful follows media if music stream is active
425 # SonificationRespectful follows media if music stream is active
455 # SonificationRespectful follows media if music stream is active
[all …]
/aosp12/system/bpfprogs/
H A Dtime_in_state.c65 uint32_t* active = bpf_nr_active_map_lookup_elem(&zero); variable
66 if (!active) return ALLOW;
76 uint32_t nactive = *active - 1;
80 __sync_fetch_and_add(active, 1);
93 __sync_fetch_and_add(active, -1);
160 concurrent_val_t zero_val = {.active = {0}, .policy = {0}};
164 if (ct) ct->active[nactive % CPUS_PER_ENTRY] += delta;
170 concurrent_val_t zero_val = {.active = {0}, .policy = {0}};
/aosp12/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A DDomainVerificationPersistence.java91 ArraySet<DomainVerificationPkgState> active = new ArraySet<>(); in writeToXml() local
95 active.add(attached.valueAt(attachedIndex)); in writeToXml()
100 active.add(pending.valueAt(pendingIndex)); in writeToXml()
104 writePackageStates(activeSection, active, userId, pkgNameToSignature); in writeToXml()
131 ArrayMap<String, DomainVerificationPkgState> active = new ArrayMap<>(); in readFromXml() local
138 readPackageStates(child, active); in readFromXml()
146 return new ReadResult(active, restored); in readFromXml()
340 public final ArrayMap<String, DomainVerificationPkgState> active; field in DomainVerificationPersistence.ReadResult
345 public ReadResult(@NonNull ArrayMap<String, DomainVerificationPkgState> active, in ReadResult() argument
347 this.active = active; in ReadResult()
/aosp12/hardware/qcom/audio/post_proc/
H A Dma_listener.c59 bool active; member
186 bool active = false; in check_and_set_ma_parameter() local
199 active = true; in check_and_set_ma_parameter()
217 g_cur_state[stream_type].active != active)) { in check_and_set_ma_parameter()
221 g_cur_state[stream_type].active ? "T" : "F", active ? "T" : "F", in check_and_set_ma_parameter()
225 send_ma_parameter(stream_type, max_vol, active); in check_and_set_ma_parameter()
227 g_cur_state[stream_type].active = active; in check_and_set_ma_parameter()

12345678910>>...24