OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:strictmode
(Results
51 - 75
of
283
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/java/com/android/internal/os/
KernelUidCpuTimeReader.java
19
import android.os.
StrictMode
;
72
final int oldMask =
StrictMode
.allowThreadDiskReadsMask();
132
StrictMode
.setThreadPolicyMask(oldMask);
142
final int oldMask =
StrictMode
.allowThreadDiskReadsMask();
157
StrictMode
.setThreadPolicyMask(oldMask);
202
final int oldMask =
StrictMode
.allowThreadDiskWritesMask();
210
StrictMode
.setThreadPolicyMask(oldMask);
KernelCpuProcReader.java
19
import android.os.
StrictMode
;
119
final int oldMask =
StrictMode
.allowThreadDiskReadsMask();
139
StrictMode
.setThreadPolicyMask(oldMask);
KernelWakelockReader.java
19
import android.os.
StrictMode
;
73
final int oldMask =
StrictMode
.allowThreadDiskReadsMask();
96
StrictMode
.setThreadPolicyMask(oldMask);
/frameworks/base/core/java/android/os/
StrictMode.java
32
import android.os.
strictmode
.CleartextNetworkViolation;
33
import android.os.
strictmode
.ContentUriWithoutPermissionViolation;
34
import android.os.
strictmode
.CustomViolation;
35
import android.os.
strictmode
.DiskReadViolation;
36
import android.os.
strictmode
.DiskWriteViolation;
37
import android.os.
strictmode
.FileUriExposedViolation;
38
import android.os.
strictmode
.InstanceCountViolation;
39
import android.os.
strictmode
.IntentReceiverLeakedViolation;
40
import android.os.
strictmode
.LeakedClosableViolation;
41
import android.os.
strictmode
.NetworkViolation
[
all
...]
NetworkOnMainThreadException.java
29
* <p>Also see {@link
StrictMode
}.
/packages/apps/Launcher3/src/com/android/launcher3/
BaseDraggingActivity.java
27
import android.os.
StrictMode
;
199
StrictMode
.VmPolicy oldPolicy =
StrictMode
.getVmPolicy();
204
StrictMode
.setVmPolicy(new
StrictMode
.VmPolicy.Builder().detectAll()
217
StrictMode
.setVmPolicy(oldPolicy);
/packages/apps/Settings/src/com/android/settings/development/
StrictModePreferenceController.java
22
import android.os.
StrictMode
;
77
return SystemProperties.getBoolean(
StrictMode
.VISUAL_PROPERTY, false /* default */);
/external/libmojo/base/android/java/src/org/chromium/base/
BuildInfo.java
13
import android.os.
StrictMode
;
114
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.allowThreadDiskReads();
124
StrictMode
.setThreadPolicy(oldPolicy);
/frameworks/base/tests/net/java/android/net/nsd/
NsdServiceInfoTest.java
26
import android.os.
StrictMode
;
48
StrictMode
.ThreadPolicy policy = new
StrictMode
.ThreadPolicy.Builder().permitAll().build();
49
StrictMode
.setThreadPolicy(policy);
/packages/apps/Dialer/java/com/android/dialer/strictmode/
StrictModeComponent.java
17
package com.android.dialer.
strictmode
;
/frameworks/base/tests/net/java/com/android/server/connectivity/
DnsManagerTest.java
134
Settings.Global.putString(mContentResolver, PRIVATE_DNS_SPECIFIER, "
strictmode
.com");
136
new DnsManager.PrivateDnsConfig("
strictmode
.com", new InetAddress[] {
144
assertEquals("
strictmode
.com", fixedLp.getPrivateDnsServerName());
150
InetAddress.parseNumericAddress("6.6.6.6"), "
strictmode
.com", true));
158
InetAddress.parseNumericAddress("2001:db8:66:66::1"), "
strictmode
.com", true));
257
Settings.Global.putString(mContentResolver, PRIVATE_DNS_SPECIFIER, "
strictmode
.com");
260
assertEquals("
strictmode
.com", cfgStrict.hostname);
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerCtsTestsBase.java
36
import android.os.
StrictMode
;
37
import android.os.
StrictMode
.ThreadPolicy;
289
final ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
292
StrictMode
.setThreadPolicy(new
StrictMode
.ThreadPolicy.Builder()
299
StrictMode
.setThreadPolicy(oldPolicy);
304
final ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
306
StrictMode
.setThreadPolicy(new
StrictMode
.ThreadPolicy.Builder()
311
StrictMode
.setThreadPolicy(oldPolicy)
[
all
...]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java
23
import android.os.
StrictMode
;
81
StrictMode
.setThreadPolicy(new
StrictMode
.ThreadPolicy.Builder()
88
StrictMode
.setVmPolicy(new
StrictMode
.VmPolicy.Builder()
/frameworks/base/services/core/java/com/android/server/pm/
ShortcutBitmapSaver.java
24
import android.os.
StrictMode
;
25
import android.os.
StrictMode
.ThreadPolicy;
170
final
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
174
StrictMode
.setThreadPolicy(new ThreadPolicy.Builder(oldPolicy)
196
StrictMode
.setThreadPolicy(oldPolicy);
/external/jsoncpp/include/json/
features.h
35
static Features
strictMode
();
/frameworks/base/core/java/android/app/
QueuedWork.java
24
import android.os.
StrictMode
;
170
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.allowThreadDiskWrites();
174
StrictMode
.setThreadPolicy(oldPolicy);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java
24
import android.os.
StrictMode
;
93
final
StrictMode
.ThreadPolicy old =
StrictMode
.allowThreadDiskReads();
98
StrictMode
.setThreadPolicy(old);
/frameworks/base/core/java/com/android/server/
NetworkManagementSocketTagger.java
19
import android.os.
StrictMode
;
81
if (options.statsTag == -1 &&
StrictMode
.vmUntaggedSocketEnabled()) {
82
StrictMode
.onUntaggedSocket();
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
Metrics.java
44
* @param
strictMode
whether exception should be thrown when validation fails
46
public Metrics(boolean
strictMode
) {
47
mStrictMode =
strictMode
;
/tools/tradefederation/core/src/com/android/tradefed/util/
MetricsXmlParser.java
128
* @param
strictMode
whether to throw an exception when metric validation fails
134
Set<String> blacklistMetrics, boolean
strictMode
, List<File> metricXmlFiles)
136
Metrics metrics = new Metrics(
strictMode
);
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java
50
import android.os.
StrictMode
;
558
StrictMode
.ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
559
int oldPolicyMask =
StrictMode
.getThreadPolicyMask(); // hidden API
561
StrictMode
.ThreadPolicy policyA =
562
new
StrictMode
.ThreadPolicy.Builder().detectDiskReads().build();
563
StrictMode
.ThreadPolicy policyB =
564
new
StrictMode
.ThreadPolicy.Builder().detectDiskWrites().build();
566
StrictMode
.ThreadPolicy policy = ((i & 1) == 1) ? policyA : policyB;
570
StrictMode
.setThreadPolicy(policy)
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
SettingsSliceProviderTest.java
35
import android.os.
StrictMode
;
195
final
StrictMode
.ThreadPolicy oldThreadPolicy =
StrictMode
.getThreadPolicy();
200
final
StrictMode
.ThreadPolicy newThreadPolicy =
StrictMode
.getThreadPolicy();
491
@Implements(value =
StrictMode
.class, inheritImplementationMethods = true)
502
public static void setThreadPolicy(final
StrictMode
.ThreadPolicy policy) {
/development/cmds/monkey/src/com/android/commands/monkey/
Monkey.java
32
import android.os.
StrictMode
;
270
//
StrictMode
's disk checks end up catching this on
276
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskWrites();
279
StrictMode
.setThreadPolicy(savedPolicy);
315
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskWrites();
326
StrictMode
.setThreadPolicy(savedPolicy);
333
StrictMode
.ThreadPolicy savedPolicy =
StrictMode
.allowThreadDiskWrites()
[
all
...]
/frameworks/base/core/java/android/app/slice/
SliceProvider.java
41
import android.os.
StrictMode
;
42
import android.os.
StrictMode
.ThreadPolicy;
539
ThreadPolicy oldPolicy =
StrictMode
.getThreadPolicy();
541
StrictMode
.setThreadPolicy(new
StrictMode
.ThreadPolicy.Builder()
547
StrictMode
.setThreadPolicy(oldPolicy);
/frameworks/base/services/core/java/com/android/server/connectivity/
DnsManager.java
336
final boolean
strictMode
= privateDnsCfg.inStrictMode();
337
final String tlsHostname =
strictMode
? privateDnsCfg.hostname : null;
338
final boolean usingPrivateDns =
strictMode
|| validated;
375
final boolean
strictMode
= privateDnsCfg.inStrictMode();
376
final String tlsHostname =
strictMode
? privateDnsCfg.hostname : "";
378
strictMode
? NetworkUtils.makeStrings(
Completed in 1995 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>