Searched refs:newBaseContext (Results 1 – 3 of 3) sorted by relevance
129 Context newBaseContext = getBaseContext().createCredentialProtectedStorageContext(); in createCredentialProtectedStorageContext() local130 return createContextWithNewBase(newBaseContext); in createCredentialProtectedStorageContext()142 Context newBaseContext = getBaseContext().createDeviceProtectedStorageContext(); in createDeviceProtectedStorageContext() local143 return createContextWithNewBase(newBaseContext); in createDeviceProtectedStorageContext()153 public SandboxedSdkContext createContextWithNewBase(@NonNull Context newBaseContext) { in createContextWithNewBase() argument155 newBaseContext, in createContextWithNewBase()
229 SandboxedSdkContext newBaseContext = in testAttachBaseContextWrapsTheBaseContextIfCustomizedSdkContextFlagIsEnabled() local231 assertThat(newBaseContext).isNotNull(); in testAttachBaseContextWrapsTheBaseContextIfCustomizedSdkContextFlagIsEnabled()232 assertThat(newBaseContext.getBaseContext()) in testAttachBaseContextWrapsTheBaseContextIfCustomizedSdkContextFlagIsEnabled()
294 Context newBaseContext = new TestContext(testService); in testCreateContextWithNewBase() local296 sdkContext.createContextWithNewBase(newBaseContext); in testCreateContextWithNewBase()298 assertThat(contextWithNewBase.getBaseContext()).isEqualTo(newBaseContext); in testCreateContextWithNewBase()