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.kt54 private val mTracker = LegacyTypeTracker(mMockService).apply { in <lambda>() constant
63 mTracker.addSupportedType(supportedTypes[0]) in testSupportedTypes()
67 assertTrue(mTracker.isTypeSupported(it)) in testSupportedTypes()
69 assertFalse(mTracker.isTypeSupported(UNSUPPORTED_TYPE)) in testSupportedTypes()
76 mTracker.add(TYPE_MOBILE, mobileNai) in testAddNetwork()
77 mTracker.add(TYPE_WIFI, wifiNai) in testAddNetwork()
78 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), mobileNai) in testAddNetwork()
79 assertSame(mTracker.getNetworkForType(TYPE_WIFI), wifiNai) in testAddNetwork()
82 mTracker.add(TYPE_MOBILE, secondMobileNai) in testAddNetwork()
83 assertSame(mTracker.getNetworkForType(TYPE_MOBILE), mobileNai) in testAddNetwork()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java48 private EthernetTracker mTracker; field in EthernetServiceImpl
85 mTracker = new EthernetTracker(mContext, mHandler); in start()
86 mTracker.start(); in start()
93 return mTracker.getInterfaces(checkUseRestrictedNetworksPermission()); in getAvailableInterfaces()
104 if (mTracker.isRestrictedInterface(iface)) { in getConfiguration()
108 return new IpConfiguration(mTracker.getIpConfiguration(iface)); in getConfiguration()
122 if (mTracker.isRestrictedInterface(iface)) { in setConfiguration()
128 mTracker.updateIpConfiguration(iface, new IpConfiguration(config)); in setConfiguration()
138 if (mTracker.isRestrictedInterface(iface)) { in isAvailable()
142 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()
187 startTracker(mTracker); in testColorSampling_FrameRateChange()
204 startTracker(mTracker); in testAdaptiveOnOff()
237 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.java49 private SMSDispatcher.SmsTracker mTracker; field in SmsDispatchersControllerTest
137 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest()
140 mSmsDispatchersController.sendRetrySms(mTracker); in testSendRetrySmsCdmaTest()
151 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest()
153 mSmsDispatchersController.sendRetrySms(mTracker); in testSendRetrySmsGsmTest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java360 protected final SmsTracker mTracker; field in SMSDispatcher.SmsSender
365 mTracker = tracker; in SmsSender()
399 HashMap<String, Object> map = mTracker.getData(); in onServiceReady()
405 mTracker.mDestAddress, getSendSmsFlag(mTracker.mDeliveryIntent), in onServiceReady()
431 HashMap<String, Object> map = mTracker.getData(); in onServiceReady()
438 mTracker.mDestAddress, destPort, in onServiceReady()
439 getSendSmsFlag(mTracker.mDeliveryIntent), mSenderCallback); in onServiceReady()
474 processSendSmsResponse(mSmsSender.mTracker, result, messageRef); in onSendSmsComplete()
1862 private final SmsTracker mTracker; field in SMSDispatcher.ConfirmDialogListener
1876 mTracker = tracker; in ConfirmDialogListener()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java107 private MultipathPolicyTracker mTracker; field in MultipathPolicyTrackerTest
153 mTracker = new MultipathPolicyTracker(mContext, mHandler, mDeps); in setUp()
228 mTracker.start(); in testGetMultipathPreference()
326 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/media/libaudioclient/
DAudioRecord.cpp226 mTracker.reset(new RecordingActivityTracker()); in set()
428 mTracker->recordingStarted(); in start()
455 mTracker->recordingStopped(); in stop()
720 input.riid = mTracker->getRiid(); in createRecord_l()
/frameworks/av/include/media/
DAudioRecord.h624 std::unique_ptr<RecordingActivityTracker> mTracker; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h624 std::unique_ptr<RecordingActivityTracker> mTracker; variable