/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/ |
D | AvrcpPassthroughTest.java | 17 AvrcpPassthrough ap = new AvrcpPassthrough(); in toKeyCode() local 18 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_UP)) in toKeyCode() 20 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_DOWN)) in toKeyCode() 22 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_LEFT)) in toKeyCode() 24 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_RIGHT)) in toKeyCode() 26 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_RIGHT_UP)) in toKeyCode() 28 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_RIGHT_DOWN)) in toKeyCode() 30 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_LEFT_UP)) in toKeyCode() 32 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_LEFT_DOWN)) in toKeyCode() 34 assertThat(ap.toKeyCode(BluetoothAvrcp.PASSTHROUGH_ID_0)) in toKeyCode() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 471 BluetoothMapAppParams ap) { in setProtected() argument 472 if ((ap.getParameterMask() & MASK_PROTECTED) != 0) { in setProtected() 489 BluetoothMapAppParams ap) { in setThreadId() argument 490 if ((ap.getParameterMask() & MASK_CONVERSATION_ID) != 0) { in setThreadId() 511 BluetoothMapAppParams ap) { in setThreadName() argument 513 if ((ap.getParameterMask() & MASK_CONVERSATION_NAME) != 0) { in setThreadName() 526 BluetoothMapAppParams ap) { in setSent() argument 527 if ((ap.getParameterMask() & MASK_SENT) != 0) { in setSent() 551 BluetoothMapAppParams ap) { in setRead() argument 563 e.setRead((read == 1), ((ap.getParameterMask() & MASK_READ) != 0)); in setRead() [all …]
|
/packages/modules/Connectivity/clatd/ |
D | logging.c | 32 va_list ap; in logmsg() local 34 va_start(ap, fmt); in logmsg() 35 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg() 36 va_end(ap); in logmsg() 47 va_list ap; in logmsg_dbg() local 49 va_start(ap, fmt); in logmsg_dbg() 50 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg_dbg() 51 va_end(ap); in logmsg_dbg()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiNoInternetDialog.java | 131 final AlertController.AlertParams ap = mAlertParams; in createDialog() local 133 ap.mTitle = mNetworkName; in createDialog() 134 ap.mMessage = getString(R.string.no_internet_access_text); in createDialog() 135 ap.mPositiveButtonText = getString(R.string.yes); in createDialog() 136 ap.mNegativeButtonText = getString(R.string.no); in createDialog() 138 ap.mTitle = mNetworkName; in createDialog() 139 ap.mMessage = getString(R.string.partial_connectivity_text); in createDialog() 140 ap.mPositiveButtonText = getString(R.string.yes); in createDialog() 141 ap.mNegativeButtonText = getString(R.string.no); in createDialog() 143 ap.mTitle = getString(R.string.lost_internet_access_title); in createDialog() [all …]
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | Log.h | 131 va_list ap; in log() local 132 va_start(ap, fmt); in log() 133 StringAppendV(&result, fmt, ap); in log() 134 va_end(ap); in log() 146 va_list ap; in info() local 147 va_start(ap, fmt); in info() 148 StringAppendV(&result, fmt, ap); in info() 149 va_end(ap); in info() 161 va_list ap; in warn() local 162 va_start(ap, fmt); in warn() [all …]
|
D | Syscalls.h | 86 virtual StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const = 0; 88 virtual StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const = 0; 98 va_list ap; in fprintf() local 99 va_start(ap, format); in fprintf() 100 auto result = vfprintf(file, format, ap); in fprintf() 101 va_end(ap); in fprintf() 108 va_list ap; in fscanf() local 109 va_start(ap, format); in fscanf() 110 auto result = vfscanf(file, format, ap); in fscanf() 111 va_end(ap); in fscanf()
|
D | MockSyscalls.h | 65 MOCK_CONST_METHOD3(vfprintf, StatusOr<int>(FILE* file, const char* format, va_list ap)); 66 MOCK_CONST_METHOD3(vfscanf, StatusOr<int>(FILE* file, const char* format, va_list ap));
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 102 float *ap; in db_AlignPointer_f() local 106 if(m) ap=(float*) (((unsigned long)p)-m+nr_bytes); in db_AlignPointer_f() 107 else ap=p; in db_AlignPointer_f() 108 return(ap); in db_AlignPointer_f() 113 short *ap; in db_AlignPointer_s() local 117 if(m) ap=(short*) (((unsigned long)p)-m+nr_bytes); in db_AlignPointer_s() 118 else ap=p; in db_AlignPointer_s() 119 return(ap); in db_AlignPointer_s()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 189 public String getWifiMacAddress(AccessPoint ap) { in getWifiMacAddress() argument 193 if (ap != null) { in getWifiMacAddress() 194 WifiConfiguration wifiConfig = ap.getConfig(); in getWifiMacAddress() 196 && isWifiMacAddressRandomized(ap)) { in getWifiMacAddress() 221 public int getWifiMacRandomizationSetting(AccessPoint ap) { in getWifiMacRandomizationSetting() argument 222 if (ap == null || ap.getConfig() == null) { in getWifiMacRandomizationSetting() 225 return ap.getConfig().macRandomizationSetting; in getWifiMacRandomizationSetting() 231 public boolean isWifiMacAddressRandomized(AccessPoint ap) { in isWifiMacAddressRandomized() argument 232 return getWifiMacRandomizationSetting(ap) != WifiConfiguration.RANDOMIZATION_NONE; in isWifiMacAddressRandomized() 238 public void applyMacRandomizationSetting(AccessPoint ap, boolean enable) { in applyMacRandomizationSetting() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 128 AlertController.AlertParams ap = mAlertParams; in onCreate() local 129 ap.mTitle = getString(R.string.allow_bind_app_widget_activity_allow_bind_title); in onCreate() 130 ap.mMessage = getString(R.string.allow_bind_app_widget_activity_allow_bind, label, in onCreate() 132 ap.mPositiveButtonText = getString(R.string.create); in onCreate() 133 ap.mNegativeButtonText = getString(android.R.string.cancel); in onCreate() 134 ap.mPositiveButtonListener = this; in onCreate() 135 ap.mNegativeButtonListener = this; in onCreate() 138 ap.mView = inflater.inflate(com.android.internal.R.layout.always_use_checkbox, null); in onCreate() 139 mAlwaysUse = (CheckBox) ap.mView.findViewById(com.android.internal.R.id.alwaysUse); in onCreate()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | ConnectivityListener.java | 232 public String getWifiMacAddress(AccessPoint ap) { in getWifiMacAddress() argument 236 if (ap != null) { in getWifiMacAddress() 237 WifiConfiguration wifiConfig = ap.getConfig(); in getWifiMacAddress() 261 public int getWifiMacRandomizationSetting(AccessPoint ap) { in getWifiMacRandomizationSetting() argument 262 if (ap == null || ap.getConfig() == null) { in getWifiMacRandomizationSetting() 265 return ap.getConfig().macRandomizationSetting; in getWifiMacRandomizationSetting() 269 public void applyMacRandomizationSetting(AccessPoint ap, boolean enable) { in applyMacRandomizationSetting() argument 270 if (ap != null && ap.getConfig() != null) { in applyMacRandomizationSetting() 271 ap.getConfig().macRandomizationSetting = enable in applyMacRandomizationSetting() 274 mWifiManager.updateNetwork(ap.getConfig()); in applyMacRandomizationSetting() [all …]
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | DumpWriter.cpp | 64 va_list ap; in println() local 65 va_start(ap, fmt); in println() 66 StringAppendV(&line, fmt, ap); in println() 67 va_end(ap); in println()
|
D | Syscalls.cpp | 206 StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const override { in vfprintf() 207 auto rv = ::vfprintf(file, format, ap); in vfprintf() 214 StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const override { in vfscanf() 215 auto rv = ::vfscanf(file, format, ap); in vfscanf()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 1103 ApplicationParameter ap = new ApplicationParameter(); in handleAppParaForResponse() local 1128 ap.addTriplet( in handleAppParaForResponse() 1159 ap.addTriplet( in handleAppParaForResponse() 1169 setDbCounters(ap); in handleAppParaForResponse() 1172 setFolderVersionCounters(ap); in handleAppParaForResponse() 1175 setCallversionCounters(ap, appParamValue); in handleAppParaForResponse() 1177 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getHeader()); in handleAppParaForResponse() 1216 ap.addTriplet( in handleAppParaForResponse() 1220 reply.setHeader(HeaderSet.APPLICATION_PARAMETER, ap.getHeader()); in handleAppParaForResponse() 1239 setDbCounters(ap); in handleAppParaForResponse() [all …]
|
/packages/modules/adb/ |
D | adb_io.cpp | 143 va_list ap; in WriteFdFmt() local 144 va_start(ap, fmt); in WriteFdFmt() 145 android::base::StringAppendV(&str, fmt, ap); in WriteFdFmt() 146 va_end(ap); in WriteFdFmt()
|
D | sysdeps_win32.cpp | 2744 static int _console_vfprintf(const HANDLE console, FILE* stream, const char* format, va_list ap) 2750 const char *format, va_list ap) { in _console_vfprintf() argument 2756 android::base::StringAppendV(&output_utf8, format, ap); in _console_vfprintf() 2770 int adb_vfprintf(FILE *stream, const char *format, va_list ap) { in adb_vfprintf() argument 2776 return _console_vfprintf(console, stream, format, ap); in adb_vfprintf() 2782 return vfprintf(stream, format, ap); in adb_vfprintf() 2788 int adb_vprintf(const char *format, va_list ap) { in adb_vprintf() argument 2789 return adb_vfprintf(stdout, format, ap); in adb_vprintf() 2795 va_list ap; in adb_fprintf() local 2796 va_start(ap, format); in adb_fprintf() [all …]
|
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdWidevineTests.java | 45 for (ITestDevice.ApexInfo ap : mActiveApexes) { in runTest() 46 if ("com.android.rkpd".equals(ap.name)) { in runTest() 49 } else if ("com.google.android.rkpd".equals(ap.name)) { in runTest()
|
D | AtomsHostTest.java | 54 for (ITestDevice.ApexInfo ap : mActiveApexes) { in setUp() 55 if ("com.android.rkpd".equals(ap.name)) { in setUp() 58 } else if ("com.google.android.rkpd".equals(ap.name)) { in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | AccessPointPreference.java | 242 static void setTitle(AccessPointPreference preference, AccessPoint ap) { in setTitle() argument 243 preference.setTitle(ap.getTitle()); in setTitle() 250 static CharSequence buildContentDescription(Context context, Preference pref, AccessPoint ap) { in buildContentDescription() argument 256 int level = ap.getLevel(); in buildContentDescription() 262 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
|
/packages/modules/adb/fastdeploy/deploypatchgenerator/ |
D | deploy_patch_generator.cpp | 41 va_list ap; in Log() local 42 va_start(ap, fmt); in Log() 43 vprintf(fmt, ap); in Log() 45 va_end(ap); in Log()
|
/packages/modules/adb/client/ |
D | file_sync_client.cpp | 897 va_list ap; in Printf() local 898 va_start(ap, fmt); in Printf() 899 android::base::StringAppendV(&s, fmt, ap); in Printf() 900 va_end(ap); in Printf() 908 va_list ap; in Println() local 909 va_start(ap, fmt); in Println() 910 android::base::StringAppendV(&s, fmt, ap); in Println() 911 va_end(ap); in Println() 920 va_list ap; in Error() local 921 va_start(ap, fmt); in Error() [all …]
|
/packages/modules/Bluetooth/system/embdrv/g722/ |
D | g722_decode.cc | 110 band->ap[2] = ap2; in block4() 119 wd3 = __ssat16(15360 - band->ap[2]); in block4() 124 band->ap[1] = ap1; in block4() 156 band->a[i] = band->ap[i]; in block4()
|
D | g722_encode.cc | 104 band->ap[2] = ap2; in block4() 113 wd3 = saturate(15360 - band->ap[2]); in block4() 118 band->ap[1] = ap1; in block4() 150 band->a[i] = band->ap[i]; in block4()
|
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 605 for (char** ap = hp->h_addr_list; *ap; ap++) { in pad_v4v6_hostent() local 610 *ap = nullptr; in pad_v4v6_hostent() 613 memcpy(bp, *ap, NS_INADDRSZ); in pad_v4v6_hostent() 615 *ap = bp; in pad_v4v6_hostent()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreCard.java | 857 PerBssid merge(AccessPoint ap) { in merge() argument 858 if (ap.hasId() && this.id != ap.getId()) { in merge() 861 if (ap.hasSecurityType()) { in merge() 862 SecurityType prev = ap.getSecurityType(); in merge() 873 for (Signal signal: ap.getEventStatsList()) { in merge() 885 if (ap.hasBandwidthStatsAll()) { in merge() 886 mergeBandwidthStatsAll(ap.getBandwidthStatsAll(), in merge() 903 AccessPoint ap; in finishPendingRead() 905 ap = AccessPoint.parseFrom(serialized); in finishPendingRead() 910 merge(ap); in finishPendingRead() [all …]
|