Home
last modified time | relevance | path

Searched refs:mTracker (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/
DLegacyTypeTrackerTest.kt60 private val mTracker = LegacyTypeTracker(mMockService).apply { in <lambda>() constant in com.android.server.LegacyTypeTrackerTest
69 mTracker.addSupportedType(supportedTypes[0]) in testSupportedTypes()
73 assertTrue(mTracker.isTypeSupported(it)) in testSupportedTypes()
75 assertFalse(mTracker.isTypeSupported(UNSUPPORTED_TYPE)) in testSupportedTypes()
81 mTracker.add(TYPE_MOBILE, mobileNai) in testSupl()
84 mTracker.add(TYPE_MOBILE_SUPL, mobileNai) in testSupl()
87 mTracker.remove(TYPE_MOBILE_SUPL, mobileNai, false /* wasDefault */) in testSupl()
90 mTracker.add(TYPE_MOBILE_SUPL, mobileNai) in testSupl()
93 mTracker.remove(mobileNai, false) in testSupl()
102 mTracker.add(TYPE_MOBILE, mobileNai) in testAddNetwork()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java51 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/
DBrightnessTrackerTest.java83 private BrightnessTracker mTracker; field in BrightnessTrackerTest
108 mTracker = new BrightnessTracker(InstrumentationRegistry.getContext(), mInjector); in setUp()
117 startTracker(mTracker); in testStartStopTrackerScreenOnOff()
146 mTracker.stop(); in testStartStopTrackerScreenOnOff()
160 startTracker(mTracker); in testNoColorSampling_WrongPixelFormat()
172 startTracker(mTracker); in testNoColorSampling_MissingComponent()
180 startTracker(mTracker); in testNoColorSampling_NoSupport()
190 startTracker(mTracker); in testColorSampling_FrameRateChange()
207 startTracker(mTracker); in testAdaptiveOnOff()
244 mTracker.stop(); in testAdaptiveOnOff()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserObservable.java29 private final CurrentUserTracker mTracker; field in CurrentUserObservable
35 mTracker.startTracking();
41 mTracker.startTracking();
46 mTracker = new CurrentUserTracker(context) { in CurrentUserObservable()
59 mCurrentUser.setValue(mTracker.getCurrentUserId()); in getCurrentUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DBaseLeakChecker.java28 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()
DFakeExtensionController.java28 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/
DImsExternalCallTrackerTest.java49 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/base/services/core/java/com/android/server/slice/
DSliceProviderPermissions.java48 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()
DSliceClientPermissions.java56 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()
202 private final DirtyTracker mTracker; field in SliceClientPermissions.SliceAuthority
209 mTracker = tracker; in SliceAuthority()
233 mTracker.onPersistableDirty(this); in addPath()
247 mTracker.onPersistableDirty(this); in removePath()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DCurrentUserTrackerTest.java34 private CurrentUserTracker mTracker; field in CurrentUserTrackerTest
40 mTracker = new CurrentUserTracker(mReceiver) { in setUp()
50 mTracker.startTracking(); in testBroadCastDoesntCrashOnConcurrentModification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsDispatchersControllerTest.java51 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/
DMultipathPolicyTrackerTest.java108 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java87 Tracker mTracker = mLeakCheck.getTracker("accessibility_manager");
91 mTracker.getLeakInfo(listener).addAllocation(new Throwable());
96 mTracker.getLeakInfo(listener).clearAllocations();
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp668 std::unique_ptr<RecordingActivityTracker> mTracker; member in AudioPolicyManagerTestDPPlaybackReRouting
682 mTracker.reset(new RecordingActivityTracker()); in SetUp()
701 getInputForAttr(attr, mTracker->getRiid(), &selectedDeviceId, AUDIO_FORMAT_PCM_16_BIT, in SetUp()
852 std::unique_ptr<RecordingActivityTracker> mTracker; member in AudioPolicyManagerTestDPMixRecordInjection
867 mTracker.reset(new RecordingActivityTracker()); in SetUp()
914 getInputForAttr(attr, mTracker->getRiid(), &captureRoutedPortId, AUDIO_FORMAT_PCM_16_BIT, in TEST_P()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java353 protected final SmsTracker mTracker; field in SMSDispatcher.SmsSender
358 mTracker = tracker; in SmsSender()
385 HashMap<String, Object> map = mTracker.getData(); in onServiceReady()
393 mTracker.mDestAddress, in onServiceReady()
394 (mTracker.mDeliveryIntent != null) in onServiceReady()
422 HashMap<String, Object> map = mTracker.getData(); in onServiceReady()
431 mTracker.mDestAddress, in onServiceReady()
433 (mTracker.mDeliveryIntent != null) in onServiceReady()
472 processSendSmsResponse(mSmsSender.mTracker, result, messageRef); in onSendSmsComplete()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp226 mTracker.reset(new RecordingActivityTracker()); in set()
431 mTracker->recordingStarted(); in start()
458 mTracker->recordingStopped(); in stop()
756 input.riid = mTracker->getRiid(); in createRecord_l()
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h632 std::unique_ptr<RecordingActivityTracker> mTracker; variable