Home
last modified time | relevance | path

Searched refs:ca (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java93 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testCreateLive() local
96 assertEquals(2, ca.getCount()); in testCreateLive()
104 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); in testCreateNull() local
107 assertEquals(0, ca.getCount()); in testCreateNull()
115 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorLive() local
118 assertEquals(2, ca.getCount()); in testChangeCursorLive()
123 ca.changeCursor(c2); in testChangeCursorLive()
126 assertEquals(5, ca.getCount()); in testChangeCursorLive()
134 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorNull() local
137 assertEquals(2, ca.getCount()); in testChangeCursorNull()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_array_init.java41 byte[] ca = s.get_ca(); in checkInit()
42 _RS_ASSERT("ca[0] == 'a'", ca[0] == 'a'); in checkInit()
43 _RS_ASSERT("ca[1] == 7", ca[1] == 7); in checkInit()
44 _RS_ASSERT("ca[2] == 'b'", ca[2] == 'b'); in checkInit()
45 _RS_ASSERT("ca[3] == 'c'", ca[3] == 'c'); in checkInit()
46 _RS_ASSERT("ca.length == 4", ca.length == 4); in checkInit()
Darray_init.rscript22 char ca[4] = {'a', 7, 'b', 'c'};
40 _RS_ASSERT(ca[0] == 'a');
41 _RS_ASSERT(ca[1] == 7);
42 _RS_ASSERT(ca[2] == 'b');
43 _RS_ASSERT(ca[3] == 'c');
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_array_init.java43 byte[] ca = s.get_ca(); in checkInit()
44 _RS_ASSERT("ca[0] == 'a'", ca[0] == 'a'); in checkInit()
45 _RS_ASSERT("ca[1] == 7", ca[1] == 7); in checkInit()
46 _RS_ASSERT("ca[2] == 'b'", ca[2] == 'b'); in checkInit()
47 _RS_ASSERT("ca[3] == 'c'", ca[3] == 'c'); in checkInit()
48 _RS_ASSERT("ca.length == 4", ca.length == 4); in checkInit()
Darray_init.rscript24 char ca[4] = {'a', 7, 'b', 'c'};
42 _RS_ASSERT(ca[0] == 'a');
43 _RS_ASSERT(ca[1] == 7);
44 _RS_ASSERT(ca[2] == 'b');
45 _RS_ASSERT(ca[3] == 'c');
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_array_init.java44 byte[] ca = s.get_ca(); in checkInit()
45 _RS_ASSERT("ca[0] == 'a'", ca[0] == 'a'); in checkInit()
46 _RS_ASSERT("ca[1] == 7", ca[1] == 7); in checkInit()
47 _RS_ASSERT("ca[2] == 'b'", ca[2] == 'b'); in checkInit()
48 _RS_ASSERT("ca[3] == 'c'", ca[3] == 'c'); in checkInit()
49 _RS_ASSERT("ca.length == 4", ca.length == 4); in checkInit()
Darray_init.rscript6 char ca[4] = {'a', 7, 'b', 'c'};
24 _RS_ASSERT(ca[0] == 'a');
25 _RS_ASSERT(ca[1] == 7);
26 _RS_ASSERT(ca[2] == 'b');
27 _RS_ASSERT(ca[3] == 'c');
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java286 final CalendarAstronomer ca = new CalendarAstronomer( in calculateTwilightState() local
295 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
297 long sunriseTimeMillis = ca.getSunRiseSet(true /* rise */); in calculateTwilightState()
298 long sunsetTimeMillis = ca.getSunRiseSet(false /* rise */); in calculateTwilightState()
302 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
303 sunriseTimeMillis = ca.getSunRiseSet(true /* rise */); in calculateTwilightState()
306 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
307 sunsetTimeMillis = ca.getSunRiseSet(false /* rise */); in calculateTwilightState()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java92 public boolean match(X509Certificate ca) { in findBySubjectAndPublicKey()
93 return ca.getPublicKey().equals(cert.getPublicKey()); in findBySubjectAndPublicKey()
102 public boolean match(X509Certificate ca) {
104 cert.verify(ca.getPublicKey());
117 public boolean match(X509Certificate ca) {
119 cert.verify(ca.getPublicKey());
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java233 int ca = getComposingSpanStart(content); in deleteSurroundingText() local
235 if (cb < ca) { in deleteSurroundingText()
236 int tmp = ca; in deleteSurroundingText()
237 ca = cb; in deleteSurroundingText()
240 if (ca != -1 && cb != -1) { in deleteSurroundingText()
241 if (ca < a) a = ca; in deleteSurroundingText()
390 int ca = getComposingSpanStart(content); in deleteSurroundingTextInCodePoints() local
392 if (cb < ca) { in deleteSurroundingTextInCodePoints()
393 int tmp = ca; in deleteSurroundingTextInCodePoints()
394 ca = cb; in deleteSurroundingTextInCodePoints()
[all …]
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem68 87:bb:b9:a2:d0:ad:32:6e:eb:ca:ad:14:8e:96:d3:
76 85:88:51:5c:ca:7b:3b:02:ff:7a:9c:73:84:15:c5:
94 25:a1:e1:47:2f:66:ae:e7:51:fd:57:10:ca:72:ca:
95 b7:2e:99:b2:de:0b:ca:1e:9a:3c:c1:dc:a5:3c:06:
103 0e:cb:a4:41:b6:ca:bd:32:a0:de:0c:4f:54:d3:7f:
104 bc:a5:b0:ca:1e:ca:2d:c1:48:68:e1:28:3c:e8:12:
121 99:a6:a8:ca:73:65:11:32:45:7f:f4:f3:d1:02:89:
123 a1:3c:7d:39:3b:5f:b8:bf:39:a5:76:c2:83:16:ca:
130 96:ca:0c:35:e9:05:03:55:0b:0f:c0:ca:ed:a0:05:
176 6d:cb:45:29:7d:9b:31:d9:27:f3:a6:0d:26:ca:69:a0:07:cf:
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java147 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument
149 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
177 mUiccApplication = ca; in CatService()
205 UiccCardApplication ca = null; in getInstance() local
212 ca = uiccProfile.getApplicationIndex(0); in getInstance()
213 if (ca != null) { in getInstance()
214 fh = ca.getIccFileHandler(); in getInstance()
215 ir = ca.getIccRecords(); in getInstance()
228 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
233 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance()
[all …]
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rscript7 // CHECK: @ca = local_unnamed_addr global [4 x i8] c"a\07bc", align 1
24 char ca[4] = {'a', 7, 'b', 'c'};
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java244 for (String ca : aliases) { in removeKeys()
245 if (!TextUtils.isEmpty(ca)) { in removeKeys()
247 Log.d(TAG, "removing CA cert: " + ca); in removeKeys()
249 mKeyStore.delete(Credentials.CA_CERTIFICATE + ca, Process.WIFI_UID); in removeKeys()
/frameworks/compile/slang/tests/F_global_init/
Dglobal_init.rscript8 char ca[2] = {'a', 7};
/frameworks/compile/slang/tests/P_array_init/
Darray_init.rscript10 char ca[4] = {'a', 7, 'b', 'c'};
/frameworks/base/wifi/tests/assets/hsr1/
DHSR1ProfileWithCACert.conf50 Content-Type: application/x-x509-ca-cert
/frameworks/native/opengl/tests/angeles/
Ddemo.c245 float ca; in createSuperShape() local
284 ca = pa.z + 0.5f; in createSuperShape()
301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java349 ConnectAsync ca = new ConnectAsync(srcContext, srcHandler, dstPackageName, dstClassName); in connect() local
350 new Thread(ca).start(); in connect()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java540 char ca, cb; in compareLoosely() local
543 ca = a.charAt(ia); in compareLoosely()
545 if (!isDialable(ca)) { in compareLoosely()
560 if (cb != ca && ca != WILD && cb != WILD) { in compareLoosely()
/frameworks/base/mime/java-res/
Dandroid.mime.types131 application/x-x509-ca-cert crt
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password15 ����(����(`���8(���h,��^]�3ca|����H��8���`����8 ��#`8��!h ����P����…