Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
H A DHardwareKeyboardShortcutControllerTest.java37 final List<String> handles = Arrays.asList("0", "1", "2", "3"); in testForwardRotation() local
38 assertEquals("2", HardwareKeyboardShortcutController.getNeighborItem(handles, "1", true)); in testForwardRotation()
39 assertEquals("3", HardwareKeyboardShortcutController.getNeighborItem(handles, "2", true)); in testForwardRotation()
40 assertEquals("0", HardwareKeyboardShortcutController.getNeighborItem(handles, "3", true)); in testForwardRotation()
45 final List<String> handles = Arrays.asList("0", "1", "2", "3"); in testBackwardRotation() local
46 assertEquals("0", HardwareKeyboardShortcutController.getNeighborItem(handles, "1", false)); in testBackwardRotation()
47 assertEquals("3", HardwareKeyboardShortcutController.getNeighborItem(handles, "0", false)); in testBackwardRotation()
48 assertEquals("2", HardwareKeyboardShortcutController.getNeighborItem(handles, "3", false)); in testBackwardRotation()
53 final List<String> handles = Arrays.asList("0", "1", "2", "3"); in testNotMatching() local
54 assertNull(HardwareKeyboardShortcutController.getNeighborItem(handles, "X", true)); in testNotMatching()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
H A DFrontendResource.java79 public void addExclusiveGroupMemberFeHandles(Collection<Integer> handles) { in addExclusiveGroupMemberFeHandles() argument
80 mExclusiveGroupMemberHandles.addAll(handles); in addExclusiveGroupMemberFeHandles()
/aosp14/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList() local
351 if (handles == null) { in getObjectList()
355 int length = handles.length; in getObjectList()
358 MtpObjectInfo info = device.getObjectInfo(handles[i]); in getObjectList()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/
H A DKeyguardTransitionHandler.java118 public static boolean handles(TransitionInfo info) { in handles() method in KeyguardTransitionHandler
127 if (!handles(info) || mIsLaunchingActivityOverLockscreen) { in startAnimation()
234 } else if (handles(nextInfo)) { in mergeAnimation()
/aosp14/system/core/trusty/storage/tests/
H A Dmain.cpp538 file_handle_t handles[10]; in TEST_P() local
543 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
551 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { in TEST_P()
553 ASSERT_NE(handles[i], handles[j]); in TEST_P()
558 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
559 storage_close_file(handles[i]); in TEST_P()
563 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
570 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { in TEST_P()
572 ASSERT_NE(handles[i], handles[j]); in TEST_P()
577 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { in TEST_P()
[all …]
/aosp14/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp341 jint* handles = env->GetIntArrayElements(array, 0); in getObjectList() local
344 list->push_back(handles[i]); in getObjectList()
345 env->ReleaseIntArrayElements(array, handles, 0); in getObjectList()
1168 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
1171 list->push_back(handles[i]); in getObjectReferences()
1172 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1188 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1190 handles[i] = (*references)[i]; in setObjectReferences()
1191 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
H A Dandroid_mtp_MtpDevice.cpp496 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles() local
497 if (!handles) in android_mtp_MtpDevice_get_object_handles()
500 int length = handles->size(); in android_mtp_MtpDevice_get_object_handles()
503 env->SetIntArrayRegion(array, 0, length, (const jint *)handles->data()); in android_mtp_MtpDevice_get_object_handles()
505 delete handles; in android_mtp_MtpDevice_get_object_handles()
/aosp14/frameworks/base/native/webview/loader/
H A DAndroid.bp18 // Loader library which handles address space reservation and relro sharing.
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
H A Dchanges.md21 pattern is to have a single `<Component name>Controller` that handles the initialization of the
32 interface that the `<Component name>Controller` implements and handles on the main Shell thread
H A Dsysui.md47 2) (Shell) ShellFeatureController handles logic, implements ShellFeature interface and posts to
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp83 const std::vector<native_handle_t*>& handles);
374 const std::vector<native_handle_t*>& handles) { in postRecordingFrameHandleTimestampBatch() argument
379 mCamera->releaseRecordingFrameHandleBatch(handles); in postRecordingFrameHandleTimestampBatch()
381 for (auto& handle : handles) { in postRecordingFrameHandleTimestampBatch()
H A Dandroid_os_HwParcel.cpp614 hidl_handle *handles = static_cast<hidl_handle *>( in JHwParcel_native_writeNativeHandleVector() local
617 vec->setToExternal(handles, len, false /* shouldOwn */); in JHwParcel_native_writeNativeHandleVector()
623 new (&(handles[i])) hidl_handle(); in JHwParcel_native_writeNativeHandleVector()
624 handles[i].setTo(handle, false /* shouldOwn */); in JHwParcel_native_writeNativeHandleVector()
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dkeyguard.md17 …ke, screen taps, among others. [AOD][2], whether visibly enabled or not, handles these signals to …
H A Ddoze.md12 [DozeMachine][3] handles the following main states:
29 …imity sensor reported near for a minimum abount of time. [DozePauser][7] handles transitioning fro…
/aosp14/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraServiceProxy.java1012 Set<Integer> handles = new ArraySet<>(userProfiles.length); in getEnabledUserHandles() local
1015 handles.add(id); in getEnabledUserHandles()
1018 return handles; in getEnabledUserHandles()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dmedia-controls.md28 * Keeps the carousel view up to date and handles state changes (e.g. expansion)
H A Dclock-plugins.md31 determines which clock should be shown, and handles creating them. It does this by maintaining a
H A Dqs-tiles.md210 … or unbound, unless it's requested to process a message. It additionally handles errors in the `Bi…
220 This class handles management of the service, including:
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTransitions.java725 if (info.getRootCount() == 0 && !KeyguardTransitionHandler.handles(info)) { in dispatchReady()
1209 final int tolerance = KeyguardTransitionHandler.handles(playing.mInfo) in finishForSync()
H A DDefaultMixedHandler.java329 if (KeyguardTransitionHandler.handles(info)) { in startAnimation()
/aosp14/system/core/init/
H A DREADME.ueventd.md3 Ueventd manages `/dev`, sets permissions for `/sys`, and handles firmware uevents. It has default
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A DREADME.md9 and that it safely handles malicious inputs.
45 2. **Conformance** - Test the device properly handles well-formed fastboot commands
/aosp14/frameworks/base/core/java/android/window/
H A DSurfaceSyncGroup.md45 …o use SurfaceSyncGroups is to sync multiple ViewRootImpls. The framework handles the timing and re…
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DBLASTSync.md132 this scheme handles every permutation of (Sync, NotSync).
/aosp14/frameworks/base/core/proto/android/providers/settings/
H A Dsecure.proto127 // or an activity that handles ACTION_ASSIST, or empty, which means using

12