| /packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
| D | SdkSandboxConfigurationTest.java | 93 final String ctx = SELinux.getContext(); in testCorrectSelinuxDomain() local 100 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testCorrectSdkVersion() local 116 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testClientAppIsVisibleToSdkSandbox() local 129 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testGetDataDir_CE() local 142 final Context ctx = in testGetDataDir_DE() local 155 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testCanWriteToDataDir_CE() local 170 final Context ctx = in testCanWriteToDataDir_DE() local 193 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testCanResolveAndBindToAdServicesApiPackage() local 247 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testCurrentWebViewProviderIsVisibleToSdkSandbox() local
|
| D | SdkSandboxRestrictionsTest.java | 125 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testNoImplicitIntents() local 167 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testUrlViewIntents() local 244 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSanboxCannotAccess_AppSpecificFiles() local 258 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSanboxCannotAccess_MediaStoreApi() local 290 final Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSanboxCannotAccess_StorageAccessFramework() local
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
| D | DataMigration.java | 105 static int run(Context ctx) { in run() 125 sharedPreferencesMigration(ctx.getPackageName() + "_preferences", ctx); in run() local 136 static boolean bluetoothDatabaseMigration(Context ctx) { in bluetoothDatabaseMigration() 158 static boolean oppDatabaseMigration(Context ctx) { in oppDatabaseMigration() 203 static boolean sharedPreferencesMigration(String prefKey, Context ctx) { in sharedPreferencesMigration() 238 static int migrationStatus(Context ctx) { in migrationStatus() 244 static boolean incrementeMigrationAttempt(Context ctx) { in incrementeMigrationAttempt() 254 static boolean isMigrationApkInstalled(Context ctx) { in isMigrationApkInstalled() 265 static void markMigrationStatus(Context ctx, int status) { in markMigrationStatus()
|
| /packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
| D | TetheringDependencies.java | 82 public UpstreamNetworkMonitor getUpstreamNetworkMonitor(Context ctx, StateMachine target, in getUpstreamNetworkMonitor() 103 public EntitlementManager getEntitlementManager(Context ctx, Handler h, SharedLog log, in getEntitlementManager() 111 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration() 127 public TetheringNotificationUpdater getNotificationUpdater(@NonNull final Context ctx, in getNotificationUpdater() 157 public PrivateAddressCoordinator getPrivateAddressCoordinator(Context ctx, in getPrivateAddressCoordinator() 182 public WearableConnectionManager getWearableConnectionManager(Context ctx) { in getWearableConnectionManager()
|
| D | TetheringConfiguration.java | 194 public TetheringConfiguration(@NonNull Context ctx, @NonNull SharedLog log, int id) { in TetheringConfiguration() 199 public TetheringConfiguration(@NonNull Context ctx, @NonNull SharedLog log, int id, in TetheringConfiguration() 464 public static boolean checkDunRequired(Context ctx) { in checkDunRequired() 623 private boolean isConnectivityFeatureEnabled(Context ctx, String featureVersionFlag) { in isConnectivityFeatureEnabled() 627 private boolean isTetheringFeatureEnabled(Context ctx, String featureVersionFlag) { in isTetheringFeatureEnabled() 631 private boolean isFeatureEnabled(Context ctx, String namespace, String featureVersionFlag) { in isFeatureEnabled() 636 private Resources getResources(Context ctx, int subId) { in getResources() 645 protected Resources getResourcesForSubIdWrapper(Context ctx, int subId) { in getResourcesForSubIdWrapper()
|
| /packages/modules/adb/pairing_auth/ |
| D | pairing_auth.cpp | 227 size_t pairing_auth_msg_size(PairingAuthCtx* ctx) { in pairing_auth_msg_size() 232 void pairing_auth_get_spake2_msg(PairingAuthCtx* ctx, uint8_t* out_buf) { in pairing_auth_get_spake2_msg() 239 bool pairing_auth_init_cipher(PairingAuthCtx* ctx, const uint8_t* their_msg, size_t msg_len) { in pairing_auth_init_cipher() 248 size_t pairing_auth_safe_encrypted_size(PairingAuthCtx* ctx, size_t len) { in pairing_auth_safe_encrypted_size() 253 bool pairing_auth_encrypt(PairingAuthCtx* ctx, const uint8_t* inbuf, size_t inlen, uint8_t* outbuf, in pairing_auth_encrypt() 272 size_t pairing_auth_safe_decrypted_size(PairingAuthCtx* ctx, const uint8_t* buf, size_t len) { in pairing_auth_safe_decrypted_size() 280 bool pairing_auth_decrypt(PairingAuthCtx* ctx, const uint8_t* inbuf, size_t inlen, uint8_t* outbuf, in pairing_auth_decrypt() 299 void pairing_auth_destroy(PairingAuthCtx* ctx) { in pairing_auth_destroy()
|
| /packages/modules/adb/libs/adbconnection/ |
| D | adbconnection_client.cpp | 62 auto ctx = std::make_unique<AdbConnectionClientContext>(); in adbconnection_client_new() local 185 void adbconnection_client_destroy(AdbConnectionClientContext* ctx) { in adbconnection_client_destroy() 189 int adbconnection_client_pollfd(AdbConnectionClientContext* ctx) { in adbconnection_client_pollfd() 193 int adbconnection_client_receive_jdwp_fd(AdbConnectionClientContext* ctx) { in adbconnection_client_receive_jdwp_fd()
|
| /packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
| D | AnomalyActions.java | 43 public static void doAction(Context ctx, String actionCode, long durationMs) { in doAction() 59 private static void doUnoptimizedBleScan(Context ctx, long durationMs) { in doUnoptimizedBleScan() 101 private static void doHoldWakelock(Context ctx, long durationMs) { in doHoldWakelock()
|
| /packages/modules/AdServices/adservices/service-core/jni/cpp/ |
| D | ohttp_jni.cpp | 39 const EVP_HPKE_KEM *ctx = EVP_hpke_x25519_hkdf_sha256(); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKemDhkemX25519HkdfSha256() local 48 const EVP_HPKE_KDF *ctx = EVP_hpke_hkdf_sha256(); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeKdfHkdfSha256() local 57 const EVP_HPKE_AEAD *ctx = EVP_hpke_aes_256_gcm(); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeAeadAes256Gcm() local 75 EVP_HPKE_CTX *ctx = reinterpret_cast<EVP_HPKE_CTX *>(hpkeCtxRef); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxFree() local 86 const EVP_HPKE_CTX *ctx = EVP_HPKE_CTX_new(); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxNew() local 104 EVP_HPKE_CTX *ctx = reinterpret_cast<EVP_HPKE_CTX *>(senderHpkeCtxRef); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSetupSenderWithSeed() local 197 EVP_HPKE_CTX *ctx = reinterpret_cast<EVP_HPKE_CTX *>(senderHpkeCtxRef); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeCtxSeal() local 258 EVP_HPKE_CTX *ctx = reinterpret_cast<EVP_HPKE_CTX *>(hpkeCtxRef); in Java_com_android_adservices_ohttp_OhttpJniWrapper_hpkeExport() local
|
| /packages/apps/Settings/src/com/android/settings/wifi/ |
| D | LinkablePreference.java | 44 public LinkablePreference(Context ctx, AttributeSet attrs, int defStyle) { in LinkablePreference() 50 public LinkablePreference(Context ctx, AttributeSet attrs) { in LinkablePreference() 55 public LinkablePreference(Context ctx) { in LinkablePreference()
|
| /packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/ |
| D | OemAppsManager.java | 34 public static Set<String> getDefaultAppsFor(@NonNull Context ctx, int type) { in getDefaultAppsFor() 49 private static ArraySet<String> getRes(Context ctx, int resId) { in getRes()
|
| /packages/modules/AdServices/sdksandbox/tests/inprocess/src/com/android/sdksandbox/inprocess/ |
| D | SdkSandboxInProcessPermissionsTest.java | 46 final Context ctx = getInstrumentation().getContext(); in testAllowedPermissions() local 108 final Context ctx = getInstrumentation().getContext(); in testNotAllowedPermissions() local
|
| /packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
| D | FakeTetheringConfiguration.java | 28 FakeTetheringConfiguration(Context ctx, SharedLog log, int id) { in FakeTetheringConfiguration() 45 protected Resources getResourcesForSubIdWrapper(Context ctx, int subId) { in getResourcesForSubIdWrapper()
|
| /packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/velocity/ |
| D | VelocityEngineFactoryTests.java | 52 org.apache.velocity.context.Context ctx = in renderBasicTemplate() local 69 org.apache.velocity.context.Context ctx = in testMaxParseDepth() local 95 org.apache.velocity.context.Context ctx = in testMaxForeach() local
|
| /packages/modules/Connectivity/service-t/src/com/android/server/net/ |
| D | BpfInterfaceMapUpdater.java | 49 public BpfInterfaceMapUpdater(Context ctx, Handler handler) { in BpfInterfaceMapUpdater() 54 public BpfInterfaceMapUpdater(Context ctx, Handler handler, Dependencies deps) { in BpfInterfaceMapUpdater() 83 public INetd getINetd(Context ctx) { in getINetd()
|
| D | NetworkStatsFactory.java | 110 public BpfNetMaps createBpfNetMaps(@NonNull Context ctx) { in createBpfNetMaps() 152 public NetworkStatsFactory(@NonNull Context ctx) { in NetworkStatsFactory() 157 public NetworkStatsFactory(@NonNull Context ctx, Dependencies deps) { in NetworkStatsFactory()
|
| /packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
| D | ContextSingleton.java | 66 public void grantFullAccess(Context ctx, Uri uri) { in grantFullAccess() 80 public void grantFullAccess(Context ctx, String uri, String packageName) { in grantFullAccess()
|
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
| D | ConnectivityFrameworkInitializerTiramisuTest.kt | 37 val ctx = InstrumentationRegistry.getInstrumentation().context as android.content.Context in testServicesRegistered() constant
|
| D | ConnectivityFrameworkInitializerTest.kt | 39 val ctx = InstrumentationRegistry.getInstrumentation().context as android.content.Context in testServicesRegistered() constant
|
| /packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
| D | ImpressionReporter.java | 312 private void performReporting(ReportingUris reportingUris, ReportingContext ctx) { in performReporting() 346 @NonNull ReportingContext ctx) { in notifySuccessToCaller() 378 ReportingUris reportingUris, ReportingContext ctx) { in doReport() 448 ReportingContext ctx = new ReportingContext(); in computeReportingUris() local
|
| /packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/ |
| D | LoginTest.java | 93 Context ctx = getApplicationContext(); in invalidEmail() local 102 Context ctx = getApplicationContext(); in invalidPassword() local
|
| /packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
| D | NetworkTraceHandler.cpp | 121 NetworkTraceHandler::Trace([&](NetworkTraceHandler::TraceContext ctx) { in __anon1baa155f0102() 156 NetworkTraceHandler::Trace([&](NetworkTraceHandler::TraceContext ctx) { in OnStop() 167 NetworkTraceHandler::TraceContext& ctx) { in Write()
|
| /packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
| D | PickerIntentFactory.java | 29 Intent newIntent(Context ctx, String collectionId); in newIntent()
|
| /packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/ |
| D | NearbyFrameworkInitializerTest.java | 40 Context ctx = InstrumentationRegistry.getInstrumentation().getContext(); in testServicesRegistered() local
|
| /packages/modules/Connectivity/framework/src/android/net/connectivity/ |
| D | TiramisuConnectivityInternalApiUtil.java | 44 public static IBinder getCompanionDeviceManagerProxyService(Context ctx) { in getCompanionDeviceManagerProxyService()
|