OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newPolicy
(Results
1 - 18
of
18
) sorted by null
/libcore/ojluni/src/main/java/sun/net/
InetAddressCachePolicy.java
173
* @param
newPolicy
the value in seconds for how long the lookup
176
public static synchronized void setIfNotSet(int
newPolicy
) {
183
checkValue(
newPolicy
, cachePolicy);
184
cachePolicy =
newPolicy
;
192
* @param
newPolicy
the value in seconds for how long the lookup
195
public static synchronized void setNegativeIfNotSet(int
newPolicy
) {
204
// checkValue(
newPolicy
, negativeCachePolicy);
205
negativeCachePolicy =
newPolicy
;
209
private static void checkValue(int
newPolicy
, int oldPolicy) {
215
if (
newPolicy
== FOREVER
[
all
...]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SystemUpdatePolicyTest.java
120
SystemUpdatePolicy
newPolicy
= mDevicePolicyManager.getSystemUpdatePolicy();
122
assertNull(
newPolicy
);
124
assertNotNull(
newPolicy
);
125
assertEquals(policy.toString(),
newPolicy
.toString());
126
assertEquals(policy.getPolicyType(),
newPolicy
.getPolicyType());
128
assertEquals(policy.getInstallWindowStart(),
newPolicy
.getInstallWindowStart());
129
assertEquals(policy.getInstallWindowEnd(),
newPolicy
.getInstallWindowEnd());
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
StrictModeActivity.java
375
StrictMode.ThreadPolicy.Builder
newPolicy
= new StrictMode.ThreadPolicy.Builder();
376
if (checkNoWrite.isChecked())
newPolicy
.detectDiskWrites();
377
if (checkNoRead.isChecked())
newPolicy
.detectDiskReads();
378
if (checkNoNetwork.isChecked())
newPolicy
.detectNetwork();
379
if (checkCustom.isChecked())
newPolicy
.detectCustomSlowCalls();
380
if (checkResourceMismatch.isChecked())
newPolicy
.detectResourceMismatches();
381
if (checkPenaltyLog.isChecked())
newPolicy
.penaltyLog();
382
if (checkPenaltyDialog.isChecked())
newPolicy
.penaltyDialog();
383
if (checkPenaltyDeath.isChecked())
newPolicy
.penaltyDeath();
384
if (checkPenaltyDropBox.isChecked())
newPolicy
.penaltyDropBox()
[
all
...]
/frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerShellCommand.java
331
final NetworkPolicy policy =
newPolicy
(ssid);
366
final NetworkPolicy policy =
newPolicy
(ssid);
372
private NetworkPolicy
newPolicy
(String ssid) {
/external/owasp/sanitizer/src/main/org/owasp/html/
HtmlPolicyBuilder.java
204
ElementPolicy
newPolicy
= ElementPolicy.Util.join(
206
// Don't remove if
newPolicy
is the always reject policy since we want
209
elPolicies.put(elementName,
newPolicy
);
/frameworks/base/core/java/android/os/
StrictMode.java
[
all
...]
/frameworks/base/core/jni/
android_os_Parcel.cpp
682
const int32_t
newPolicy
= threadState->getStrictModePolicy();
683
if (oldPolicy !=
newPolicy
) {
691
set_dalvik_blockguard_policy(env,
newPolicy
);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java
431
* @param
newPolicy
the new delete policy
433
public void setDeletePolicy(int
newPolicy
) {
435
mFlags |= (
newPolicy
<< FLAGS_DELETE_POLICY_SHIFT) & FLAGS_DELETE_POLICY_MASK;
[
all
...]
/prebuilts/tools/common/m2/repository/org/apache/maven/maven-project/2.0.9/
maven-project-2.0.9.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility_3.2.100.v20100505.jar
/external/owasp/sanitizer/distrib/lib/
owasp-java-html-sanitizer.jar
/prebuilts/devtools/tools/lib/
ecj-4.4.jar
/prebuilts/tools/common/m2/repository/org/eclipse/jdt/core/compiler/ecj/4.4/
ecj-4.4.jar
/prebuilts/tools/common/m2/repository/org/eclipse/jdt/core/compiler/ecj/4.4.2/
ecj-4.4.2.jar
/prebuilts/tools/common/m2/repository/org/eclipse/jdt/core/compiler/ecj/4.5.1/
ecj-4.5.1.jar
/prebuilts/tools/common/offline-m2/org/eclipse/jdt/core/compiler/ecj/4.4/
ecj-4.4.jar
/prebuilts/tools/common/offline-m2/org/eclipse/jdt/core/compiler/ecj/4.4.2/
ecj-4.4.2.jar
/prebuilts/tools/common/offline-m2/org/eclipse/jdt/core/compiler/ecj/4.5.1/
ecj-4.5.1.jar
Completed in 698 milliseconds