/system/core/libsuspend/include/suspend/ |
autosuspend.h | 33 * Returns 0 on success, -1 if autosuspend was not enabled. 43 * Returns 0 on success, -1 if autosuspend was not disabled. 62 * success is true if the suspend was sucessful and false if the suspend 65 void autosuspend_set_wakeup_callback(void (*func)(bool success));
|
/art/runtime/entrypoints/quick/ |
quick_fillarray_entrypoints.cc | 34 bool success = FillArrayData(array, payload); local 35 return success ? 0 : -1;
|
/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/ |
SharedPrefsRestoreTestActivity.java | 69 boolean success = false; 73 success = setPrefValue(INT_PREF_VALUE); 78 success = setPrefValue(INT_PREF_MODIFIED_VALUE); 84 success = true; 92 sendBroadcast(new Intent().setAction(RESULT_ACTION).putExtra(EXTRA_SUCCESS, success)); 99 boolean success = mPrefs.edit().putInt(INT_PREF, value).commit(); 100 Log.i(TAG, "setPrefValue success: " + success); 101 return success;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_lwp.h | 32 int success;
local 36 success = lwp_create(&tid, func, MINPRIO, 0, lwp_newstk(), 1, arg);
37 return success < 0 ? -1 : 0;
87 int success;
local 90 success = 0;
97 success = 1;
102 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success));
103 return success;
|
thread_solaris.h | 109 int success;
local 113 success = mutex_lock((mutex_t *) lock);
115 success = mutex_trylock((mutex_t *) lock);
116 if (success < 0)
119 success = !success; /* solaris does it the other way round */
120 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success));
121 return success;
|
/external/python/cpython2/Python/ |
thread_lwp.h | 32 int success; local 36 success = lwp_create(&tid, func, MINPRIO, 0, lwp_newstk(), 1, arg); 37 return success < 0 ? -1 : 0; 87 int success; local 90 success = 0; 97 success = 1; 102 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); 103 return success;
|
thread_solaris.h | 109 int success; local 113 success = mutex_lock((mutex_t *) lock); 115 success = mutex_trylock((mutex_t *) lock); 116 if (success < 0) 119 success = !success; /* solaris does it the other way round */ 120 dprintf(("PyThread_acquire_lock(%p, %d) -> %d\n", lock, waitflag, success)); 121 return success;
|
/frameworks/base/core/java/android/content/pm/ |
IDexModuleRegisterCallback.aidl | 27 void onDexModuleRegistered(in String dexModulePath, in boolean success, in String message);
|
IPackageInstallerCallback.aidl | 25 void onSessionFinished(int sessionId, boolean success);
|
/hardware/interfaces/boot/1.0/ |
types.hal | 24 bool success;
|
/hardware/interfaces/gnss/1.1/ |
IGnssConfiguration.hal | 61 * @return success Whether the HAL accepts and abides by the provided blacklist. 63 setBlacklist(vec<BlacklistedSource> blacklist) generates (bool success);
|
IGnss.hal | 34 * @return success Returns true on success. 36 setCallback_1_1(IGnssCallback callback) generates (bool success); 61 * @return success Returns true if successful. 69 generates (bool success); 93 * @return success Returns true if successful. 95 injectBestLocation(GnssLocation location) generates (bool success);
|
/system/chre/platform/linux/ |
platform_nanoapp.cc | 85 bool success = false; local 88 success = true; 90 success = openNanoappFromFile(); 95 return success; 101 bool success = false; local 114 success = validateAppInfo(0 /* skip ID validation */, 0, mAppInfo, 116 if (!success) { 127 return success;
|
/system/chre/util/include/chre/util/ |
fixed_size_blocking_queue_impl.h | 28 bool success; local 31 success = mQueue.push(element); 33 if (success) { 36 return success; 41 bool success; local 44 success = mQueue.push(std::move(element)); 46 if (success) { 49 return success;
|
/system/libhidl/transport/manager/1.1/ |
IServiceManager.hal | 33 * @return success Whether or not deregistration was successful. 38 generates (bool success);
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
utils.cpp | 32 GLint success;
local 34 glGetShaderiv(shader, GL_COMPILE_STATUS, &success);
35 if (!success)
50 GLint success;
local 52 glGetProgramiv(program, GL_LINK_STATUS, &success);
53 if (!success) {
|
/hardware/interfaces/gnss/1.0/ |
IGnssBatching.hal | 77 * @return success Returns true on success. 79 init(IGnssBatchingCallback callback) generates (bool success); 113 * @return success Returns true on success. 115 start(Options options) generates (bool success); 133 * @return success Returns true on success. 135 stop() generates (bool success);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
attrsetvaluenomodificationallowederrEE.java | 89 boolean success = false; 93 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); 95 assertTrue("setValue_throws_NO_MODIFICATION", success); 99 boolean success = false; 103 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); 105 assertTrue("setNodeValue_throws_NO_MODIFICATION", success);
|
documentinvalidcharacterexceptioncreateentref.java | 73 boolean success = false; 77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 79 assertTrue("throw_NOT_SUPPORTED_ERR", success); 84 boolean success = false; 88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); 90 assertTrue("throw_INVALID_CHARACTER_ERR", success);
|
documentinvalidcharacterexceptioncreateentref1.java | 70 boolean success = false; 74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 76 assertTrue("throw_NOT_SUPPORTED_ERR", success); 81 boolean success = false; 85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); 87 assertTrue("throw_INVALID_CHARACTER_ERR", success);
|
documentinvalidcharacterexceptioncreatepi.java | 73 boolean success = false; 77 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 79 assertTrue("throw_NOT_SUPPORTED_ERR", success); 84 boolean success = false; 88 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); 90 assertTrue("throw_INVALID_CHARACTER_ERR", success);
|
documentinvalidcharacterexceptioncreatepi1.java | 70 boolean success = false; 74 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 76 assertTrue("throw_NOT_SUPPORTED_ERR", success); 81 boolean success = false; 85 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); 87 assertTrue("throw_INVALID_CHARACTER_ERR", success);
|
hc_attrappendchild4.java | 80 boolean success = false; 84 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 86 assertTrue("throw_NOT_SUPPORTED_ERR", success); 92 boolean success = false; 96 success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR); 98 assertTrue("throw_HIERARCHY_REQUEST_ERR", success);
|
hc_attrinsertbefore5.java | 81 boolean success = false; 85 success = (ex.code == DOMException.NOT_SUPPORTED_ERR); 87 assertTrue("throw_NOT_SUPPORTED_ERR", success); 93 boolean success = false; 97 success = (ex.code == DOMException.HIERARCHY_REQUEST_ERR); 99 assertTrue("throw_HIERARCHY_REQUEST_ERR", success);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
namednodemapsetnameditemns09.java | 84 boolean success = false; 88 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); 90 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_entities", success); 94 boolean success = false; 98 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); 100 assertTrue("throw_NO_MODIFICATION_ALLOWED_ERR_notations", success);
|