Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 704) sorted by relevance

12345678910>>...29

/cts/tests/src/android/renderscript/cts/
Dverify.rs40 bool e = !compare_float(pref.x, ptst.x);
41 e |= !compare_float(pref.y, ptst.y);
42 e |= !compare_float(pref.z, ptst.z);
43 e |= !compare_float(pref.w, ptst.w);
44 if (e) {
62 bool e = !compare_float(pref.x, ptst.x);
63 e |= !compare_float(pref.y, ptst.y);
64 e |= !compare_float(pref.z, ptst.z);
65 if (e) {
83 bool e = !compare_float(pref.x, ptst.x);
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DNoWifiStatePermissionTest.java50 } catch (SecurityException e) { in testGetWifiState()
64 } catch (SecurityException e) { in testGetConfiguredNetworks()
78 } catch (SecurityException e) { in testGetConnectionInfo()
92 } catch (SecurityException e) { in testGetScanResults()
106 } catch (SecurityException e) { in testGetDhcpInfo()
120 } catch (SecurityException e) { in testDisconnect()
134 } catch (SecurityException e) { in testReconnect()
148 } catch (SecurityException e) { in testReassociate()
162 } catch (SecurityException e) { in testAddNetwork()
178 } catch (SecurityException e) { in testUpdateNetwork()
[all …]
DNoLocationPermissionTest.java73 } catch (SecurityException e) { in testListenCellLocation()
80 } catch (SecurityException e) { in testListenCellLocation()
100 } catch (SecurityException e) { in testListenCellLocation2()
107 } catch (SecurityException e) { in testListenCellLocation2()
130 } catch (SecurityException e) { in checkRequestLocationUpdates()
138 } catch (SecurityException e) { in checkRequestLocationUpdates()
178 } catch (SecurityException e) { in testAddProximityAlert()
199 } catch (SecurityException e) { in checkGetLastKnownLocation()
241 } catch (SecurityException e) { in checkGetProvider()
285 } catch (SecurityException e) { in checkIsProviderEnabled()
[all …]
/cts/tools/dasm/src/java_cup/
Dsymbol_set.java77 for (Enumeration e = all(); e.hasMoreElements(); ) in is_subset_of()
78 if (!other.contains((symbol)e.nextElement())) in is_subset_of()
139 for (Enumeration e = other.all(); e.hasMoreElements(); ) in add()
140 result = add((symbol)e.nextElement()) || result; in add()
155 for (Enumeration e = other.all(); e.hasMoreElements(); ) in remove()
156 remove((symbol)e.nextElement()); in remove()
169 } catch (internal_error e) { in equals()
171 e.crash(); in equals()
194 Enumeration e; in hashCode() local
197 for (e = all(), cnt=0 ; e.hasMoreElements() && cnt<5; cnt++) in hashCode()
[all …]
Dlalr_item_set.java91 for (Enumeration e = all(); e.hasMoreElements(); ) in is_subset_of()
92 if (!other.contains((lalr_item)e.nextElement())) in is_subset_of()
170 for (Enumeration e = other.all(); e.hasMoreElements(); ) in add()
171 add((lalr_item)e.nextElement()); in add()
184 for (Enumeration e = other.all(); e.hasMoreElements(); ) in remove()
185 remove((lalr_item)e.nextElement()); in remove()
307 } catch (internal_error e) { in equals()
309 e.crash(); in equals()
332 Enumeration e; in hashCode() local
339 for (e = all(), cnt=0 ; e.hasMoreElements() && cnt<5; cnt++) in hashCode()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorPeer.java63 } catch (IOException e) { in setupReadPipe()
64 throw new RuntimeException(e); in setupReadPipe()
74 } catch (IOException e) { in setupWritePipe()
75 throw new RuntimeException(e); in setupWritePipe()
85 } catch (IOException e) { in setupSocket()
86 throw new RuntimeException(e); in setupSocket()
98 } catch (IOException e) { in setupFile()
99 throw new RuntimeException(e); in setupFile()
127 } catch (IOException e) { in read()
128 throw new RuntimeException(e); in read()
[all …]
DFileAccessPermissionTest.java61 } catch (IOException e) { in testSystemDirAccess()
115 } catch (IOException e) { in testAccessAppDataDir()
116 fail(e.getMessage()); in testAccessAppDataDir()
130 } catch (IOException e) { in testAccessAppDataDir()
141 } catch (IOException e) { in testAccessAppDataDir()
142 fail(e.getMessage()); in testAccessAppDataDir()
151 } catch (IOException e) { in testAccessAppDataDir()
152 fail(e.getMessage()); in testAccessAppDataDir()
174 } catch (FileNotFoundException e) { in writeFileCheck()
175 fail(e.getMessage()); in writeFileCheck()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DGeocoderTest.java39 } catch (NullPointerException e) { in testConstructor()
58 } catch (IOException e) { in testGetFromLocation()
72 } catch (IllegalArgumentException e) { in testGetFromLocation()
79 } catch (IllegalArgumentException e) { in testGetFromLocation()
86 } catch (IllegalArgumentException e) { in testGetFromLocation()
93 } catch (IllegalArgumentException e) { in testGetFromLocation()
111 } catch (IOException e) { in testGetFromLocationName()
123 } catch (IllegalArgumentException e) { in testGetFromLocationName()
129 } catch (IllegalArgumentException e) { in testGetFromLocationName()
135 } catch (IllegalArgumentException e) { in testGetFromLocationName()
[all …]
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
DSurfaceConfigTest.java34 } catch (RSIllegalArgumentException e) { in testSetColor()
40 } catch (RSIllegalArgumentException e) { in testSetColor()
46 } catch (RSIllegalArgumentException e) { in testSetColor()
59 } catch (RSIllegalArgumentException e) { in testSetAlpha()
65 } catch (RSIllegalArgumentException e) { in testSetAlpha()
71 } catch (RSIllegalArgumentException e) { in testSetAlpha()
84 } catch (RSIllegalArgumentException e) { in testSetDepth()
90 } catch (RSIllegalArgumentException e) { in testSetDepth()
96 } catch (RSIllegalArgumentException e) { in testSetDepth()
111 } catch (RSIllegalArgumentException e) { in testSetSamples()
[all …]
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java65 } catch (FileNotFoundException e) { in testAccessPrivateData()
67 } catch (SecurityException e) { in testAccessPrivateData()
80 } catch (FileNotFoundException e) { in testAccessPublicData()
81 fail("Was not able to access another app's public file: " + e); in testAccessPublicData()
82 } catch (SecurityException e) { in testAccessPublicData()
83 fail("Was not able to access another app's public file: " + e); in testAccessPublicData()
101 } catch (FileNotFoundException e) { in accessPrivateTrafficStats()
102 fail("Was not able to access another app's public file: " + e); in accessPrivateTrafficStats()
103 } catch (SecurityException e) { in accessPrivateTrafficStats()
104 fail("Was not able to access another app's public file: " + e); in accessPrivateTrafficStats()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DExceptionTest.java30 } catch (RSIllegalArgumentException e) { in testExceptions()
31 assertEquals(e.getMessage(), "IAE"); in testExceptions()
36 } catch (RSInvalidStateException e) { in testExceptions()
37 assertEquals(e.getMessage(), "ISE"); in testExceptions()
42 } catch (RSRuntimeException e) { in testExceptions()
43 assertEquals(e.getMessage(), "RE"); in testExceptions()
48 } catch (RSDriverException e) { in testExceptions()
49 assertEquals(e.getMessage(), "DE"); in testExceptions()
DIntrinsicBase.java49 Element e; in makeElement() local
51 e = Element.createVector(mRS, dt, vecSize); in makeElement()
54 e = Element.U8(mRS); in makeElement()
56 e = Element.F32(mRS); in makeElement()
59 return e; in makeElement()
62 protected Allocation makeAllocation(int w, int h, Element e) { in makeAllocation() argument
63 Type.Builder tb = new Type.Builder(mRS, e); in makeAllocation()
70 protected void makeSource(int w, int h, Element e) { in makeSource() argument
74 mAllocSrc = makeAllocation(w, h, e); in makeSource()
78 int vs = e.getVectorSize(); in makeSource()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DEnvReverbTest.java62 } catch (IllegalStateException e) { in test0_0ConstructorAndRelease()
65 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
67 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
101 } catch (IllegalArgumentException e) { in test1_0Room()
103 } catch (UnsupportedOperationException e) { in test1_0Room()
105 } catch (IllegalStateException e) { in test1_0Room()
131 } catch (IllegalArgumentException e) { in test1_1Decay()
133 } catch (UnsupportedOperationException e) { in test1_1Decay()
135 } catch (IllegalStateException e) { in test1_1Decay()
165 } catch (IllegalArgumentException e) { in test1_2Reverb()
[all …]
DVisualizerTest.java60 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
62 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
84 } catch (IllegalArgumentException e) { in test1_0CaptureRates()
86 } catch (UnsupportedOperationException e) { in test1_0CaptureRates()
88 } catch (IllegalStateException e) { in test1_0CaptureRates()
110 } catch (IllegalArgumentException e) { in test1_1CaptureSize()
112 } catch (UnsupportedOperationException e) { in test1_1CaptureSize()
114 } catch (IllegalStateException e) { in test1_1CaptureSize()
143 } catch (IllegalStateException e) { in test2_0PollingCapture()
145 } catch (InterruptedException e) { in test2_0PollingCapture()
[all …]
DEqualizerTest.java65 } catch (IllegalStateException e) { in test0_0ConstructorAndRelease()
68 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
70 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
102 } catch (IllegalArgumentException e) { in test1_0BandLevel()
104 } catch (UnsupportedOperationException e) { in test1_0BandLevel()
106 } catch (IllegalStateException e) { in test1_0BandLevel()
127 } catch (IllegalArgumentException e) { in test1_1BandFrequency()
129 } catch (UnsupportedOperationException e) { in test1_1BandFrequency()
131 } catch (IllegalStateException e) { in test1_1BandFrequency()
152 } catch (IllegalArgumentException e) { in test1_2Presets()
[all …]
DPresetReverbTest.java61 } catch (IllegalStateException e) { in test0_0ConstructorAndRelease()
64 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
66 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
89 } catch (IllegalArgumentException e) { in test1_0Presets()
91 } catch (UnsupportedOperationException e) { in test1_0Presets()
93 } catch (IllegalStateException e) { in test1_0Presets()
113 } catch (IllegalArgumentException e) { in test1_1Properties()
115 } catch (UnsupportedOperationException e) { in test1_1Properties()
117 } catch (IllegalStateException e) { in test1_1Properties()
136 } catch (IllegalStateException e) { in test2_0SetEnabledGetEnabled()
[all …]
DBassBoostTest.java62 } catch (IllegalStateException e) { in test0_0ConstructorAndRelease()
66 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
68 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
100 } catch (IllegalArgumentException e) { in test1_0Strength()
102 } catch (UnsupportedOperationException e) { in test1_0Strength()
104 } catch (IllegalStateException e) { in test1_0Strength()
134 } catch (IllegalArgumentException e) { in test1_1Properties()
136 } catch (UnsupportedOperationException e) { in test1_1Properties()
138 } catch (IllegalStateException e) { in test1_1Properties()
152 } catch (IllegalStateException e) { in test1_2SetStrengthAfterRelease()
[all …]
DVirtualizerTest.java62 } catch (IllegalStateException e) { in test0_0ConstructorAndRelease()
65 } catch (IllegalArgumentException e) { in test0_0ConstructorAndRelease()
67 } catch (UnsupportedOperationException e) { in test0_0ConstructorAndRelease()
98 } catch (IllegalArgumentException e) { in test1_0Strength()
100 } catch (UnsupportedOperationException e) { in test1_0Strength()
102 } catch (IllegalStateException e) { in test1_0Strength()
131 } catch (IllegalArgumentException e) { in test1_1Properties()
133 } catch (UnsupportedOperationException e) { in test1_1Properties()
135 } catch (IllegalStateException e) { in test1_1Properties()
148 } catch (IllegalStateException e) { in test1_2SetStrengthAfterRelease()
[all …]
DAudioEffectTest.java126 } catch (IllegalArgumentException e) { in getAudioRecord()
155 } catch (IllegalStateException e) { in test1_0ConstructorFromType()
163 } catch (IllegalArgumentException e) { in test1_0ConstructorFromType()
165 } catch (UnsupportedOperationException e) { in test1_0ConstructorFromType()
193 } catch (IllegalStateException e) { in test1_1ConstructorFromUuid()
201 } catch (IllegalArgumentException e) { in test1_1ConstructorFromUuid()
203 } catch (UnsupportedOperationException e) { in test1_1ConstructorFromUuid()
221 } catch (IllegalArgumentException e) { in test1_2ConstructorUnknownType()
223 } catch (UnsupportedOperationException e) { in test1_2ConstructorUnknownType()
241 } catch (IllegalStateException e) { in test1_3GetEnabledAfterRelease()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java289 } catch (IOException e) { in AcceptThread()
290 Log.e(TAG, "Socket Type: " + mSocketType + " listen() failed", e); in AcceptThread()
308 } catch (IOException e) { in run()
309 Log.e(TAG, "Socket Type: " + mSocketType + " accept() failed", e); in run()
328 } catch (IOException e) { in run()
329 Log.e(TAG, "Could not close unwanted socket", e); in run()
346 } catch (IOException e) { in cancel()
347 Log.e(TAG, "Socket Type" + mSocketType + "close() of server failed", e); in cancel()
376 } catch (IOException e) { in ConnectThread()
377 Log.e(TAG, "Socket Type: " + mSocketType + "create() failed", e); in ConnectThread()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DDnsTest.java59 } catch (UnknownHostException e) {} in testDnsWorks()
65 if (DBG) Log.e(TAG, "www.google.com gave " + addr.toString()); in testDnsWorks()
76 } catch (UnknownHostException e) {} in testDnsWorks()
83 if (DBG) Log.e(TAG, "ipv6.google.com gave " + addr.toString()); in testDnsWorks()
172 } catch (UnknownHostException e) { in skiptestDnsPerf()
173 Log.e(TAG, "failed first lookup of " + URLS[urlIndex]); in skiptestDnsPerf()
179 Log.e(TAG, "failed SECOND lookup of " + URLS[urlIndex]); in skiptestDnsPerf()
198 } catch (UnknownHostException e) { in skiptestDnsPerf()
199 Log.e(TAG, "Exception making reverseDNS list: " + e.toString()); in skiptestDnsPerf()
211 } catch (UnknownHostException e) { in skiptestDnsPerf()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java66 } catch (ClassCastException e) { in testDumpProtected()
67 } catch (ClassNotFoundException e) { in testDumpProtected()
68 } catch (NoSuchMethodException e) { in testDumpProtected()
69 } catch (InvocationTargetException e) { in testDumpProtected()
70 } catch (IllegalAccessException e) { in testDumpProtected()
85 } catch (ClassCastException e) { in testDumpProtected()
86 } catch (ClassNotFoundException e) { in testDumpProtected()
87 } catch (NoSuchMethodException e) { in testDumpProtected()
88 } catch (InvocationTargetException e) { in testDumpProtected()
89 } catch (IllegalAccessException e) { in testDumpProtected()
[all …]
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); in handleMessage()
108 } catch (RemoteException e) { in notifyClientOfFailure()
109 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfFailure()
116 } catch (RemoteException e) { in notifyClientOfSuccess()
117 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfSuccess()
146 Log.e(TAG, "testFileReadAccess: test file does not exists."); in testFileReadAccess()
150 Log.e(TAG, "testFileReadAccess: no permission to read test file."); in testFileReadAccess()
162 Log.e(TAG, "testFileReadAccess: failed to read test file, IOException."); in testFileReadAccess()
166 Log.e(TAG, "testFileReadAccess: failed to read test file."); in testFileReadAccess()
170 Log.e(TAG, "testFileReadAccess: wrong data read from test file."); in testFileReadAccess()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DInflateExceptionTest.java29 } catch (InflateException e) { in testInflateException()
30 assertSame(ne, e); in testInflateException()
46 } catch (InflateException e) { in testInflateException()
47 assertSame(ne, e); in testInflateException()
60 } catch (InflateException e) { in testInflateException()
61 assertSame(ne, e); in testInflateException()
74 } catch (InflateException e) { in testInflateException()
75 assertSame(ne, e); in testInflateException()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java52 } catch (NullPointerException e) { in testConstructor1()
65 } catch (StringIndexOutOfBoundsException e) { in testConstructor2()
72 } catch (StringIndexOutOfBoundsException e) { in testConstructor2()
79 } catch (StringIndexOutOfBoundsException e) { in testConstructor2()
117 } catch (IndexOutOfBoundsException e) { in testSetSpan()
124 } catch (IndexOutOfBoundsException e) { in testSetSpan()
143 } catch (NullPointerException e) { in testValueOf()
150 } catch (NullPointerException e) { in testValueOf()
173 } catch (IndexOutOfBoundsException e) { in testReplace1()
180 } catch (IndexOutOfBoundsException e) { in testReplace1()
[all …]

12345678910>>...29