/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 207 TypedArray sa; field in PackageParser.ParsePackageItemArgs 1370 TypedArray sa = res.obtainAttributes(attrs, in parseBaseApk() local 1372 pkg.mVersionCode = pkg.applicationInfo.versionCode = sa.getInteger( in parseBaseApk() 1374 pkg.baseRevisionCode = sa.getInteger( in parseBaseApk() 1376 pkg.mVersionName = sa.getNonConfigurationString( in parseBaseApk() 1381 String str = sa.getNonConfigurationString( in parseBaseApk() 1392 pkg.mSharedUserLabel = sa.getResourceId( in parseBaseApk() 1396 pkg.installLocation = sa.getInteger( in parseBaseApk() 1403 sa.recycle(); in parseBaseApk() 1451 sa = res.obtainAttributes(attrs, in parseBaseApk() [all …]
|
D | PackageItemInfo.java | 346 CharSequence sa = aa.loadLabel(mPM); in compare() local 347 if (sa == null) sa = aa.name; in compare() 350 return sCollator.compare(sa.toString(), sb.toString()); in compare()
|
D | ResolveInfo.java | 409 CharSequence sa = a.loadLabel(mPM); in compare() local 410 if (sa == null) sa = a.activityInfo.name; in compare() 414 return mCollator.compare(sa.toString(), sb.toString()); in compare()
|
D | ApplicationInfo.java | 656 CharSequence sa = mPM.getApplicationLabel(aa); in compare() local 657 if (sa == null) { in compare() 658 sa = aa.packageName; in compare() 665 return sCollator.compare(sa.toString(), sb.toString()); in compare()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | quantize.c | 129 Word32 sa; in quantizeLines() local 132 sa = L_abs(mdctSpeL); in quantizeLines() 134 saShft = sa >> g; in quantizeLines() 155 qua = quantizeSingleLine(gain, sa); in quantizeLines() 177 Word32 sa; in quantizeLines() local 180 sa = L_abs(mdctSpeL); in quantizeLines() 181 saShft = sa << g; in quantizeLines() 202 qua = quantizeSingleLine(gain, sa); in quantizeLines() 351 Word32 sa; in calcSfbDist() local 353 sa = L_abs(spec[line]); in calcSfbDist() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncAdaptersCache.java | 48 TypedArray sa = res.obtainAttributes(attrs, in parseServiceAttributes() local 52 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority); in parseServiceAttributes() 54 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType); in parseServiceAttributes() 59 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true); in parseServiceAttributes() 61 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading, in parseServiceAttributes() 64 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable, in parseServiceAttributes() 67 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs, in parseServiceAttributes() 70 sa.getString(com.android.internal.R.styleable in parseServiceAttributes() 75 sa.recycle(); in parseServiceAttributes()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountAuthenticatorCache.java | 58 TypedArray sa = res.obtainAttributes(attrs, in parseServiceAttributes() local 62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType); in parseServiceAttributes() 63 final int labelId = sa.getResourceId( in parseServiceAttributes() 65 final int iconId = sa.getResourceId( in parseServiceAttributes() 67 final int smallIconId = sa.getResourceId( in parseServiceAttributes() 69 final int prefId = sa.getResourceId( in parseServiceAttributes() 71 final boolean customTokens = sa.getBoolean( in parseServiceAttributes() 79 sa.recycle(); in parseServiceAttributes()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | array_init.rs | 7 short sa[4] = {1, 1, 2, 3}; 29 _RS_ASSERT(sa[0] == 1); 30 _RS_ASSERT(sa[1] == 1); 31 _RS_ASSERT(sa[2] == 2); 32 _RS_ASSERT(sa[3] == 3);
|
D | UT_array_init.java | 51 short[] sa = s.get_sa(); in checkInit() local 52 _RS_ASSERT("sa[0] == 1", sa[0] == 1); in checkInit() 53 _RS_ASSERT("sa[1] == 1", sa[1] == 1); in checkInit() 54 _RS_ASSERT("sa[2] == 2", sa[2] == 2); in checkInit() 55 _RS_ASSERT("sa[3] == 3", sa[3] == 3); in checkInit() 56 _RS_ASSERT("sa.length == 4", sa.length == 4); in checkInit()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | array_init.rs | 7 short sa[4] = {1, 1, 2, 3}; 29 _RS_ASSERT(sa[0] == 1); 30 _RS_ASSERT(sa[1] == 1); 31 _RS_ASSERT(sa[2] == 2); 32 _RS_ASSERT(sa[3] == 3);
|
D | UT_array_init.java | 51 short[] sa = s.get_sa(); in checkInit() local 52 _RS_ASSERT("sa[0] == 1", sa[0] == 1); in checkInit() 53 _RS_ASSERT("sa[1] == 1", sa[1] == 1); in checkInit() 54 _RS_ASSERT("sa[2] == 2", sa[2] == 2); in checkInit() 55 _RS_ASSERT("sa[3] == 3", sa[3] == 3); in checkInit() 56 _RS_ASSERT("sa.length == 4", sa.length == 4); in checkInit()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 116 TypedArray sa = res.obtainAttributes(attrs, in WallpaperInfo() local 118 settingsActivityComponent = sa.getString( in WallpaperInfo() 121 thumbnailRes = sa.getResourceId( in WallpaperInfo() 124 authorRes = sa.getResourceId( in WallpaperInfo() 127 descriptionRes = sa.getResourceId( in WallpaperInfo() 131 sa.recycle(); in WallpaperInfo()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 128 struct sigaction sa; in SetSigChldHandler() local 129 memset(&sa, 0, sizeof(sa)); in SetSigChldHandler() 130 sa.sa_handler = SigChldHandler; in SetSigChldHandler() 132 int err = sigaction(SIGCHLD, &sa, NULL); in SetSigChldHandler() 140 struct sigaction sa; in UnsetSigChldHandler() local 141 memset(&sa, 0, sizeof(sa)); in UnsetSigChldHandler() 142 sa.sa_handler = SIG_DFL; in UnsetSigChldHandler() 144 int err = sigaction(SIGCHLD, &sa, NULL); in UnsetSigChldHandler()
|
D | android_net_LocalSocketImpl.cpp | 143 } sa; in socket_accept() local 162 addrlen = sizeof(sa); in socket_accept() 163 ret = accept(fd, &(sa.address), &addrlen); in socket_accept() 826 } sa; 828 memset(&sa, 0, sizeof(sa)); 830 socklen_t namelen = sizeof(sa); 831 err = getsockname(fd, &(sa.address), &namelen); 838 if (sa.address.sa_family != AF_UNIX) { 845 if (sa.un_address.sun_path[0] == '\0') {
|
/frameworks/native/cmds/ip-up-vpn/ |
D | ip-up-vpn.c | 41 static int set_address(struct sockaddr *sa, const char *address) { in set_address() argument 42 sa->sa_family = AF_INET; in set_address() 44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr); in set_address()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | ApduServiceInfo.java | 148 TypedArray sa = res.obtainAttributes(attrs, in ApduServiceInfo() local 151 mDescription = sa.getString( in ApduServiceInfo() 153 mRequiresDeviceUnlock = sa.getBoolean( in ApduServiceInfo() 156 mBannerResourceId = sa.getResourceId( in ApduServiceInfo() 158 sa.recycle(); in ApduServiceInfo() 160 TypedArray sa = res.obtainAttributes(attrs, in ApduServiceInfo() local 163 mDescription = sa.getString( in ApduServiceInfo() 166 mBannerResourceId = sa.getResourceId( in ApduServiceInfo() 168 sa.recycle(); in ApduServiceInfo()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerInfo.java | 95 TypedArray sa = res.obtainAttributes(attrs, in SpellCheckerInfo() local 97 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0); in SpellCheckerInfo() 98 settingsActivityComponent = sa.getString( in SpellCheckerInfo() 100 sa.recycle(); in SpellCheckerInfo()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 742 struct sigaction sa; in registerSigHandler() local 743 sigemptyset(&sa.sa_mask); in registerSigHandler() 744 sa.sa_flags = 0; in registerSigHandler() 745 sa.sa_handler = handleSignal; in registerSigHandler() 746 sigaction(SIGHUP, &sa, NULL); in registerSigHandler() 747 sigaction(SIGINT, &sa, NULL); in registerSigHandler() 748 sigaction(SIGQUIT, &sa, NULL); in registerSigHandler() 749 sigaction(SIGTERM, &sa, NULL); in registerSigHandler()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceActivity.java | 532 TypedArray sa = obtainStyledAttributes(null, in onCreate() local 537 final int layoutResId = sa.getResourceId( in onCreate() 541 mPreferenceHeaderItemResId = sa.getResourceId( in onCreate() 544 mPreferenceHeaderRemoveEmptyIcon = sa.getBoolean( in onCreate() 548 sa.recycle(); in onCreate() 832 TypedArray sa = obtainStyledAttributes( in loadHeadersFromResource() local 834 header.id = sa.getResourceId( in loadHeadersFromResource() 837 TypedValue tv = sa.peekValue( in loadHeadersFromResource() 846 tv = sa.peekValue( in loadHeadersFromResource() 855 tv = sa.peekValue( in loadHeadersFromResource() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 166 TypedArray sa = res.obtainAttributes(attrs, in InputMethodInfo() local 168 settingsActivityComponent = sa.getString( in InputMethodInfo() 170 isDefaultResId = sa.getResourceId( in InputMethodInfo() 172 supportsSwitchingToNextInputMethod = sa.getBoolean( in InputMethodInfo() 175 sa.recycle(); in InputMethodInfo()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 127 String sa = null; in WifiP2pGroup() local 134 sa = nameValue[1]; in WifiP2pGroup() 149 mOwner = new WifiP2pDevice(sa); in WifiP2pGroup()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 215 InetSocketAddress sa = (InetSocketAddress)prefProxy.address(); in getPreferredHttpHost() local 216 return new HttpHost(sa.getHostName(), sa.getPort(), "http"); in getPreferredHttpHost()
|
/frameworks/compile/slang/lit-tests/P_array_init/ |
D | array_init.rs | 25 short sa[4] = {1, 1, 2, 3};
|
/frameworks/compile/slang/tests/P_array_init/ |
D | array_init.rs | 11 short sa[4] = {1, 1, 2, 3};
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 276 TypedArray sa = res.obtainAttributes(attrs, in DeviceAdminInfo() local 279 mVisible = sa.getBoolean( in DeviceAdminInfo() 282 sa.recycle(); in DeviceAdminInfo()
|