Searched refs:cpc (Results 1 – 2 of 2) sorted by relevance
68 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient(PROVIDER1); in testAuthority1() local69 assertNotNull("Couldn't acquire provider", cpc); in testAuthority1()70 cpc.release(); in testAuthority1()75 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient(PROVIDER2); in testAuthorityBoth() local76 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 …]
333 CarrierPrivilegesCallback cpc = new TestCarrierPrivilegesCallback(carrierPrivilegesQueue, in testCarrierPrivilegesCallback() local342 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()