/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationRequestStatisticsTest.java | 43 assertTrue(stats.isActive()); in testSinglePackage() 62 assertTrue(stats.isActive()); in testSinglePackage_stopAndRestart() 65 assertFalse(stats.isActive()); in testSinglePackage_stopAndRestart() 82 assertTrue(stats.isActive()); in testSinglePackage_multipleIntervals() 85 assertTrue(stats.isActive()); in testSinglePackage_multipleIntervals() 87 assertFalse(stats.isActive()); in testSinglePackage_multipleIntervals() 103 assertTrue(stats1.isActive()); in testSinglePackage_multipleProviders() 109 assertTrue(stats2.isActive()); in testSinglePackage_multipleProviders() 112 assertFalse(stats1.isActive()); in testSinglePackage_multipleProviders() 113 assertTrue(stats2.isActive()); in testSinglePackage_multipleProviders() [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 417 EXPECT_TRUE(metricsManager1->isActive()); in TEST() 427 EXPECT_TRUE(metricProducer1->isActive()); in TEST() 437 EXPECT_TRUE(metricProducer2->isActive()); in TEST() 443 EXPECT_TRUE(metricsManager2->isActive()); in TEST() 453 EXPECT_FALSE(metricProducer3->isActive()); in TEST() 463 EXPECT_TRUE(metricProducer4->isActive()); in TEST() 469 EXPECT_FALSE(metricsManager3->isActive()); in TEST() 479 EXPECT_FALSE(metricProducer5->isActive()); in TEST() 489 EXPECT_FALSE(metricProducer6->isActive()); in TEST() 500 EXPECT_TRUE(metricsManager1->isActive()); in TEST() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 112 abstract protected boolean isActive(); in isActive() method in IInputConnectionWrapper 239 if (ic == null || !isActive()) { in executeMessage() 259 if (ic == null || !isActive()) { in executeMessage() 279 if (ic == null || !isActive()) { in executeMessage() 299 if (ic == null || !isActive()) { in executeMessage() 319 if (ic == null || !isActive()) { in executeMessage() 335 if (ic == null || !isActive()) { in executeMessage() 344 if (ic == null || !isActive()) { in executeMessage() 353 if (ic == null || !isActive()) { in executeMessage() 362 if (ic == null || !isActive()) { in executeMessage() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 158 private void updateJobRestrictionsForUidLocked(int uid, boolean isActive) { in updateJobRestrictionsForUidLocked() argument 159 updateJobRestrictionsLocked(uid, (isActive) ? KNOWN_ACTIVE : KNOWN_INACTIVE); in updateJobRestrictionsForUidLocked() 198 final boolean isActive; in updateSingleJobRestrictionLocked() 200 isActive = mAppStateTracker.isUidActive(uid); in updateSingleJobRestrictionLocked() 202 isActive = (activeState == KNOWN_ACTIVE); in updateSingleJobRestrictionLocked() 205 didChange |= jobStatus.setUidActive(isActive); in updateSingleJobRestrictionLocked() 238 public void updateJobsForUid(int uid, boolean isActive) { 240 updateJobRestrictionsForUidLocked(uid, isActive); 245 public void updateJobsForUidPackage(int uid, String packageName, boolean isActive) { 247 updateJobRestrictionsForUidLocked(uid, isActive);
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricsManager.cpp | 131 bool isActive = mIsAlwaysActive; in MetricsManager() local 133 isActive |= mAllMetricProducers[metric]->isActive(); in MetricsManager() 135 mIsActive = isActive; in MetricsManager() 144 if (metric->isActive()) { in MetricsManager() 364 bool isActive = mIsAlwaysActive; in onLogEvent() local 373 if (metric->isActive()) { in onLogEvent() 380 mIsActive = isActive || !activeMetricsIndices.empty(); in onLogEvent() 411 if (!metric->isActive()) { in onLogEvent() 416 isActive |= !activeMetricsIndices.empty(); in onLogEvent() 424 isActive |= mAllMetricProducers[metricIndex]->isActive(); in onLogEvent() [all …]
|
D | MetricProducer.cpp | 89 bool isActive = mEventActivationMap.empty(); in evaluateActiveStateLocked() local 96 isActive = true; in evaluateActiveStateLocked() 99 return isActive; in evaluateActiveStateLocked()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 116 assertTrue(mUiccSlot.isActive()); in testUpdateInactiveSlotStatus() 125 assertFalse(mUiccSlot.isActive()); in testUpdateInactiveSlotStatus() 135 assertTrue(mUiccSlot.isActive()); in testUpdateActiveSlotStatus() 152 assertTrue(mUiccSlot.isActive()); in testUpdateActiveSlotStatus() 163 assertTrue(mUiccSlot.isActive()); in testUpdateActiveSlotStatus() 177 assertTrue(mUiccSlot.isActive()); in testUpdateSlotStatusEuiccIsSupported() 186 assertFalse(mUiccSlot.isActive()); in testUpdateSlotStatusEuiccIsSupported() 197 assertTrue(mUiccSlot.isActive()); in testUpdateSlotStatusEuiccIsSupported() 212 assertTrue(mUiccSlot.isActive()); in testUpdateSlotStatusEuiccIsNotSupported() 221 assertFalse(mUiccSlot.isActive()); in testUpdateSlotStatusEuiccIsNotSupported() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupConfigStoreDataTest.java | 104 boolean isActive = false; in deserializeSerializedData_emptySet() 108 when(mActiveDataSource.getData()).thenReturn(isActive); in deserializeSerializedData_emptySet() 116 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData_emptySet() 140 boolean isActive = true; in deserializeSerializedData() 144 when(mActiveDataSource.getData()).thenReturn(isActive); in deserializeSerializedData() 152 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 276 EXPECT_FALSE(metricsManager->isActive()); in TEST() 294 EXPECT_FALSE(metricsManager->isActive()); in TEST() 301 EXPECT_TRUE(metricsManager->isActive()); in TEST() 321 EXPECT_TRUE(metricsManager->isActive()); in TEST() 334 EXPECT_TRUE(metricsManager->isActive()); in TEST() 352 EXPECT_FALSE(metricsManager->isActive()); in TEST() 368 EXPECT_TRUE(metricsManager->isActive()); in TEST() 491 EXPECT_FALSE(metricsManager->isActive()); in TEST() 513 EXPECT_FALSE(metricsManager->isActive()); in TEST() 520 EXPECT_TRUE(metricsManager->isActive()); in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 65 EXPECT_TRUE(metricsManager->isActive()); in TEST() 148 EXPECT_TRUE(metricsManager->isActive()); in TEST() 261 EXPECT_FALSE(metricsManager->isActive()); in TEST() 287 EXPECT_TRUE(metricsManager->isActive()); in TEST() 300 EXPECT_FALSE(metricsManager->isActive()); in TEST() 331 EXPECT_TRUE(metricsManager->isActive()); in TEST() 399 EXPECT_TRUE(metricsManager->isActive()); in TEST() 498 EXPECT_TRUE(metricsManager->isActive()); in TEST() 607 EXPECT_FALSE(metricsManager->isActive()); in TEST() 621 EXPECT_FALSE(metricsManager->isActive()); in TEST() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccSlotInfo.java | 111 public UiccSlotInfo(boolean isActive, boolean isEuicc, String cardId, in UiccSlotInfo() argument 113 this.mIsActive = isActive; in UiccSlotInfo() 125 public UiccSlotInfo(boolean isActive, boolean isEuicc, String cardId, in UiccSlotInfo() argument 128 this.mIsActive = isActive; in UiccSlotInfo()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 126 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() function in android::AudioOutputDescriptor 129 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive() 130 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 133 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() function in android::AudioOutputDescriptor 140 if (iter.second.isActive(inPastMs, sysTime)) { in isActive() 428 devicePort->hasGainController(true) && isActive(vs)) { in setVolume() 547 if (!isActive()) { in start() 564 if (!isActive()) { in stop() 668 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() function in android::SwAudioOutputCollection 673 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 45 bool isActive(uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 186 bool isActive(uint32_t inPastMs) const; 187 bool isActive(VolumeSource volumeSource = VOLUME_SOURCE_NONE, 195 if (iter.second.isActive()) { in getActiveVolumeSources() 238 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 438 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 532 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const;
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_state.cpp | 112 if (!isActive()) in nextFile() 239 if (!isActive()) in beginForEaches() 256 if (!isActive()) in beginForEach() 385 if (!isActive()) in addForEachIn() 432 if (!isActive()) in addForEachParam() 462 if (!isActive()) in addForEachSignatureMetadata() 499 if (!isActive()) in endForEach() 573 if (!isActive()) in declareInvokable() 667 if (!isActive()) in beginRecords() 677 if (!isActive()) in endRecords() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | PhoneMediaDevice.java | 105 public void updateSummary(boolean isActive) { in updateSummary() argument 106 mSummary = isActive in updateSummary()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupConfigStoreData.java | 187 boolean isActive = false; in parseFeatureState() 199 isActive = (Boolean) value; in parseFeatureState() 212 mIsActiveDataSource.setData(isActive); in parseFeatureState()
|
D | WakeupController.java | 182 private void setActive(boolean isActive) { in setActive() argument 183 if (mIsActive != isActive) { in setActive() 184 Log.d(TAG, "Setting active to " + isActive); in setActive() 185 mIsActive = isActive; in setActive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SimSlotStateTest.java | 48 doReturn(false).when(mInactiveSlot).isActive(); in setUp() 50 doReturn(true).when(mEmptySlot).isActive(); in setUp() 53 doReturn(true).when(mPhysicalSlot).isActive(); in setUp() 57 doReturn(true).when(mEsimSlot).isActive(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 268 private static boolean isActive(PackageInfo packageInfo) { in isActive() method in ApexManager.ApexManagerImpl 356 if (ai.isActive) { in populateAllPackagesCacheIfNeeded() 390 if ((matchActive && isActive(packageInfo)) in getPackageInfo() 403 .filter(item -> isActive(item)) in getActivePackages() 421 .filter(item -> !isActive(item)) in getInactivePackages() 565 ipw.println("IsActive: " + isActive(pi)); in dumpFromPackagesCache()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 450 public void onActiveDeviceChanged(boolean isActive, int bluetoothProfile) { in onActiveDeviceChanged() argument 454 changed = (mIsActiveDeviceA2dp != isActive); in onActiveDeviceChanged() 455 mIsActiveDeviceA2dp = isActive; in onActiveDeviceChanged() 458 changed = (mIsActiveDeviceHeadset != isActive); in onActiveDeviceChanged() 459 mIsActiveDeviceHeadset = isActive; in onActiveDeviceChanged() 462 changed = (mIsActiveDeviceHearingAid != isActive); in onActiveDeviceChanged() 463 mIsActiveDeviceHearingAid = isActive; in onActiveDeviceChanged() 467 " isActive " + isActive); in onActiveDeviceChanged()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccCardControllerTest.java | 101 when(mActivatedEsimSlot.isActive()).thenReturn(true); in setUp() 104 when(mNotPresentEsimSlot.isActive()).thenReturn(true); in setUp() 107 when(mInactivatedEsimSlot.isActive()).thenReturn(false); in setUp() 110 when(mActivatedRemovableSlot.isActive()).thenReturn(true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceSettings.java | 79 final boolean isActive = mCdsi.setDisplayWhiteBalanceListener(this); in DisplayWhiteBalanceSettings() 80 setActive(isActive); in DisplayWhiteBalanceSettings()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | IFingerprintClientActiveCallback.aidl | 23 void onClientActiveChanged(boolean isActive); in onClientActiveChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 261 boolean isActive = false; in updateActive() 264 isActive |= device.isActiveDevice(BluetoothProfile.HEADSET) in updateActive() 269 if (mIsActive != isActive) { in updateActive() 270 mIsActive = isActive; in updateActive()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationRequestStatistics.java | 236 public boolean isActive() { in isActive() method in LocationRequestStatistics.PackageStatistics 256 if (isActive()) { in toString()
|