/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 78 private CarUserManager mMgr; field in CarUserManagerUnitTest 87 mMgr = new CarUserManager(mCar, mService, mUserManager); in setFixtures() 133 assertThat(mMgr.isValidUser(USER_SYSTEM)).isFalse(); in testIsValidUser_headlessSystemUser() 141 assertThat(mMgr.isValidUser(USER_SYSTEM)).isTrue(); in testIsValidUser_nonHeadlessSystemUser() 148 assertThat(mMgr.isValidUser(1)).isTrue(); in testIsValidUser_found() 149 assertThat(mMgr.isValidUser(2)).isTrue(); in testIsValidUser_found() 150 assertThat(mMgr.isValidUser(3)).isTrue(); in testIsValidUser_found() 157 assertThat(mMgr.isValidUser(4)).isFalse(); in testIsValidUser_notFound() 162 assertThat(mMgr.isValidUser(666)).isFalse(); in testIsValidUser_emptyUsers() 167 assertThrows(NullPointerException.class, () -> mMgr.addListener(null, (e) -> { })); in testAddListener_nullExecutor() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CarDevicePolicyManagerUnitTest.java | 55 private CarDevicePolicyManager mMgr; field in CarDevicePolicyManagerUnitTest 59 mMgr = new CarDevicePolicyManager(mCar, mService); in setFixtures() 67 RemoveUserResult result = mMgr.removeUser(UserHandle.of(100)); in testRemoveUser_success() 78 RemoveUserResult result = mMgr.removeUser(UserHandle.of(100)); in testRemoveUser_remoteException() 88 assertThrows(SecurityException.class, () -> mMgr.removeUser(UserHandle.of(100))); in testRemoveUser_securityException() 93 assertThrows(NullPointerException.class, () -> mMgr.removeUser(null)); in testRemoveUser_nullUser() 102 CreateUserResult result = mMgr.createUser("TheDude", 100); in testCreateUser_success() 115 CreateUserResult result = mMgr.createUser("TheDude", 100); in testCreateUser_remoteException() 127 assertThrows(SecurityException.class, () -> mMgr.createUser("TheDude", 100)); in testCreateUser_securityException() 134 StartUserInBackgroundResult result = mMgr.startUserInBackground(UserHandle.of(100)); in testStartUserInBackground_success() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareSession.java | 43 private final WeakReference<WifiAwareManager> mMgr; field in WifiAwareSession 54 mMgr = new WeakReference<>(manager); in WifiAwareSession() 74 WifiAwareManager mgr = mMgr.get(); in close() 81 mMgr.clear(); in close() 151 WifiAwareManager mgr = mMgr.get(); in publish() 199 WifiAwareManager mgr = mMgr.get(); in subscribe() 247 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen() 295 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase() 351 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPmk()
|
D | DiscoverySession.java | 53 protected WeakReference<WifiAwareManager> mMgr; field in DiscoverySession 82 mMgr = new WeakReference<>(manager); in DiscoverySession() 102 WifiAwareManager mgr = mMgr.get(); in close() 109 mMgr.clear(); in close() 127 mMgr.clear(); in setTerminated() 215 WifiAwareManager mgr = mMgr.get(); in sendMessage() 296 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen() 355 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase() 419 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPmk()
|
D | SubscribeDiscoverySession.java | 64 WifiAwareManager mgr = mMgr.get(); in updateSubscribe()
|
D | PublishDiscoverySession.java | 59 WifiAwareManager mgr = mMgr.get(); in updatePublish()
|
/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 | 58 private final CarPropertyManager mMgr; field in PropertyListAdapter 67 mMgr = mgr; in PropertyListAdapter() 122 mMgr.unregisterCallback(mListener, propId); in getView() 127 mMgr.registerCallback(mListener, propId, c.getMaxSampleRate()); in getView() 133 mMgr.registerCallback(mListener, propId, in getView() 140 mMgr.registerCallback(mListener, propId, DEFAULT_RATE); in getView()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 107 private final WifiAwareStateManager mMgr; field in WifiAwareDataPathStateManager 128 mMgr = mgr; in WifiAwareDataPathStateManager() 229 if (mMgr.getCapabilities() == null) { in createAllInterfaces() 234 for (int i = 0; i < mMgr.getCapabilities().maxNdiInterfaces; ++i) { in createAllInterfaces() 239 mMgr.deleteDataPathInterface(name); in createAllInterfaces() 245 mMgr.createDataPathInterface(name); in createAllInterfaces() 256 if (mMgr.getCapabilities() == null) { in deleteAllInterfaces() 261 for (int i = 0; i < mMgr.getCapabilities().maxNdiInterfaces; ++i) { in deleteAllInterfaces() 263 mMgr.deleteDataPathInterface(name); in deleteAllInterfaces() 313 mMgr.endDataPath(ndpId); in onDataPathInitiateSuccess() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 281 private final WeakReference<CarPropertyManager> mMgr; field in CarPropertyManager.CarPropertyEventListenerToService 284 mMgr = new WeakReference<>(mgr); in CarPropertyEventListenerToService() 289 CarPropertyManager manager = mMgr.get(); in onEvent()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 76 Landroid/net/wifi/aware/DiscoverySession;->mMgr:Ljava/lang/ref/WeakReference; 360 Landroid/net/wifi/aware/WifiAwareSession;->mMgr:Ljava/lang/ref/WeakReference;
|