/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 43 final OwnersTestable owners = new OwnersTestable(getServices()); in testUpgrade01() local 45 DpmTestUtils.writeToFile(owners.getLegacyConfigFile(), in testUpgrade01() 48 owners.load(); in testUpgrade01() 51 assertFalse(owners.getLegacyConfigFile().exists()); in testUpgrade01() 54 assertFalse(owners.getDeviceOwnerFile().exists()); in testUpgrade01() 56 assertFalse(owners.getProfileOwnerFile(10).exists()); in testUpgrade01() 57 assertFalse(owners.getProfileOwnerFile(11).exists()); in testUpgrade01() 58 assertFalse(owners.getProfileOwnerFile(20).exists()); in testUpgrade01() 59 assertFalse(owners.getProfileOwnerFile(21).exists()); in testUpgrade01() 61 assertFalse(owners.hasDeviceOwner()); in testUpgrade01() [all …]
|
/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 240 public int undo(UndoOwner[] owners, int count) { in undo() argument 255 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) { in undo() 278 public int redo(UndoOwner[] owners, int count) { in redo() argument 288 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) { in redo() 312 public int forgetUndos(UndoOwner[] owners, int count) { in forgetUndos() argument 321 if (count > 0 && matchOwners(state, owners)) { in forgetUndos() 334 public int forgetRedos(UndoOwner[] owners, int count) { in forgetRedos() argument 343 if (count > 0 && matchOwners(state, owners)) { in forgetRedos() 361 public int countUndos(UndoOwner[] owners) { in countUndos() argument 362 if (owners == null) { in countUndos() [all …]
|
/frameworks/wilhelm/ |
D | OWNERS | 1 # TODO: add more owners
|
/frameworks/base/libs/WindowManager/Shell/ |
D | OWNERS | 1 # sysui owners
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManagerInternal.java | 86 public abstract void setDeviceAndProfileOwners(SparseIntArray owners); in setDeviceAndProfileOwners() argument
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 606 std::set<int32_t> owners; in getAllOwners() local 608 owners.emplace(i->getOwnerId()); in getAllOwners() 610 return std::vector<int32_t>(owners.begin(), owners.end()); in getAllOwners()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 669 final SparseIntArray owners = new SparseIntArray(); in pushToAppOpsLocked() local 675 owners.put(mDeviceOwnerUserId, uid); in pushToAppOpsLocked() 685 owners.put(mProfileOwners.keyAt(poi), uid); in pushToAppOpsLocked() 691 appops.setDeviceAndProfileOwners(owners.size() > 0 ? owners : null); in pushToAppOpsLocked()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 377 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in removeFocusEntryForExtPolicy() local 378 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in removeFocusEntryForExtPolicy() 740 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in dumpExtFocusPolicyFocusOwners() local 741 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in dumpExtFocusPolicyFocusOwners()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 560 UndoOwner[] owners = { mUndoOwner }; in forgetUndoRedo() local 561 mUndoManager.forgetUndos(owners, -1 /* all */); in forgetUndoRedo() 562 mUndoManager.forgetRedos(owners, -1 /* all */); in forgetUndoRedo() 566 UndoOwner[] owners = { mUndoOwner }; in canUndo() local 567 return mAllowUndo && mUndoManager.countUndos(owners) > 0; in canUndo() 571 UndoOwner[] owners = { mUndoOwner }; in canRedo() local 572 return mAllowUndo && mUndoManager.countRedos(owners) > 0; in canRedo() 579 UndoOwner[] owners = { mUndoOwner }; in undo() local 580 mUndoManager.undo(owners, 1); // Undo 1 action. in undo() 587 UndoOwner[] owners = { mUndoOwner }; in redo() local [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 6289 @Override public void setDeviceAndProfileOwners(SparseIntArray owners) { in setDeviceAndProfileOwners() argument 6291 mProfileOwners = owners; in setDeviceAndProfileOwners()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 4066 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java. 4092 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 4130 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 4173 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 5872 // The associated user. Eg: 0 for owners, 10+ for others. 5885 // The associated user. Eg: 0 for owners, 10+ for others.
|