Searched refs:sh (Results 1 - 25 of 30) sorted by path

12

/frameworks/av/services/audioflinger/tests/
H A Dbuild_and_run_all_unit_tests.sh9 . $ANDROID_BUILD_TOP/build/envsetup.sh
20 sh $ANDROID_BUILD_TOP/frameworks/av/services/audioflinger/tests/run_all_unit_tests.sh
H A Dmixer_to_wav_tests.sh38 . $ANDROID_BUILD_TOP/build/envsetup.sh
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java504 float sh = height/(float)newHeight;
505 float scale = sw < sh ? sw : sh;
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java705 * @param sh the SurfaceHolder to use for video display
707 public void setDisplay(SurfaceHolder sh) { argument
708 mSurfaceHolder = sh;
710 if (sh != null) {
711 surface = sh.getSurface();
/frameworks/base/native/
H A Dcopy-to-ndk.sh51 sh $ANDROID_BUILD_TOP/ndk/build/tools/build-platforms.sh
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java323 SurfaceHolder sh = getSurfaceHolder();
324 final Rect frame = sh.getSurfaceFrame();
405 if (!drawWallpaperWithOpenGL(sh, availw, availh, xPixels, yPixels)) {
406 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
409 drawWallpaperWithCanvas(sh, availw, availh, xPixels, yPixels);
456 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument
457 Canvas c = sh.lockCanvas();
479 sh.unlockCanvasAndPost(c);
484 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument
485 if (!initGL(sh)) retur
[all...]
/frameworks/base/tests/backup/
H A Dbackup_stress_test.sh36 ./test_backup.sh "$@" 2>&1
42 ./test_restore.sh "$@" 2>&1 || failed=1
H A Dtest_backup.sh19 source test_backup_common.sh
H A Dtest_restore.sh19 source test_backup_common.sh
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionBits.h27 ELFSectionHeader<Bitwidth> const *sh; member in class:ELFSectionBits
31 ELFSectionBits() : sh(NULL) { }
H A DELFSectionNoBits.h32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionProgBits.h38 ELFSectionHeaderTy const *sh);
79 ELFSectionHeaderTy const *sh = this->sh; local
82 AR.seek(sh->getOffset(), true);
83 AR.prologue(sh->getSize());
84 AR.readBytes(chunk.getBuffer(), sh->getSize());
85 AR.epilogue(sh->getSize());
H A DELFSectionRelTable.h43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionStrTab.h39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
H A DELFSectionSymTab.h44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFObject.hxx1082 ELFSectionHeaderTy *sh = (*shtab)[i]; local
1083 if (sh->getType() != SHT_REL && sh->getType() != SHT_RELA) {
1090 const char *reltab_name = sh->getName();
1092 if (sh->getType() == SHT_REL) {
1134 ELFSectionHeaderTy *sh = (*shtab)[i]; local
1135 if (sh->getType() == SHT_PROGBITS || sh->getType() == SHT_NOBITS) {
H A DELFReloc.hxx35 std::unique_ptr<ELFRelocTy> sh(new ELFRelocTy());
37 if (!sh->serializeRela(AR)) {
42 if (!sh->isValid()) {
48 sh->index = index;
50 return sh.release();
63 std::unique_ptr<ELFRelocTy> sh(new ELFRelocTy());
65 sh->r_addend = 0;
66 if (!sh->serializeRel(AR)) {
70 if (!sh->isValid()) {
76 sh
[all...]
H A DELFSection.hxx36 ELFSectionHeaderTy const *sh) {
39 switch (sh->getType()) {
46 return ELFSectionStrTabTy::read(AR, sh);
49 return ELFSectionSymTabTy::read(AR, owner, sh);
52 return ELFSectionProgBitsTy::read(AR, owner, sh);
55 return ELFSectionNoBitsTy::read(AR, sh);
59 return ELFSectionRelTableTy::read(AR, sh);
34 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
H A DELFSectionBits.hxx36 (sh->getType() == SHT_NOBITS) ? "NOBITS" : "PROGBITS";
40 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n';
44 out() << " Size : " << sh->getSize() << '\n';
57 if (sh->getFlags() & SHF_WRITE) {
61 if (sh->getFlags() & SHF_EXECINSTR) {
H A DELFSectionHeader.hxx44 std::unique_ptr<ELFSectionHeaderTy> sh(new ELFSectionHeaderTy());
46 if (!sh->serialize(AR)) {
51 if (!sh->isValid()) {
57 sh->index = index;
60 sh->owner = owner;
62 return sh.release();
H A DELFSectionHeaderTable.hxx56 std::unique_ptr<ELFSectionHeaderTy> sh(
59 if (!sh) {
64 tab->table.push_back(sh.release());
89 ELFSectionHeaderTy *sh = table[i]; local
90 if ( sh ) {
91 name_map[sh->getName()] = sh;
99 typename llvm::StringMap<ELFSectionHeaderTy *>::const_iterator sh = local
101 if (sh == name_map.end()) {
105 return sh
[all...]
H A DELFSectionNoBits.hxx30 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { argument
33 if (!result->chunk.allocate(sh->getSize())) {
37 result->sh = sh;
H A DELFSectionProgBits.hxx35 ELFSectionHeaderTy const *sh) {
41 size_t section_size = (sh->getSize() + 3) / 4 * 4;
48 std::string reltab_name(prefix + std::string(sh->getName()));
78 result->sh = sh;
33 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh) argument
H A DELFSectionRelTable.hxx56 ELFSectionHeaderTy const *sh) {
58 rsl_assert(sh->getType() == SHT_REL || sh->getType() == SHT_RELA);
63 AR.seek(sh->getOffset(), true);
66 size_t size = sh->getSize() / sh->getEntrySize();
69 if (sh->getType() == SHT_REL) {
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size);
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size);
55 read(Archiver &AR, ELFSectionHeaderTy const *sh) argument
H A DELFSectionStrTab.hxx30 ELFSectionHeaderTy const *sh) {
33 st->buf.resize(sh->getSize());
36 st->section_header = sh;
38 AR.seek(sh->getOffset(), true);
39 AR.prologue(sh->getSize());
40 AR.readBytes(&*st->buf.begin(), sh->getSize());
41 AR.epilogue(sh->getSize());
29 read(Archiver &AR, ELFSectionHeaderTy const *sh) argument

Completed in 960 milliseconds

12