Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DGeneratedTestUtils.cpp77 const int protect = PROT_READ | PROT_WRITE; in create() local
79 auto mapping = base::MappedFile::FromFd(fd.get(), offset, size, protect); in create()
84 new MemoryWithPointer(nnapi, size, protect, fd.get(), offset, std::move(mapping))); in create()
87 new MemoryWithPointer(size, protect, fd.get(), offset, std::move(mapping))); in create()
95 MemoryWithPointer(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, in create() argument
97 : Memory(nnapi, size, protect, fd, offset), mMapping(std::move(mapping)) {} in create()
99 MemoryWithPointer(size_t size, int protect, int fd, size_t offset, in create()
101 : Memory(size, protect, fd, offset), mMapping(std::move(mapping)) {} in create()
DTestNeuralNetworksWrapper.h60 Memory(size_t size, int protect, int fd, size_t offset) { in Memory() argument
61 mValid = ANeuralNetworksMemory_createFromFd(size, protect, fd, offset, &mMemory) == in Memory()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DVpnServiceTest.java71 assertFalse(mVpnService.protect(socket)); in testProtect_DatagramSocket()
86 assertFalse(mVpnService.protect(socket)); in testProtect_Socket()
102 assertFalse(mVpnService.protect(descriptor.getFd())); in testProtect_int()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc_encoder.cc170 uint8_t protect = 0; in a2dp_sbc_encoder_update() local
310 protect |= 1; in a2dp_sbc_encoder_update()
318 protect |= 2; in a2dp_sbc_encoder_update()
320 if (p_encoder_params->u16BitRate < previous_u16BitRate) protect |= 3; in a2dp_sbc_encoder_update()
325 if (protect == 3) { in a2dp_sbc_encoder_update()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java230 public void setProtect(String protect) { in setProtect() argument
231 this.mProtect = protect; in setProtect()
DBluetoothMapContent.java469 String protect = "no"; in setProtected() local
473 protect = "yes"; in setProtected()
477 Log.d(TAG, "setProtected: " + protect + "\n"); in setProtected()
479 e.setProtect(protect); in setProtected()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h191 Memory(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, size_t offset) argument
194 Memory(size_t size, int protect, int fd, size_t offset) {
197 size, protect, fd, offset, &mMemory)) == ANEURALNETWORKS_NO_ERROR;
DNeuralNetworks.h846 int ANeuralNetworksMemory_createFromFd(size_t size, int protect, int fd, size_t offset,
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h55 Memory(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, size_t offset,
59 size, protect, fd, offset, &mMemory) == ANEURALNETWORKS_NO_ERROR;
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h1081 int (*ANeuralNetworksMemory_createFromFd)(size_t size, int protect, int fd, size_t offset,
/packages/apps/TV/res/raw/
Dthird_party_licenses2894 To protect your rights, we need to make restrictions that forbid
2907 We protect your rights with a two-step method: (1) we copyright the
2911 To protect each distributor, we want to make it very clear that
2941 does Less to protect the user's freedom than the ordinary General
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10598 protect the privacy and legal rights of those users. If the users provide you with user names,
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...