/frameworks/base/tests/net/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 55 private val mTracker = LegacyTypeTracker(mMockService).apply { in <lambda>() constant 64 mTracker.addSupportedType(supportedTypes[0]) in testSupportedTypes() 68 assertTrue(mTracker.isTypeSupported(it)) in testSupportedTypes() 70 assertFalse(mTracker.isTypeSupported(UNSUPPORTED_TYPE)) in testSupportedTypes() 76 mTracker.add(TYPE_MOBILE, mobileNai) in testSupl() 79 mTracker.add(TYPE_MOBILE_SUPL, mobileNai) in testSupl() 82 mTracker.remove(TYPE_MOBILE_SUPL, mobileNai, false /* wasDefault */) in testSupl() 85 mTracker.add(TYPE_MOBILE_SUPL, mobileNai) in testSupl() 88 mTracker.remove(mobileNai, false) in testSupl() 97 mTracker.add(TYPE_MOBILE, mobileNai) in testAddNetwork() [all …]
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetServiceImpl.java | 51 private EthernetTracker mTracker; field in EthernetServiceImpl 82 mTracker = new EthernetTracker(mContext, mHandler); in start() 83 mTracker.start(); in start() 90 return mTracker.getInterfaces(checkUseRestrictedNetworksPermission()); in getAvailableInterfaces() 101 if (mTracker.isRestrictedInterface(iface)) { in getConfiguration() 105 return new IpConfiguration(mTracker.getIpConfiguration(iface)); in getConfiguration() 119 if (mTracker.isRestrictedInterface(iface)) { in setConfiguration() 125 mTracker.updateIpConfiguration(iface, new IpConfiguration(config)); in setConfiguration() 135 if (mTracker.isRestrictedInterface(iface)) { in isAvailable() 139 return mTracker.isTrackingInterface(iface); in isAvailable() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 85 private BrightnessTracker mTracker; field in BrightnessTrackerTest 110 mTracker = new BrightnessTracker(InstrumentationRegistry.getContext(), mInjector); in setUp() 119 startTracker(mTracker); in testStartStopTrackerScreenOnOff() 148 mTracker.stop(); in testStartStopTrackerScreenOnOff() 159 startTracker(mTracker, DEFAULT_INITIAL_BRIGHTNESS, /* collectColorSamples= */ false); in testModifyBrightnessConfiguration() 163 mTracker.setBrightnessConfiguration(buildBrightnessConfiguration( in testModifyBrightnessConfiguration() 169 mTracker.setBrightnessConfiguration(buildBrightnessConfiguration( in testModifyBrightnessConfiguration() 176 mTracker.setBrightnessConfiguration(buildBrightnessConfiguration( in testModifyBrightnessConfiguration() 185 mTracker.stop(); in testModifyBrightnessConfiguration() 196 startTracker(mTracker); in testNoColorSampling_WrongPixelFormat() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserObservable.java | 29 private final CurrentUserTracker mTracker; field in CurrentUserObservable 35 mTracker.startTracking(); 41 mTracker.stopTracking(); 46 mTracker = new CurrentUserTracker(broadcastDispatcher) { in CurrentUserObservable() 59 mCurrentUser.setValue(mTracker.getCurrentUserId()); in getCurrentUser()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationScheduler.java | 52 private final TertiaryKeyRotationTracker mTracker; field in TertiaryKeyRotationScheduler 68 mTracker = tracker; in TertiaryKeyRotationScheduler() 83 return mTracker.isKeyRotationDue(packageName); in isKeyRotationDue() 92 mTracker.recordBackup(packageName); in recordBackup() 101 mTracker.resetCountdown(packageName); in recordKeyRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | BaseLeakChecker.java | 28 private final Tracker mTracker; field in BaseLeakChecker 31 mTracker = test.getTracker(tag); in BaseLeakChecker() 35 return mTracker; in getTracker() 40 mTracker.getLeakInfo(listener).addAllocation(new Throwable()); in addCallback() 45 mTracker.getLeakInfo(listener).clearAllocations(); in removeCallback()
|
D | FakeExtensionController.java | 28 private final Tracker mTracker; field in FakeExtensionController 31 mTracker = test.getTracker("extension"); in FakeExtensionController() 37 mTracker.getLeakInfo(o).addAllocation(new Throwable()); in newExtension() 119 mTracker.getLeakInfo(mAllocation).clearAllocations(); in destroy()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsExternalCallTrackerTest.java | 49 ImsExternalCallTracker mTracker; field in ImsExternalCallTrackerTest 61 mTracker = new ImsExternalCallTracker(mImsPhone, mImsPullCall, mCallNotifier); in setUp() 77 mTracker.refreshExternalCallState(dep); in testAddExternalCall() 95 mTracker.getConnectionById(CALL_ID); in testRemoveExternalCall() 98 mTracker.refreshExternalCallState(dep); in testRemoveExternalCall() 101 assertNull(mTracker.getConnectionById(CALL_ID)); in testRemoveExternalCall()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncReactor.cpp | 62 mTracker(std::move(tracker)), in VSyncReactor() 185 timestampAccepted &= mTracker->addVsyncTimestamp(time); in addPresentFence() 197 timestampAccepted &= mTracker->addVsyncTimestamp(signalTime); in addPresentFence() 227 auto const currentPeriod = periodOffset ? mTracker->currentPeriod() : 0; in computeNextRefresh() 228 return mTracker->nextAnticipatedVSyncTimeFrom(now + periodOffset * currentPeriod); in computeNextRefresh() 232 return mTracker->nextAnticipatedVSyncTimeFrom(now); in expectedPresentTime() 263 return mTracker->currentPeriod(); in getPeriod() 267 mTracker->resetModel(); in beginResync() 307 mTracker->setPeriod(*mPeriodTransitioningTo); in addResyncSample() 323 mTracker->addVsyncTimestamp(timestamp); in addResyncSample() [all …]
|
D | VSyncDispatchTimerQueue.cpp | 169 mTracker(tracker), in VSyncDispatchTimerQueue() 216 callback->update(mTracker, now); in rearmTimerSkippingUpdateFor() 319 result = callback->schedule(workDuration, earliestVsync, mTracker, now); in schedule()
|
D | VSyncReactor.h | 75 std::unique_ptr<VSyncTracker> const mTracker; variable
|
D | VSyncDispatchTimerQueue.h | 148 VSyncTracker& mTracker; variable
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceProviderPermissions.java | 48 private final DirtyTracker mTracker; field in SliceProviderPermissions 52 mTracker = tracker; in SliceProviderPermissions() 75 mTracker.onPersistableDirty(this); in onPersistableDirty() 136 private final DirtyTracker mTracker; field in SliceProviderPermissions.SliceAuthority 141 mTracker = tracker; in SliceAuthority() 150 mTracker.onPersistableDirty(this); in addPkg() 156 mTracker.onPersistableDirty(this); in removePkg()
|
D | SliceClientPermissions.java | 56 private final DirtyTracker mTracker; field in SliceClientPermissions 61 mTracker = tracker; in SliceClientPermissions() 93 mTracker.onPersistableDirty(this); in setHasFullAccess() 98 mTracker.onPersistableDirty(this); in removeAuthority() 131 mTracker.onPersistableDirty(this); in onPersistableDirty() 208 private final DirtyTracker mTracker; field in SliceClientPermissions.SliceAuthority 215 mTracker = tracker; in SliceAuthority() 239 mTracker.onPersistableDirty(this); in addPath() 253 mTracker.onPersistableDirty(this); in removePath()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | CurrentUserTrackerTest.java | 37 private CurrentUserTracker mTracker; field in CurrentUserTrackerTest 46 mTracker = new CurrentUserTracker(mReceiver) { in setUp() 56 mTracker.startTracking(); in testBroadCastDoesntCrashOnConcurrentModification()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsDispatchersControllerTest.java | 51 private SMSDispatcher.SmsTracker mTracker; field in SmsDispatchersControllerTest 119 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest() 122 mSmsDispatchersController.sendRetrySms(mTracker); in testSendRetrySmsCdmaTest() 133 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest() 135 mSmsDispatchersController.sendRetrySms(mTracker); in testSendRetrySmsGsmTest()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 108 private MultipathPolicyTracker mTracker; field in MultipathPolicyTrackerTest 154 mTracker = new MultipathPolicyTracker(mContext, mHandler, mDeps); in setUp() 229 mTracker.start(); in testGetMultipathPreference() 340 mTracker.mSettingsObserver.onChange( in testGetMultipathPreference_SettingChanged()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncReactorTest.cpp | 49 VSyncTrackerWrapper(std::shared_ptr<VSyncTracker> const& tracker) : mTracker(tracker) {} in VSyncTrackerWrapper() 52 return mTracker->addVsyncTimestamp(timestamp); in addVsyncTimestamp() 55 return mTracker->nextAnticipatedVSyncTimeFrom(timePoint); in nextAnticipatedVSyncTimeFrom() 57 nsecs_t currentPeriod() const final { return mTracker->currentPeriod(); } in currentPeriod() 58 void setPeriod(nsecs_t period) final { mTracker->setPeriod(period); } in setPeriod() 59 void resetModel() final { mTracker->resetModel(); } in resetModel() 60 void dump(std::string& result) const final { mTracker->dump(result); } in dump() 63 std::shared_ptr<VSyncTracker> const mTracker; member in android::scheduler::VSyncTrackerWrapper
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarFragmentTest.java | 117 Tracker mTracker = mLeakCheck.getTracker("accessibility_manager"); 121 mTracker.getLeakInfo(listener).addAllocation(new Throwable()); 126 mTracker.getLeakInfo(listener).clearAllocations();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SMSDispatcher.java | 363 protected final SmsTracker mTracker; field in SMSDispatcher.SmsSender 368 mTracker = tracker; in SmsSender() 395 HashMap<String, Object> map = mTracker.getData(); in onServiceReady() 403 mTracker.mDestAddress, in onServiceReady() 404 (mTracker.mDeliveryIntent != null) in onServiceReady() 432 HashMap<String, Object> map = mTracker.getData(); in onServiceReady() 441 mTracker.mDestAddress, in onServiceReady() 443 (mTracker.mDeliveryIntent != null) in onServiceReady() 449 + " id: " + mTracker.mMessageId); in onServiceReady() 483 processSendSmsResponse(mSmsSender.mTracker, result, messageRef); in onSendSmsComplete()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 680 std::unique_ptr<RecordingActivityTracker> mTracker; member in AudioPolicyManagerTestDPPlaybackReRouting 694 mTracker.reset(new RecordingActivityTracker()); in SetUp() 713 getInputForAttr(attr, mTracker->getRiid(), &selectedDeviceId, AUDIO_FORMAT_PCM_16_BIT, in SetUp() 864 std::unique_ptr<RecordingActivityTracker> mTracker; member in AudioPolicyManagerTestDPMixRecordInjection 879 mTracker.reset(new RecordingActivityTracker()); in SetUp() 926 getInputForAttr(attr, mTracker->getRiid(), &captureRoutedPortId, AUDIO_FORMAT_PCM_16_BIT, in TEST_P()
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 239 mTracker.reset(new RecordingActivityTracker()); in set() 461 mTracker->recordingStarted(); in start() 496 mTracker->recordingStopped(); in stop() 795 input.riid = mTracker->getRiid(); in createRecord_l()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 645 std::unique_ptr<RecordingActivityTracker> mTracker; variable
|