Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java104 public void setUidPolicy(int uid, int policy) { in setUidPolicy()
116 public void addUidPolicy(int uid, int policy) { in addUidPolicy()
128 public void removeUidPolicy(int uid, int policy) { in removeUidPolicy()
143 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy()
215 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary()
245 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { in computeNextCycleBoundary()
331 public static void dumpPolicy(PrintWriter fout, int policy) { in dumpPolicy()
DINetworkPolicyManager.aidl33 void setUidPolicy(int uid, int policy); in setUidPolicy()
34 void addUidPolicy(int uid, int policy); in addUidPolicy()
35 void removeUidPolicy(int uid, int policy); in removeUidPolicy()
37 int[] getUidsWithPolicy(int policy); in getUidsWithPolicy()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java100 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createAutomaticInstallPolicy() local
125 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createWindowedInstallPolicy() local
140 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createPostponeInstallPolicy() local
241 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in restoreFromXml() local
/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
561 final NetworkPolicy policy = new NetworkPolicy( in testCycleTodayJanuary() local
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java995 DevicePolicyData policy = getUserData(userHandle); in handlePackagesChanged() local
1085 DevicePolicyData policy = mUserData.get(userHandle); in getUserData() local
1125 DevicePolicyData policy = mUserData.get(userHandle); in removeUserData() local
1148 protected void setExpirationAlarmCheckLocked(Context context, DevicePolicyData policy) { in setExpirationAlarmCheckLocked()
1222 final DevicePolicyData policy = getUserData(userId); in getActiveAdminForCallerLocked() local
1245 final DevicePolicyData policy = getUserData(userId); in getActiveAdminWithPolicyForUidLocked() local
1330 final DevicePolicyData policy = getUserData(userHandle); in sendAdminCommandLocked() local
1424 DevicePolicyData policy = getUserData(userHandle); in saveSettingsLocked() local
1540 private void loadSettingsLocked(DevicePolicyData policy, int userHandle) { in loadSettingsLocked()
1739 void validatePasswordOwnerLocked(DevicePolicyData policy) { in validatePasswordOwnerLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java787 final NetworkPolicy policy = mNetworkPolicy.valueAt(i); in updateNotificationsLocked() local
873 private String buildNotificationTag(NetworkPolicy policy, int type) { in buildNotificationTag()
881 private void enqueueNotification(NetworkPolicy policy, int type, long totalBytes) { in enqueueNotification()
1078 final NetworkPolicy policy = mNetworkPolicy.valueAt(i); in updateNetworkEnabledLocked() local
1165 final NetworkPolicy policy = mNetworkPolicy.valueAt(i); local
1188 final NetworkPolicy policy = mNetworkRules.keyAt(i); local
1318 final NetworkPolicy policy = new NetworkPolicy(template, cycleDay, cycleTimezone, in ensureActiveMobilePolicyLocked() local
1411 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked() local
1420 final int policy = readIntAttribute(in, ATTR_POLICY); in readPolicyLocked() local
1478 final NetworkPolicy policy = mNetworkPolicy.valueAt(i); in writePolicyLocked() local
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java407 public Builder(ThreadPolicy policy) { in Builder()
870 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy()
892 final BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in setBlockGuardPolicy() local
1576 VmPolicy policy = getVmPolicy(); in conditionallyCheckInstanceCounts() local
1619 public static void setVmPolicy(final VmPolicy policy) { in setVmPolicy()
1944 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in readAndHandleBinderCallViolations() local
2131 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteSlowCall() local
2151 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteResourceMismatch() local
2163 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteDiskRead() local
2175 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in noteDiskWrite() local
[all …]
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java51 int ringerModeInternal, VolumePolicy policy); in onSetRingerModeExternal()
55 int ringerModeExternal, VolumePolicy policy); in onSetRingerModeInternal()
DMediaHTTPConnection.java314 StrictMode.ThreadPolicy policy = in readAt() local
/frameworks/compile/mclinker/lib/Target/
DELFEmulation.cpp21 InputSectDesc::KeepPolicy policy; /// mark whether the input is kept in GC member
/frameworks/base/core/java/android/os/storage/
DMountServiceInternal.java64 public abstract void addExternalStoragePolicy(ExternalStorageMountPolicy policy); in addExternalStoragePolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileDataControllerImpl.java119 final NetworkPolicy policy = findNetworkPolicy(template); in getDataUsageInfo() local
179 final NetworkPolicy policy = policies[i]; in findNetworkPolicy() local
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java172 public int policy; field in DisplayManagerInternal.DisplayPowerRequest
288 public static String policyToString(int policy) { in policyToString()
/frameworks/av/services/audioflinger/
DFastThread.cpp166 int policy = sched_getscheduler(0); in threadLoop() local
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java48 public KeyguardDisableHandler(final Context context, final WindowManagerPolicy policy) { in KeyguardDisableHandler()
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp46 SchedPolicy policy; in sendSchedPolicy() local
53 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy() local
/frameworks/compile/mclinker/include/mcld/Script/
DInputSectDesc.h77 KeepPolicy policy() const { return m_KeepPolicy; } in policy() function
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java303 public void setNotificationPolicy(Policy policy) { in setNotificationPolicy()
591 int ringerModeExternal, VolumePolicy policy) { in onSetRingerModeInternal()
631 int ringerModeInternal, VolumePolicy policy) { in onSetRingerModeExternal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java461 String policy = parser.getAttributeValue(null, ATTR_PACKAGE_SMS_POLICY); in loadPremiumSmsPolicyDb() local
546 Integer policy = mPremiumSmsPolicy.get(packageName); in getPremiumSmsPermission() local
/frameworks/base/core/java/android/app/
DNotificationManager.java480 public void setNotificationPolicy(@NonNull Policy policy) { in setNotificationPolicy()
484 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy() local
DINotificationManager.aidl91 void setNotificationPolicy(String pkg, in NotificationManager.Policy policy); in setNotificationPolicy()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp432 audio_input_flags_t policy = AUDIO_INPUT_FLAG_FAST; in android_audioRecorder_realize() local
/frameworks/compile/mclinker/include/mcld/Object/
DSectionMap.h40 InputSectDesc::KeepPolicy policy() const { return m_Policy; } in policy() function
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java130 WindowManagerPolicy policy) { in Notifier()
/frameworks/base/libs/input/
DPointerController.cpp57 PointerController::PointerController(const sp<PointerControllerPolicyInterface>& policy, in PointerController()

12