/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
PrimitiveArrayTest.java | 30 private final String pkg = "!!org.yaml.snakeyaml.array"; field in class:PrimitiveArrayTest 42 String testInput = "- " + pkg + ".ByteArr [ " + Arrays.toString(bytes) + " ]\n" + "- " 43 + pkg + ".ShortArr [ " + Arrays.toString(shorts) + " ]\n" + "- " + pkg 44 + ".IntArr [ " + Arrays.toString(ints) + " ]\n" + "- " + pkg + ".LongArr [ " 45 + Arrays.toString(longs) + " ]\n" + "- " + pkg + ".FloatArr [ " 46 + Arrays.toString(floats) + " ]\n" + "- " + pkg + ".DoubleArr [ " 47 + Arrays.toString(doubles) + " ]\n" + "- " + pkg + ".CharArr [ " 48 + Arrays.toString(chars) + " ]\n" + "- " + pkg + ".BooleanArr [ " 92 tryInvalid(pkg + ".ByteArr [ [ 'a' ] ]", NumberFormatException.class) [all...] |
/external/linux-kselftest/tools/testing/selftests/memfd/ |
Makefile | 9 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags) 10 fuse_mnt: LDFLAGS += $(shell pkg-config fuse --libs)
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateSmsPremBridge.java | 52 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { 53 app.extraInfo = getState(pkg); 56 public SmsState getState(String pkg) { 58 state.smsState = getSmsState(pkg); 62 private int getSmsState(String pkg) { 64 return mSmsManager.getPremiumSmsPermission(pkg); 70 public void setSmsState(String pkg, int state) { 72 mSmsManager.setPremiumSmsPermission(pkg, state);
|
/prebuilts/go/darwin-x86/src/cmd/cgo/ |
zdefaultcc.go | 7 const defaultPkgConfig = `pkg-config`
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
zdefaultcc.go | 7 const defaultPkgConfig = `pkg-config`
|
/prebuilts/go/linux-x86/src/cmd/cgo/ |
zdefaultcc.go | 7 const defaultPkgConfig = `pkg-config`
|
/prebuilts/go/linux-x86/src/cmd/go/ |
zdefaultcc.go | 7 const defaultPkgConfig = `pkg-config`
|
/frameworks/base/core/java/android/content/pm/split/ |
SplitDependencyLoader.java | 153 PackageParser.PackageLite pkg) throws IllegalDependencyException { 164 for (int splitIdx = 0; splitIdx < pkg.splitNames.length; splitIdx++) { 165 if (!pkg.isFeatureSplits[splitIdx]) { 172 final String splitDependency = pkg.usesSplitNames[splitIdx]; 174 final int depIdx = Arrays.binarySearch(pkg.splitNames, splitDependency); 176 throw new IllegalDependencyException("Split '" + pkg.splitNames[splitIdx] 191 for (int splitIdx = 0; splitIdx < pkg.splitNames.length; splitIdx++) { 192 if (pkg.isFeatureSplits[splitIdx]) { 199 final String configForSplit = pkg.configForSplit[splitIdx]; 201 final int depIdx = Arrays.binarySearch(pkg.splitNames, configForSplit) [all...] |
/external/selinux/semodule-utils/semodule_package/ |
semodule_unpackage.c | 43 struct sepol_module_package *pkg; local 64 if (sepol_module_package_create(&pkg)) { 69 if (sepol_module_package_read(pkg, in, 0) == -1) { 78 if (sepol_policydb_write(sepol_module_package_get_policy(pkg), out)) { 86 len = sepol_module_package_get_file_contexts_len(pkg); 93 fcdata = sepol_module_package_get_file_contexts(pkg); 101 sepol_module_package_free(pkg);
|
/external/skia/gn/ |
package_ios.py | 39 pkg = os.path.join(out, app + '.app') variable 40 if not os.path.exists(pkg): 41 os.mkdir(pkg) 44 shutil.copy(os.path.join(out, app), pkg) 46 os.path.join(pkg, 'embedded.mobileprovision')) 49 with open(os.path.join(pkg, 'Info.plist'), 'w') as f: 82 pkg])
|
/frameworks/base/services/core/java/com/android/server/ |
AttributeCache.java | 90 final Package pkg = mPackages.remove(packageName); local 91 if (pkg != null) { 92 for (int i = 0; i < pkg.mMap.size(); i++) { 93 final ArrayMap<int[], Entry> map = pkg.mMap.valueAt(i); 99 final Resources res = pkg.context.getResources(); 121 Package pkg = mPackages.get(packageName); local 124 if (pkg != null) { 125 map = pkg.mMap.get(resId); 143 pkg = new Package(context); 144 mPackages.put(packageName, pkg); [all...] |
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 103 PackageLite pkg = null; 107 pkg = PackageParser.parsePackageLite(packageFile, 0); 108 handle = NativeLibraryHelper.Handle.create(pkg); 109 return copyPackageToContainerInner(pkg, handle, containerId, key, isExternal, 134 PackageLite pkg = null; 137 pkg = PackageParser.parsePackageLite(packageFile, 0); 138 return copyPackageInner(pkg, target); 166 final PackageParser.PackageLite pkg; 169 pkg = PackageParser.parsePackageLite(packageFile, 0); 170 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride) [all...] |
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
PackageDeviceInfo.java | 40 for (PackageInfo pkg : pm.getInstalledPackages(0)) { 42 store.addResult(NAME, pkg.packageName); 43 store.addResult(VERSION_NAME, pkg.versionName); 45 if (pkg.applicationInfo != null) { 46 String dir = pkg.applicationInfo.sourceDir;
|
/external/icu/icu4c/source/common/ |
servrbf.cpp | 62 char pkg[20]; local 64 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); 65 if(length>=(int32_t)sizeof(pkg)) { 68 return new ResourceBundle(pkg, loc, status);
|
/frameworks/base/core/java/android/content/ |
ComponentName.java | 52 * @param pkg the name of the package the component exists in 53 * @param cls the name of the class inside of <var>pkg</var> that implements 57 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { 65 fullName = pkg + cls; 70 return new ComponentName(pkg, fullName); 83 * @param pkg a Context for the package implementing the component 84 * @param cls the name of the class inside of <var>pkg</var> that implements 88 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { 89 return createRelative(pkg.getPackageName(), cls); 95 * @param pkg The name of the package that the component exists in. Ca 265 String pkg = str.substring(0, sep); local 353 String pkg = in.readString(); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageBackwardCompatibility.java | 43 * @param pkg the {@link Package} to modify. 46 public static void modifySharedLibraries(Package pkg) { 47 ArrayList<String> usesLibraries = pkg.usesLibraries; 48 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; 65 pkg.usesLibraries = usesLibraries; 66 pkg.usesOptionalLibraries = usesOptionalLibraries;
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
GroupHelperTest.java | 60 private StatusBarNotification getSbn(String pkg, int id, String tag, 68 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, 72 private StatusBarNotification getSbn(String pkg, int id, String tag, 74 return getSbn(pkg, id, tag, user, null); 79 final String pkg = "package"; local 81 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), 85 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString()); 93 final String pkg = "package"; local 96 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM) 110 final String pkg = "package"; local 126 final String pkg = "package"; local 144 final String pkg = "package"; local 157 final String pkg = "package"; local 184 final String pkg = "package"; local 219 final String pkg = "package"; local [all...] |
/prebuilts/go/darwin-x86/src/cmd/doc/ |
pkg.go | 35 pkg *ast.Package // Parsed package. 43 type PackageError string // type returned by pkg.Fatalf. 51 // pkg.build.ImportPath is sometimes the unhelpful "" or ".", it looks for a 53 func (pkg *Package) prettyPath() string { 54 path := pkg.build.ImportComment 56 path = pkg.build.ImportPath 63 path = filepath.Clean(filepath.ToSlash(pkg.build.Dir)) 94 // pkg.Fatalf is like log.Fatalf, but panics so it can be recovered in the 98 func (pkg *Package) Fatalf(format string, args ...interface{}) { 104 func parsePackage(writer io.Writer, pkg *build.Package, userPath string) *Package [all...] |
/prebuilts/go/linux-x86/src/cmd/doc/ |
pkg.go | 35 pkg *ast.Package // Parsed package. 43 type PackageError string // type returned by pkg.Fatalf. 51 // pkg.build.ImportPath is sometimes the unhelpful "" or ".", it looks for a 53 func (pkg *Package) prettyPath() string { 54 path := pkg.build.ImportComment 56 path = pkg.build.ImportPath 63 path = filepath.Clean(filepath.ToSlash(pkg.build.Dir)) 94 // pkg.Fatalf is like log.Fatalf, but panics so it can be recovered in the 98 func (pkg *Package) Fatalf(format string, args ...interface{}) { 104 func parsePackage(writer io.Writer, pkg *build.Package, userPath string) *Package [all...] |
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 33 private final String pkg; field in class:StatusBarNotification 50 public StatusBarNotification(String pkg, String opPkg, int id, 53 if (pkg == null) throw new NullPointerException(); 56 this.pkg = pkg; 74 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, 77 if (pkg == null) throw new NullPointerException(); 80 this.pkg = pkg; 94 this.pkg = in.readString() [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_pkgutil.py | 25 pkg = 'test_getdata_filesys'
31 package_dir = os.path.join(self.dirname, pkg)
46 res1 = pkgutil.get_data(pkg, 'res.txt')
48 res2 = pkgutil.get_data(pkg, 'sub/res.txt')
51 del sys.modules[pkg]
55 pkg = 'test_getdata_zipfile'
65 z.writestr(pkg + '/__init__.py', "")
67 z.writestr(pkg + '/res.txt', RESOURCE_DATA)
68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA)
73 res1 = pkgutil.get_data(pkg, 'res.txt') [all...] |
/external/python/cpython2/Lib/test/ |
test_pkgutil.py | 25 pkg = 'test_getdata_filesys' 31 package_dir = os.path.join(self.dirname, pkg) 46 res1 = pkgutil.get_data(pkg, 'res.txt') 48 res2 = pkgutil.get_data(pkg, 'sub/res.txt') 51 del sys.modules[pkg] 55 pkg = 'test_getdata_zipfile' 65 z.writestr(pkg + '/__init__.py', "") 67 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 73 res1 = pkgutil.get_data(pkg, 'res.txt' [all...] |
/frameworks/base/test-runner/src/android/test/ |
ActivityInstrumentationTestCase.java | 43 * @param pkg ignored - no longer in use. 47 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass) { 48 this(pkg, activityClass, false); 54 * @param pkg ignored - no longer in use. 59 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pkgutil.py | 25 pkg = 'test_getdata_filesys' 31 package_dir = os.path.join(self.dirname, pkg) 46 res1 = pkgutil.get_data(pkg, 'res.txt') 48 res2 = pkgutil.get_data(pkg, 'sub/res.txt') 51 del sys.modules[pkg] 55 pkg = 'test_getdata_zipfile' 65 z.writestr(pkg + '/__init__.py', "") 67 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 73 res1 = pkgutil.get_data(pkg, 'res.txt' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pkgutil.py | 25 pkg = 'test_getdata_filesys' 31 package_dir = os.path.join(self.dirname, pkg) 46 res1 = pkgutil.get_data(pkg, 'res.txt') 48 res2 = pkgutil.get_data(pkg, 'sub/res.txt') 51 del sys.modules[pkg] 55 pkg = 'test_getdata_zipfile' 65 z.writestr(pkg + '/__init__.py', "") 67 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 68 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 73 res1 = pkgutil.get_data(pkg, 'res.txt' [all...] |