/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | Transitions.java | 743 final ActiveTransition active = mPendingTransitions.remove(activeIdx); in onTransitionReady() local 744 active.mInfo = info; in onTransitionReady() 745 active.mStartT = t; in onTransitionReady() 746 active.mFinishT = finishT; in onTransitionReady() 748 Log.i(TAG, "Transition might be ready out-of-order " + activeIdx + " for " + active in onTransitionReady() 752 mReadyDuringSync.add(active); in onTransitionReady() 754 dispatchReady(active); in onTransitionReady() 762 boolean dispatchReady(ActiveTransition active) { in dispatchReady() argument 763 final TransitionInfo info = active.mInfo; in dispatchReady() 765 if (info.getType() == TRANSIT_SLEEP || active.isSync()) { in dispatchReady() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | pixel_format_f32.rsh | 10 // 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;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioIODescriptorInterface.h | 43 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice() argument 46 active = activeClients.size() > 0; in findPreferredDevice() 48 if (active) { in findPreferredDevice() 79 bool active; in findPreferredDevice() local 80 sp<DeviceDescriptor> curDevice = findPreferredDevice(desc, filter, active, devices); in findPreferredDevice() 81 if (active && curDevice == nullptr) { in findPreferredDevice()
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 4 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 …]
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 252 Object[] active = mActiveBroadcast; in beginBroadcast() local 253 if (active == null || active.length < N) { in beginBroadcast() 254 mActiveBroadcast = active = new Object[N]; in beginBroadcast() 257 active[i] = mCallbacks.valueAt(i); in beginBroadcast() 312 Object[] active = mActiveBroadcast; in finishBroadcast() local 313 if (active != null) { in finishBroadcast() 316 active[i] = null; in finishBroadcast()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/domain/interactor/ |
D | RemoteInputInteractorTest.kt | 47 val active by collectLastValue(underTest.isRemoteInputActive) in isRemoteInputActive_true() constant 52 assertThat(active).isTrue() in isRemoteInputActive_true() 58 val active by collectLastValue(underTest.isRemoteInputActive) in isRemoteInputActive_false() constant 63 assertThat(active).isFalse() in isRemoteInputActive_false()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselControllerTest.kt | 220 active = true, in testPlayerOrdering() 232 active = true, in testPlayerOrdering() 244 active = true, in testPlayerOrdering() 256 active = true, in testPlayerOrdering() 268 active = true, in testPlayerOrdering() 280 active = true, in testPlayerOrdering() 288 val active = in testPlayerOrdering() constant 292 active = true, in testPlayerOrdering() 304 active = false, in testPlayerOrdering() 316 active = false, in testPlayerOrdering() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamLogger.kt | 45 fun logOverlayActive(active: Boolean) = d({ "Dream overlay active: $bool1" }) { bool1 = active } in <lambda>() 47 fun logLowLightActive(active: Boolean) = in logLowLightActive() 48 d({ "Low light mode active: $bool1" }) { bool1 = active } in logLowLightActive()
|
D | DreamOverlayStateController.java | 334 public void setOverlayActive(boolean active) { in setOverlayActive() argument 335 mLogger.logOverlayActive(active); in setOverlayActive() 336 modifyState(active ? OP_SET_STATE : OP_CLEAR_STATE, STATE_DREAM_OVERLAY_ACTIVE); in setOverlayActive() 343 public void setLowLightActive(boolean active) { in setLowLightActive() argument 344 mLogger.logLowLightActive(active); in setLowLightActive() 346 if (isLowLightActive() && !active) { in setLowLightActive() 350 modifyState(active ? OP_SET_STATE : OP_CLEAR_STATE, STATE_LOW_LIGHT_ACTIVE); in setLowLightActive() 357 public void setHomeControlPanelActive(boolean active) { in setHomeControlPanelActive() argument 358 modifyState(active ? OP_SET_STATE : OP_CLEAR_STATE, STATE_HOME_CONTROL_ACTIVE); in setHomeControlPanelActive()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/data/repository/ |
D | RemoteInputRepositoryImplTest.kt | 59 val active by collectLastValue(underTest.isRemoteInputActive) in isRemoteInputActive_updatesOnChange() constant 61 assertThat(active).isFalse() in isRemoteInputActive_updatesOnChange() 69 assertThat(active).isTrue() in isRemoteInputActive_updatesOnChange() 73 assertThat(active).isFalse() in isRemoteInputActive_updatesOnChange()
|
/frameworks/native/libs/cputimeinstate/ |
D | testtimeinstate.cpp | 75 ASSERT_FALSE(concurrentTimes->active.empty()); in TEST_F() 80 ASSERT_EQ(concurrentTimes->active.size(), policyEntries); in TEST_F() 93 ASSERT_LE(concurrentTime.active[i], policySum); in TestConcurrentTimesConsistent() 94 policySum -= concurrentTime.active[i]; in TestConcurrentTimesConsistent() 97 for (size_t i = 0; i < concurrentTime.active.size(); ++i) { in TestConcurrentTimesConsistent() 101 auto activeSum = concurrentTime.active[concurrentTime.active.size() - 1 - i]; in TestConcurrentTimesConsistent() 127 uint64_t activeSum = std::accumulate(concurrentTime.active.begin(), concurrentTime.active.end(), in TestUidTimesConsistent() 271 ASSERT_EQ(kv.second.active.size(), firstEntry.active.size()); in TEST_F() 310 ASSERT_NO_FATAL_FAILURE(TestCheckUpdate({(*map1)[uid].active},{newTimes.active})); in TEST_F() 325 for (uint32_t i = 0; i < times1.active.size(); ++i) { in TEST_F() [all …]
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierService.java | 178 public final void notifyCarrierNetworkChange(boolean active) { in notifyCarrierNetworkChange() argument 183 telephonyRegistryMgr.notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange() 204 public final void notifyCarrierNetworkChange(int subscriptionId, boolean active) { in notifyCarrierNetworkChange() argument 208 telephonyRegistryMgr.notifyCarrierNetworkChange(subscriptionId, active); in notifyCarrierNetworkChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataFilterImplTest.kt | 184 .logMediaLoaded(eq(dataMain.instanceId), eq(dataMain.active), anyString()) in onDataLoadedForCurrentUser_updatesLoadedStates() 214 .logMediaLoaded(eq(dataMain.instanceId), eq(dataMain.active), anyString()) in onRemovedForCurrent_updatesLoadedStates() 249 .logMediaLoaded(eq(dataMain.instanceId), eq(dataMain.active), anyString()) in onUserSwitched_removesOldUserControls() 279 .logMediaLoaded(eq(dataGuest.instanceId), eq(dataGuest.active), anyString()) in onUserSwitched_addsNewUserControls() 366 val data = dataMain.copy(active = false) in hasActiveMedia_inactiveMediaSet_returnsFalse() 376 val data = dataMain.copy(active = true) in hasActiveMedia_activeMediaSet_returnsTrue() 388 val data = dataMain.copy(active = false) in hasActiveMediaOrRecommendation_inactiveMediaSet_returnsFalse() 407 val data = dataMain.copy(active = true) in hasActiveMediaOrRecommendation_activeMediaSet_returnsTrue() 506 val data = dataGuest.copy(active = true) in hasActiveMediaOrRecommendation_onlyCurrentUser() 620 val dataOld = dataMain.copy(active = false, lastActive = clock.elapsedRealtime()) in onSmartspaceMediaDataLoaded_noRecentMedia_activeValidRec_prioritizesSmartspace() [all …]
|
D | LegacyMediaDataFilterImplTest.kt | 281 val data = dataMain.copy(active = false) in hasActiveMedia_inactiveMediaSet_returnsFalse() 289 val data = dataMain.copy(active = true) in hasActiveMedia_activeMediaSet_returnsTrue() 302 val data = dataMain.copy(active = false) in hasActiveMediaOrRecommendation_inactiveMediaSet_returnsFalse() 310 val data = dataMain.copy(active = true) in hasActiveMediaOrRecommendation_activeMediaSet_returnsTrue() 353 val data = dataGuest.copy(active = true) in testHasActiveMediaOrRecommendation_onlyCurrentUser() 405 val dataOld = dataMain.copy(active = false, lastActive = clock.elapsedRealtime()) in testOnSmartspaceMediaDataLoaded_noRecentMedia_activeValidRec_prioritizesSmartspace() 422 val dataOld = dataMain.copy(active = false, lastActive = clock.elapsedRealtime()) in testOnSmartspaceMediaDataLoaded_noRecentMedia_inactiveRec_showsNothing() 439 val dataCurrent = dataMain.copy(active = false, lastActive = clock.elapsedRealtime()) in testOnSmartspaceMediaDataLoaded_hasRecentMedia_inactiveRec_showsNothing() 462 val dataCurrent = dataMain.copy(active = false, lastActive = clock.elapsedRealtime()) in testOnSmartspaceMediaDataLoaded_hasRecentMedia_activeInvalidRec_usesMedia() 471 val dataCurrentAndActive = dataCurrent.copy(active = true) in testOnSmartspaceMediaDataLoaded_hasRecentMedia_activeInvalidRec_usesMedia() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 316 private boolean updateActives(int code, int uid, String packageName, boolean active) { in updateActives() argument 319 if (item == null && active) { in updateActives() 329 } else if (item != null && !active) { in updateActives() 346 boolean active; in removeNoted() 349 active = getAppOpItemLocked(mActiveItems, code, uid, packageName) != null; in removeNoted() 351 if (!active) { in removeNoted() 435 private void notifySuscribers(int code, int uid, String packageName, boolean active) { in notifySuscribers() argument 436 mBGHandler.post(() -> notifySuscribersWorker(code, uid, packageName, active)); in notifySuscribers() 442 public void onOpActiveChanged(String op, int uid, String packageName, boolean active) { in onOpActiveChanged() argument 443 onOpActiveChanged(op, uid, packageName, null, active, in onOpActiveChanged() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ExternalCaptureStateTracker.java | 88 private void setCaptureState(boolean active) { in setCaptureState() argument 91 mCaptureActive = active; in setCaptureState() 93 listener.onCaptureStateChange(active); in setCaptureState()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/ |
D | device_for_product_strategy_sonification_respectful.pfw | 6 # - If not in call AND a music stream is active remotely: Strategy sonification (that 8 # - 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 327 # SonificationRespectful follows media if music stream is active 364 # SonificationRespectful follows media if music stream is active [all …]
|
/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | ListenerRegistration.java | 97 final boolean setActive(boolean active) { in setActive() argument 98 if (active != mActive) { in setActive() 99 mActive = active; in setActive()
|
/frameworks/av/services/audiopolicy/service/ |
D | CaptureStateNotifier.cpp | 53 void CaptureStateNotifier::setCaptureState(bool active) { in setCaptureState() argument 55 mActive = active; in setCaptureState() 57 mListener->setCaptureState(active); in setCaptureState()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 130 if (client->active() && in isSourceActive() 156 if (activeOnly && !client->active()) { in getHighestPriorityClient() 194 if (client->active()) { in setPatchHandle() 287 if (client->active()) { in close() 317 void AudioInputDescriptor::setClientActive(const sp<RecordClientDescriptor>& client, bool active) in setClientActive() argument 321 if (active == client->active()) { in setClientActive() 327 if (!active && mGlobalActiveCount < 1) { in setClientActive() 332 const int delta = active ? 1 : -1; in setClientActive() 350 client->setActive(active); in setClientActive() 354 int event = active ? RECORD_CONFIG_EVENT_START : RECORD_CONFIG_EVENT_STOP; in setClientActive() [all …]
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
D | DeviceIdleInternal.java | 28 void onConstraintStateChanged(IDeviceIdleConstraint constraint, boolean active); in onConstraintStateChanged() argument 70 void setJobsActive(boolean active); in setJobsActive() argument 73 void setAlarmsActive(boolean active); in setAlarmsActive() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisabler.kt | 61 fun setRemoteInputActive(active: Boolean) { in setRemoteInputActive() 62 if (remoteInputActive != active) { in setRemoteInputActive() 63 remoteInputActive = active in setRemoteInputActive()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceSettings.java | 165 private void setActive(boolean active) { in setActive() argument 166 if (mActive == active) { in setActive() 170 Slog.d(TAG, "Active: " + active); in setActive() 172 mActive = active; in setActive()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 114 virtual Return<void> trafficAnnouncement(bool active); 115 virtual Return<void> emergencyAnnouncement(bool active); 245 Return<void> NativeCallback::trafficAnnouncement(bool active) { in trafficAnnouncement() argument 246 ALOGV("%s(%d)", __func__, active); in trafficAnnouncement() 248 mCallbackThread.enqueue([this, active](JNIEnv *env) { in trafficAnnouncement() 249 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onTrafficAnnouncement, active); in trafficAnnouncement() 255 Return<void> NativeCallback::emergencyAnnouncement(bool active) { in emergencyAnnouncement() argument 256 ALOGV("%s(%d)", __func__, active); in emergencyAnnouncement() 258 mCallbackThread.enqueue([this, active](JNIEnv *env) { in emergencyAnnouncement() 259 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onEmergencyAnnouncement, active); in emergencyAnnouncement()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateDurations.java | 55 final boolean active = isActive(index); in addEvent() 57 if (DEBUG_BASE_APP_STATE_DURATIONS && !start && !active) { in addEvent() 61 if (start != active) { in addEvent() 223 boolean active = true; in getTotalDurationsSince() 227 if (event.getTimestamp() < since || active) { in getTotalDurationsSince() 232 active = !active; in getTotalDurationsSince()
|