Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 19 of 19) sorted by relevance

/system/media/tests/
Dsystemaudio_tests.cpp29 audio_patch patch{}; in TEST() local
30 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
31 patch.num_sources = AUDIO_PATCH_PORTS_MAX + 1; in TEST()
32 patch.num_sinks = 1; in TEST()
33 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
34 patch.num_sources = 1; in TEST()
35 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST()
36 ASSERT_FALSE(audio_patch_is_valid(&patch)); in TEST()
37 patch.num_sources = 0; in TEST()
38 patch.num_sinks = 1; in TEST()
[all …]
/system/tools/mkbootimg/include/bootimg/
Dbootimg.h86 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
88 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
256 void SetOsVersion(unsigned major, unsigned minor, unsigned patch) { in SetOsVersion()
258 os_version |= (((major & 0x7f) << 25) | ((minor & 0x7f) << 18) | ((patch & 0x7f) << 11)); in SetOsVersion()
/system/bt/doc/
Dstyle_guide.md280 Use this option if your patch touches only a few files with few intermediate
283 ##### Find the formatting patch
289 ##### Revert the formatting patch
295 ##### Check for conflicts with your patch
299 If this list contains files modified by your patch, you should give up
305 If this list contains files not modified by your patch, you should unstage them
313 ##### Apply your patch
321 ##### Commit the code that your patch touched
331 ##### Review your new patch
335 #### Option 2: Reformat your patch
[all …]
/system/media/audio/include/system/
Daudio.h1388 static inline bool audio_patch_has_hw_av_sync(const struct audio_patch *patch) { in audio_patch_has_hw_av_sync() argument
1389 for (unsigned int i = 0; i < patch->num_sources; ++i) { in audio_patch_has_hw_av_sync()
1390 if (audio_port_config_has_hw_av_sync(&patch->sources[i])) return true; in audio_patch_has_hw_av_sync()
1392 for (unsigned int i = 0; i < patch->num_sinks; ++i) { in audio_patch_has_hw_av_sync()
1393 if (audio_port_config_has_hw_av_sync(&patch->sinks[i])) return true; in audio_patch_has_hw_av_sync()
1398 static inline bool audio_patch_is_valid(const struct audio_patch *patch) { in audio_patch_is_valid() argument
1400 return patch->num_sources != 0 && patch->num_sources <= AUDIO_PATCH_PORTS_MAX && in audio_patch_is_valid()
1401 patch->num_sinks <= AUDIO_PATCH_PORTS_MAX; in audio_patch_is_valid()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc764 base::FilePath patch; in ReadExtentsToDiff() local
765 TEST_AND_RETURN_FALSE(base::CreateTemporaryFile(&patch)); in ReadExtentsToDiff()
766 ScopedPathUnlinker unlinker(patch.value()); in ReadExtentsToDiff()
772 bsdiff::CreateBSDF2PatchWriter(patch.value(), in ReadExtentsToDiff()
777 bsdiff_patch_writer = bsdiff::CreateBsdiffPatchWriter(patch.value()); in ReadExtentsToDiff()
788 TEST_AND_RETURN_FALSE(utils::ReadFile(patch.value(), &bsdiff_delta)); in ReadExtentsToDiff()
/system/core/shell_and_utilities/
DREADME.md106 more mountpoint mv netstat nice nl nohup od paste patch pgrep pidof
127 mountpoint mv netstat nice nl nohup od paste patch pgrep pidof pkill
150 nl nohup od paste patch pgrep pidof pkill pmap printenv printf ps pwd
176 patch pgrep pidof pkill pmap printenv printf ps pwd readlink realpath
205 paste patch pgrep pidof ping ping6 pivot\_root pkill pmap printenv
237 paste patch pgrep pidof ping ping6 pivot\_root pkill pmap printenv
/system/core/fs_mgr/
DREADME.overlayfs.md84 The patch series is available on the upstream mailing list and the latest as
86 This patch adds an override_creds _mount_ option to OverlayFS that
90 is required. https://patchwork.kernel.org/patch/11117145/ is a start of that
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h47 bool IsAtLeast(uint32_t major, uint32_t minor, uint32_t patch) const { in IsAtLeast() argument
52 return patch_ >= patch; in IsAtLeast()
/system/update_engine/scripts/
Dpayload_info_unittest.py211 with mock.patch.object(update_payload, 'Payload', return_value=payload), \
/system/sepolicy/private/
Dshell.te127 # Allow shell to read the vendor security patch level for CTS
Dapp_neverallows.te155 # to the kernel patch at
/system/sepolicy/prebuilts/api/28.0/public/
Dshell.te87 # Allow shell to read the vendor security patch level for CTS
/system/core/fastboot/
Dfastboot.cpp2222 unsigned major = 0, minor = 0, patch = 0; in ParseOsVersion() local
2227 (versions.size() == 3 && !android::base::ParseUint(versions[2], &patch)) || in ParseOsVersion()
2228 (major > 0x7f || minor > 0x7f || patch > 0x7f)) { in ParseOsVersion()
2231 hdr->SetOsVersion(major, minor, patch); in ParseOsVersion()
/system/sepolicy/prebuilts/api/29.0/public/
Dshell.te96 # Allow shell to read the vendor security patch level for CTS
/system/sepolicy/prebuilts/api/30.0/public/
Dshell.te101 # Allow shell to read the vendor security patch level for CTS
/system/sepolicy/prebuilts/api/30.0/private/
Dapp_neverallows.te155 # to the kernel patch at
/system/extras/ioblame/
DREADME210 The -w (writepages) option requires this additional patch and
/system/sepolicy/prebuilts/api/29.0/private/
Dapp_neverallows.te146 # to the kernel patch at
/system/update_engine/scripts/update_payload/
Dchecker_unittest.py333 with mock.patch.object(checker.PayloadChecker, '_Run') \