/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 62 final Owners owners = makeOwners(); in loadProfileOwner() local 64 DpmTestUtils.writeToFile(owners.getProfileOwnerFile(TEST_PO_USER), in loadProfileOwner() 67 owners.load(); in loadProfileOwner() 69 assertThat(owners.hasDeviceOwner()).isFalse(); in loadProfileOwner() 70 assertThat(owners.getSystemUpdatePolicy()).isNull(); in loadProfileOwner() 72 assertThat(owners.getProfileOwnerKeys()).hasSize(1); in loadProfileOwner() 73 assertThat(owners.getProfileOwnerComponent(10)) in loadProfileOwner() 83 final Owners owners = makeOwners(); in loadDeviceOwner() local 85 DpmTestUtils.writeToFile(owners.getDeviceOwnerFile(), in loadDeviceOwner() 88 owners.load(); in loadDeviceOwner() [all …]
|
/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 241 public int undo(UndoOwner[] owners, int count) { in undo() argument 256 while (count > 0 && (i=findPrevState(mUndos, owners, i)) >= 0) { in undo() 279 public int redo(UndoOwner[] owners, int count) { in redo() argument 289 while (count > 0 && (i=findPrevState(mRedos, owners, i)) >= 0) { in redo() 313 public int forgetUndos(UndoOwner[] owners, int count) { in forgetUndos() argument 322 if (count > 0 && matchOwners(state, owners)) { in forgetUndos() 335 public int forgetRedos(UndoOwner[] owners, int count) { in forgetRedos() argument 344 if (count > 0 && matchOwners(state, owners)) { in forgetRedos() 362 public int countUndos(UndoOwner[] owners) { in countUndos() argument 363 if (owners == null) { in countUndos() [all …]
|
/frameworks/base/ |
D | OWNERS.md | 46 # Complete include of top-level owners from this repo 48 # Partial include of top-level owners from this repo 52 # Complete include of subdirectory owners from this repo 54 # Partial include of subdirectory owners from this repo 58 # Complete include of top-level owners from another repo 60 # Partial include of top-level owners from another repo 64 # Complete include of subdirectory owners from another repo 66 # Partial include of subdirectory owners from another repo
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 406 List<OwnerShellData> owners = new ArrayList<>(); in listAllOwners() local 409 owners.add(OwnerShellData.forDeviceOwner(mData.mDeviceOwnerUserId, in listAllOwners() 415 owners.add(OwnerShellData.forUserProfileOwner(userId, info.admin)); in listAllOwners() 418 return owners; in listAllOwners() 626 final SparseIntArray owners = new SparseIntArray(); in pushToAppOpsLocked() local 630 owners.put(mData.mDeviceOwnerUserId, uid); in pushToAppOpsLocked() 640 owners.put(mData.mProfileOwners.keyAt(poi), uid); in pushToAppOpsLocked() 646 appops.setDeviceAndProfileOwners(owners.size() > 0 ? owners : null); in pushToAppOpsLocked()
|
D | DevicePolicyManagerServiceShellCommand.java | 206 List<OwnerShellData> owners = mService.listAllOwners(); in runListOwners() local 207 int size = printAndGetSize(pw, owners, "owner"); in runListOwners() 211 OwnerShellData owner = owners.get(i); in runListOwners()
|
D | DevicePolicyManagerService.java | 1583 List<OwnerShellData> owners = mOwners.listAllOwners(); in listAllOwners() 1585 for (int i = 0; i < owners.size(); i++) { in listAllOwners() 1586 OwnerShellData owner = owners.get(i); in listAllOwners() 1603 owners.add(owner); in listAllOwners() 1607 return owners; in listAllOwners()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | OWNERS | 1 # WM shell sub-module desktop owners
|
/frameworks/wilhelm/ |
D | OWNERS | 1 # TODO: add more owners
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | OWNERS | 1 # WM shell sub-module TV pip owners
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | OWNERS | 1 # WM shell sub-module freeform owners
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | OWNERS | 1 # WM shell sub-module back navigation owners
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/ |
D | OWNERS | 1 # WM shell sub-module back navigation owners
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | MULTIUSER_AND_ENTERPRISE_OWNERS | 5 # Enterprise owners
|
/frameworks/base/libs/WindowManager/Shell/ |
D | OWNERS | 3 # Give submodule owners in shell resource approval
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationDebug.java | 143 List<String> owners = approvalLevelToOwners.valueAt(approvalIndex); in printOwners() local 147 if (owners.size() == 0) { in printOwners() 153 int ownersSize = owners.size(); in printOwners() 155 writer.println(owners.get(ownersIndex)); in printOwners()
|
D | DomainVerificationService.java | 774 List<DomainOwner> owners = new ArrayList<>(); in getOwnersForDomain() local 782 owners.add(new DomainOwner(packages.get(packageIndex), overrideable)); in getOwnersForDomain() 786 return owners; in getOwnersForDomain()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 642 std::set<int32_t> owners; in getAllOwners() local 644 owners.emplace(i->getOwnerId()); in getAllOwners() 646 return std::vector<int32_t>(owners.begin(), owners.end()); in getAllOwners()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManagerInternal.java | 195 public abstract void setDeviceAndProfileOwners(SparseIntArray owners); in setDeviceAndProfileOwners() argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 466 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in removeFocusEntryForExtPolicyOnDeath() local 467 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in removeFocusEntryForExtPolicyOnDeath() 868 final Set<Entry<String, FocusRequester>> owners = mFocusOwnersForFocusPolicy.entrySet(); in dumpExtFocusPolicyFocusOwners() local 869 final Iterator<Entry<String, FocusRequester>> ownerIterator = owners.iterator(); in dumpExtFocusPolicyFocusOwners()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 655 UndoOwner[] owners = { mUndoOwner }; in forgetUndoRedo() local 656 mUndoManager.forgetUndos(owners, -1 /* all */); in forgetUndoRedo() 657 mUndoManager.forgetRedos(owners, -1 /* all */); in forgetUndoRedo() 661 UndoOwner[] owners = { mUndoOwner }; in canUndo() local 662 return mAllowUndo && mUndoManager.countUndos(owners) > 0; in canUndo() 666 UndoOwner[] owners = { mUndoOwner }; in canRedo() local 667 return mAllowUndo && mUndoManager.countRedos(owners) > 0; in canRedo() 674 UndoOwner[] owners = { mUndoOwner }; in undo() local 675 mUndoManager.undo(owners, 1); // Undo 1 action. in undo() 682 UndoOwner[] owners = { mUndoOwner }; in redo() local [all …]
|
/frameworks/base/packages/SystemUI/docs/ |
D | falsing.md | 3 Phones are easily and often accidentally-activated in owners' pockets ("falsing" or "pocket
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 6145 @Override public void setDeviceAndProfileOwners(SparseIntArray owners) { 6147 mProfileOwners = owners;
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 5915 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java. 5961 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 6023 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 6090 // The associated user. Eg: 0 for owners, 10+ for others. Defined in android/os/UserHandle.java 8434 // The associated user. Eg: 0 for owners, 10+ for others. 8447 // The associated user. Eg: 0 for owners, 10+ for others.
|