Home
last modified time | relevance | path

Searched defs:ai (Results 1 – 25 of 54) sorted by relevance

123

/packages/modules/DnsResolver/tests/
Dresolv_test_utils.cpp36 std::string ToString(const addrinfo* ai) { in ToString()
46 std::string ToString(const ScopedAddrinfo& ai) { in ToString()
80 std::vector<std::string> ToStrings(const addrinfo* ai) { in ToStrings()
102 std::vector<std::string> ToStrings(const ScopedAddrinfo& ai) { in ToStrings()
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java114 final ApplicationInfo ai = mPackageManager.getApplicationInfo( in writeMockLocation() local
126 final ApplicationInfo ai = mPackageManager.getApplicationInfo( in getAppLabel() local
152 final ApplicationInfo ai = mPackageManager.getApplicationInfo( in removeMockLocationForApp() local
DSelectDebugAppPreferenceController.java106 final ApplicationInfo ai = mPackageManager.getApplicationInfo(debugApp, in getAppLabel() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPackageUtils.java35 final ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName, in isPackageInstalled() local
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageInstallStateChangedTask.java49 ApplicationInfo ai = app.getContext() in execute() local
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java62 ActivityInfo ai; in getDeviceAdminInfo() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DThemeOverlayManagerTest.java187 ApplicationInfo ai = mock(ApplicationInfo.class); in testGetValidOverlay_system_valid() local
201 ApplicationInfo ai = mock(ApplicationInfo.class); in testGetValidOverlay_data_invalid() local
DDirectoryMessagesUiTest.java92 final ApplicationInfo ai = in getTestAppName() local
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java238 private static boolean isSystemApp(ApplicationInfo ai) { in isSystemApp()
242 private static boolean isUpdatedSystemApp(ApplicationInfo ai) { in isUpdatedSystemApp()
287 ApplicationInfo ai; in getCallingAppName() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRequestIgnoreBatteryOptimizations.java68 ApplicationInfo ai; in onCreate() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DApplicationUtils.java38 final ActivityInfo ai = context.getPackageManager().getActivityInfo(cn, 0); in getActivityTitleResId() local
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp180 #define GET_AI(ai, afd, addr) \ argument
190 #define GET_PORT(ai, serv) \ argument
206 void freeaddrinfo(struct addrinfo* ai) { in freeaddrinfo()
343 addrinfo ai = hints ? *hints : addrinfo{}; in android_getaddrinfofornetcontext() local
427 addrinfo ai = hints ? *hints : addrinfo{}; in resolv_getaddrinfo() local
669 static int get_canonname(const struct addrinfo* pai, struct addrinfo* ai, const char* str) { in get_canonname()
684 struct addrinfo* ai; in get_ai() local
704 static int get_portmatch(const struct addrinfo* ai, const char* servname) { in get_portmatch()
711 static int get_port(const struct addrinfo* ai, const char* servname, int matchonly) { in get_port()
844 struct addrinfo ai; in getanswer() local
[all …]
DDnsProxyListener.cpp185 for (const addrinfo* ai = result; ai; ai = ai->ai_next) { in extractGetAddrInfoAnswers() local
394 for (const addrinfo* ai = res; ai; ai = ai->ai_next) in onlyIPv4Answers() local
431 for (const addrinfo* ai = res; ai; ai = ai->ai_next) { in onlyNonSpecialUseIPv4Addresses() local
459 const addrinfo* ai; in logDnsQueryResult() local
529 for (addrinfo* ai = result; ai; ai = ai->ai_next) { in synthesizeNat64PrefixWithARecord() local
643 static bool sendaddrinfo(SocketClient* c, addrinfo* ai) { in sendaddrinfo()
766 addrinfo* ai = result; in run() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListPreferenceController.java250 final ActivityInfo ai; in addActiveAdminsForProfile() local
315 private static DeviceAdminInfo createDeviceAdminInfo(Context context, ActivityInfo ai) { in createDeviceAdminInfo()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListPreferenceController.java242 final ActivityInfo ai; in addActiveAdminsForProfile() local
308 private static DeviceAdminInfo createDeviceAdminInfo(Context context, ActivityInfo ai) { in createDeviceAdminInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsIcuTest.java30 final AlphabeticIndex ai = new AlphabeticIndex(Locale.forLanguageTag(localeTags[0])); in buildIndex() local
/packages/apps/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java114 ApplicationInfo ai = pm.getApplicationInfo(mCallingPackage, 0); in onCreate() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeGeneratorFragmentTest.java102 ActivityInfo ai = new ActivityInfo(); in createActivityInfo() local
/packages/apps/Settings/src/com/android/settings/applications/
DAppStoreUtil.java52 ApplicationInfo ai = context.getPackageManager().getApplicationInfo( in getInstallerPackageName() local
DRunningProcessesView.java190 ActiveItem ai = new ActiveItem(); in bind() local
311 ActiveItem ai = vh.bind(mState, item, mBuilder); in bindView() local
494 ActiveItem ai = it.next(); in updateTimes() local
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java53 ApplicationInfo ai; in onCreate() local
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java88 final ApplicationInfo ai = pm.getApplicationInfo(info.getPackageName(), 0); in getValidOverlay() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java113 final ApplicationInfo ai = si != null ? si.applicationInfo : null; in getInputMethodIcon() local
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceHandlerResolver.java276 ActivityInfo ai = resolveInfo.activityInfo; in getDeviceMatches() local
319 private UsbDeviceFilter packageMatches(ActivityInfo ai, String metaDataName, UsbDevice device, in packageMatches()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DBridgedAppsPreferenceControllerTest.java82 ApplicationInfo ai = new ApplicationInfo(); in setUp() local

123