/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 2639 * This method must be called at first when sound effects are enabled 2660 * This method can be called to free some memory when 3838 boolean checkAudioSettingsPermission(String method) { argument 3843 String msg = "Audio Settings Permission Denial: " + method + " from pid=" 4656 * This method can be called to free some memory when
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GnssLocationProvider.cpp | 153 jmethodID method = env->GetMethodID(clazz, method_name, signature_); local 154 env->CallVoidMethod(object, method, value); 202 jmethodID method = env_->GetMethodID( local 206 env_->CallVoidMethod(object_, method, array); 214 // Define Java method signatures for all known types. 1276 * This enum is used by the read_sv_status method to combine the svid, 1288 * This method should only be called from within a call to reportSvStatus.
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 350 * i.e. the user has to use a strong authentication method like password, PIN or pattern. 3159 * Internal method used by {@link CertificateMonitor}. 3365 * DO NOT use this method except in {@link #setActiveAdmin}. Use {@link #isAdminTestOnlyLocked} 3396 private void enforceShell(String method) { argument 3399 throw new SecurityException("Non-shell user attempted to call " + method); 4892 // Caller UID needs to be trusted, so we restrict this method to SYSTEM_UID callers. 5561 /*method strength*/ 1); 5592 /*method strength*/ 1); 5603 /*method strength*/ 0); 5614 /*method strengt [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 206 * <p>Typically set through a {@link NetPolicyXml} annotation in the test method. 1762 public Statement apply(Statement base, FrameworkMethod method, Object target) { argument 1763 for (Annotation annotation : method.getAnnotations()) {
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 115 public Bundle call(String callingPackage, String method, String request, Bundle args) argument 117 return MockContentProvider.this.call(method, request, args); 197 throw new UnsupportedOperationException("unimplemented mock method"); 202 throw new UnsupportedOperationException("unimplemented mock method"); 207 throw new UnsupportedOperationException("unimplemented mock method"); 212 throw new UnsupportedOperationException("unimplemented mock method"); 218 throw new UnsupportedOperationException("unimplemented mock method"); 223 throw new UnsupportedOperationException("unimplemented mock method"); 231 throw new UnsupportedOperationException("unimplemented mock method"); 236 throw new UnsupportedOperationException("unimplemented mock method"); 248 call(String method, String request, Bundle args) argument [all...] |
H A D | MockIContentProvider.java | 47 throw new UnsupportedOperationException("unimplemented mock method"); 54 throw new UnsupportedOperationException("unimplemented mock method"); 59 throw new UnsupportedOperationException("unimplemented mock method"); 66 throw new UnsupportedOperationException("unimplemented mock method"); 73 throw new UnsupportedOperationException("unimplemented mock method"); 79 throw new UnsupportedOperationException("unimplemented mock method"); 85 throw new UnsupportedOperationException("unimplemented mock method"); 91 throw new UnsupportedOperationException("unimplemented mock method"); 96 throw new UnsupportedOperationException("unimplemented mock method"); 102 throw new UnsupportedOperationException("unimplemented mock method"); 106 call(String callingPackage, String method, String request, Bundle args) argument [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 113 * @return The {@link TestGrouping} for method chaining. 135 * @return The {@link TestGrouping} for method chaining. 146 * if that method was never called. 249 public boolean apply(Method method) { argument 250 return ((method.getParameterTypes().length == 0) && 251 (method.getName().startsWith("test")) && 252 (method.getReturnType().getSimpleName().equals("void")));
|
H A D | TestMethod.java | 40 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) { argument 41 this(method.getName(), enclosingClass);
|
/frameworks/base/test-runner/src/junit/textui/ |
H A D | TestRunner.java | 20 * If this class defines a static <code>suite</code> method it 67 * This method can be used to start a test run 154 String method= ""; 166 method= arg.substring(lastIndex + 1); 177 if (!method.equals("")) 178 return runSingleMethod(testCase, method, wait); 186 protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exception { argument 188 Test test= TestSuite.createTest(testClass, method);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | SingleUserProvider.java | 61 public Bundle call(String method, String arg, Bundle extras) { argument
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | HTTPHandler.java | 119 private HTTPResponse exchangeWithRetry(URL url, String message, HTTPMessage.Method method, argument 125 response = httpExchange(url, message, method, contentType); 145 private HTTPResponse httpExchange(URL url, String message, HTTPMessage.Method method, argument 148 HTTPRequest request = new HTTPRequest(message, mCharset, method, url, contentType, false); 158 request = new HTTPRequest(message, StandardCharsets.ISO_8859_1, method, url,
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPRequest.java | 31 public HTTPRequest(Method method, URL url) { argument 32 this(null, null, method, url, null, false); 35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType, argument 58 mMethodLine = method.name() + ' ' + url.getPath() + ' ' + HTTPVersion + CRLF; 283 private static void test(String user, String realm, String password, String method, String path, argument 288 byte[] a2 = hash(method, path);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 339 public Bundle call(String method, String name, Bundle args) { argument 341 switch (method) { 394 Slog.w(LOG_TAG, "call() with invalid method: " + method); 1468 // This check is not inside the name-based checks below because this method performs checks 1509 * Context, int, String, boolean)}, which should be in sync with this method. 1786 * is set, the said method will only allow values with the "-" prefix.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ |
H A D | EventBus.java | 75 EventHandlerMethod method; field in class:EventHandler 77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { argument 79 this.method = method; 85 return subscriber.toString(priority) + " " + method.toString(); 90 * Represents the low level method handling a particular event. 96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) { argument 97 mMethod = method; 131 * Event method signature:<ul> 139 * Interprocess-Event method signatur 943 isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, MutableBoolean isInterprocessEventOut) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 542 public Bundle call(String method, String arg, Bundle extras) { argument 543 Bundle bundle = super.call(method, arg, extras); 544 if (bundle == null && !TextUtils.isEmpty(method)) { 545 switch (method) { 578 Log.w(TAG, "unknown method passed to call(): " + method);
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 198 int method; local 221 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, 232 result = pAsset->openChunk(fd, offset, method, uncompressedLen,
|
H A D | AssetManager.cpp | 863 uint16_t method; local 868 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL, 881 if (method == ZipFileRO::kCompressStored) {
|
H A D | ZipUtils.cpp | 266 int method, flags; local 272 method = getc(fp); 276 if (method == EOF || flags == EOF) 278 if (method != ZipFileRO::kCompressDeflated) 325 *pCompressionMethod = method;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderTask.h | 78 explicit MethodInvokeRenderTask(RunnableMethod method) argument 79 : mMethod(method), mReturnPtr(nullptr) {}
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 374 jmethodID method = env->GetMethodID(clazz.get(), "set", "(IIJI)V"); local 375 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags); 711 jmethodID method = env->GetMethodID(clazz.get(), "set", "(IIJI)V"); local 724 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flags); 1865 jmethodID method = env->GetMethodID(clazz.get(), "setNativeObjectLocked", "(J)V"); local 1866 CHECK(method != NULL); 1867 gPersistentSurfaceClassInfo.setNativeObjectLocked = method; 1873 method = env->GetMethodID(clazz.get(), "<init>", "()V"); 1874 CHECK(method != NULL); 1875 gPersistentSurfaceClassInfo.ctor = method; [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); local 138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); 140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); local 141 result = MakeIntValue(env->CallIntMethod(object, method)); 143 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "floatValue", "()F"); local 144 result = MakeFloatValue(env->CallFloatMethod(object, method));
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | BackspaceTest.java | 17 package android.text.method; 32 * Test backspace key handling of {@link android.text.method.BaseKeyListener}. 34 * Only contains edge cases. For normal cases, see {@see android.text.method.cts.BackspaceTest}.
|
H A D | EditorState.java | 17 package android.text.method;
|
H A D | ForwardDeleteTest.java | 17 package android.text.method; 33 * Test forward delete key handling of {@link android.text.method.BaseKeyListener}. 35 * Only contains edge cases. For normal cases, see {@see android.text.method.cts.ForwardDeleteTest}.
|
H A D | WordIteratorTest.java | 17 package android.text.method;
|