Home
last modified time | relevance | path

Searched refs:attributionContext (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/permission5/BlamedPermissionApp/src/android/permission5/cts/blamed/
DBringToForegroundActivity.kt33 val attributionContext = createContext( in onCreate() constant
44 result.putParcelable(ATTRIBUTION_SOURCE, attributionContext.attributionSource) in onCreate()
/cts/tests/tests/permission5/BlamedPermissionApp2/src/android/permission5/cts/blamed2/
DMyRecognitionService.kt58 val attributionContext = createContext(ContextParams.Builder() in performOperationMicRecoWithAttribution() constant
64 .setContext(attributionContext) in performOperationMicRecoWithAttribution()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java97 final Context attributionContext = getContext().createContext( in setUp() local
102 mAttributionSource = attributionContext.getAttributionSource(); in setUp()
103 mContentResolver = spy(new MockContentResolver(attributionContext)); in setUp()
DContextTest.java214 final Context attributionContext = getContext().createContext(params); in testCreateAttributionContextFromParams() local
216 assertEquals(params, attributionContext.getParams()); in testCreateAttributionContextFromParams()
218 attributionContext.getAttributionSource().getNext()); in testCreateAttributionContextFromParams()
220 attributionContext.getAttributionSource().getAttributionTag()); in testCreateAttributionContextFromParams()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java1781 Context attributionContext = mContext.createAttributionContext(attributionTag); in accessLocation() local
1782 attributionContext.getSystemService(LocationManager.class).getLastKnownLocation( in accessLocation()