/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | AsyncCallRecorder.h | 55 // // Wait for one call (with reasonable default timeout), and get the args 57 // auto args = recorder.waitForCall(); 60 // ASSERT_TRUE(args.has_value()); 63 // EXPECT_EQ(123, std::get<0>(args.value())); 90 void recordCall(Args... args) { argument 92 mCalls.emplace_back(std::make_tuple(args...)); 99 return [this](Args... args) { recordCall(args...); }; 155 return [this](Args... args) { 156 this->recordCall(args [all...] |
H A D | EventControlThreadTest.cpp | 66 auto args = mVSyncSetEnabledCallRecorder.waitForCall(); local 67 ASSERT_TRUE(args.has_value()); 68 EXPECT_EQ(std::get<0>(args.value()), expectedEnabled);
|
/frameworks/native/services/utils/tests/ |
H A D | PriorityDumper_test.cpp | 63 Vector<String16> args; local 64 EXPECT_CALL(dumper_, dumpAll(fd, ElementsAreArray(args), /*asProto=*/false)); 65 dumper_.priorityDump(fd, args); 69 Vector<String16> args; local 70 addAll(args, {"bunch", "of", "args"}); 71 EXPECT_CALL(dumper_, dumpAll(fd, ElementsAreArray(args), /*asProto=*/false)); 72 dumper_.priorityDump(fd, args); 76 Vector<String16> args; local 77 addAll(args, {" 84 Vector<String16> args; local 94 Vector<String16> args; local 104 Vector<String16> args; local 114 Vector<String16> args; local 124 Vector<String16> args; local 134 Vector<String16> args; local 145 Vector<String16> args; local 154 Vector<String16> args; local 163 Vector<String16> args; local 172 Vector<String16> args; local 182 Vector<String16> args; local 192 Vector<String16> args; local 202 Vector<String16> args; local 212 Vector<String16> args; local [all...] |
/frameworks/native/services/vr/bufferhubd/ |
H A D | detached_buffer_channel.h | 17 static std::unique_ptr<DetachedBufferChannel> Create(Args&&... args) { argument 19 new DetachedBufferChannel(std::forward<Args>(args)...));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ActiveModeManager.java | 49 void dump(FileDescriptor fd, PrintWriter pw, String[] args); argument
|
H A D | DefaultModeManager.java | 49 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { } argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DebugService.java | 45 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 46 if (args != null && args.length > 0) { 47 if (TextUtils.equals(args[0], "--metrics") || 48 TextUtils.equals(args[0], "--metricsproto")) 51 TelephonyMetrics.getInstance().dump(fd, pw, args); 56 PhoneFactory.dump(fd, pw, args);
|
/frameworks/support/loader/src/androidTest/java/androidx/loader/app/test/ |
H A D | DummyLoaderCallbacks.java | 38 public Loader<Boolean> onCreateLoader(int id, Bundle args) { argument
|
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/androidx/media/test/service/ |
H A D | TestHelperService.java | 69 public void callMediaSession2Method(int method, Bundle args) throws RemoteException { argument
|
/frameworks/support/navigation/common/src/main/java/androidx/navigation/ |
H A D | NavGraphNavigator.java | 52 public void navigate(@NonNull NavGraph destination, @Nullable Bundle args, argument 69 startDestination.navigate(args, navOptions);
|
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/ |
H A D | Navigation.java | 109 * @param args arguments to pass to the final destination 114 @Nullable final Bundle args) { 118 findNavController(view).navigate(resId, args); 113 createNavigateOnClickListener(@dRes final int resId, @Nullable final Bundle args) argument
|
/frameworks/support/navigation/testing/src/main/java/androidx/navigation/testing/ |
H A D | TestNavigator.java | 45 public void navigate(@NonNull Destination destination, @Nullable Bundle args, argument 50 mBackStack.add(new Pair<>(destination, args)); 53 mBackStack.add(new Pair<>(destination, args));
|
/frameworks/av/services/mediaextractor/ |
H A D | MediaExtractorService.cpp | 58 status_t MediaExtractorService::dump(int fd, const Vector<String16>& args) { argument 59 return MediaExtractorFactory::dump(fd, args) || dumpExtractors(fd, args);
|
/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
H A D | Backup.java | 36 public static void main(String[] args) { argument 37 Log.d(TAG, "Beginning: " + args[0]); 38 mArgs = args;
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Hid.java | 46 public static void main(String[] args) { argument 47 if (args.length != 1) { 54 if (args[0].equals("-")) { 57 File f = new File(args[0]);
|
/frameworks/base/cmds/vr/src/com/android/commands/vr/ |
H A D | Vr.java | 34 * @param args The command-line arguments 36 public static void main(String[] args) { argument 37 (new Vr()).run(args);
|
/frameworks/base/core/java/android/app/ |
H A D | ServiceStartArgs.java | 31 final public Intent args; field in class:ServiceStartArgs 37 args = _args; 42 + ", flags=0x" + Integer.toHexString(flags) + ", args=" + args + "}"; 53 if (args != null) { 55 args.writeToParcel(out, 0); 77 args = Intent.CREATOR.createFromParcel(in); 79 args = null;
|
/frameworks/base/core/java/android/util/ |
H A D | LocalLog.java | 53 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 60 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 72 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 73 mLog.dump(fd, pw, args); 75 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 76 mLog.reverseDump(fd, pw, args);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRequestPreparer.java | 83 * @param args The arguments for the request 94 Bundle args, Message preparationFinishedMessage); 93 onPrepareExtraData(int virtualViewId, String extraDataKey, Bundle args, Message preparationFinishedMessage) argument
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | WrapperInit.java | 60 * @param args The command-line arguments. 62 public static void main(String[] args) { argument 64 int fdNum = Integer.parseInt(args[0], 10); 65 int targetSdkVersion = Integer.parseInt(args[1], 10); 87 String[] runtimeArgs = new String[args.length - 2]; 88 System.arraycopy(args, 2, runtimeArgs, 0, runtimeArgs.length); 102 * @param args Arguments for {@link RuntimeInit#main}. 106 String[] args) { 134 Zygote.appendQuotedShellArgs(command, args); 104 execApplication(String invokeWith, String niceName, int targetSdkVersion, String instructionSet, FileDescriptor pipeFd, String[] args) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerViewAccessibilityDelegate.java | 43 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 44 if (super.performAccessibilityAction(host, action, args)) { 48 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); 95 public boolean performAccessibilityAction(View host, int action, Bundle args) { 96 if (super.performAccessibilityAction(host, action, args)) { 101 .performAccessibilityActionForItem(host, action, args);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeymasterUtils.java | 103 public static void addUserAuthArgs(KeymasterArguments args, UserAuthArgs spec) { argument 106 args.addBoolean(KeymasterDefs.KM_TAG_TRUSTED_CONFIRMATION_REQUIRED); 110 args.addBoolean(KeymasterDefs.KM_TAG_TRUSTED_USER_PRESENCE_REQUIRED); 114 args.addBoolean(KeymasterDefs.KM_TAG_UNLOCKED_DEVICE_REQUIRED); 118 args.addBoolean(KeymasterDefs.KM_TAG_NO_AUTH_REQUIRED); 150 args.addUnsignedLong( 152 args.addEnum(KeymasterDefs.KM_TAG_USER_AUTH_TYPE, KeymasterDefs.HW_AUTH_FINGERPRINT); 166 args.addUnsignedLong(KeymasterDefs.KM_TAG_USER_SECURE_ID, 168 args.addEnum(KeymasterDefs.KM_TAG_USER_AUTH_TYPE, 170 args 183 addMinMacLengthAuthorizationIfNecessary(KeymasterArguments args, int keymasterAlgorithm, int[] keymasterBlockModes, int[] keymasterDigests) argument [all...] |
/frameworks/base/libs/hwui/tests/scripts/ |
H A D | process_systrace.py | 17 args = parser.parse_args() variable 31 run_command = path_to_process_traces + " --mapper_handle " + mapper_func_file + ":" + args.func + " --output_file " + args.outfile + " " + args.trace_file_or_dir
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DemoMode.java | 25 void dispatchDemoCommand(String command, Bundle args); argument
|
H A D | SystemBars.java | 46 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 48 mStatusBar.dump(fd, pw, args);
|