Home
last modified time | relevance | path

Searched refs:owners (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java43 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/
DUndoManager.java240 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/
DOWNERS1 # TODO: add more owners
/frameworks/base/core/java/android/app/
DAppOpsManagerInternal.java76 public abstract void setDeviceAndProfileOwners(SparseIntArray owners); in setDeviceAndProfileOwners() argument
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java330 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in removeFocusEntryForExtPolicy() local
331 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in removeFocusEntryForExtPolicy()
688 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in dumpExtFocusPolicyFocusOwners() local
689 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in dumpExtFocusPolicyFocusOwners()
/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h592 std::set<int32_t> owners; in getAllOwners() local
594 owners.emplace(i->getOwnerId()); in getAllOwners()
596 return std::vector<int32_t>(owners.begin(), owners.end()); in getAllOwners()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java657 final SparseIntArray owners = new SparseIntArray(); in pushToAppOpsLocked() local
663 owners.put(mDeviceOwnerUserId, uid); in pushToAppOpsLocked()
673 owners.put(mProfileOwners.keyAt(poi), uid); in pushToAppOpsLocked()
679 appops.setDeviceAndProfileOwners(owners.size() > 0 ? owners : null); in pushToAppOpsLocked()
/frameworks/base/core/java/android/widget/
DEditor.java424 UndoOwner[] owners = { mUndoOwner }; in forgetUndoRedo() local
425 mUndoManager.forgetUndos(owners, -1 /* all */); in forgetUndoRedo()
426 mUndoManager.forgetRedos(owners, -1 /* all */); in forgetUndoRedo()
430 UndoOwner[] owners = { mUndoOwner }; in canUndo() local
431 return mAllowUndo && mUndoManager.countUndos(owners) > 0; in canUndo()
435 UndoOwner[] owners = { mUndoOwner }; in canRedo() local
436 return mAllowUndo && mUndoManager.countRedos(owners) > 0; in canRedo()
443 UndoOwner[] owners = { mUndoOwner }; in undo() local
444 mUndoManager.undo(owners, 1); // Undo 1 action. in undo()
451 UndoOwner[] owners = { mUndoOwner }; in redo() local
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4737 @Override public void setDeviceAndProfileOwners(SparseIntArray owners) { in setDeviceAndProfileOwners() argument
4739 mProfileOwners = owners; in setDeviceAndProfileOwners()
/frameworks/base/cmds/statsd/src/
Datoms.proto3496 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java.
3522 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java
3560 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java
3603 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java
4994 // The associated user. Eg: 0 for owners, 10+ for others.
5007 // The associated user. Eg: 0 for owners, 10+ for others.