Home
last modified time | relevance | path

Searched refs:mDelegates (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/
DSystemVibrator.java46 OnVibratorStateChangedListenerDelegate> mDelegates = new ArrayMap<>(); field in SystemVibrator
128 synchronized (mDelegates) { in addVibratorStateListener()
130 if (mDelegates.containsKey(listener)) { in addVibratorStateListener()
141 mDelegates.put(listener, delegate); in addVibratorStateListener()
177 synchronized (mDelegates) { in removeVibratorStateListener()
179 if (mDelegates.containsKey(listener)) { in removeVibratorStateListener()
180 final OnVibratorStateChangedListenerDelegate delegate = mDelegates.get(listener); in removeVibratorStateListener()
186 mDelegates.remove(listener); in removeVibratorStateListener()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DParsedStatement.java27 private final List<String> mDelegates; field in ParsedStatement
31 this.mDelegates = delegates; in ParsedStatement()
39 return mDelegates; in getDelegates()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java332 private final ArrayList<StorageEventListenerDelegate> mDelegates = new ArrayList<>(); field in StorageManager
526 synchronized (mDelegates) { in registerListener()
534 mDelegates.add(delegate); in registerListener()
547 synchronized (mDelegates) { in unregisterListener()
548 for (Iterator<StorageEventListenerDelegate> i = mDelegates.iterator(); i.hasNext();) { in unregisterListener()
597 synchronized (mDelegates) { in registerStorageVolumeCallback()
605 mDelegates.add(delegate); in registerStorageVolumeCallback()
616 synchronized (mDelegates) { in unregisterStorageVolumeCallback()
617 for (Iterator<StorageEventListenerDelegate> i = mDelegates.iterator(); i.hasNext();) { in unregisterStorageVolumeCallback()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java186 private final List<SessionCallbackDelegate> mDelegates = new ArrayList<>(); field in LauncherApps
1811 synchronized (mDelegates) { in registerPackageInstallerSessionCallback()
1820 mDelegates.add(delegate); in registerPackageInstallerSessionCallback()
1831 synchronized (mDelegates) { in unregisterPackageInstallerSessionCallback()
1832 for (Iterator<SessionCallbackDelegate> i = mDelegates.iterator(); i.hasNext();) { in unregisterPackageInstallerSessionCallback()
DPackageInstaller.java410 private final ArrayList<SessionCallbackDelegate> mDelegates = new ArrayList<>(); field in PackageInstaller
890 synchronized (mDelegates) { in registerSessionCallback()
898 mDelegates.add(delegate); in registerSessionCallback()
912 synchronized (mDelegates) { in unregisterSessionCallback()
913 for (Iterator<SessionCallbackDelegate> i = mDelegates.iterator(); i.hasNext();) { in unregisterSessionCallback()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java156 private final ArrayList<MoveCallbackDelegate> mDelegates = new ArrayList<>(); field in ApplicationPackageManager
2231 synchronized (mDelegates) { in registerMoveCallback()
2239 mDelegates.add(delegate); in registerMoveCallback()
2245 synchronized (mDelegates) { in unregisterMoveCallback()
2246 for (Iterator<MoveCallbackDelegate> i = mDelegates.iterator(); i.hasNext();) { in unregisterMoveCallback()