Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/java/com/android/server/
DDevicePolicyManagerService.java472 DevicePolicyData policy = getUserData(userHandle); in handlePackagesChanged() local
521 DevicePolicyData policy = mUserData.get(userHandle); in getUserData() local
537 DevicePolicyData policy = mUserData.get(userHandle); in removeUserData() local
552 protected void setExpirationAlarmCheckLocked(Context context, DevicePolicyData policy) { in setExpirationAlarmCheckLocked()
619 final DevicePolicyData policy = getUserData(userHandle); in getActiveAdminForCallerLocked() local
667 final DevicePolicyData policy = getUserData(userHandle); in sendAdminCommandLocked() local
737 DevicePolicyData policy = getUserData(userHandle); in saveSettingsLocked() local
817 private void loadSettingsLocked(DevicePolicyData policy, int userHandle) { in loadSettingsLocked()
955 void validatePasswordOwnerLocked(DevicePolicyData policy) { in validatePasswordOwnerLocked()
976 void syncDeviceCapabilitiesLocked(DevicePolicyData policy) { in syncDeviceCapabilitiesLocked()
[all …]
DBackupManagerService.java3205 RestorePolicy policy = mPackagePolicies.get(pkg); in restoreOneFile() local
3653 RestorePolicy policy = RestorePolicy.IGNORE; in readAppManifest() local
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java81 public void setUidPolicy(int uid, int policy) { in setUidPolicy()
96 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy()
156 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary()
186 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { in computeNextCycleBoundary()
272 public static void dumpPolicy(PrintWriter fout, int policy) { in dumpPolicy()
DINetworkPolicyManager.aidl33 void setUidPolicy(int uid, int policy); in setUidPolicy()
35 int[] getUidsWithPolicy(int policy); in getUidsWithPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java452 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonth() local
463 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonth() local
474 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonthFebruary() local
485 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonthFebruary() local
492 final NetworkPolicy policy = new NetworkPolicy( in testCycleBoundaryLeapYear() local
516 final NetworkPolicy policy = new NetworkPolicy( in testNextCycleTimezoneAfterUtc() local
524 final NetworkPolicy policy = new NetworkPolicy( in testNextCycleTimezoneBeforeUtc() local
531 final NetworkPolicy policy = new NetworkPolicy( in testNextCycleSane() local
546 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleSane() local
884 private Future<Void> expectRulesChanged(int uid, int policy) throws Exception { in expectRulesChanged()
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java725 private String buildNotificationTag(NetworkPolicy policy, int type) { in buildNotificationTag()
733 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { in enqueueNotification()
1139 final NetworkPolicy policy = new NetworkPolicy(template, cycleDay, cycleTimezone, in ensureActiveMobilePolicyLocked() local
1233 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked() local
1242 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked() local
1326 final int policy = mUidPolicy.valueAt(i); in writePolicyLocked() local
1349 public void setUidPolicy(int uid, int policy) { in setUidPolicy()
1359 private void setUidPolicyUnchecked(int uid, int policy, boolean persist) { in setUidPolicyUnchecked()
1383 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy()
1459 private void addNetworkPolicyLocked(NetworkPolicy policy) { in addNetworkPolicyLocked()
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java360 public Builder(ThreadPolicy policy) { in Builder()
747 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy()
769 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in setBlockGuardPolicy() local
1415 VmPolicy policy = getVmPolicy(); in conditionallyCheckInstanceCounts() local
1454 public static void setVmPolicy(final VmPolicy policy) { in setVmPolicy()
1667 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in readAndHandleBinderCallViolations() local
1854 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteSlowCall() local
1866 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteDiskRead() local
1878 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteDiskWrite() local
1982 public final int policy; field in StrictMode.ViolationInfo
[all …]
DProcess.java858 public static final native void setThreadScheduler(int tid, int policy, int priority) in setThreadScheduler()
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp41 SchedPolicy policy; in sendSchedPolicy() local
48 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy() local
/frameworks/base/services/java/com/android/server/wm/
DKeyguardDisableHandler.java49 public KeyguardDisableHandler(final Context context, final WindowManagerPolicy policy) { in KeyguardDisableHandler()
/frameworks/compile/mclinker/lib/Support/
DSpace.cpp38 inline static Space::Type policy(off_t pOffset, size_t pLength) in policy() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java466 String policy = parser.getAttributeValue(null, ATTR_PACKAGE_SMS_POLICY); in loadPremiumSmsPolicyDb() local
551 Integer policy = mPremiumSmsPolicy.get(packageName); in getPremiumSmsPermission() local
/frameworks/base/services/java/com/android/server/power/
DNotifier.java108 WindowManagerPolicy policy) { in Notifier()
DPowerManagerService.java408 public void setPolicy(WindowManagerPolicy policy) { in setPolicy()
/frameworks/base/services/input/
DPointerController.cpp54 PointerController::PointerController(const sp<PointerControllerPolicyInterface>& policy, in PointerController()
DInputDispatcher.cpp194 InputDispatcher::InputDispatcher(const sp<InputDispatcherPolicyInterface>& policy) : in InputDispatcher()
DInputReader.cpp224 const sp<InputReaderPolicyInterface>& policy, in InputReader()
/frameworks/native/libs/binder/
DIPCThreadState.cpp381 void IPCThreadState::setStrictModePolicy(int32_t policy) in setStrictModePolicy()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp1452 audio_output_flags_t policy; in android_audioPlayer_realize() local
/frameworks/base/core/jni/
Dandroid_util_Process.cpp289 jint tid, jint policy, jint pri) in android_os_Process_setThreadScheduler()
/frameworks/base/services/input/tests/
DInputReader_test.cpp713 const sp<InputReaderPolicyInterface>& policy, in FakeInputReaderContext()
915 const sp<InputReaderPolicyInterface>& policy, in InstrumentedInputReader()