Home
last modified time | relevance | path

Searched refs:cpc (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMultiAuthorityTest.java68 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient(PROVIDER1); in testAuthority1() local
69 assertNotNull("Couldn't acquire provider", cpc); in testAuthority1()
70 cpc.release(); in testAuthority1()
75 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient(PROVIDER2); in testAuthorityBoth() local
76 assertNotNull("Couldn't acquire provider 2", cpc); in testAuthorityBoth()
77 cpc.release(); in testAuthorityBoth()
78 cpc = mContentResolver.acquireContentProviderClient(PROVIDER1); in testAuthorityBoth()
79 assertNotNull("Couldn't acquire provider 1", cpc); in testAuthorityBoth()
80 cpc.release(); in testAuthorityBoth()
85 ContentProviderClient cpc = in testAuthorityNonExistent() local
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyRegistryManagerTest.java333 CarrierPrivilegesCallback cpc = new TestCarrierPrivilegesCallback(carrierPrivilegesQueue, in testCarrierPrivilegesCallback() local
342 tm -> tm.registerCarrierPrivilegesCallback(0, context.getMainExecutor(), cpc)); in testCarrierPrivilegesCallback()
409 telephonyManager, tm -> tm.unregisterCarrierPrivilegesCallback(cpc)); in testCarrierPrivilegesCallback()
436 tm.unregisterCarrierPrivilegesCallback(cpc); // redundant, but still allowed in testCarrierPrivilegesCallback()