Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java564 final ArrayList<UserHandle> handles = new ArrayList<>(); in openTileIntent_profileSelectionDialog_shouldShow() local
565 handles.add(new UserHandle(0)); in openTileIntent_profileSelectionDialog_shouldShow()
566 handles.add(new UserHandle(10)); in openTileIntent_profileSelectionDialog_shouldShow()
567 tile.userHandle = handles; in openTileIntent_profileSelectionDialog_shouldShow()
581 final ArrayList<UserHandle> handles = new ArrayList<>(); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow() local
582 handles.add(new UserHandle(0)); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow()
583 handles.add(new UserHandle(10)); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow()
584 tile.userHandle = handles; in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow()
598 final ArrayList<UserHandle> handles = new ArrayList<>(); in openTileIntent_profileSelectionDialog_shouldNotShow() local
599 handles.add(new UserHandle(0)); in openTileIntent_profileSelectionDialog_shouldNotShow()
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestCompilationCaching.cpp247 void writeToCache(const hardware::hidl_vec<hardware::hidl_handle>& handles, in writeToCache() argument
249 for (uint32_t i = 0; i < handles.size(); ++i) { in writeToCache()
250 ASSERT_EQ(handles[i]->numFds, 1); in writeToCache()
251 EXPECT_EQ(write(handles[i]->data[0], cache.data(), kCacheSize), in writeToCache()
256 void readFromCache(const hardware::hidl_vec<hardware::hidl_handle>& handles, in readFromCache() argument
258 for (uint32_t i = 0; i < handles.size(); ++i) { in readFromCache()
259 ASSERT_EQ(handles[i]->numFds, 1); in readFromCache()
261 EXPECT_EQ(read(handles[i]->data[0], actual.data(), kCacheSize), in readFromCache()
/packages/modules/NeuralNetworks/runtime/
DCompilationBuilder.cpp147 std::vector<SharedHandle> handles; in createCacheHandleVec() local
148 handles.reserve(numFds); in createCacheHandleVec()
150 handles.push_back(NN_TRY(createCacheHandle(fds[i]))); in createCacheHandleVec()
152 return handles; in createCacheHandleVec()
DManager.cpp367 std::vector<SharedHandle> handles; in createCacheHandleVec() local
368 handles.reserve(numCacheFiles); in createCacheHandleVec()
372 handles.push_back(NN_TRY(createCacheHandle(filename, createIfNotExist))); in createCacheHandleVec()
374 return handles; in createCacheHandleVec()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList() local
377 if (handles == null) { in getObjectList()
381 int length = handles.length; in getObjectList()
384 MtpObjectInfo info = device.getObjectInfo(handles[i]); in getObjectList()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java169 List<PhoneAccountHandle> handles = new ArrayList<>(); in getAllEligableAccounts() local
173 handles.add(handle); in getAllEligableAccounts()
176 return handles; in getAllEligableAccounts()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorSimCallManager.java201 List<PhoneAccountHandle> handles; in getSystemPhoneAccountHandle() local
203 handles = telecomManager.getCallCapablePhoneAccounts(); in getSystemPhoneAccountHandle()
207 for (PhoneAccountHandle handle : handles) { in getSystemPhoneAccountHandle()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java266 List<PhoneAccountHandle> handles = in getNumberWithoutInCallService() local
268 while (handles.iterator().hasNext()) { in getNumberWithoutInCallService()
269 account = mTelecomManager.getPhoneAccount(handles.iterator().next()); in getNumberWithoutInCallService()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DVisualVoicemailNotifier.java301 List<PhoneAccountHandle> handles = TelecomUtil.getCallCapablePhoneAccounts(context); in getFallbackAccount() local
302 if (!handles.isEmpty()) { in getFallbackAccount()
303 handle = handles.get(0); in getFallbackAccount()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java755 int[] handles = mTechHandles; in findAndReadNdef() local
765 if (handles[i] == handles[techIndex]) { in findAndReadNdef()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DDrawableResourceDecoder.java40 public boolean handles(Drawable source, Options options) throws IOException { in handles() method in DrawableResourceDecoder
DSystemStaticAssetLoader.java35 public boolean handles(SystemStaticAsset systemStaticAsset) { in handles() method in SystemStaticAssetLoader
DResourceAssetLoader.java36 public boolean handles(ResourceAsset resourceAsset) { in handles() method in ResourceAssetLoader
DLiveWallpaperThumbAssetLoader.java37 public boolean handles(LiveWallpaperThumbAsset liveWallpaperThumbAsset) { in handles() method in LiveWallpaperThumbAssetLoader
DWallpaperModelLoader.java37 public boolean handles(WallpaperModel wallpaperModel) { in handles() method in WallpaperModelLoader
DCurrentWallpaperAssetVNLoader.java40 public boolean handles(CurrentWallpaperAssetVN currentWallpaperAssetVN) { in handles() method in CurrentWallpaperAssetVNLoader
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java356 List<PhoneAccountHandle> handles = tm.getCallCapablePhoneAccounts(); in sendIncomingCallIntent()
357 String availableHandles = handles.stream() in sendIncomingCallIntent()
/packages/apps/Nfc/nci/jni/
DNfcJniUtil.h120 int handles[16]; member
DNfcTag.cpp583 ScopedIntArrayRW handles(e, handleList.get()); in fillNativeNfcTagMembers1() local
587 mNativeData->handles[i] = mTechHandles[i]; in fillNativeNfcTagMembers1()
589 handles[i] = mTechHandles[i]; in fillNativeNfcTagMembers1()
/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java1137 List<PhoneAccountHandle> handles = in getBestPhoneAccount() local
1139 while (handles.iterator().hasNext()) { in getBestPhoneAccount()
1140 account = mTelecomManager.getPhoneAccount(handles.iterator().next()); in getBestPhoneAccount()
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java969 final int[] handles = new int[objects.length]; in setupDocuments() local
972 handles[i++] = info.getObjectHandle(); in setupDocuments()
975 mMtpManager.setObjectHandles(deviceId, storageId, parentHandle, handles); in setupDocuments()
/packages/modules/NeuralNetworks/common/include/nnapi/
DValidation.h59 Result<Version> validate(const std::vector<SharedHandle>& handles);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DREADME.txt42 ActiveModeWarden: Tracks the various states on STA and AP connectivity and handles bring up and shu…
/packages/modules/DnsResolver/tests/
Dgolddata.proto186 // Describes how the DNS responser handles and responses the DNS lookup packets.
/packages/modules/adb/
DREADME.md62 …cts exist only to wrap data while it transits on a Transport. An asocket handles a stream of apack…

12