Searched refs:mMgr (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 74 private CarUserManager mMgr; field in CarUserManagerUnitTest 83 mMgr = new CarUserManager(mCar, mService, mUserManager); in setFixtures() 92 assertThat(mMgr.isValidUser(USER_SYSTEM)).isFalse(); in testIsValidUser_headlessSystemUser() 100 assertThat(mMgr.isValidUser(USER_SYSTEM)).isTrue(); in testIsValidUser_nonHeadlessSystemUser() 107 assertThat(mMgr.isValidUser(1)).isTrue(); in testIsValidUser_found() 108 assertThat(mMgr.isValidUser(2)).isTrue(); in testIsValidUser_found() 109 assertThat(mMgr.isValidUser(3)).isTrue(); in testIsValidUser_found() 116 assertThat(mMgr.isValidUser(4)).isFalse(); in testIsValidUser_notFound() 121 assertThat(mMgr.isValidUser(666)).isFalse(); in testIsValidUser_emptyUsers() 126 assertThrows(NullPointerException.class, () -> mMgr.addListener(null, (e) -> { })); in testAddListener_nullExecutor() [all …]
|
/packages/services/Car/car-lib/src/android/car/trust/ |
D | CarTrustAgentEnrollmentManager.java | 445 private final WeakReference<CarTrustAgentEnrollmentManager> mMgr; field in CarTrustAgentEnrollmentManager.ListenerToEnrollmentService 448 mMgr = new WeakReference<>(mgr); in ListenerToEnrollmentService() 457 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onEnrollmentHandshakeFailure() 471 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onAuthStringAvailable() 486 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onEscrowTokenAdded() 503 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onEscrowTokenRemoved() 520 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onEscrowTokenActiveStateChanged() 535 private final WeakReference<CarTrustAgentEnrollmentManager> mMgr; field in CarTrustAgentEnrollmentManager.ListenerToBleService 538 mMgr = new WeakReference<>(mgr); in ListenerToBleService() 546 CarTrustAgentEnrollmentManager enrollmentManager = mMgr.get(); in onEnrollmentAdvertisingStarted() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyTestFragment.java | 58 private CarPropertyManager mMgr; field in PropertyTestFragment 91 mMgr = mActivity.getPropertyManager(); in onCreateView() 93 mListView.setAdapter(new PropertyListAdapter(mPropInfo, mMgr, mEventLog, mScrollView, in onCreateView() 113 CarPropertyValue value = mMgr.getProperty(propId, areaId); in onCreateView() 125 + "\nread=" + mMgr.getReadPermission(propId) in onCreateView() 126 + "\nwrite=" + mMgr.getWritePermission(propId)); in onCreateView() 146 mMgr.setBooleanProperty(propId, areaId, boolVal); in onCreateView() 150 mMgr.setFloatProperty(propId, areaId, floatVal); in onCreateView() 154 mMgr.setIntProperty(propId, areaId, intVal); in onCreateView() 179 mPropInfo = mMgr.getPropertyList() in populateConfigList()
|
D | PropertyListAdapter.java | 45 private final CarPropertyManager mMgr; field in PropertyListAdapter 53 mMgr = mgr; in PropertyListAdapter() 96 mMgr.registerCallback(mListener, propId, DEFAULT_RATE); in getView() 98 mMgr.unregisterCallback(mListener, propId); in getView()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 290 private final WeakReference<CarPropertyManager> mMgr; field in CarPropertyManager.CarPropertyEventListenerToService 293 mMgr = new WeakReference<>(mgr); in CarPropertyEventListenerToService() 298 CarPropertyManager manager = mMgr.get(); in onEvent()
|